VoiceGuide IVR Software Main Page
Jump to content

Datadriven - Multiple Scripts

Recommended Posts

HI,

I would like my VG to run different scripts. Currently I use the f(x) funtion and it looks like

on {0520} goto [c:\Program Files\VoiceGuide\scripts\TheyCalled\TC_V1.vgs|START]

on {0521} goto [c:\Program Files\VoiceGuide\scripts\test\Rvtest.vgs|GETCODE]

 

I would like to make this data driven. Can I get the VBS module to do the same type of processing?

 

Paul

Share this post


Link to post

Yes, you can use the VBScript module for this. You can use the Script_Goto COM command. See: http://www.voiceguide.com/vghelp/source/ht...script_goto.htm

 

Another alternative is to use a DB Query module (for example titled "GetNext") to retrieve script/module info from a database and then have a path like this in the DBQuery module:

 

on {success} goto [$RV[GetNext_1]|$RV[GetNext_2]}

 

The SQL would be something like this:

 

SELECT sScript, sModule FROM myDnisRouteTable WHERE sDnis="$RV[DNIS]"

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
×