Jump to content
Tom Wellige

PBXUser.DelayedRedirectTimeout

Recommended Posts

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.
 

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and have taken note of our Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.