Jump to content
Tom Wellige

PBXUser.BusyRedirectNumber

Recommended Posts

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

 

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

' configure on busy redirection target
PBXUser.BusyRedirectNumber = "200"

 

This property takes or returns a string value.

 

Please note, that you need to enable the on busy redirection using the PBXUser.BusyRedirect function.

 

SwyxServer handles all telephone numbers as strings, 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 all calls to the user's voicemail.

 

' redirect all calls if user is busy to his voicemail
PBXUser.BusyRedirect = True
PBXUser.BusyRedirectNumber = "voicemail"

 

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