Jump to content
Tom Wellige

PBXUser.DelayedRedirectNumber

Recommended Posts

This property returns or sets the state of the user's (for whom the current script is running) delayed redirection number setting, meaning the target of the redirection

 

If PBXUser.DelayedRedirectNumber = "100" Then
  '...
End If

' configure delayed redirection target
PBXUser.DelayedRedirectNumber = "200"

 

This function takes or returns a string value.

 

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

 

Additionally you can configure the timeout (in seconds) for the delayed redirection to take affect using the function PBXUser.DelayedRedirectTimeout.

 

SwyxServer handles all telephone numbers as string, so don't miss to use " ". You can use either a number, a user name or a group name as value.

 

There is a magic string "voicemail" to redirect calls to the user's voicemail:

 

' 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.