Wiki - SwyxPEDIA

 

PBXUser.UnconditionalRedirect

This property returns or sets the state of the user's (for whom the current script is running) undconditional redirection setting.

If PBXUser.UncoditionalRedirect Then
...
End If
' enable redirection
PBXUser.UnconditionalRedirect = True
' disable redirection
PBXUser.UnconditionalRedirect = 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.UnconditionalRedirectNumber function.

If your script should check how the user's redirection is configured, make sure it is placed above the Unconditional Redirection Rule in the Call Routing Manager's rule list. Otherwise your script will never be called if the user has enabled his redirection.

 

Server Script API




 |   | View Topic History  |
Wiki Help
Sponsors
bluvo AG
logic-base GmbH
Swyx Solutions AG, Germany

 

Charity

German Aid for Afghan Children

Swyx Forum supports the German Aid for Afghan Children (Kinderhilfe Afghanistan)