VoiceGuide IVR Software Main Page
Jump to content

Error Using Evaluate Expression Module

Recommended Posts

Hi, I'm trying to initialise a Result Variable right at the beginning of my script but it hangs up immediately, telling me that the True path is not defined... but it is...

 

Here are the paths defined in the module :

 

on {false} goto [Lire_Message_x]

on {true} goto [Play 33]

 

And here's the event log :

 

152049,98 0 callstate OFFERING 65945 0 4

152049,98 0 ring 1

152056,19 0 ring 2

152056,19 0 Answer the call at 27/02/2004 15:20:56

152056,19 0 lineAnswer(65945) => 65928

152056,19 0 callstate ACCEPTED 65945 0 0

152059,03 0 tapi Reply (LineEvReply) ok 65928 0

152059,03 0 callstate CONNECTED 65945,0,0

152059,03 0 WorkingModeTAPI@Connected=

152059,03 0 WorkingModeScript@Connected=

152059,03 0 Inband detection not enabled

152059,03 0 StartLoadedVgs at 27/02/2004 15:20:59

152059,03 0 [init_Cpt_Messages] Evaluate [1]

152059,03 0 .Eval(1)

152059,05 0 Eval Expr result:[1] stored in $RV[Cpt_Messages]

152059,05 0 path {1} not found

152059,05 0 Hanging up call... [No path (True) to next module defined.]

152059,05 0 RecSoundStop ok

152059,05 0 PlaySoundStop err=0

152059,05 0 fnHangupCall end

152100,70 0 callstate DISCONNECTED 65945,1,0

152100,70 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT

152100,70 0 Hanging up call...

152100,70 0 RecSoundStop ok

152100,70 0 PlaySoundStop err=0

152100,70 0 fnHangupCall end

152100,70 0 callstate IDLE 65945 0 0

152100,70 0 WorkingMode@Idle=

152100,72 0 tapi Reply (LineEvReply) ok 65911 0

152100,72 0 tapi Reply (LineEvReply) ok 65894 0

152101,72 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

152101,72 0 ReinitTelephony due to IDLE

152101,72 0 tapic lineDeallocateCall(MainCall:65945) 0

152101,72 0 lineOpen(0) => 0

152101,72 0 Waiting for a call...

152101,73 0 LineHandle=65877

 

I really appreciate your help since it is quite important for my application to be able to set this variable to a specific number...

 

Thanks to all who will take time to help me = )

Share this post


Link to post

I tried replicating your error but it all works as expected for us here, the true/success path is taken.

 

Can you post the script that you are using?

 

Which version of VG are you using?

 

Here is tha trace from our script - the success path from [Evaluate 2] leads to [Play 1]. Script attached below as well.

 

 

095034.14 9 [Evaluate 2] Evaluate [1]

095034.14 9 .Eval(1)

095034.16 9 Eval Expr result:[1] stored in $RV[Cpt_Messages]

095034.16 9 path {1} not found

095034.17 9 [Play 1] Playing

095034.17 9 [Play 1] Playing (1.wav)

eval5.vgs

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
×