VoiceGuide IVR Software Main Page
Jump to content

Loop on first connection on Play module:

Recommended Posts

After upgrade to VoiceGuide_7.3.1_120806.exe happens something strange.

 

Script is looping inside himself.

 

Loop happens only one time in script but in each one connection.

loop.zip

Share this post


Link to post

After install VG update script is making a loop on first connection on Play module:

 

130217.515 19 8 3 db completed. SqlQueryType=READER, RowsCount=1, sRv=

130217.515 19 8 3 db completed. iRunWait=1, WavPlayWasStarted=0, WavPlayHasNowFinished=0

130217.515 19 8 3 db completed. iRowsAffected=1

130217.515 19 8 3 FindNextVgmTitleInPathList: next module title is=[play powitanie projektu]

130217.515 19 8 3 RunModule_AddToTaskQueue [Play,[play powitanie projektu],504]

130217.515 19 8 3 q scr add evScriptEvent 9800 CMD_RUN_SAME_MODULE_AGAIN

130217.515 6 8 3 q scr run evScriptEvent sCode=[CMD_RUN_SAME_MODULE_AGAIN] iActionID=0, crn=0[0|0|0|0|0][|||||] 12|00:00:11.1562500

130217.515 6 8 3 scriptevent CMD_RUN_SAME_MODULE_AGAIN 0|0|0 || LineState=LS_DBQUERY

130217.515 6 8 3 t timer clear (force=False)

130217.515 6 8 3 RunModule start Play, [play powitanie projektu], iModuleIdx=504, previous: vgm=504, vgs=13:13

130217.515 6 8 3 [play powitanie projektu] VGMTYPE_PLAY run start

 

in this moment is looping

 

130217.515 6 8 3 answering the call (picking up the line)

130217.515 6 8 3 t timer clear (force=True)

130217.515 19 8 3 db odbc query completed.

130217.515 6 8 3 ktTel_AnswerCall_Enqueue source=AnswerTheCall

130217.515 6 8 3 q tel add cmd_AnswerCall [0,0,0,0,0][||||]

130217.515 6 8 3 ktTel_LineAnswerCall =>

130217.515 7 8 3 q tel run cmd_AnswerCall 6|00:00:00.3906250

130217.546 18 8 3 ev Dialogic 2050,GCEV_ANSWERED, crn=280030c, 2050,0,0,,,

130217.546 18 8 3 q scr add evScriptEvent 2050 GCEV_ANSWERED

130217.546 18 8 3 ev CallState GCEV_ANSWERED, crn=280030c, iEvent=2 ,256,1,4, s1:, s2:, s3:]. vgEngine v7.3.4601.33764 (2012-08-06 17:45:27.99)

130217.546 18 8 3 q scr add evCallState 2 GCEV_ANSWERED

130217.546 6 8 3 q scr run evScriptEvent sCode=[GCEV_ANSWERED] iActionID=0, crn=280030c[2050|0|0|0|0][|||||] 12|00:00:11.1562500

130217.546 6 8 3 scriptevent GCEV_ANSWERED 2050|0|0 || LineState=LS_MODULE_TRANSITION

130217.546 6 8 3 q scr run evCallState sCode=[GCEV_ANSWERED] iActionID=0, crn=280030c[256|1|4|0|0][|||||] 12|00:00:11.1562500

130217.546 6 8 3 LineEvCallState crn=280030c event=2|GCEV_ANSWERED iCallState=256 calldirection=1 gcCallState=4 [||]

130217.546 6 8 3 LineEvCallState eLineStateThisEvent=Connected, ScriptState=LS_MODULE_TRANSITION

130217.546 6 8 3 ls set Connected (scriptstate=LS_MODULE_TRANSITION)

130217.546 6 8 3 yLineStateAppPov: Connected crn=280030c,ev=2,GCEV_ANSWERED,1, sParam1=

130217.546 6 8 3 LineEvCallState LINECALLSTATE_CONNECTED begin

130217.546 6 8 3 Set_hCall crn=280030c, called from LINECALLSTATE_CONNECTED

130217.546 6 8 3 LineEvCallState_Connected_InBound begin

130217.546 6 8 3 Inband detection not enabled

130217.546 6 8 3 ScriptWorkingMode set Running_Normal, (called from LineEvCallState_Connected_InBound)

