Lua → VBScript SwxWare v13.10
This functions activates a call previously being put on hold. Activating in fact means stop playing the music on hold.
local nReturn = PBXCall.Activate()
This function returns a PBXResult value of PBXSuccess or PBXFailure.
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.