Wiki - SwyxPEDIA

 

PBXUser.DelayedRedirectTimeout

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

If PBXUser.DelayedRedirectTimeout = 30 Then
...
End If
' configure delayed redirection timeout
PBXUser.DelayedRedirectTimeout = 30

This property takes or returns an integer value.

Please note, that you need to enable the delayed redirection using the PBXUser.DelayedRedirect function.

Additionally you can configure the delayed redirection target using the function PBXUser.DelayedRedirectNumber.

' delayed redirection of all calls to users voicemail after 30 seconds
PBXUser.DelayedRedirect = True
PBXUser.DelayedRedirectNumber = "voicemail"
PBXUser.DelayedRedirectTimeout = 30

If your script should check how the user's redirection is configured, make sure it is placed above the Delayed 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)