Jump to content
  • PBXCall.IsOriginatorDisconnected()

    PBXCall.IsOriginatorDisconnected()

    Lua   → VBScript   SwxWare v13.10

     

    This function returns true if the originator of the current call has disconnected it.

     

    if PBXCall.IsOriginatorDisconnected() then
      -- do something
    end

     

     

    This function returns a boolean value.
     

    An example would be to put a call on hold with PBXCall.Hold() and then to wait for an avaible agent within a loop. Don't miss to use the PBXScript.Sleep() function when looping while waiting for something to prevent 100% cpu load. While being in such a loop it is also recommended to check regularly with PBXCall.IsOriginatorDisconnected if the caller has disconnected the call in the meantime.

     

     


    Tom Wellige
     Share


     Share




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.