Lua → VBScript SwxWare v13.10
This function returns true if the current call is currently on hold.
if PBXCall.IsOnHold() then PBXCall.Activate() end
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