VoiceGuide IVR Software Main Page
Jump to content

DNIS Routing - run different script based on number dialed

Recommended Posts

On systems that handle many different types of calls, the script used to handle each call can be selected by looking at the number that was originally dialed by caller.

The number dialed by caller is known as "DNIS" (Dialed Number Identification Service).

DNIS number is accessible in VoiceGuide script using the $RV_DNIS variable. (see list of system variables here: https://www.voiceguide.com/vghelp/source/html/resultvariables.htm )

The script that first answers the call can look at $RV_DNIS and then use a "path" to "goto" other scripts depending on $RV_DNIS value.

This routing script can consist of just one Evaluate Expression module, but if more advanced routing is needed then a Run Script module can be used instead.

See the "MainRouter.vg" script below (open the .vgs script in VoiceGuide's Script Editor)

MainRouter.vgs

 

 

Screenshots from the above script:

image.thumb.png.83e947e7ac0841543ad28518f4b4838e.png

 

image.thumb.png.f68708f46889666299f219675773152f.png

 

image.thumb.png.4b36ecb4ff6dd5a67060c4998d000b30.png

 

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×