VBScript → Lua
This function ends the current script immediately.
PBXScript.EndScript
This function returns S_OK if succesfull, otherwise E_FAIL.
Script is ended immediately. After this statement no further script statements are executed.
The current call will be disconnected if it is not successfully connected to a destination before.
By Tom Wellige