130217.546 6 8 3 StartLoadedVgs 1 : C:\Program Files\VoiceGuide\Scripts\Maciej\prepaid_2011_10_14.vgp (7.3.4601.33764 2012-08-06 17:45:27.99)

130217.546 6 8 3 d updtd PathVoiceGuide | C:\Program Files\VoiceGuide

130217.546 6 8 3 d updtd ScriptPath | C:\Program Files\VoiceGuide\Scripts\Maciej\

130217.546 6 8 3 d updtd ScriptsPath | C:\Program Files\VoiceGuide\Scripts\Maciej\

130217.546 6 8 3 d updtd PathScript | C:\Program Files\VoiceGuide\Scripts\Maciej

130217.546 6 8 3 set sScriptToRunOnHangup=[C:\Program Files\VoiceGuide\Scripts\Maciej\prepaid_temination_pro_15.vgp] in StartLoadedVgs

130217.546 6 8 3 rv add [$RV_STARTTIME]{2012-08-09 13:02:17}

130217.546 6 8 3 d updtd $RV_STARTTIME | 2012-08-09 13:02:17

130217.546 6 8 3 d updtd $RV_STARTTIME | 2012-08-09 13:02:17

130217.546 6 8 3 rv add [$RV_DEVICEID]{8}

130217.546 6 8 3 d updtd $RV_DEVICEID | 8

130217.546 6 8 3 d updtd $RV_DEVICEID | 8

130217.546 6 8 3 rv add [DlgcVoice]{dxxxB1C3}

130217.546 6 8 3 d updtd DlgcVoice | dxxxB1C3

130217.546 6 8 3 d updtd DlgcVoice | dxxxB1C3

130217.546 6 8 3 rv add [DlgcNetwork]{dtiB1T3}

130217.546 6 8 3 d updtd DlgcNetwork | dtiB1T3

130217.546 6 8 3 d updtd DlgcNetwork | dtiB1T3

130217.546 6 8 3 rv add [$RV_CIDNAME]{}

130217.546 6 8 3 d updtd $RV_CIDNAME |

130217.546 6 8 3 d updtd $RV_CIDNAME |

130217.546 6 8 3 rv add [$RV_DNIS]{222054699}

130217.546 6 8 3 d updtd $RV_DNIS | 222054699

130217.546 6 8 3 d updtd $RV_DNIS | 222054699

130217.546 6 8 3 rv add [DNIS]{222054699}

130217.546 6 8 3 d updtd DNIS | 222054699

130217.546 6 8 3 d updtd DNIS | 222054699

130217.546 6 8 3 rv add [iSDN_SETUP]{ l ! 222030034p 222054699}

130217.546 6 8 3 d updtd ISDN_SETUP | l ! 222030034p 222054699

130217.546 6 8 3 d updtd ISDN_SETUP | l ! 222030034p 222054699

130217.546 6 8 3 d updtd PathApp | C:\Program Files\VoiceGuide

130217.546 6 8 3 d updtd PathVoiceGuide | C:\Program Files\VoiceGuide

130217.546 6 8 3 d updtd ScriptPath | C:\Program Files\VoiceGuide\Scripts\Maciej\

130217.546 6 8 3 d updtd ScriptsPath | C:\Program Files\VoiceGuide\Scripts\Maciej\

130217.546 6 8 3 d updtd PathScript | C:\Program Files\VoiceGuide\Scripts\Maciej

130217.546 6 8 3 rv add [$RV_CIDNUMBER]{222030034}

130217.546 6 8 3 d updtd $RV_CIDNUMBER | 222030034

130217.546 6 8 3 d updtd $RV_CIDNUMBER | 222030034

130217.546 6 8 3 t timer clear (force=False)

130217.546 6 8 3 RunModule start Evaluate, [sTART], iModuleIdx=94, previous: vgm=504, vgs=1:13

130217.546 6 8 3 state [sTART] Evaluate [now()]

130217.546 6 8 3 eval [now()]

130217.546 6 8 3 eval GetTypeFromProgID returned

130217.546 6 8 3 eval CreateInstance returned

130217.546 6 8 3 eval InvokeMember Language returned

130217.546 6 8 3 eval InvokeMember Eval returned

130217.546 6 8 3 eval ReleaseObject call

