Jump to content
  • PBXCall.IsOriginatorDisconnected


    VBScript   → Lua


    Returns True if the originator of the current call has disconnected it.


    If PBXCall.IsOriginatorDisconnected Then
      ' do something
    End If



    This property 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


  • 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.