VBScript → Lua
This property returns or sets the state of the script users' (for whom the current script is running) own busy redirection setting.
If PBXUser.BusyRedirect Then '... End If ' enable on busy redirection PBXUser.BusyRedirect = True ' disable on busy redirection PBXUser.BusyRedirect = False
This property takes or returns a boolean value.
Please note, that you need to set the number to which should be redirected using the PBXUser.BusyRedirectNumber function.
If your script should check how the users' redirection is configured, make sure it is placed above the Busy Redirection rule in the Call Routing Manager list of rules. Otherwise your script will never be reached if the user has enabled his redirection.