VBScript → Lua
This functions activates a call previously being put on hold. Activating in fact means stop playing the music on hold.
PBXCall.Activate
This function returns an integer value of PBXSuccess (0) on success. See list of defined return values.
To put a call on hold you can use the PBXCall.Hold function.
All GSE Play Sound blocks as also all "Connect" blocks like Connect To, Follow Me and Loop will automatically activate a call currently being on hold.
You can use the PBXCall.IsOnHold function to check if the current call is currently on hold.
By Tom Wellige