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.
![Tom Wellige](http://content.invisioncic.com/r255538/monthly_2020_04/facebook2.thumb.png.7201b63ad83065920f23d2478c4a838f.png)
By Tom Wellige