van Report post Posted 12/02/2005 07:53 AM 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
SupportTeam Report post Posted 12/02/2005 07:58 AM 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
van Report post Posted 12/02/2005 08:39 AM 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