Announcement

Collapse
No announcement yet.

Auto register when unregistered

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Auto register when unregistered

    I occasionally notice that the plugin becomes unregistered from my local SIP PBX (Cisco CME) and fails to re-register.

    20/02/2012 3:02:56 PM ~!~SIP Debug~!~SIP#cme: Error: RegisterFailed Cause: RegisterFailedNotAuthorized

    I manually go into the plugin settings and then "Apply and save changes" to re-register the line.

    This does not happen very often but I would like to automate the re-registration process.

    The plugin has the following triggers...

    - Line Register Failed
    - Line Unregistered

    ... is there an action, or API call that I can use to automatically re-register the line?

    #2
    --
    stipus

    Comment


      #3
      The first one did the trick. Many thanks.

      Comment


        #4
        Stipus

        Please could you confirm the syntax for reloading a specific line. When I execute:

        &hs.Plugin("SIP Connector").Lines("123456789").ReloadConfig()

        From the Control Panel (or from a script). I get the following error in the event log:

        Running script, init error: Wrong number of arguments or invalid property assignment: 'hs.Plugin(...).Lines'

        Thanks
        NicolaiL
        Nicolai L

        Comment


          #5
          It must be a VB.NET script

          - it does not work from the homeseer control panel. Not VB.NET here.
          - it does not work from a txt script
          - ONLY VB.NET
          --
          stipus

          Comment


            #6
            My apologies. I forgot the specific VB.NET requirement (even though you did mention it above it didn't register).

            Will rewrite and retest.

            Thanks
            Nicolai L

            Comment

            Working...
            X