VoiceGuide IVR Software Main Page
Jump to content

Hang-up Issue

Recommended Posts

Dear Support,

 

Possibly it is same issue as the previous one from the following link:

http://voiceguide.com/forums/index.php?sho...ic=6312&hl=

 

If you see the log, the call never gets disconnected. I think the problem starts from the following lines:

140054.823  6   1   1 state [PlayWelcomeGetEmpNumber] Number Input
140054.823  6   1   1       PrepareAndPlayWavAndTts start iModuleIdx=1, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=
140054.823  6   1   1       PrepareAndPlayWavAndTTS sPlayFile=WAV Files\Welcome_01.wav
140054.823  6   1   1 state [PlayWelcomeGetEmpNumber] Playing wav (WAV Files\Welcome_01.wav)
140054.823  6   1   1       sOptionsXml=
140054.823  6   1   1 t     timer clear (force=False)
140054.823  6   1   1       qTel  add   cmd_PlayStart [0,0,0,0,0][||||]
140054.823  6   1   1       play  start ok, playId=423578
140054.823  7   1   1       qTel  run   cmd_PlayStart
140112.433 18   1   1 ev    PlayEnd 1 423578
140112.433 18   1   1       play  end   id=423578, (current ID)
140112.433 18   1   1       qScr  add   evScriptEvent 8001 EV_PLAY_FINISHED
140112.433  6   1   1       qScr  run   evScriptEvent EV_PLAY_FINISHED, iActionID=0, crn=0[423578|0|0|0|0][|||||]
140112.433  6   1   1       ScriptEvent EV_PLAY_FINISHED  ||
140112.433  6   1   1       LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED
140112.433  6   1   1       path {EV_PLAY_FINISHED} not found
140112.433  6   1   1       iCurrReplayCount=0, iMaxReplayCount=1
140112.433  6   1   1 t     timer set   3 sec : EV_TIMEOUT_REPLAYMSG
140115.636 20   1   1 timer EV_TIMEOUT_REPLAYMSG
140115.636 20   1   1       qScr  add   evScriptEvent 9005 EV_TIMEOUT_REPLAYMSG
140115.636  6   1   1       qScr  run   evScriptEvent EV_TIMEOUT_REPLAYMSG, iActionID=0, crn=0[0|0|0|0|0][|||||]
140115.636  6   1   1       ScriptEvent EV_TIMEOUT_REPLAYMSG  ||
140115.636  6   1   1       LsGetNbrsRxDigits EV_TIMEOUT_REPLAYMSG,EV_TIMEOUT_REPLAYMSG
140115.636  6   1   1       path {EV_TIMEOUT_REPLAYMSG} not found
140115.636  6   1   1       PrepareAndPlayWavAndTts start iModuleIdx=1, iPlayFileIdx=1, bMakeTtsFile=False, sSoundFileIs=
140115.636  6   1   1       PrepareAndPlayWavAndTTS sPlayFile=WAV Files\Welcome_01.wav
140115.636  6   1   1 state [PlayWelcomeGetEmpNumber] Playing wav (WAV Files\Welcome_01.wav)
140115.636  6   1   1       sOptionsXml=
140115.636  6   1   1 t     timer clear (force=False)

 

From that point, the log shows "PlayWelcomeGetEmpNumber" module plays repeatedly to the end of the log.

 

I have applied the latest patch as I was told about two weeks ago, but the problem still remains.

 

Please let me know what to do.

 

Thanks.

HangUpIssueLog.zip

Share this post


Link to post

Trace shows that the script has in module [PlayWelcomeGetEmpNumber] a timeout path that points back to the same module - [PlayWelcomeGetEmpNumber].

 

This results in an infinite loop - the script just goes round and round in the same module.

 

You should remove that timeout path and to remove this infinite loop...

 

BTW. This would not be an issue if T1/E1 ISDN lines are used as VoiceGuide would hangup when ISDN signals end of call. On analog lines you really need to set the disconnect tone detection correctly (see: http://www.voiceguide.com/vghelp/source/ht...tiondetect.htm) in order for analog cards to detect end of call - but if using analog liens then you should not used scripts that use such infinite loops.

 

Just set the number of replays in your Play module to high number and if caller does not press anything within that number of replays then let the script hang up.

 

 

150630.352 6 1 1 state [PlayWelcomeGetEmpNumber] Playing wav (WAV Files\Welcome_01.wav)

...

150647.962 18 1 1 ev PlayEnd 1 359031

..

150720.666 20 1 1 timer EV_TIMEOUT_GOTOMODULE

...

150720.666 6 1 1 rv add [PlayWelcomeGetEmpNumber]{}

150720.666 6 1 1 rvns add [PlayWelcomeGetEmpNumber_PathTaken]{timeout}

150720.666 6 1 1 FindNextVgmTitleInPathList: next module title is=[PlayWelcomeGetEmpNumber]

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
×