VoiceGuide IVR Software Main Page
Jump to content

I Think I Got A Bug - v5.2.5049

Recommended Posts

this is the part in the log what I'm talking about:

 

004425.70 6 rv replace end: [0 + 1]

004425.72 6 .Eval(0 + 1)

004425.72 6 rv ns add [siguienteCorreo_Input]{0 + 1}

004425.72 6 rv ns add [siguienteCorreo]{1}

004425.73 6 rv ns add [NumCorreo]{1}

004425.73 6 Eval Expr result:[1] stored in $RV[NumCorreo]

004425.75 6 path {1} not found

004425.75 6 timer clear

 

this is a "Evaluate Expression" module: the result of that module is 1 and I have these paths:

 

on {true} goto [HayOtroCorreo?]

 

and in the help we can read:

 

If none of the Paths match the value exactly, but the result is non-empty then the "True" path will be taken.

 

The module is not behaving as expected

 

Thank you very much.

 

 

Fidencio.

Share this post


Link to post

Just tested it on our v5.2.5049 test system here and the True path was taken as expected...

I attach the demo script we used as well as the trace from our system. (the 'True' path is pointing to module [Play 9])

183834.52   6 state [Evaluate 2] Evaluate [0+1]

183834.53   6 .Eval(0+1)

183834.53   6 rv    lg add [Evaluate 2_Input]{0+1}

183834.53   6 rv    lg add [Evaluate 2]{1}

183834.53   6 Eval Expr result:[1]

183834.53   6 path  {1} not found

183834.53   6 timer clear

183834.53   6 state [Play 9] Playing

183834.53   6 state [Play 9] Playing (9.wav)

If you still have problems please test with the script supplied by us in this post... and/or post the trace of a full call using the provided demo script.

 

Chances are the path in your script is not pointing to an existing module, have you double checked that the path is pointing to an existing module?

eval2.vgs

Share this post


Link to post

I found the error: I was trying to use a result variable without the RV$[] format.

 

My bad, I'm sorry.

 

Is there in your TODO list a way to "compile" the script; I mean a way to verify the integrity of the script "prior" to test it.

 

Other question: like in other posts: will it be a way to test a script without using real telephone lines?

 

Thank you very much.

 

 

Fidencio.

Share this post


Link to post

As many people use RVs in their Path Expressions it's a bit hard to check for correctness of script...

Guess we could do a check for basic path errors - but that would still not pick up what I think happened here...

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
×