VoiceGuide IVR Software Main Page
Jump to content

Script Stops

Recommended Posts

I've have enclosed a script and logs. The VBScript gos all the way through and plays the sound file, but does not seem to go to the success path it just hangup.

 

I'm using V7.0.5. I put the script on my old v 5.x and it works great.

 

Tom

Files_For_VG_Problems.zip

Share this post


Link to post

In the module [First Time Through] change:

 

$RV[First Time]

 

to be:

 

"$RV[First Time]"

 

In v7 you need to use quotes if evaluating a variable that contains a string.

 

 

173453.219 8 1 state [First Time Through] Evaluate [$RV[First Time]]

173453.219 8 1 rv replace start: [$RV[First Time]]

173453.219 8 1 rv replace end: [YES]

173453.219 8 1 eval[YES]

173453.219 8 1 CreateInstance ScriptControl objSC is: [system.__ComObject]

173453.219 8 1 objReturn is NULL

173453.219 8 1 rvns add [First Time Through_Input]{YES}

173453.219 8 1 rvns add [First Time Through]{}

173453.219 8 1 Eval Expr result:[]

173453.219 8 1 path {} not found

173453.219 8 1 matching path not found [], try boolean paths.

173453.219 8 1 matching path not found (Boolean False)

173453.219 8 1 HangupCall ('and any associated'=True), source=Path {Fail} not defined.

Share this post


Link to post

The version of v7 which is now available for download from our WWW is now able to evaluate the string variables without the need to supply the quotes around them, making it more like the Evaluate Expression module in v5 and v6.

 

Please update to the latest v7 and you should find that you no longer need to make the modification outlined above to make the script work.

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
×