130217.546 6 8 3 rv add [sTART_Input]{now()}

130217.546 6 8 3 d added START_Input | now()

130217.546 6 8 3 d updtd START_Input | now()

130217.546 6 8 3 rv add [sTART]{2012-08-09 13:02:17}

130217.546 6 8 3 d added START | 2012-08-09 13:02:17

130217.546 6 8 3 d updtd START | 2012-08-09 13:02:17

130217.546 6 8 3 creating new (non-global) rv : call_start

130217.546 6 8 3 rv add [call_start]{2012-08-09 13:02:17}

130217.546 6 8 3 d added call_start | 2012-08-09 13:02:17

130217.546 6 8 3 d updtd call_start | 2012-08-09 13:02:17

130217.546 6 8 3 Eval Expr result:[2012-08-09 13:02:17] stored in RV[call_start]

130217.546 6 8 3 path {2012-08-09 13:02:17} not found

...

and now properly

...

130218.343 4 8 3 db completed. SqlQueryType=READER, RowsCount=1, sRv=

130218.343 4 8 3 db completed. iRunWait=1, WavPlayWasStarted=0, WavPlayHasNowFinished=0

130218.343 4 8 3 db completed. iRowsAffected=1

130218.343 4 8 3 FindNextVgmTitleInPathList: next module title is=[play powitanie projektu]

130218.343 4 8 3 RunModule_AddToTaskQueue [Play,[play powitanie projektu],504]

130218.343 4 8 3 q scr add evScriptEvent 9800 CMD_RUN_SAME_MODULE_AGAIN

130218.343 4 8 3 db odbc query completed.

130218.343 6 8 3 q scr run evScriptEvent sCode=[CMD_RUN_SAME_MODULE_AGAIN] iActionID=0, crn=0[0|0|0|0|0][|||||] 12|00:00:11.1562500

130218.343 6 8 3 scriptevent CMD_RUN_SAME_MODULE_AGAIN 0|0|0 || LineState=LS_DBQUERY

130218.343 6 8 3 t timer clear (force=False)

130218.343 6 8 3 RunModule start Play, [play powitanie projektu], iModuleIdx=504, previous: vgm=504, vgs=13:13

130218.343 6 8 3 [play powitanie projektu] VGMTYPE_PLAY run start

130218.343 6 8 3 CheckForAnyPlayActionsAndSetkeysIfNecessary no PlayActions, vgmidx=504, strPaths=on {timeout 0} goto [komunikat_eventowy]

 

130218.343 6 8 3 PrepareAndPlayWavAndTts start iModuleIdx=504, iPlayFileIdx=1, bMakeTtsFile=True, sSoundFileIs=

130218.343 6 8 3 rv replace start [\$RV[manager]\$RV[id_proj_1_1]01.wav]

130218.343 6 8 3 rv replace end [\manager4\52001.wav]

130218.343 6 8 3 PrepareAndPlayWavAndTTS sPlayFile=\manager4\52001.wav

130218.343 6 8 3 state [play powitanie projektu] Playing wav (\manager4\52001.wav)

130218.343 6 8 3 FindSoundFile start [\manager4\52001.wav]

130218.343 6 8 3 t timer clear (force=False)

130218.343 6 8 3 q tel add cmd_PlayStart 823875 ,C:\Program Files\VoiceGuide\Scripts\manager\\manager4\52001.wav []

130218.343 7 8 3 q tel run cmd_PlayStart 6|00:00:00.3906250

130218.359 6 8 3 play start ok, playId=823875

Share this post


Link to post

Can you please post a more complete trace that covers the entire call from the time it was offered.

 

Please .ZIP up traces before posting.

Share this post


Link to post

I found command witch start loop in running script:

092447.687 6 5 2 answering the call (picking up the line)

 

but it happens only one time in connection.

 

After this command script backing up to start and then working properly no second answering the call command in this connection.

 

 

One more difference between old and new VG is: on line status windows in status cell showing durring dial out " Waiting for a call ... Ringing" and before update it was "Calling numer XXX XXX XXX ..."

and then Calling numer XXX XXX XXX ... Ringing ..." it helps to trace processes.

Share this post


Link to post

Please update system to this version of VoiceGuide:

[old link deleted]

If you still encounter the 'script restart on answer' issue then please post traces as before.

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
×