VoiceGuide IVR Software Main Page
Jump to content

Wrong Handle Of "vg.run_Resultreturn" ?

Recommended Posts

Hi,

 

 

we use VoiceGuide version 7.5.7 on Windows 2012 with Dialogic HMP Software driver

It works well.

But there is something that i don't understand. Below i posted a sample script, it is a sample extract from a more dfficult script, but it describes the problem.

 

The Script does not end in the failed path, it always plays xxx.wav

I'm not sure what goes wrong?

 

Regards,

 

Sebastian

 

 

Version=5.0

DefaultModuleDisplayHeight=

StartModule=Erfolg

RunAtHangup=

StartWithoutAnswer=0

CtmAsiName=

 

[test]

Type=Run VB Script

DispSize=69

Txt=Run a VB Script.

VbsFileToRun=

VbsWait=1

VbScript=

MSB = "fail"

 

if 1 = 2 then

MSB = "success"

else

MSB = "fail"

end if

 

 

set vg = CreateObject("VoiceGuide.CommandLink")

vg.Run_ResultReturn $RV_LINEID, MSB

set vg = Nothing

 

VbsHoldPlay=

on {fail} goto [Fehler]

on {success} goto [Erfolg]

on {timeout 0} goto [TimeOut]

 

Position=118,160

 

[Erfolg]

Type=Play

DispSize=69

Txt=Play a sound file, then await a response...

PlayFile1=xxx.wav

Replay=2,5

strTtsText=

on {timeout 0} goto [auflegen]

 

Position=206,299

 

[Fehler]

Type=Play

DispSize=69

Txt=Play a sound file, then await a response...

PlayFile1=xx.wav

Replay=2,5

strTtsText=

on {timeout 0} goto [auflegen]

 

Position=465,297

 

[TimeOut]

Type=Play

DispSize=69

Txt=Play a sound file, then await a response...

PlayFile1=x.wav

Replay=2,5

strTtsText=

on {timeout 0} goto [auflegen]

 

Position=676,295

 

[auflegen]

Type=Hangup the Call

DispSize=69

Txt=Hangup the call.

 

Position=518,526

Share this post


Link to post

Could you please post the vgEngine trace for your system that captures the system startup and the call running the scirpt.

 

We can then see what is happening on our system and why it is behaving the way it is behaving.

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
×