Guest Soerenlp Report post Posted 06/27/2007 11:10 PM Hi. Ok, really weird problem. In my script I first capture a set of numbers using the "Get Numbers" module. I can press 1 here no problem and it captured as 1. I run a vbs script and if successfull path is set to a "Play" module where I then wait for the user to press 1 or 2. The really wierd thing is that in the Play module 1 is not longer captured as 1 but 5. As in I press 1 on the phone but its picked up as 5. How can it first work in the "Get Numbers" module, but then go wrong in the Play module? Please help. Regards, Soeren 000722.97 0 state [GetVisitorCode] Number Input 000722.97 0 state [GetVisitorCode] Playing (C:\Projects\FingalIT\wav\nocallerid.wav) 000722.97 0 play set playid=333593 000724.28 0 PlaySoundStart ok [C:\Projects\FingalIT\wav\nocallerid.wav] 000724.28 0 timer clear 000727.31 0 play end current play (playid=333593) 000727.31 0 ScriptEventCode 8001 iLineState=1300 000727.31 0 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 000727.31 0 eng set timer EV_TIMEOUT_REPLAYMSG time=5 000727.31 0 timer set 5 EV_TIMEOUT_REPLAYMSG 000728.59 0 dtmf 1 (65949,49,2) 000728.59 0 ScriptEventCode 49 iLineState=1301 000728.59 0 LsGetNbrsRxDigits 1 000728.59 0 state [GetVisitorCode] Number Input 1 000728.59 0 path {1} not found 000728.59 0 timer set 6 EV_TIMEOUT_ENTERDATA 000729.20 0 dtmf 1 (65949,49,2) 000729.20 0 ScriptEventCode 49 iLineState=1301 000729.20 0 LsGetNbrsRxDigits 1 000729.20 0 state [GetVisitorCode] Number Input 11 000729.20 0 path {11} not found 000729.20 0 timer set 6 EV_TIMEOUT_ENTERDATA 000729.80 0 dtmf 1 (65949,49,2) 000729.80 0 ScriptEventCode 49 iLineState=1301 000729.80 0 LsGetNbrsRxDigits 1 000729.80 0 state [GetVisitorCode] Number Input 111 000729.80 0 path {111} not found 000729.80 0 timer set 6 EV_TIMEOUT_ENTERDATA 000730.39 0 dtmf 1 (65949,49,2) 000730.39 0 ScriptEventCode 49 iLineState=1301 000730.41 0 LsGetNbrsRxDigits 1 000730.41 0 state [GetVisitorCode] Number Input 1111 000730.41 0 path {1111} not found 000730.41 0 timer set 6 EV_TIMEOUT_ENTERDATA 000731.53 0 dtmf # (65949,35,2) 000731.53 0 ScriptEventCode 35 iLineState=1301 000731.53 0 LsGetNbrsRxDigits # 000731.53 0 timer clear 000731.53 0 rv lg add [GetVisitorCode]{1111} 000731.53 0 eng run verification 000731.53 0 rv replace start (strlen>500) 000731.53 0 rv ns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\Projects\FingalIT\Script\}[scriptPath]{C:\Projects\FingalIT\Script}[$RV_STARTTIME]{28/06/2007 00:07:22}[$RV_DEVICEID]{0}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{0868374333}[$RV_DNIS]{}[DNIS]{}[CheckCallerID_Input]{0868374333}[CheckCallerID]{86837433 }[DBGetClientID_RowCount]{1}[DBGetClientID_1_1]{2}[GetVisitorCode]{1111} 000731.53 0 eng copy of verification script ran: vbs_0_1_0628000731.vbs 000731.56 0 Run Script waiting. iRunWait=1 (shellid=1120, process=984) 000731.56 0 timer set 1 EV_TIMEOUT_CHECKONSTATE 000731.63 0 Found it 000731.64 0 cl Run_ResultReturn >>success<< 000731.64 0 rv lg add [GetVisitorCode_ResultReturn]{success} 000731.64 0 cl Run_ResultReturn iRunWait_VgmIdx=0, iVgmIdx_Curr=6 000731.64 0 timer clear 000731.64 0 state [ONEForEntryTWOForExit] Playing 000731.64 0 state [ONEForEntryTWOForExit] Playing (C:\Projects\FingalIT\wav\nocallerid.wav) 000731.64 0 play set playid=342265 000732.75 0 PlaySoundStart ok [C:\Projects\FingalIT\wav\nocallerid.wav] 000732.75 0 timer clear 000732.77 0 RunModule PLAY end 000735.83 0 play end current play (playid=342265) 000735.83 0 ScriptEventCode 8001 iLineState=1100 000735.83 0 LsPlayMsg EV_PLAY_FINISHED 000735.83 0 eng set timer EV_TIMEOUT_REPLAYMSG time=5 000735.83 0 timer set 5 EV_TIMEOUT_REPLAYMSG 000735.83 0 dtmf 5 (65949,53,2) 000735.83 0 ScriptEventCode 53 iLineState=1101 000735.83 0 LsPlayMsgFinished 5 000735.83 0 rv lg add [ONEForEntryTWOForExit]{5} Share this post Link to post
SupportTeam Report post Posted 06/27/2007 11:21 PM 1 is not longer captured as 1 but 5. Are you using a voice modem? Some voice modems will have such strange results and incorrectly detect DTMFs. Maybe in this case the modem is affected by the sound file that it plays? Who knows, it could be anything. Ultimately your modem/device is not working as it should. You'll save yourself a lot of time if you just get a Dialogic card (and then switch to using VoiceGuide for Dialogic). Share this post Link to post