VoiceGuide IVR Software Main Page
Jump to content

Vg Hangs Up After Playing Digits With Saynumber

Recommended Posts

I have just recently upgraded to VG for Dialogic v6.0.3301. I cannot say if this problem existed in the previous build because I can't say for sure whether I hit this test case or not.

 

I have a module where I am allowing a user to change their PIN through the VG app.

 

It plays back using say numbers what the user attempts to change it to and asks to confirm (using built in confirm prompt).

 

If the user attempts to change it to something with multiple random digits i.e. 2473 or 4321, the app appears to work just fine.

 

However, if user attempts to change it to 2222, my VG app will hang up unexpectedly.

 

I've attached the original vgs script file and complete vgm & tw log files containing the two isolated runs of VG.

 

The first startup of VG is the one that works fine. Here's the highlighted vgm log around where the failure might have occured but didn't.

 

200418.88 2 rv replace end: [prompts\Your new PIN will be.wav]

200418.88 2 sVbsFunctionToUse=Digits

200418.88 2 say numbers vbs ran shell[wscript "C:\Program Files\VoiceGuide\temp\vbs_2_070325200418_SayNumberA.vbs" //I //T:60]

200418.88 2 vbs replaced rv and ran shell[wscript "C:\Program Files\VoiceGuide\temp\vbs_2_070325200418_SayNumberB.vbs" //I //T:3600]

200418.91 2 VBScript started [wscript "C:\Program Files\VoiceGuide\temp\vbs_2_070325200418_SayNumberB.vbs" //I //T:3600]

200418.91 2 started SayNumber VBScript (C:\Program Files\VoiceGuide\temp\vbs_2_070325200418_SayNumberA.vbs)

200418.94 2 cl Play_Start C:\Program Files\VoiceGuide\Scripts\3S HotLine System\prompts\Your new PIN will be.wav,4.wav,3.wav,2.wav,1.wav,C:\Program Files\VoiceGuide\system\voice\GetNbrsConfirmMenu.wav

200418.94 2 timer clear

200419.00 2 play start ok, lPlayId=266500

200419.92 0 sys cleanup Start

200419.92 0 sys cleanup End

200422.22 2 tw dtmf 1 (2,49,49)

200422.22 2 event 1, iCode=49 state=1302

200422.22 2 LsGetNbrsPlayConfirm 1,1

200422.25 2 play PlayStop ok

200422.25 2 path {4321} not found

200422.25 2 next module is (idx=33)

200422.25 2 fn RunModule start [Run VB Script,,33,,]

 

 

 

The second startup of VG is where this time I entered 2222 as my new PIN and I've highlighted where it does, in fact, fail this time, showing the hang up of the call.

 

 

200527.19 2 rv replace end: [prompts\Your new PIN will be.wav]

200527.20 2 sVbsFunctionToUse=Digits

200527.20 2 say numbers vbs ran shell[wscript "C:\Program Files\VoiceGuide\temp\vbs_2_070325200527_SayNumberA.vbs" //I //T:60]

200527.20 2 vbs replaced rv and ran shell[wscript "C:\Program Files\VoiceGuide\temp\vbs_2_070325200527_SayNumberB.vbs" //I //T:3600]

200527.23 2 VBScript started [wscript "C:\Program Files\VoiceGuide\temp\vbs_2_070325200527_SayNumberB.vbs" //I //T:3600]

200527.23 2 started SayNumber VBScript (C:\Program Files\VoiceGuide\temp\vbs_2_070325200527_SayNumberA.vbs)

200527.27 2 cl Play_Start C:\Program Files\VoiceGuide\Scripts\3S HotLine System\prompts\Your new PIN will be.wav,2.wav,2.wav,2.wav,2.wav,C:\Program Files\VoiceGuide\system\voice\GetNbrsConfirmMenu.wav

200527.27 2 timer clear

200527.33 2 play start ok, lPlayId=334828

200531.17 2 tw DialogicEvent 134,TDX_CST,191,0,0,DE_TONEON,FAX,

200531.17 2 event FAX, iCode=134 state=1302

200531.17 2 LsGetNbrsPlayConfirm EV_UNKNOWN_134,FAX

200531.17 2 path {FAX} not found

200531.17 2 event TDX_CST, iCode=134 state=1302

200531.17 2 LsGetNbrsPlayConfirm EV_UNKNOWN_134,TDX_CST

200531.17 2 path {TDX_CST} not found

200532.30 2 tw DialogicEvent 134,TDX_CST,3381,0,0,DE_LCOF,,

200532.30 2 event DE_LCOF, iCode=134 state=1302

200532.30 2 LsGetNbrsPlayConfirm EV_UNKNOWN_134,DE_LCOF

200532.30 2 path {DE_LCOF} not found

200532.30 2 HangupCall start (Loop Current Off (non-xfer vgm))

200532.30 2 rv add [Hangup Time]{3/25/2007 8:05:32 PM}

200532.30 2 state Hanging up call... [Loop Current Off (non-xfer vgm)]

200532.30 2 HangupCall_Common hCall=2

 

 

Here's the highlighted section from tw log right around the time of the failure as well...

 

 

200527.265 002 ocxfn PlayStart(hLine=2, strSoundFile=[C:\Program Files\VoiceGuide\Scripts\3S HotLine System\prompts\Your new PIN will be.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\GetNbrsConfirmMenu.wav], lPlayId=334828(0x51bec), lParam1=0, lParam2=0, strParam1=, strParam2=, keys[NotUsed])

200527.265 002 ocxfn PlaySetControlKeys(2,0,,,,,,,,,,)

200527.265 002 ocxfn PlaySetControlKeys end

200527.265 002 play start (hli=0x1d46c8, strSoundFile=C:\Program Files\VoiceGuide\Scripts\3S HotLine System\prompts\Your new PIN will be.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\2.wav,C:\Program Files\VoiceGuide\system\voice\GetNbrsConfirmMenu.wav, lPlayId=334828(0x51bec), lParam1=0, lParam2=0, strParam1=, strParam2=)

200527.265 pcm sample_bytes=1, data_size=14640

200527.265 fread 14640 pcm8 bytes

200527.265 pcm sample_bytes=2, data_size=10470

200527.265 pcm data_size_div2=5235, ptrVoiceData_Current=0xcb5a398

200527.265 fread 5236 pcm16 bytes

200527.265 pcm sample_bytes=2, data_size=10470

200527.265 pcm data_size_div2=5235, ptrVoiceData_Current=0xcb5cc90

200527.281 fread 5236 pcm16 bytes

200527.281 pcm sample_bytes=2, data_size=10470

200527.281 pcm data_size_div2=5235, ptrVoiceData_Current=0xcb5f588

200527.281 fread 5236 pcm16 bytes

200527.281 pcm sample_bytes=2, data_size=10470

200527.281 pcm data_size_div2=5235, ptrVoiceData_Current=0xcb66008

200527.281 fread 5236 pcm16 bytes

200527.281 pcm sample_bytes=2, data_size=89924

200527.281 pcm data_size_div2=44962, ptrVoiceData_Current=0xcb68950

200527.296 fread 44963 pcm16 bytes

200527.296 002 buffer workaround (80535) (2 bytes truncated from end of each file)

200527.328 002 dlgc dx_clrsvcond(2) => 0

200527.328 002 wFileFormat=8, (pcm=8, adpcm=1)

200527.328 002 iott 0xcb65f88 io_type=0xc, io_fhandle=0, io_bufp=0xcb7e8f8, io_offset=0, io_length=80535, io_nextp=0x0, io_prevp=0x0, rfu=0x0

200527.328 002 dlgc play(2, 0xcb65f88, 0x0, 0x1d7bb4, EV_ASYNC) call

200527.328 002 dlgc play(2, 0xcb65f88, 0x0, 0x1d7bb4) => 0, hli=0x1d46c8

200531.156 002 ev TDX_CST (CST Event Received)

200531.156 002 ev TDX_CST DE_TONEON cst_data=191

200531.156 002 tone description retrieve hli=0x1d46c8, iToneUserID[0]=191 sToneUserName[0]=[FAX]

200531.171 002 ocxev DoFireDialogic(dwIdx=36, 2, 134, [TDX_CST], 191, 0, 0, [DE_TONEON], [FAX], []) (dwIdx=36)

200531.171 002 ocxev DoFireDialogic completed

200532.296 002 ev TDX_CST (CST Event Received)

200532.296 002 ev TDX_CST DE_LCOF data=3381

200532.296 002 ocxev DoFireDialogic(dwIdx=37, 2, 134, [TDX_CST], 3381, 0, 0, [DE_LCOF], [], []) (dwIdx=37)

200532.296 002 ocxfn RecStop(hLine=2, lRecId=0, lParam1=0, lParam2=0, strParam1=, strParam2=)

200532.296 002 dx_stopch call in RecStop

200532.296 002 dx_stopch 2 ok

200532.312 002 ocxfn PlayStop(hLine=2, lPlayId=0(0x0), lParam1=0, lParam2=0, strParam1=, strParam2=)

200532.312 002 dx_stopch call in PlayStop

200532.312 002 dx_stopch 2 ok

200532.328 002 ocxfn LineDrop(sLineId=2, sOpt=0)

200532.328 002 dx_sethook(2) call

200532.328 002 dx_sethook 2 DX_ONHOOK ok

200532.328 002 ocxev DoFireDialogic completed

200532.328 002 ev DE_LCOF does not cause DISCONNECTED event as Rule: SendDisconnectOnLoopCurrentDrop=0

200532.328 002 ev TDX_PLAY (Play Completed)

200532.328 002 cleared dwPlayId: hli=0x1d46c8, hli->dwPlayId=0(0x0)

200532.328 002 ocxev PlayEnd(dwLineId=2, dwPlayId=334828)

200532.328 002 ocxev DoFireDialogic(dwIdx=38, 2, 129, [TDX_PLAY], 334828, 0, 0, [], [], []) (dwIdx=38)

200532.328 002 ocxev DoFireDialogic completed

200532.359 002 ev TDX_SETHOOK (SetHook Completed)

 

 

Any idea what is happening here?

 

Thanks

0325tw.txt

0325vgm.txt

Share this post


Link to post

In both cases the hangup occurred as the Dialogic card reported a "Loop Current Drop" on the line:

 

200532.30 2 tw DialogicEvent 134,TDX_CST,3381,0,0,DE_LCOF,,

 

To ignore "Loop Current Drop" events open the VG.INI file in notepad and find the [CallControl] section, then uncomment this line:

 

LoopCurrentDrop=ignore

 

ie. change:

 

;LoopCurrentDrop=ignore

 

to be:

 

LoopCurrentDrop=ignore

 

and then restart VG.

Share this post


Link to post

The Telephone Line Simulator I'm using in this case, a AS-4, must have something about the sequence 2222 being played back because invariably it causes this loop current drop but only with this simulator.

 

When I call from a real phone line, the same thing doesn't happen. VG can say 2222 all it wants. However, the LCOF event is generated 100% of the time, without fail, when I make the call through the simulator and when the say number sequence is 2222.

 

Bizzaro....but thanks for the help.

Share this post


Link to post

Maybe the simulator is detecting the repetitive sound sequence as some sort of a disconnect tone and is itself dropping the line ???

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
×