Announcement

Collapse
No announcement yet.

Dont Know what Iam Doing ...Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Dont Know what Iam Doing ...Script

    Here is the deal I am trying to display CID below is the error in HS


    Running script(2) &hs.writelog("Info", "The last caller name is: " & hs.PluginFunction("BLNetCallerId", "", "LastCallerName", Nothing)), init error: Invalid procedure call or argument: 'hs.PluginFunction'


    Any help would be great


    Thanks Jay

    #2
    Try this:

    Code:
    &nhs.writelog("Info", "The last caller name is: " & hs.PluginFunction("BLNetCallerId", "", "LastCallerName", Nothing))
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


      #3
      Originally posted by Blade View Post
      Try this:

      Code:
      &nhs.writelog("Info", "The last caller name is: " & hs.PluginFunction("BLNetCallerId", "", "LastCallerName", Nothing))
      Blade
      Thanks for the response! That returns a value of 0....

      Log Line Below

      Nov-21 9:21:28 AM Info The last caller name is:


      Jay

      Comment


        #4
        Have you had a last caller?
        It should display it if the NetCallerId sees the caller
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


          #5
          Blade
          thanks again for your help

          HS device shows a last caller, As does the plugin report. I sure its me doing something wrong.

          Jay

          Comment


            #6
            That is odd. It should be showing the last caller name
            Cheers,
            Bob
            Web site | Help Desk | Feature Requests | Message Board

            Comment


              #7
              Balde

              Please forgive for not getting it.... This is returning a O in my HS touch clients. I have this set up as a text button and the "text" filed is

              [$SCRIPT=&nhs.writelog("Info", "The last caller name is: " & hs.PluginFunction("BLNetCallerId", "", "LastCallerName", Nothing))]

              The HS Log the temp script runs and returns in line of the log Last caller name is :

              Thanks

              Comment

              Working...
              X