VBScript → Lua
This function returns True if the current call is currently on hold.
If PBXCall.IsOnHold Then PBXCall.Activate End If
This function returns a boolean value.
You can use the PBXCall.Hold function to put a call on hold, and the PBXCall.Activate function to activate a call again.
By Tom Wellige