Guest Jack_VR Report post Posted 06/22/2005 06:30 PM Hi there, We have an answering machine script running when our outbound call detect there is an answering machine pick up the call, but the problem is: It seems like the script does not response the phone keypad action! For e.g. when a person pick up the phone, but it was mis-detected as an answering machine, we'd like to give the person a chance to press certain key to go to certain module, but it doesn't matter whatever key he pressed, the script keeps playing the message, and hang up after the message been played. Btw, the script we use for human and answering machine is the same; it works fine if human been detected. So I'd like to know what the reason is and how to solve this problem? Regards, Jack Share this post Link to post
SupportTeam Report post Posted 06/22/2005 09:06 PM This problem is caused by a restriction in Dialogic's TAPI layer - you will need to switch to using 'VoiceGuide for Dialogic' which does not user TAPI and does not have this problem. Share this post Link to post
Guest Jack_VR Report post Posted 06/23/2005 01:52 PM Ok, it sounds reasonable, but how to switch to using 'VoiceGuide for Dialogic'? Share this post Link to post
SupportTeam Report post Posted 06/23/2005 08:53 PM Please download the patch from our downloads page and follow the instructions in the readme.txt file. Share this post Link to post
Guest Jack_VR Report post Posted 06/24/2005 04:25 PM I'll try it later on. Thanks. Share this post Link to post
Guest Jack_VR Report post Posted 06/27/2005 06:12 PM Hi there, I've installed the patch, it works fine except I can NOT get the value of $RV_CALLLENGTH in my scripts (now it always equals to 0 ), could you tell me what's the reason? Regards, Jack Share this post Link to post
SupportTeam Report post Posted 06/27/2005 11:22 PM $RV_CALLLENGTH should work OK. Just tested it on our test system here and it works fine. Could you please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what happened. When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call. You can enable the automatic saving of the logs to files in \log\ directory as well. Share this post Link to post
Guest Jack_VR Report post Posted 06/28/2005 02:26 PM Here is the log, FYI. 101640.52 2 dial [699,4167237597,506281004,830,2359,MoTuWeThFrSaSu,[,,],2,NONE,C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp,C:\Program Files\VoiceGuide\Scripts\CallOut_am.vgp,none,40,2,180,,none] (search started at 101640.52) 101640.53 2 dial DialOnLine start tel[4167237597] ann[NONE] vgs[C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp] am[C:\Program Files\VoiceGuide\Scripts\CallOut_am.vgp] rv[none] 101640.53 0 dial callque update id=699: NextCallTime=0506281316, RetriesLeft=1 101640.55 0 dial callque DB update returned (MSAccess) 101640.56 2 rv clear all 101640.56 2 rv add [OutDial_RetriesLeft]{2} 101640.58 2 dial making call tel[4167237597] ann[NONE] vgs[C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp] am[C:\Program Files\VoiceGuide\Scripts\CallOut_am.vgp] OnHangup[] rv[none[OutDial_RetriesLeft]{2}] 101640.58 2 script interpretor: VgMulti v6.0.2028 101640.59 2 state Dialing 4167237597 101640.72 2 timer set 40 EV_TIMEOUT_MAKECALL_NORESPONSE 101641.27 2 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_OFFHOOK,CALL_OUTBOUND, 101641.28 2 event TDX_SETHOOK, code=135, state=5200 101641.28 2 LsWaitAfterDialingOut : 135,TDX_SETHOOK,0,0,0,DX_OFFHOOK,CALL_OUTBOUND, 101641.30 2 tw DialogicEvent 134,TDX_CST,28100,0,0,DE_LCON,, 101641.31 2 event TDX_CST, code=134, state=5200 101641.31 2 LsWaitAfterDialingOut : 134,TDX_CST,28100,0,0,DE_LCON,, 101657.67 2 tw DialogicEvent 133,TDX_CALLP,10,3,0,TDX_CALLP,CR_CNCT,CON_PVD 101657.69 2 event VOICE, code=133, state=5200 101657.69 2 LsWaitAfterDialingOut : 133,VOICE,10,3,0,CR_CNCT,CON_PVD, 101657.70 2 event CONNECT, code=133, state=5200 101657.72 2 LsWaitAfterDialingOut : 133,CONNECT,10,3,0,CR_CNCT,CON_PVD, 101657.72 2 event CON_PVD, code=133, state=5200 101657.73 2 LsWaitAfterDialingOut : 133,CON_PVD,10,3,0,CR_CNCT,CON_PVD, 101657.73 2 event CR_CNCT, code=133, state=5200 101657.75 2 LsWaitAfterDialingOut : 133,CR_CNCT,10,3,0,CON_PVD,, 101657.75 2 event TDX_CALLP, code=133, state=5200 101657.77 2 LsWaitAfterDialingOut : 133,TDX_CALLP,10,3,0,CR_CNCT,CON_PVD, 101657.77 2 LineEvCallState_OutgoingCallWasAnswered 10,3,0 101657.78 2 rv add [$RV_STARTTIME]{6/28/2005 10:16:57 AM} 101657.78 2 rv add [$RV_DEVICEID]{2} 101657.83 2 rv add [$RV_CIDNAME]{} 101657.94 2 rvns add [PathApp]{C:\Program Files\VoiceGuide\} 101657.95 2 WARN rv ScriptsPath could not be set as LineState(iLineId).iVgsIdx = 0 in StartLoadedVgs_InitLineState 101657.97 2 rv add [$RV_CALLEDNUMBER]{4167237597} 101657.98 0 dial callque delete id=699 (MSAccess) 101658.11 2 rvns add [OutDial_Result]{Contacted_Human} 101658.13 2 state live person answered. start [C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp] 101658.14 2 tr NewVgsVgm_Goto C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp,,,,,0 101658.16 2 rv add [scriptEnd_Time]{6/28/2005 10:16:58 AM} 101658.16 2 rv add [scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp} 101658.17 2 rv add [scriptEnd_Goto_Module]{} 101658.17 2 rv add [scriptStart_Time]{6/28/2005 10:16:58 AM} 101658.19 2 rv add [scriptStart_CalledFrom_Module]{welcome prompt} 101658.23 2 FindFullPathToScript_VgsOrVgp start [C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp] 101658.25 2 FindFullPathToScript_VgsOrVgp 1 101658.27 0 load start [C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp] 101658.42 2 loaded [C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp] into:4 101658.42 2 rvns add [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\} 101658.44 2 StartModuleDefault=[intro msg] 101658.44 2 tr NewVgsVgm_Goto 1 101658.56 2 tr NewVgsVgm_Goto 2 101658.56 2 fn RunModule start 101658.63 2 timer clear 101658.64 2 Play Module start 101658.64 2 state [intro msg] Playing 101658.66 2 state [intro msg] Playing (2k50614audios\3 prompts and short message toll free june 17 2005 Recording 1.wav) 101658.66 2 tw ConvertWav2Vox C:\Program Files\VoiceGuide\Scripts\2k50614audios\3 prompts and short message toll free june 17 2005 Recording 1.wav 101658.67 2 timer clear 101658.67 2 tr NewVgsVgm_Goto end 101658.77 2 tw wav->vox convert end 405218,C:\Program Files\VoiceGuide\Scripts\2k50614audios\3 prompts and short message toll free june 17 2005 Recording 1.vox,1,0,, 101658.88 2 play start ok, lPlayId=405390 101702.97 2 tw DialogicEvent 134,TDX_CST,199,0,0,DE_TONEON,TID_RNGBK1, 101702.97 2 event RINGBACK, code=134, state=1100 101702.98 2 LsPlayMsg EV_UNKNOWN_134,RINGBACK 101703.00 2 path {RINGBACK} not found 101703.02 2 event TID_RNGBK1, code=134, state=1100 101703.03 2 LsPlayMsg EV_UNKNOWN_134,TID_RNGBK1 101703.03 2 path {TID_RNGBK1} not found 101703.05 2 event TDX_CST, code=134, state=1100 101703.05 2 LsPlayMsg EV_UNKNOWN_134,TDX_CST 101703.06 2 path {TDX_CST} not found 101703.88 2 tw DialogicEvent 134,TDX_CST,194,0,0,DE_TONEON,TID_DIAL_INTL, 101703.88 2 event DIALTONE, code=134, state=1100 101703.89 2 LsPlayMsg EV_UNKNOWN_134,DIALTONE 101703.91 2 path {DIALTONE} not found 101703.91 2 event TID_DIAL_INTL, code=134, state=1100 101703.92 2 LsPlayMsg EV_UNKNOWN_134,TID_DIAL_INTL 101703.92 2 path {TID_DIAL_INTL} not found 101703.94 2 event TDX_CST, code=134, state=1100 101703.95 2 LsPlayMsg EV_UNKNOWN_134,TDX_CST 101703.95 2 path {TDX_CST} not found 101730.31 2 event callstate DISCONNECTED 2 0 0 101730.34 2 event EV_REMOTEPARTY_DISCONNECT, code=9250, state=1100 101730.34 2 LsPlayMsg EV_REMOTEPARTY_DISCONNECT,EV_REMOTEPARTY_DISCONNECT 101730.36 2 path {EV_REMOTEPARTY_DISCONNECT} not found 101730.36 2 rv add [Hangup Time]{6/28/2005 10:17:30 AM} 101730.38 2 state Hanging up call... 101730.39 2 HangupCall_Common hCall=404328 101730.42 2 rec RecSoundStop ok 101730.44 2 play PlaySoundStop ok 101730.45 2 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 101730.45 2 fnHangupCall end 101730.47 2 tw DialogicEvent 134,TDX_CST,4906,0,0,DE_LCOF,, 101730.48 2 event TDX_CST, code=134, state=900 101730.48 2 LsAwaitingCalls EV_UNKNOWN_134 101730.50 2 tw PlayEnd 2 405390 101730.61 2 play end id=405390, (current ID) 101730.63 2 event EV_PLAY_FINISHED, code=8001, state=900 101730.64 2 LsAwaitingCalls EV_PLAY_FINISHED 101730.64 2 tw DialogicEvent 129,TDX_PLAY,405390,0,0,,, 101730.66 2 event TDX_PLAY, code=129, state=900 101730.66 2 LsAwaitingCalls EV_UNKNOWN_129 101730.67 2 event callstate IDLE 2 0 0 101730.69 2 WorkingMode@Idle= 101730.69 2 timer clear 101730.72 2 rec RecSoundStop ok 101730.73 2 play PlaySoundStop ok 101730.73 2 rv add [CallEndTime]{6/28/2005 10:17:30 AM} 101730.81 2 After Hangup script:[C:\Program Files\VoiceGuide\Scripts\erase_number.vgs] 101730.95 2 FindFullPathToScript_VgsOrVgp start [C:\Program Files\VoiceGuide\Scripts\erase_number.vgs] 101730.97 2 FindFullPathToScript_VgsOrVgp 1 101730.98 0 LoadedVgs_Find C:\Program Files\VoiceGuide\Scripts\erase_number.vgs at idx=3 101730.98 2 fn RunModule start 101731.00 2 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 101731.00 2 event TDX_SETHOOK, code=135, state=6001 101731.02 2 timer clear 101731.03 2 state [erase number] Running VB Script... 101731.05 2 rv replace start (strlen>500) 101731.16 2 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[OutDial_RetriesLeft]{2}[$RV_STARTTIME]{6/28/2005 10:16:57 AM}[$RV_DEVICEID]{2}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{4167237597}[OutDial_Result]{Contacted_Human}[scriptEnd_Tim ]{6/28/2005 10:16:58 AM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp}[scriptEnd_Goto_Module]{}[scriptStart_Time]{6/28/2005 10:16:58 AM}[scriptStart_CalledFrom_Module]{welcome prompt}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\}[Hangup Time]{6/28/2005 10:17:30 AM}[CallEndTime]{6/28/2005 10:17:30 AM} 101731.16 2 vbs ran [vbs_2_1.vbs], cmd [wscript "C:\Program Files\VoiceGuide\data\vbs_2_1.vbs" //I //T:60] 101731.30 2 Run Script waiting. iRunWait=1 (shellid=1544, process=1372) 101731.31 2 timer set 1 EV_TIMEOUT_CHECKONSTATE 101732.33 2 timer fired EV_TIMEOUT_CHECKONSTATE 101732.33 2 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 101732.34 2 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 101732.34 2 task completed (shellid=1544, process=1372) vgm=40, iRunWait=1, iRunWait_ExeResult_NextVgm=0 101732.36 2 no result file returned from program (VGRUNRESULT_2.TXT or SHLRESLT.TXT) 101732.38 2 task completed LsRunWaitChooseNext iNextVgm=42 101732.38 2 fn RunModule start 101732.39 2 timer clear 101732.39 2 state [call length] Running VB Script... 101732.41 2 rv replace start (strlen>500) 101732.42 2 rvns [PathSysVoice]{C:\Program Files\VoiceGuide\system\voice\}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[OutDial_RetriesLeft]{2}[$RV_STARTTIME]{6/28/2005 10:16:57 AM}[$RV_DEVICEID]{2}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{4167237597}[OutDial_Result]{Contacted_Human}[scriptEnd_Tim ]{6/28/2005 10:16:58 AM}[scriptEnd_Goto_Script]{C:\Program Files\VoiceGuide\Scripts\CallOut_hm.vgp}[scriptEnd_Goto_Module]{}[scriptStart_Time]{6/28/2005 10:16:58 AM}[scriptStart_CalledFrom_Module]{welcome prompt}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\}[Hangup Time]{6/28/2005 10:17:30 AM}[CallEndTime]{6/28/2005 10:17:30 AM} 101732.42 2 vbs ran [vbs_2_2.vbs], cmd [wscript "C:\Program Files\VoiceGuide\data\vbs_2_2.vbs" //I //T:5] 101732.63 2 Run Script waiting. iRunWait=1 (shellid=2036, process=1368) 101732.63 2 timer set 1 EV_TIMEOUT_CHECKONSTATE 101733.75 2 timer fired EV_TIMEOUT_CHECKONSTATE 101733.75 2 event EV_TIMEOUT_CHECKONSTATE, code=9007, state=1501 101733.77 2 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 101733.77 2 task completed (shellid=2036, process=1368) vgm=42, iRunWait=1, iRunWait_ExeResult_NextVgm=0 101733.78 2 no result file returned from program (VGRUNRESULT_2.TXT or SHLRESLT.TXT) 101733.80 2 already IDLE. HangupCall ignored. 101733.80 2 init atidle reinit : start 101733.81 2 init atidle reinit iConferenceOtherLegLid=-1 101733.83 2 init atidle reinit : reset all LineState variables 101733.84 2 timer set 0.3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 101733.84 2 state Waiting for a call... 101734.25 2 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 101734.25 2 event EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=900 Share this post Link to post
Guest Jack_VR Report post Posted 06/29/2005 01:29 PM Any suggestions? We've lost tracking of call length for a couple of days, we have to get the problem solved ASAP, thanks. Regards, Jack Share this post Link to post
Guest Jack_VR Report post Posted 06/29/2005 04:17 PM Hi, $RV_CALLLENGTH should work OK. Just tested it on our test system here and it works fine. It's still NOT working for us, and I've already posted the log I got. By the way, What I'm talking about is the script to run when call is finished, just FYI. How did you guys test it? within the calling script? We have to get this problem solved ASAP, thanks. Regards, Jack Share this post Link to post
SupportTeam Report post Posted 07/07/2005 11:56 AM $RV_CALLLENGTH issue on outgoing calls was resolved in relase 6.0.2055 onwards. Interim patch is posted in this thread: http://voiceguide.com/forums/index.php?showtopic=2985 Share this post Link to post