Jump to content
Tom Wellige

Function: AnyRedirectionConfigured

Recommended Posts

This post is taken from the Swyx Forum Archive (2007-2014) and was originally posted 10.08.2010 by me


The following function returns true if the current script user has any unconditional redirection configured.

The function makes use of the Server Script API property PBXUser.UnconditionalRedirect.

To use the function within your call routing script just copy&paste it into the "Start" block and call it afterwards within an "Evaluate" block.


' AnyRedirectionConfigured
' Returns true if current user has configured any unconditional redirection.
' Parameter:
'	none
' Return:
'	boolean
Function AnyRedirectionConfigured()
	PBXScript.OutputTrace "------> AnyRedirectionConfigured ()"
	Dim bReturn

	bReturn = PBXUser.UnconditionalRedirect
	AnyRedirectionConfigured = bReturn

	PBXScript.OutputTrace "bReturn = " & bReturn
	PBXScript.OutputTrace "<------ AnyRedirectionConfigured"
End Function


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


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