VBScript → Lua
This function returns the current script users' Busy status.
If IsBusy() Then ' do something Else ' do something else End If
or if being used directly within a GSE property dialog, e.g. in an Evaluate block to directly evaluate the Busy status and place it the block exits:
This function returns a boolean value.
This function can be called at any time within the call routing script.
The current busy state will be requested making use of the Server Script API function PBXUser.IsBusy.
By Tom Wellige