Guest ThaoHuynh Report post Posted 05/24/2017 08:16 AM Hi VG Team, I have tested script. In [say Card Number], i specify: on {1} goto [ws_capiivr_ifsdemos_get_token] on {2} goto [Get Card Number] on {timeout 0} goto [ws_capiivr_ifsdemos_get_token] But when i press '1', [say Card Number] repeat again. so i have to press '1' to go to [ws_capiivr_ifsdemos_get_token]. It means i press '1' twice. Please check my script and log files. Thank you for your support. script.zip Share this post Link to post
SupportTeam Report post Posted 05/24/2017 09:30 AM Trace shows there were 5 calls when the system reached the [say Card Number] module: on first call when '1' was pressed the script moved onto module [ws_capiivr_ifsdemos_get_token] : 144142.943 23 3 1 ev CallState GCEV_OFFERED, crn=8000001, iEvent=0 ,2,0,8, s1:17778305883@callcentric.com|, s2:17778240484@callcentric.com, s3:]. build_date: 2017-04-20 20:26:52.52 ... 144215.773 10 3 1 state [Say Card Number] Say Numbers: 147 as Digits 144215.777 10 3 1 PlaySoundStartNumbers PayUsingCard.wav, PayPress1ifOK.wav, 147, Digits 144215.796 10 dll vgLib_SayNumbers: Digits begin 144215.796 10 3 1 playing [147] as [Digits] using DLL : [PayUsingCard.wav,1.wav,4.wav,7.wav,PayPress1ifOK.wav] 144215.796 10 3 1 FindSoundFile start [PayUsingCard.wav] 144215.796 10 3 1 FindSoundFile start [1.wav] 144215.797 10 3 1 FindSoundFile start [4.wav] 144215.797 10 3 1 FindSoundFile start [7.wav] 144215.797 10 3 1 FindSoundFile start [PayPress1ifOK.wav] 144215.797 10 3 1 t timer clear (force=False) 144215.797 10 3 1 q_tel + cmd_PlayStart 756004 C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayUsingCard.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav,C:\Program Files (x86)\VoiceGuide\system\voice\4.wav,C:\Program Files (x86)\VoiceGuide\system\voice\7.wav,C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayPress1ifOK.wav [] 144215.797 10 3 1 play start ok, playId=756004 144215.797 10 3 1 PlaySoundStartNumbers returned 144215.797 12 3 1 q_tel run cmd_PlayStart 0 0 max:3|52 144215.797 10 3 1 RunModule finish 144215.889 23 3 1 ev PlayEnd 3 747611 [bytes_played=66768:66768, bytes_in_file=82710] 144215.889 23 3 1 play end id=747611, (old id) current id=756004 144222.514 23 3 1 ev dtmf 1 (134217729,49,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 144222.514 23 3 1 q_scr + evScriptEvent 49 1 144222.514 10 3 1 q_scr run evScriptEvent sCode=[1] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:1|00:00:00.0300017 144222.514 10 3 1 se 1 49 0|0|0 || LineState=LS_SAYNBRS_PLAY 144222.516 10 3 1 LsSayNbrPlay 1,1 144222.516 10 3 1 path {1} found (at offset 34) 144222.516 10 3 1 FindNextVgmTitleInPathList: next module title is=[ws_capiivr_ifsdemos_get_token] 144222.516 10 3 1 q_tel + cmd_PlayStop [0,0,0,0,0][||||] 144222.516 10 3 1 play PlaySoundStop ok 144222.516 10 3 1 rv add Say Card Number|1 144222.516 12 3 1 q_tel run cmd_PlayStop 0 0 max:3|52 144222.516 10 3 1 t timer clear (force=False) 144222.516 10 3 1 RunModule start 144222.516 10 3 1 RunModule start Web Service, [ws_capiivr_ifsdemos_get_token], iModuleIdx=5, previous: vgm=9, vgs=1:1 144222.516 10 3 1 state [ws_capiivr_ifsdemos_get_token] Web Service Call on second call there was first a "#" press, before "1" : 144425.888 23 3 1 ev CallState GCEV_OFFERED, crn=8000001, iEvent=0 ,2,0,8, s1:17778305883@callcentric.com|, s2:17778240484@callcentric.com, s3:]. build_date: 2017-04-20 20:26:52.52 144441.654 10 3 1 state [Say Card Number] Say Numbers: 123 as Digits 144441.655 10 3 1 PlaySoundStartNumbers PayUsingCard.wav, PayPress1ifOK.wav, 123, Digits 144441.655 10 dll vgLib_SayNumbers: Digits begin 144441.655 10 3 1 playing [123] as [Digits] using DLL : [PayUsingCard.wav,1.wav,2.wav,3.wav,PayPress1ifOK.wav] 144441.655 10 3 1 FindSoundFile start [PayUsingCard.wav] 144441.655 10 3 1 FindSoundFile start [1.wav] 144441.655 10 3 1 FindSoundFile start [2.wav] 144441.655 10 3 1 FindSoundFile start [3.wav] 144441.655 10 3 1 FindSoundFile start [PayPress1ifOK.wav] 144441.655 10 3 1 t timer clear (force=False) 144441.655 10 3 1 q_tel + cmd_PlayStart 901865 C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayUsingCard.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav,C:\Program Files (x86)\VoiceGuide\system\voice\2.wav,C:\Program Files (x86)\VoiceGuide\system\voice\3.wav,C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayPress1ifOK.wav [] 144441.655 10 3 1 play start ok, playId=901865 144441.655 10 3 1 PlaySoundStartNumbers returned 144441.656 12 3 1 q_tel run cmd_PlayStart 0 0 max:3|52 144441.656 10 3 1 RunModule finish 144441.774 23 3 1 ev PlayEnd 3 891787 [bytes_played=80592:80592, bytes_in_file=82112] 144441.774 23 3 1 play end id=891787, (old id) current id=901865 144442.404 23 3 1 ev dtmf # (134217729,35,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 144442.404 23 3 1 q_scr + evScriptEvent 35 # 144442.404 10 3 1 q_scr run evScriptEvent sCode=[#] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:1|00:00:00.0300017 144442.404 10 3 1 se # 35 0|0|0 || LineState=LS_SAYNBRS_PLAY 144442.404 10 3 1 LsSayNbrPlay #,# 144442.404 10 3 1 path {#} not found 144446.814 23 3 1 ev dtmf 1 (134217729,49,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 144446.814 23 3 1 q_scr + evScriptEvent 49 1 144446.814 10 3 1 q_scr run evScriptEvent sCode=[1] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:1|00:00:00.0300017 144446.814 10 3 1 se 1 49 0|0|0 || LineState=LS_SAYNBRS_PLAY 144446.814 10 3 1 LsSayNbrPlay 1,1 144446.814 10 3 1 path {1} found (at offset 3) 144446.814 10 3 1 FindNextVgmTitleInPathList: next module title is=[ws_capiivr_ifsdemos_get_token] 144446.814 10 3 1 q_tel + cmd_PlayStop [0,0,0,0,0][||||] 144446.814 10 3 1 play PlaySoundStop ok 144446.814 10 3 1 rv add Say Card Number|1 144446.814 12 3 1 q_tel run cmd_PlayStop 0 0 max:3|52 144446.814 10 3 1 t timer clear (force=False) 144446.814 10 3 1 RunModule start 144446.814 10 3 1 RunModule start Web Service, [ws_capiivr_ifsdemos_get_token], iModuleIdx=14, previous: vgm=10, vgs=2:2 144446.814 10 3 1 state [ws_capiivr_ifsdemos_get_token] Web Service Call on third call when '1' was pressed the script moved onto module [ws_capiivr_ifsdemos_get_token] : 145020.628 23 3 1 ev CallState GCEV_OFFERED, crn=8000001, iEvent=0 ,2,0,8, s1:17778305883@callcentric.com|, s2:17778240484@callcentric.com, s3:]. build_date: 2017-04-20 20:26:52.52 145032.299 10 3 1 state [Say Card Number] Say Numbers: 123 as Digits 145032.299 10 3 1 PlaySoundStartNumbers PayUsingCard.wav, PayPress1ifOK.wav, 123, Digits 145032.299 10 dll vgLib_SayNumbers: Digits begin 145032.300 10 3 1 playing [123] as [Digits] using DLL : [PayUsingCard.wav,1.wav,2.wav,3.wav,PayPress1ifOK.wav] 145032.300 10 3 1 FindSoundFile start [PayUsingCard.wav] 145032.300 10 3 1 FindSoundFile start [1.wav] 145032.300 10 3 1 FindSoundFile start [2.wav] 145032.300 10 3 1 FindSoundFile start [3.wav] 145032.300 10 3 1 FindSoundFile start [PayPress1ifOK.wav] 145032.300 10 3 1 t timer clear (force=False) 145032.300 10 3 1 q_tel + cmd_PlayStart 252508 C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayUsingCard.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav,C:\Program Files (x86)\VoiceGuide\system\voice\2.wav,C:\Program Files (x86)\VoiceGuide\system\voice\3.wav,C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayPress1ifOK.wav [] 145032.300 10 3 1 play start ok, playId=252508 145032.300 10 3 1 PlaySoundStartNumbers returned 145032.300 10 3 1 RunModule finish 145032.300 12 3 1 q_tel run cmd_PlayStart 0 0 max:1|0 145032.419 23 3 1 ev PlayEnd 3 245754 [bytes_played=53984:53984, bytes_in_file=82112] 145032.419 23 3 1 play end id=245754, (old id) current id=252508 145038.269 23 3 1 ev dtmf 1 (134217729,49,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 145038.269 23 3 1 q_scr + evScriptEvent 49 1 145038.269 10 3 1 q_scr run evScriptEvent sCode=[1] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:1|00:00:00 145038.269 10 3 1 se 1 49 0|0|0 || LineState=LS_SAYNBRS_PLAY 145038.269 10 3 1 LsSayNbrPlay 1,1 145038.269 10 3 1 path {1} found (at offset 3) 145038.269 10 3 1 FindNextVgmTitleInPathList: next module title is=[ws_capiivr_ifsdemos_get_token] 145038.269 10 3 1 q_tel + cmd_PlayStop [0,0,0,0,0][||||] 145038.269 10 3 1 play PlaySoundStop ok 145038.269 10 3 1 rv add Say Card Number|1 145038.269 12 3 1 q_tel run cmd_PlayStop 0 0 max:1|0 145038.269 10 3 1 t timer clear (force=False) 145038.269 10 3 1 RunModule start 145038.269 10 3 1 RunModule start Web Service, [ws_capiivr_ifsdemos_get_token], iModuleIdx=14, previous: vgm=18, vgs=2:2 145038.269 10 3 1 state [ws_capiivr_ifsdemos_get_token] Web Service Call same on 4th call: 145340.790 23 3 1 ev CallState GCEV_OFFERED, crn=8000001, iEvent=0 ,2,0,8, s1:17778305883@callcentric.com|, s2:17778240484@callcentric.com, s3:]. build_date: 2017-04-20 20:26:52.52 145354.906 10 3 1 state [Say Card Number] Say Numbers: 159 as Digits 145354.906 10 3 1 PlaySoundStartNumbers PayUsingCard.wav, PayPress1ifOK.wav, 159, Digits 145354.907 10 dll vgLib_SayNumbers: Digits begin 145354.907 10 3 1 playing [159] as [Digits] using DLL : [PayUsingCard.wav,1.wav,5.wav,9.wav,PayPress1ifOK.wav] 145354.907 10 3 1 FindSoundFile start [PayUsingCard.wav] 145354.907 10 3 1 FindSoundFile start [1.wav] 145354.907 10 3 1 FindSoundFile start [5.wav] 145354.907 10 3 1 FindSoundFile start [9.wav] 145354.907 10 3 1 FindSoundFile start [PayPress1ifOK.wav] 145354.908 10 3 1 t timer clear (force=False) 145354.908 10 3 1 q_tel + cmd_PlayStart 455123 C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayUsingCard.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav,C:\Program Files (x86)\VoiceGuide\system\voice\5.wav,C:\Program Files (x86)\VoiceGuide\system\voice\9.wav,C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayPress1ifOK.wav [] 145354.908 10 3 1 play start ok, playId=455123 145354.908 10 3 1 PlaySoundStartNumbers returned 145354.909 10 3 1 RunModule finish 145354.908 12 3 1 q_tel run cmd_PlayStart 0 0 max:1|0 145355.026 23 3 1 ev PlayEnd 3 445170 [bytes_played=79464:79464, bytes_in_file=83462] 145355.026 23 3 1 play end id=445170, (old id) current id=455123 145402.766 23 3 1 ev dtmf 1 (134217729,49,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 145402.766 23 3 1 q_scr + evScriptEvent 49 1 145402.766 10 3 1 q_scr run evScriptEvent sCode=[1] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:1|00:00:00 145402.766 10 3 1 se 1 49 0|0|0 || LineState=LS_SAYNBRS_PLAY 145402.766 10 3 1 LsSayNbrPlay 1,1 145402.766 10 3 1 path {1} found (at offset 3) 145402.766 10 3 1 FindNextVgmTitleInPathList: next module title is=[ws_capiivr_ifsdemos_get_token] 145402.766 10 3 1 q_tel + cmd_PlayStop [0,0,0,0,0][||||] 145402.766 10 3 1 play PlaySoundStop ok 145402.766 10 3 1 rv add Say Card Number|1 145402.766 12 3 1 q_tel run cmd_PlayStop 0 0 max:1|0 145402.766 10 3 1 t timer clear (force=False) 145402.766 10 3 1 RunModule start 145402.766 10 3 1 RunModule start Web Service, [ws_capiivr_ifsdemos_get_token], iModuleIdx=14, previous: vgm=18, vgs=2:2 145402.766 10 3 1 state [ws_capiivr_ifsdemos_get_token] Web Service Call and on 5th call: 145422.627 23 3 1 ev CallState GCEV_OFFERED, crn=8000001, iEvent=0 ,2,0,8, s1:17778305883@callcentric.com|, s2:17778240484@callcentric.com, s3:]. build_date: 2017-04-20 20:26:52.52 145437.988 10 3 1 state [Say Card Number] Say Numbers: 12 as Digits 145437.988 10 3 1 PlaySoundStartNumbers PayUsingCard.wav, PayPress1ifOK.wav, 12, Digits 145437.988 10 dll vgLib_SayNumbers: Digits begin 145437.988 10 3 1 playing [12] as [Digits] using DLL : [PayUsingCard.wav,1.wav,2.wav,PayPress1ifOK.wav] 145437.989 10 3 1 FindSoundFile start [PayUsingCard.wav] 145437.989 10 3 1 FindSoundFile start [1.wav] 145437.989 10 3 1 FindSoundFile start [2.wav] 145437.989 10 3 1 FindSoundFile start [PayPress1ifOK.wav] 145437.989 10 3 1 t timer clear (force=False) 145437.989 10 3 1 q_tel + cmd_PlayStart 498194 C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayUsingCard.wav,C:\Program Files (x86)\VoiceGuide\system\voice\1.wav,C:\Program Files (x86)\VoiceGuide\system\voice\2.wav,C:\Program Files (x86)\VoiceGuide\Scripts\Credit Card Payment\PayPress1ifOK.wav [] 145437.989 10 3 1 play start ok, playId=498194 145437.989 10 3 1 PlaySoundStartNumbers returned 145437.989 10 3 1 RunModule finish 145437.989 12 3 1 q_tel run cmd_PlayStart 0 0 max:1|0 145438.108 23 3 1 ev PlayEnd 3 494981 [bytes_played=25672:25672, bytes_in_file=75494] 145438.108 23 3 1 play end id=494981, (old id) current id=498194 145443.053 23 3 1 ev dtmf 1 (134217729,49,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 145443.053 23 3 1 q_scr + evScriptEvent 49 1 145443.053 10 3 1 q_scr run evScriptEvent sCode=[1] iActionID=0, crn=0 [0|0|0|0|0][|||||] 00:00:00 max:1|00:00:00 145443.053 10 3 1 se 1 49 0|0|0 || LineState=LS_SAYNBRS_PLAY 145443.053 10 3 1 LsSayNbrPlay 1,1 145443.053 10 3 1 path {1} found (at offset 3) 145443.053 10 3 1 FindNextVgmTitleInPathList: next module title is=[ws_capiivr_ifsdemos_get_token] 145443.053 10 3 1 q_tel + cmd_PlayStop [0,0,0,0,0][||||] 145443.053 10 3 1 play PlaySoundStop ok 145443.053 10 3 1 rv add Say Card Number|1 145443.053 12 3 1 q_tel run cmd_PlayStop 0 0 max:1|0 145443.053 10 3 1 t timer clear (force=False) 145443.053 10 3 1 RunModule start 145443.053 10 3 1 RunModule start Web Service, [ws_capiivr_ifsdemos_get_token], iModuleIdx=14, previous: vgm=18, vgs=2:2 145443.053 10 3 1 state [ws_capiivr_ifsdemos_get_token] Web Service Call trace is not showing the system replaying the "PayUsingCard.wav, etc" during any of those calls. Can you describe in more detail what you are observing, and maybe post a trace capturing system startup with only 1 call, and indicate the exact time (to a second) when you observed the issue occurring, Share this post Link to post
Guest ThaoHuynh Report post Posted 05/24/2017 09:57 AM Please check new log file. I just make a call and still have to press '1' twice to go to [ws_capiivr_ifsdemos_get_token]. 0524_1648_vgEngine.txt Share this post Link to post
SupportTeam Report post Posted 05/24/2017 10:32 AM Are you perhaps counting the "1" you pressed in the [Get Card Number] module as confirmation of number entered ? You have set that module to play back the entered number and get caller to confirm that that number is good. so you press "1" for that confirmation: 164834.161 10 3 1 state [Get Card Number] Number Input 123 - confirming 164834.161 10 3 1 PlaySoundStartNumbers (internal) C:\Program Files (x86)\VoiceGuide\system\voice\GetNbrsConfirmIntro.wav,1.wav,2.wav,3.wav,C:\Program Files (x86)\VoiceGuide\system\voice\GetNbrsConfirmMenu.wav 164845.681 23 3 1 ev dtmf 1 (134217729,49,10) iConferenceOtherLegLid=-1, iConferenceOtherLegIvrDevPort=0 but after you press 1 to confirm there, then the script goes to module [say Card Number] : 164845.685 10 3 1 state [Say Card Number] Say Numbers: 123 as Digits 164845.689 10 3 1 PlaySoundStartNumbers PayUsingCard.wav, PayPress1ifOK.wav, 123, Digits You should probably just remove the [say Card Number] module from your script. Share this post Link to post
Guest ThaoHuynh Report post Posted 05/24/2017 11:23 AM Are you perhaps counting the "1" you pressed in the [Get Card Number] module as confirmation of number entered ? No, i want to confirm number entered. Please press '1' if that is correct or '2' to re-enter again. And after i press '1' it must to go to [ws_capiivr_ifsdemos_get_token] module. Why it repeat [say Card Number] again? Share this post Link to post
SupportTeam Report post Posted 05/24/2017 11:36 AM It does not repeat any module. It goes from [Get Card Number] module to [Say Card Number] module. The "Please press '1' if that is correct or '2' to re-enter again." is in the 1st module: the [Get Card Number] module. once you confirmed the number is correct then there is no need to play it back in another module again - the [Say Card Number] module. So just delete the [Say Card Number] module. And in [Get Card Number] module change the 'Success' path from: on {Success} goto [say Card Number] to: on {Success} goto [ws_capiivr_ifsdemos_get_token] Share this post Link to post