ktruk Report post Posted 02/03/2006 04:40 PM When using dial and conference, any DTMF from either line (ie: each leg) will cause the bridged lines to hangup. The documentation states that just an asterisk/star/* DTMF signal should end the call. I am using v5.2.5015, here is a log snippet - The trace clearly shows some sort of error in the log. Can this be fixed please so that only 1 dtmf digit is used (*) as per the documentation? (Having any digit end the call may end the call prematurely). 152907.29 7 timer fired EV_TIMEOUT_BRIDGEAFTERDIALING 152907.29 7 ScriptEventCode 9014 iLineState=1910 152907.29 7 LsXferWaitEndCall EV_TIMEOUT_BRIDGEAFTERDIALING 152907.30 6 rv ns add [Conf_DevName_1]{dxxxB1C1} 152907.31 6 rv ns add [Conf_LineId_1]{6} 152907.32 6 rv lg add [Conf_DevName_2]{dxxxB1C2} 152907.34 6 rv lg add [Conf_LineId_2]{7} 152907.34 7 rv ns add [Conf_DevName_1]{dxxxB1C1} 152907.36 7 rv ns add [Conf_LineId_1]{6} 152907.36 7 rv lg add [Conf_DevName_2]{dxxxB1C2} 152907.36 7 rv lg add [Conf_LineId_2]{7} 152907.38 7 DialogicScRoute dxxxB1C1<=>dxxxB1C2 call 152907.39 7 DialogicScRoute dxxxB1C1<=>dxxxB1C2 SC_FULLDUP: 152907.40 7 state Conferenced to 6 (dxxxB1C2) at 15:29:07 152907.41 6 state [RunWait] Conferenced to 7 (dxxxB1C1) at 15:29:07 152909.03 6 timer fired EV_TIMEOUT_REPLAYMSG 152909.04 6 ScriptEventCode 9005 iLineState=1101 152909.05 6 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 152909.06 6 state [RunWait] Playing () 152909.07 6 ScriptEventCode 8001 iLineState=1100 152909.08 6 LsPlayMsg EV_PLAY_FINISHED 152909.08 6 eng set timer EV_TIMEOUT_REPLAYMSG time=5 152909.09 6 timer set 5 EV_TIMEOUT_REPLAYMSG 152914.11 6 timer fired EV_TIMEOUT_REPLAYMSG 152914.11 6 ScriptEventCode 9005 iLineState=1101 152914.13 6 LsPlayMsgFinished EV_TIMEOUT_REPLAYMSG 152914.13 6 state [RunWait] Playing () 152914.14 6 ScriptEventCode 8001 iLineState=1100 152914.14 6 LsPlayMsg EV_PLAY_FINISHED 152914.15 6 timer set 10 EV_TIMEOUT_HANGUP 152914.16 6 timer set 25 EV_TIMEOUT_GOTOMODULE 152922.04 7 dtmf 1 (66392,49,2) 152922.05 7 ScriptEventCode 49 iLineState=1910 152922.05 7 LsXferWaitEndCall 1 152922.07 7 ERROR 5.2.5012 Error_ScriptEventCode: line=1390:9: Subscript out of range state:1910 event:49 152922.07 7 rv lg add [Hangup Time]{03/02/2006 15:29:22} 152922.07 7 state Hanging up call... [Error_ScriptEventCode] 152922.09 7 DialogicScUnroute dxxxB1C2</>dxxxB1C1 MATCH_ call 152922.11 7 DialogicScUnroute dxxxB1C2</>dxxxB1C1 MATCH_ 152922.11 6 rv lg add [Hangup Time]{03/02/2006 15:29:22} 152922.13 6 state Hanging up call... [2nd leg] 152922.14 6 RecSoundStop ok 152922.14 6 PlaySoundStop err=0 152922.16 6 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 152922.16 6 fnHangupCall end 152922.18 7 RecSoundStop ok 152922.18 7 PlaySoundStop err=0 152922.20 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 152922.21 7 state Waiting for a call... 152922.21 7 fnHangupCall end Share this post Link to post
ktruk Report post Posted 02/07/2006 07:20 AM Any news on this problem? thx. Share this post Link to post
SupportTeam Report post Posted 02/08/2006 03:44 AM We're not seeing this on our test systems - can you please update with attached .exe and try again - posting relevant section of the trace as before. This .exe has more debugging in the relevant area. VgMulti_5.2.5029.zip Share this post Link to post
ktruk Report post Posted 02/09/2006 08:35 PM Okay, running the latest patch above appears to work. If I press 1, the digit is ignored, if I press * it hangs up the call. However, there are a couple of errors listed in the log for the bridge section, see snippet attached below... Complete logs are attached for a single call end-2-end. This method of call transfer is using a standard "Dial & Conference" Call transfer module. However, slightly different results occur for a COM based bride call. The same error messages are issued to the debug log, (subscript out of range), but the call proceeds to hangup instead of ignoring the digits. See second log quoted. Ideally, I would like the com-based call to ignore all but the asterisk on the line. 200327.59 7 callstate CONNECTED 66530,1,0 200327.59 7 WorkingModeTAPI@Connected= 200327.59 7 WorkingModeScript@Connected= 200327.59 7 2nd leg of call recieved CONNECTED event 200329.57 7 timer fired EV_TIMEOUT_BRIDGEAFTERDIALING 200329.57 7 ScriptEventCode 9014 iLineState=1910 200329.57 7 LsXferWaitEndCall EV_TIMEOUT_BRIDGEAFTERDIALING 200329.57 6 rv ns add [Conf_DevName_1]{dxxxB1C1} 200329.57 6 rv ns add [Conf_LineId_1]{6} 200329.57 6 rv lg add [Conf_DevName_2]{dxxxB1C2} 200329.57 6 rv lg add [Conf_LineId_2]{7} 200329.57 7 rv ns add [Conf_DevName_1]{dxxxB1C1} 200329.57 7 rv ns add [Conf_LineId_1]{6} 200329.57 7 rv lg add [Conf_DevName_2]{dxxxB1C2} 200329.57 7 rv lg add [Conf_LineId_2]{7} 200329.57 7 DialogicScRoute dxxxB1C1<=>dxxxB1C2 call 200329.59 7 DialogicScRoute dxxxB1C1<=>dxxxB1C2 SC_FULLDUP: 200329.59 7 state Conferenced to 6 (dxxxB1C2) at 20:03:29 200329.59 6 state [Transfer] Conferenced to 7 (dxxxB1C1) at 20:03:29 200339.11 7 dtmf 1 (66530,49,2) 200339.11 7 ScriptEventCode 49 iLineState=1910 200339.11 7 LsXferWaitEndCall 1 200339.11 7 ERROR 5.2.5029 LsXferWaitEndCall line=40 err=9:Subscript out of range 200339.11 7 ERROR 5.2.5029 LsXferWaitEndCall line=50 err=9:Subscript out of range 200339.13 6 dtmf 1 (65950,49,2) 200339.13 6 ScriptEventCode 49 iLineState=1910 200339.13 6 LsXferWaitEndCall 1 200339.13 6 path {1} not found 200345.65 6 dtmf * (65950,42,2) 200345.65 6 ScriptEventCode 42 iLineState=1910 200345.65 6 LsXferWaitEndCall * 200345.65 6 path {*} not found 200345.65 6 rv lg add [Hangup Time]{09/02/2006 20:03:45} 200345.65 6 state Hanging up call... [* pressed] 200345.65 6 DialogicScUnroute dxxxB1C1</>dxxxB1C2 MATCH_ call 200345.66 6 DialogicScUnroute dxxxB1C1</>dxxxB1C2 MATCH_ 200345.67 7 rv lg add [Hangup Time]{09/02/2006 20:03:45} 200345.67 7 state Hanging up call... [2nd leg] 200345.67 7 RecSoundStop ok 200345.67 7 PlaySoundStop err=0 200345.67 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 200345.67 7 state Waiting for a call... 200345.67 7 fnHangupCall end 200345.67 6 RecSoundStop ok 200345.67 6 PlaySoundStop err=0 200345.67 6 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 200345.68 6 fnHangupCall end 200345.68 7 dtmf * (66530,42,2) 200345.68 7 ScriptEventCode 42 iLineState=900 200345.68 7 LsAwaitingCalls * 200345.71 6 devstate NUMCALLS 0 0 200345.71 6 tapi callstate start 200345.71 6 tapi callstate IDLE 65950 0 0 Com-Based Debug Trace: 202451.61 6 timer clear 202451.63 6 state [DoComTransfer] Running VB Script... 202451.63 6 rv replace start: ['attempt to do a call bridge iLineID = "$RV_LINEID" set vg = CreateObject("VoiceGuide.CommandLink") 'make the call... iNewLine = vg.Dialer_MakeCall("150", "", cstr(iLineID), "none") if iNewLine <> "" then vg.Run_ResultReturn iLineID, "[newcall]{" & iNewLine & "}" else vg.Run_ResultReturn iLineID, "" '< failed! end if set vg = nothing ] 202451.64 6 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:\Program Files\VoiceGuide\Scripts\KTR\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\KTR}[$RV_STARTTIME]{09/02/2006 20:24:48}[$RV_DEVICEID]{6}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{}[$RV_DNIS]{}[DNIS]{}[start]{timeout} 202451.66 6 eng run vbs [wscript "C:\Program Files\VoiceGuide\temp\vbs_6_1_0209202451.vbs" //I //T:60] copy of script in: vbs_6_1_0209202451.vbs 202451.70 6 Run Script waiting. iRunWait=1 (shellid=1420, process=536) 202451.70 6 timer set 1 EV_TIMEOUT_CHECKONSTATE 202451.78 0 cl Dialer_MakeCall 150, , 6, none 202451.80 0 Search for free lines in LineID range [6-9] 202451.80 6 dial busy: active call 202451.81 7 dial reserving [dxxxB1C2] as no list specified 202451.84 7 state dialing [150] 202451.85 0 cl Dialer_MakeCall script not loaded 202451.85 7 rv clear 202451.88 7 timer set 3600 EV_TIMEOUT_HANGUP 202451.88 7 TapiCbTrigSet 65796 7003 202451.88 6 cl Run_ResultReturn >>[newcall]{7}<< 202451.89 6 rv ns add [newcall]{7} 202451.91 6 cl module's runwait=1, WavPlayHasNowFinished=0 202451.91 6 timer clear 202451.92 6 state [RunWait] Playing 202451.93 6 state [RunWait] Playing (none) 202451.95 6 ScriptEventCode 8001 iLineState=1100 202451.95 6 LsPlayMsg EV_PLAY_FINISHED 202451.96 6 timer set 10 EV_TIMEOUT_HANGUP 202451.98 6 timer set 25 EV_TIMEOUT_GOTOMODULE 202451.98 6 RunModule PLAY end 202452.39 7 tapi Reply (LineEvReply) ok 65796 0 202452.41 7 TcTrig.lTrigType = TcTrig_MakeCallForConferenceFinished 202452.41 7 Setting conference to occur in 3 seconds (not waiting for PROCEEDING) 202452.42 7 timer set 3 EV_TIMEOUT_BRIDGEAFTERDIALING 202452.44 7 TapiCbTrigClear 202452.45 7 devstate NUMCALLS 0 0 202452.45 7 tapi callstate start 202452.46 7 tapi callstate DIALTONE 66090 0 0 202452.48 7 tapi callstate start 202452.48 7 tapi callstate DIALING 66090 0 0 202452.51 7 tapi callstate start 202452.51 7 tapi callstate PROCEEDING 66090 0 0 202452.52 0 dial start any summary:|6:hc>0|7:rdy=2|8:idx=0|9:idx=0| 202452.53 7 callinfo CALLEDID 202452.53 7 callinfo REASON 202452.55 7 ev Lev_CallerID [0000,,150] 202452.55 7 rv lg add [DNIS]{150} 202452.56 7 callinfo ORIGIN 202453.54 0 dial start any summary:|6:hc>0|7:hc>0|8:idx=0|9:idx=0| 202454.66 7 tapi callstate start 202454.66 7 tapi callstate CONNECTED 66090 1 0 202454.68 7 callstate CONNECTED 66090,1,0 202454.69 7 WorkingModeTAPI@Connected= 202454.70 7 WorkingModeScript@Connected= 202454.70 7 2nd leg of call recieved CONNECTED event 202455.42 7 timer fired EV_TIMEOUT_BRIDGEAFTERDIALING 202455.43 7 ScriptEventCode 9014 iLineState=1910 202455.44 7 LsXferWaitEndCall EV_TIMEOUT_BRIDGEAFTERDIALING 202455.45 6 rv ns add [Conf_DevName_1]{dxxxB1C1} 202455.45 6 rv ns add [Conf_LineId_1]{6} 202455.46 6 rv lg add [Conf_DevName_2]{dxxxB1C2} 202455.47 6 rv lg add [Conf_LineId_2]{7} 202455.48 7 rv ns add [Conf_DevName_1]{dxxxB1C1} 202455.48 7 rv ns add [Conf_LineId_1]{6} 202455.50 7 rv lg add [Conf_DevName_2]{dxxxB1C2} 202455.51 7 rv lg add [Conf_LineId_2]{7} 202455.52 7 DialogicScRoute dxxxB1C1<=>dxxxB1C2 call 202455.54 7 DialogicScRoute dxxxB1C1<=>dxxxB1C2 SC_FULLDUP: 202455.55 7 state Conferenced to 6 (dxxxB1C2) at 20:24:55 202455.56 6 state [RunWait] Conferenced to 7 (dxxxB1C1) at 20:24:55 202458.22 7 dtmf 1 (66090,49,2) 202458.23 7 ScriptEventCode 49 iLineState=1910 202458.24 7 LsXferWaitEndCall 1 202458.25 7 ERROR 5.2.5029 LsXferWaitEndCall line=40 err=9:Subscript out of range 202458.27 7 ERROR 5.2.5029 LsXferWaitEndCall line=50 err=9:Subscript out of range 202458.70 6 tapi callstate start 202458.71 6 tapi callstate DISCONNECTED 66532 0 0 202458.73 6 ScriptEventCode 9250 iLineState=1101 202458.73 6 LsPlayMsgFinished EV_REMOTEPARTY_DISCONNECT 202458.73 6 rv lg add [Hangup Time]{09/02/2006 20:24:58} 202458.74 6 state Hanging up call... 202458.75 6 DialogicScUnroute dxxxB1C1</>dxxxB1C2 MATCH_ call 202458.77 6 DialogicScUnroute dxxxB1C1</>dxxxB1C2 MATCH_ 202458.78 7 rv lg add [Hangup Time]{09/02/2006 20:24:58} 202458.80 7 state Hanging up call... [2nd leg] 202458.80 7 RecSoundStop ok 202458.81 7 PlaySoundStop err=0 202458.82 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 202458.84 7 state Waiting for a call... 202458.84 7 fnHangupCall end Finally, just would like to add that before using v5029, both methods would hangup the call for any DTMF digit on the line. vgtest60209.zip Share this post Link to post
SupportTeam Report post Posted 02/09/2006 11:59 PM Okay, running the latest patch above appears to work. If I press 1, the digit is ignored, if I press * it hangs up the call. Glad to hear it's working. there are a couple of errors listed in the log for the bridge section The log entries you point out just mean that there is no script active on that line - which there isn't on the outgoing leg's line. We're going to change these log entries to be more appropriate informational messages. Share this post Link to post
ktruk Report post Posted 02/10/2006 10:37 AM Glad to hear it's working. Yes! But not for COM !! Any digits cause hangup !! We're going to change these log entries to be more appropriate informational messages. okay - good !! Share this post Link to post
SupportTeam Report post Posted 02/10/2006 10:26 PM Yes! But not for COM !! Please post your script. (.ZIPed) Please also post the MMDDtw.txt trace of the COM initiated transfer situation. Why are you using COM instead of the "Dial and Conference" from within a module? Share this post Link to post
ktruk Report post Posted 02/13/2006 11:29 AM Why are you using COM instead of the "Dial and Conference" from within a module? I was using COM initially, because I figured I needed to obtain the line-id of the 2nd leg and pass this on to some subsequent code, but, this was before I discovered the $RV[Conf_LineID_2] variable. Since finding this new (to me!) var, I have been able to use the standard Call-Transfer module in Dial & Conference mode okay. So, I will skip the COM method for now. I just reran my original com-based script using v5.2.5029 and it seems to work. I pressed a range of DTMF digits, but only the asterisk hungup the call. Attached is the script and 3 log files. Share this post Link to post
SupportTeam Report post Posted 02/13/2006 11:56 PM I just reran my original com-based script using v5.2.5029 and it seems to work. I pressed a range of DTMF digits, but only the asterisk hungup the call. Attached is the script and 3 log files. Sounds like v5.2.5029 reacts as you'd like it to DTMFs during COM initiated conference (and sounds like there weren't any issues DTMF reactions in normally initiated conference in either version). The version available for download from our WWW will soon be updated to v5.2.5029 (or newer). Share this post Link to post