VoiceGuide IVR Software Main Page
Jump to content

Script Help

Recommended Posts

Hello again.

 

I have a Run VB Script Module that is acting strange.

 

This is the code:

set vg = CreateObject("VoiceGuide.CommandLink")
sResult = "verify_passed"
vg.Run_ResultReturn $RV_LINEID, sResult
set vg = nothing

The paths are:

on {success} goto [CLI Check]
on {fail} goto [No Service Appology]

From the code I would expect the script to always go to [CLI Check], but it goes to [No Service Appology]. I've even changed 'sResult = "verify_passed"' to 'sResult = "verify_failed"' and to see if maybe the logic is weird, but no. No matter what, it goes to [No Service Appology]

 

The only thing that happens before the Run VB Script Module runs is that the path to my voice files is set (This works) and a welcome message is played (this also works).

 

What am I doing wrong here?

Share this post


Link to post

Are you running this in a "Run VBScript" module or a "Get Numbers"?

 

"verify_passed" and "verify_failed" are only relevant when doing number verification in a Get Numbers module.

 

If you running this in a "Run VBScript" module then please see here for more relevant examples: http://www.voiceguide.com/vghelp/html/modVbs.htm

Share this post


Link to post

Ok cool, I think I'm starting to get the hang of this.

 

PS: Iv'e said it before and I'll say it again, Voiceguide Support Forum rocks!

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
×