SangAstra Report post Posted 06/17/2005 12:21 PM After conferencing ( which is working smoothly), our current script goes to the hang up module which should ideally hang up the line when the call is terminated. But this is not working properly. It remains connected and keeps on playing the wav file which we have set for the conferencing module. Does it have something to do with the Hook Flash setting ( or any other configuration setting ? ) Hook Flash is currently set to value 10. Please advise. Share this post Link to post
SangAstra Report post Posted 06/17/2005 12:47 PM Just adding the log for you to get a better idea. 133544.11 7 linedevstate 2048 0 0 133544.11 7 callstate OFFERING 65706 0 4 133544.14 7 Lev_CallerID [01689889371,,0000] 133544.14 7 rv lg add [DNIS]{0000} 133544.14 7 callinfo CALLEDID 133544.14 7 callinfo ORIGIN 133544.14 7 ring 0 133544.23 0 dial start any summary:|6:idx=0|7:hc>0| 133550.11 7 ring 2 133550.11 7 rv clear 133550.11 7 Answer the call at 17/06/2005 13:35:50 133550.11 7 lineAnswer(65706) => 65689 133550.66 7 callstate CONNECTED 65706 1 0 133550.66 7 callstate CONNECTED 65706,1,0 133550.66 7 WorkingModeTAPI@Connected= 133550.66 7 WorkingModeScript@Connected= 133550.70 7 Inband detection not enabled 133550.70 7 StartLoadedVgs at 17/06/2005 13:35:50, script interpretor VgMulti v5.2.4000 7 133550.70 7 rv ns add [scriptsPath]{C:\vgscript\} 133550.70 7 rv ns add [scriptPath]{C:\vgscript} 133550.70 7 rv lg add [$RV_STARTTIME]{17/06/2005 13:35:50} 133550.70 7 rv lg add [$RV_DEVICEID]{7} 133550.70 7 rv lg add [$RV_CIDNAME]{} 133550.70 7 rv ns add [PathApp]{C:\Program Files\VoiceGuide\} 133550.70 7 rv lg add [$RV_CIDNUMBER]{01689889371} 133550.70 7 tapi Reply (LineEvReply) ok 65689 0 133550.70 7 callinfo MONITORMODES 133550.70 7 timer clear 133550.70 7 [Caller Id] Evaluate [$RV_CIDNUMBER] 133550.70 7 rv replace start: [$RV_CIDNUMBER] 133550.70 7 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:\vgscript\}[scriptPath]{C:\vgscript}[$RV_STARTTIME]{17/06/2005 13:35:50}[$RV_DEVICEID]{7}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{01689889371} 133550.70 7 rv replace end: [01689889371] 133550.70 7 .Eval(01689889371) 133550.70 7 rv ns add [Caller Id_Input]{01689889371} 133550.70 7 rv ns add [Caller Id]{1689889371} 133550.70 7 Eval Expr result:[1689889371] 133550.70 7 path {1689889371} not found 133550.70 7 timer clear 133550.70 7 [CallerContactNo] Number Input 133550.70 7 [CallerContactNo] Playing (wavfiles\welcomedemo.wav) 133550.70 7 play set playid=854375 133550.73 7 PlaySoundStart ok [C:\vgscript\wavfiles\welcomedemo.wav] 133550.73 7 timer clear 133550.73 7 wa(9613,85437500) 133550.73 7 callinfo MONITORMODES 133554.95 7 dtmf 8 (65706,56,2) 133554.95 7 ScriptEventCode 56 iLineState=1300 133554.95 7 LsGetNbrsPlayWelcMsg 8 133555.00 7 PlaySoundStop err=0 133555.00 7 [CallerContactNo] Number Input 8 133555.00 7 path {8} not found 133555.00 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133555.16 7 dtmf 8 (65706,56,2) 133555.16 7 ScriptEventCode 56 iLineState=1301 133555.16 7 LsGetNbrsRxDigits 8 133555.16 7 [CallerContactNo] Number Input 88 133555.16 7 path {88} not found 133555.16 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133555.39 7 dtmf 8 (65706,56,2) 133555.39 7 ScriptEventCode 56 iLineState=1301 133555.39 7 LsGetNbrsRxDigits 8 133555.39 7 [CallerContactNo] Number Input 888 133555.39 7 path {888} not found 133555.39 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133555.64 7 dtmf 8 (65706,56,2) 133555.64 7 ScriptEventCode 56 iLineState=1301 133555.64 7 LsGetNbrsRxDigits 8 133555.64 7 [CallerContactNo] Number Input 8888 133555.64 7 path {8888} not found 133555.64 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133556.42 7 dtmf # (65706,35,2) 133556.42 7 ScriptEventCode 35 iLineState=1301 133556.42 7 LsGetNbrsRxDigits # 133556.42 7 timer clear 133556.42 7 rv lg add [CallerContactNo]{8888} 133556.42 7 path {8888} not found 133556.42 7 rv ns add [CallerContactNo_PathTaken]{success} 133556.42 7 timer clear 133556.42 7 [GetPANumber] Number Input 133556.42 7 [GetPANumber] Playing (wavfiles\GetPANumber.wav) 133556.42 7 play set playid=860093 133556.44 7 PlaySoundStart ok [C:\vgscript\wavfiles\GetPANumber.wav] 133556.44 7 timer clear 133556.44 7 wa(3544,86009300) 133556.44 7 callinfo MONITORMODES 133600.02 7 wb(86009300) 133600.06 7 play end current play (playid=860093) 133600.06 7 ScriptEventCode 8001 iLineState=1300 133600.06 7 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 133600.06 7 eng set timer EV_TIMEOUT_REPLAYMSG time=5 133600.06 7 timer set 5 EV_TIMEOUT_REPLAYMSG 133600.08 7 dtmf 8 (65706,56,2) 133600.08 7 ScriptEventCode 56 iLineState=1301 133600.08 7 LsGetNbrsRxDigits 8 133600.08 7 [GetPANumber] Number Input 8 133600.08 7 path {8} not found 133600.08 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133600.33 7 dtmf 8 (65706,56,2) 133600.33 7 ScriptEventCode 56 iLineState=1301 133600.33 7 LsGetNbrsRxDigits 8 133600.33 7 [GetPANumber] Number Input 88 133600.33 7 path {88} not found 133600.33 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133600.63 7 dtmf 8 (65706,56,2) 133600.63 7 ScriptEventCode 56 iLineState=1301 133600.63 7 LsGetNbrsRxDigits 8 133600.63 7 [GetPANumber] Number Input 888 133600.63 7 path {888} not found 133600.63 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133600.86 7 dtmf 8 (65706,56,2) 133600.86 7 ScriptEventCode 56 iLineState=1301 133600.86 7 LsGetNbrsRxDigits 8 133600.86 7 [GetPANumber] Number Input 8888 133600.86 7 path {8888} not found 133600.86 7 timer set 10 EV_TIMEOUT_GOTOMODULE 133601.34 7 dtmf # (65706,35,2) 133601.34 7 ScriptEventCode 35 iLineState=1301 133601.34 7 LsGetNbrsRxDigits # 133601.34 7 timer clear 133601.34 7 rv lg add [GetPANumber]{8888} 133601.34 7 path {8888} not found 133601.34 7 rv ns add [GetPANumber_PathTaken]{success} 133601.34 7 timer clear 133601.34 7 [Options] Playing 133601.34 7 [Options] Playing (wavfiles\MedicalOptions.wav) 133601.34 7 play set playid=865015 133601.36 7 PlaySoundStart ok [C:\vgscript\wavfiles\MedicalOptions.wav] 133601.36 7 timer clear 133601.36 7 RunModule PLAY end 133601.36 7 wa(8606,86501500) 133601.36 7 callinfo MONITORMODES 133605.11 7 dtmf 2 (65706,50,2) 133605.11 7 ScriptEventCode 50 iLineState=1100 133605.11 7 LsPlayMsg 2 133605.16 7 PlaySoundStop err=0 133605.16 7 rv lg add [Options]{2} 133605.16 7 timer clear 133605.16 7 timer set 0.4 EV_TIMEOUT_READYTOBEGINTRANSFER 133605.53 7 timer fired EV_TIMEOUT_READYTOBEGINTRANSFER 133605.53 7 ScriptEventCode 9012 iLineState=1900 133605.53 7 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 133605.53 7 timer set 30 EV_TIMEOUT_ANNOUNCED_TRANSFER_ATTEMPT_TOOK_TOO_LONG 133605.53 7 [ConferenceCall] Announced Conference to 07968267098 (Generate) 133605.55 7 tapic lineGenerateDigits(65706 [!] 100) => ok 133605.81 7 generate LINEGENERATETERM_DONE 133605.81 7 timer set 1 EV_TAPI_GENERATE 133606.86 7 timer fired EV_TAPI_GENERATE 133606.86 7 ScriptEventCode 9602 iLineState=1900 133606.86 7 LsXferStart EV_TAPI_GENERATE 133606.86 7 timer set 1 EV_HOOKFLASHFINISHED 133607.95 7 timer fired EV_HOOKFLASHFINISHED 133607.95 7 ScriptEventCode 9200 iLineState=1905 133607.95 7 LsXferPlayVts EV_HOOKFLASHFINISHED 133607.95 7 tapic lineGenerateDigits(65706 [07968267098] 100) => ok 133610.14 7 generate LINEGENERATETERM_DONE 133610.14 7 timer set 1 EV_TAPI_GENERATE 133611.23 7 timer fired EV_TAPI_GENERATE 133611.23 7 ScriptEventCode 9602 iLineState=1905 133611.23 7 LsXferPlayVts EV_TAPI_GENERATE 133611.23 7 [ConferenceCall] Playing (wavfiles\ACCEPT_CALL.wav) 133611.23 7 play set playid=874906 133611.25 7 PlaySoundStart ok [C:\vgscript\wavfiles\ACCEPT_CALL.wav] 133611.25 7 timer clear 133611.25 7 wa(6602,87490600) 133611.25 7 callinfo MONITORMODES 133617.89 7 wb(87490600) 133617.94 7 play end current play (playid=874906) 133617.94 7 ScriptEventCode 8001 iLineState=1906 133617.94 7 LsXferPlayAnn EV_PLAY_FINISHED 133617.95 7 LsXferPlayAnn EV_TIMEOUT_REPLAYMSG 133617.95 7 [ConferenceCall] Playing (wavfiles\ACCEPT_CALL.wav) 133617.95 7 play set playid=881625 133617.95 7 PlaySoundStart ok [C:\vgscript\wavfiles\ACCEPT_CALL.wav] 133617.95 7 timer clear 133617.95 7 wa(6602,88162500) 133617.95 7 callinfo MONITORMODES 133624.19 7 dtmf 1 (65706,49,2) 133624.19 7 ScriptEventCode 49 iLineState=1906 133624.19 7 LsXferPlayAnn 1 133624.19 7 rv lg add [ConferenceCall]{1} 133624.19 7 timer set 1 EV_PLAY_FINISHED 133624.25 7 PlaySoundStop err=0 133625.28 7 timer fired EV_PLAY_FINISHED 133625.28 7 ScriptEventCode 8001 iLineState=1906 133625.28 7 LsXferPlayAnn EV_PLAY_FINISHED 133625.28 7 tapic lineGenerateDigits(65706 [!,3] 100) => ok 133627.53 7 generate LINEGENERATETERM_DONE 133627.53 7 timer set 1 EV_TAPI_GENERATE 133628.56 7 timer fired EV_TAPI_GENERATE 133628.56 7 ScriptEventCode 9602 iLineState=1906 133628.56 7 LsXferPlayAnn EV_TAPI_GENERATE 133628.56 7 eng PlayFinishCause=CallAccepted 133628.56 7 eng Success path not defined - wait till call ends (iXferType=3) 133628.56 7 timer set 1800 EV_TIMEOUT_HANGUP 133654.70 0 btn Hangup on line 7 133654.70 7 ScriptEventCode 9001 iLineState=1910 133654.70 7 LsXferWaitEndCall EV_TIMEOUT_HANGUP 133654.70 7 rv lg add [Hangup Time]{17/06/2005 13:36:54} 133654.70 7 Hanging up call... 133654.70 7 RecSoundStop ok 133654.70 7 PlaySoundStop err=0 133654.70 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 133654.72 7 fnHangupCall end 133654.75 7 linedevstate 2048 0 0 133654.75 7 callstate IDLE 65706 0 0 133654.75 7 WorkingMode@Idle= 133654.75 7 timer clear 133654.77 7 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 133654.77 7 tapi Reply (LineEvReply) ok 65621 0 133655.80 7 timer fired EV_TIMEOUT_TIMETOREINITLINE 133655.80 7 ScriptEventCode 9008 iLineState=900 133655.80 7 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 133655.80 7 ReinitTelephony due to IDLE 133655.80 7 tapic lineDeallocateCall(MainCall:65706) 0 133655.95 7 lineOpen(7)=> 133655.95 7 Waiting for a call... 133655.95 7 LineHandle=65604 133655.95 7 amchk set AMdet=False in Reinit@idle 133655.95 7 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 133656.25 0 dial start any summary:|6:idx=0|7:rdy=0| 133659.23 7 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 133659.23 7 ScriptEventCode 9013 iLineState=900 133659.25 0 dial start any summary:|6:idx=0|7:idx=0| Share this post Link to post
SupportTeam Report post Posted 06/17/2005 02:11 PM To detect when the call ends you'd need to set the disconnect tone detection to correctly recognize the tones played on your line when the disconnect happens. Please see: http://www.voiceguide.com/vghelp/html/Disc...ctionDetect.htm Share this post Link to post
SangAstra Report post Posted 06/18/2005 09:48 AM My Telephone line uses "Loop Current Drop" so im assuming dialogic and VG can recognise that. So why is the call still not getting disconnected after conferencing after BOTH lines have hung up? Share this post Link to post
SupportTeam Report post Posted 06/18/2005 01:20 PM My Telephone line uses "Loop Current Drop" so im assuming dialogic and VG can recognise that. Dialogic should be able to detect this and report this to VG, which would then hang up. Trace does not show the Dialogic card alerting that loop current drop occurred. Maybe loop current drop only ins sent on normal calls, not on conference calls? You may want to try the "VG for Dialogic" patch to see if you get different results with that. Share this post Link to post
SangAstra Report post Posted 06/20/2005 11:18 AM OK couple of things - 1. the system was working perfectly fine on a win2k machine with VG and same dialogic card. Now its on a win xp machine 2. I've tested 'loop current drop" by remiving the tel line from dialogic card and it immediatley hangs up. 3. Ive done a dummy script without any conferencing - just an incoming call which is disconnected after "the sound file specified could not be found message" - and the VG does not hang up. I've attached the 2 logs generated. i'm not happy to use the dialogic patch at the moment as the system was working perfectly well without it. please advise 121524.234 tapie LINE_LINEDEVSTATE(7, 0x10299, 0x800, 0x0, 0x0) 121524.234 tapie LINE_CALLSTATE(7, 0x10266, 0x2, 0x0, 0x4) 121524.250 tapic lineMonitorDigits(0x10266, 0x2) => 0x0 121524.250 tapic lineMonitorMedia(0x10266, 0xfc) => 0 121524.250 tapic lineGetCallInfo(0x10266, 0x56d4dd8) 121524.250 eng No CallerId info available at this time 121524.281 tapie LINE_CALLINFO(7, 0x10266, 0x8000) 121524.281 tapic lineGetCallInfo(0x10266, 0x56d5f28) 121524.281 CIDname lci=0x56d5f28, off=0x144, size=0x9 121524.281 CIDnmbr lci=0x56d5f28, off=0x0, size=0x0 121524.281 DNISnmbr lci=0x56d5f28, off=0x158, size=0x5 121524.281 ocxev CallerId(sLineId=7, hCall=0x10266, strNbr=[ ], strName=[WITHHELD], strDialed=[0000]) 121524.281 tapie LINE_CALLINFO(7, 0x10266, 0x10000) 121524.281 tapie LINE_CALLINFO(7, 0x10266, 0x100) 121524.281 tapie LINE_LINEDEVSTATE(7, 0x10299, 0x2, 0x0, 0x0) 121530.250 tapie LINE_LINEDEVSTATE(7, 0x10299, 0x2, 0x0, 0x2) 121530.781 tapie LINE_CALLSTATE(7, 0x10266, 0x100, 0x1, 0x0) 121530.781 tapic lineGetID(0x10299, 0, 0, 0x1, 0x56df650, wave/in) LINECALLSELECT_LINE hLineInfo 121530.781 tapic lineGetID(0x10299, 0, 0, 0x1, 0x56df650, wave/in) => 0x0 121530.781 tapic lineGetID => 2 121530.781 tapic lineGetID(0x10299, 0, 0, 0x1, 0x56df650, wave/out) LINECALLSELECT_LINE hLineInfo 121530.781 tapic lineGetID(0x10299, 0, 0, 0x1, 0x56df650, wave/out) => 0x0 121530.781 tapic lineGetID => 2 121530.828 tapie LINE_REPLY(7, 0x0, 0x10255, 0x0) 121530.828 tapie LINE_CALLINFO(7, 0x10266, 0x8000000) 121530.843 ocxfn PlayMultiDelimited(sLineId=7, strFile1=C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav, lPlayId=0x39404, lOptions=0x0, strOptions=) 121530.843 tr 5 ResetWavOutAndContinuePlay start 121530.843 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121530.843 play FileMmioOpenAndAscend end 121530.843 fn play wav format: wFormatTag=0x1, nChannels=1, nSamplesPerSec=11025, nAvgBytesPerSec=11025, nBlockAlign=1, wBitsPerSample=8, cbSize=0 121530.843 wavec waveOutOpen(0x0, 0x2, 0x1f5850, 0x0, 0x0, 0x1) => 0 (MMSYSERR_OK) - format query 121530.843 wavec waveOutOpen(0x1f5884, 0x2, 0x1f5850, 0x3018e, 0x1f5828, 0x10002) => 0 (MMSYSERR_OK) ... hli->hWaveOut=0x56ca780 121530.843 wavec waveOutReset(0x56ca780) => 0(MMSYSERR_OK) fn:PlaySoundStart 121530.843 tapic lineMonitorDigits(0x10266, 0x2) => 0x0 121530.843 tapic lineMonitorMedia(0x10266, 0x7c) => 0 121530.843 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121530.859 play FileMmioOpenAndAscend end 121530.859 play LoadCurrFileToPlay_IntoOneMainBuffer start 121530.859 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121530.859 play FileMmioOpenAndAscend end 121530.859 iPlayListIdxCurr 0 wav format: wFormatTag=0x1, nChannels=1, nSamplesPerSec=11025, nAvgBytesPerSec=11025, nBlockAlign=1, wBitsPerSample=8, cbSize=0 121530.859 wavec waveOutWrite HeapAllocs bytes: DataToPlay=34240, WaveHdr=32, UserData=12 121530.859 wavehdr: lpData=0x56f5160, dwBufferLength=34240, dwBytesRecorded=0, dwUser=0x56dd4c0, dwFlags=0x0, dwLoops=0x0, lpNext=0x0, reserved=0x0 121530.859 play LoadCurrFileToPlay_IntoOneMainBuffer end 121530.859 tr fn ResetWavOutAndContinuePlay LoadCurrFileToPlay_IntoOneMainBuffer returned 121530.859 wavec waveOutPrepareHeader(0x56ca780, 0x56cad18, 0x20) => 0 121530.859 wavec waveOutWrite(0x56ca780, 0x56cad18, 0x20) => 0 121530.859 tr fn PostMessage WM_FIRE_PLAY_WDOG_SET_EVENT (all in 1 buffer) params: 7 23450000 121530.859 fn OnFirePlayPlayWdogSetEvent start 121530.859 ocxev PlayWdogSet(dwLineId=7, dwPlayId=0x165d190, LenMsecs=3112) 121530.859 tapie LINE_CALLINFO(7, 0x10266, 0x8000000) 121534.046 wavee WOM_DONE(0x56ca780, 0x56cad18) (callback window message) 121534.046 wavee WOM_DONE(0x56ca780, 0x3bd, 0x1f5828, 0x56cad18, 0x0) psch 121534.046 fn psch lpUserData=0x56dd4c0 : dwPlayId=234500, hli=0x1f5828, iFileIdx=0x0 121534.046 fn psch hli=0x1f5828 : dwPlayId=234500, iPlayListIdxCurr=0x0 121534.046 fn psch clearing watchdog 121534.046 tr fn PlaySoundCallBackHandler calling PostMessage WM_FIRE_PLAY_WDOG_CLEAR_EVENT 121534.046 wavec waveOutUnprepareHeader(0x56ca780, 0x56cad18, 0x20) call non-unimodem 121534.046 wavec waveOutUnprepareHeader(0x56ca780, 0x56cad18, 0x20) => 0 (MMSYSERR_OK) non-unimodem 121534.046 fn OnFirePlayPlayWdogClearEvent start 121534.046 ocxev PlayWdogClear(dwLineId=7, dwPlayId=0x165d190) 121534.046 ocxev PlayEnd(dwLineId=7, dwPlayId=0x39404) 121539.515 ocxfn PlayMultiDelimited(sLineId=7, strFile1=C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav, lPlayId=0x3b5f3, lOptions=0x0, strOptions=) 121539.515 tr 5 ResetWavOutAndContinuePlay start 121539.515 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121539.515 play FileMmioOpenAndAscend end 121539.515 tapic lineMonitorDigits(0x10266, 0x2) => 0x0 121539.515 tapic lineMonitorMedia(0x10266, 0x7c) => 0 121539.515 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121539.515 play FileMmioOpenAndAscend end 121539.515 play LoadCurrFileToPlay_IntoOneMainBuffer start 121539.515 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121539.515 play FileMmioOpenAndAscend end 121539.515 iPlayListIdxCurr 0 wav format: wFormatTag=0x1, nChannels=1, nSamplesPerSec=11025, nAvgBytesPerSec=11025, nBlockAlign=1, wBitsPerSample=8, cbSize=0 121539.515 wavec waveOutWrite HeapAllocs bytes: DataToPlay=34240, WaveHdr=32, UserData=12 121539.515 wavehdr: lpData=0x56f5160, dwBufferLength=34240, dwBytesRecorded=0, dwUser=0x56e2958, dwFlags=0x0, dwLoops=0x0, lpNext=0x0, reserved=0x0 121539.515 play LoadCurrFileToPlay_IntoOneMainBuffer end 121539.515 tr fn ResetWavOutAndContinuePlay LoadCurrFileToPlay_IntoOneMainBuffer returned 121539.515 wavec waveOutPrepareHeader(0x56ca780, 0x56caff0, 0x20) => 0 121539.515 wavec waveOutWrite(0x56ca780, 0x56caff0, 0x20) => 0 121539.515 tr fn PostMessage WM_FIRE_PLAY_WDOG_SET_EVENT (all in 1 buffer) params: 7 24318700 121539.515 fn OnFirePlayPlayWdogSetEvent start 121539.515 ocxev PlayWdogSet(dwLineId=7, dwPlayId=0x17312ec, LenMsecs=3112) 121539.515 tapie LINE_CALLINFO(7, 0x10266, 0x8000000) 121542.703 wavee WOM_DONE(0x56ca780, 0x56caff0) (callback window message) 121542.703 wavee WOM_DONE(0x56ca780, 0x3bd, 0x1f5828, 0x56caff0, 0x0) psch 121542.703 fn psch lpUserData=0x56e2958 : dwPlayId=243187, hli=0x1f5828, iFileIdx=0x0 121542.703 fn psch hli=0x1f5828 : dwPlayId=243187, iPlayListIdxCurr=0x0 121542.703 fn psch clearing watchdog 121542.703 tr fn PlaySoundCallBackHandler calling PostMessage WM_FIRE_PLAY_WDOG_CLEAR_EVENT 121542.703 wavec waveOutUnprepareHeader(0x56ca780, 0x56caff0, 0x20) call non-unimodem 121542.703 wavec waveOutUnprepareHeader(0x56ca780, 0x56caff0, 0x20) => 0 (MMSYSERR_OK) non-unimodem 121542.718 fn OnFirePlayPlayWdogClearEvent start 121542.718 ocxev PlayWdogClear(dwLineId=7, dwPlayId=0x17312ec) 121542.718 ocxev PlayEnd(dwLineId=7, dwPlayId=0x3b5f3) 121548.156 ocxfn PlayMultiDelimited(sLineId=7, strFile1=C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav, lPlayId=0x3d7b4, lOptions=0x0, strOptions=) 121548.156 tr 5 ResetWavOutAndContinuePlay start 121548.156 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121548.156 play FileMmioOpenAndAscend end 121548.156 tapic lineMonitorDigits(0x10266, 0x2) => 0x0 121548.156 tapic lineMonitorMedia(0x10266, 0x7c) => 0 121548.156 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121548.156 play FileMmioOpenAndAscend end 121548.156 play LoadCurrFileToPlay_IntoOneMainBuffer start 121548.156 play FileMmioOpenAndAscend start C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav 121548.156 play FileMmioOpenAndAscend end 121548.156 iPlayListIdxCurr 0 wav format: wFormatTag=0x1, nChannels=1, nSamplesPerSec=11025, nAvgBytesPerSec=11025, nBlockAlign=1, wBitsPerSample=8, cbSize=0 121548.156 wavec waveOutWrite HeapAllocs bytes: DataToPlay=34240, WaveHdr=32, UserData=12 121548.156 wavehdr: lpData=0x56f5160, dwBufferLength=34240, dwBytesRecorded=0, dwUser=0x56dd4c0, dwFlags=0x0, dwLoops=0x0, lpNext=0x0, reserved=0x0 121548.156 play LoadCurrFileToPlay_IntoOneMainBuffer end 121548.156 tr fn ResetWavOutAndContinuePlay LoadCurrFileToPlay_IntoOneMainBuffer returned 121548.156 wavec waveOutPrepareHeader(0x56ca780, 0x56c98b8, 0x20) => 0 121548.156 wavec waveOutWrite(0x56ca780, 0x56c98b8, 0x20) => 0 121548.156 tr fn PostMessage WM_FIRE_PLAY_WDOG_SET_EVENT (all in 1 buffer) params: 7 25182800 121548.156 fn OnFirePlayPlayWdogSetEvent start 121548.156 ocxev PlayWdogSet(dwLineId=7, dwPlayId=0x1804250, LenMsecs=3112) 121548.156 tapie LINE_CALLINFO(7, 0x10266, 0x8000000) 121551.343 wavee WOM_DONE(0x56ca780, 0x56c98b8) (callback window message) 121551.343 wavee WOM_DONE(0x56ca780, 0x3bd, 0x1f5828, 0x56c98b8, 0x0) psch 121551.343 fn psch lpUserData=0x56dd4c0 : dwPlayId=251828, hli=0x1f5828, iFileIdx=0x0 121551.343 fn psch hli=0x1f5828 : dwPlayId=251828, iPlayListIdxCurr=0x0 121551.343 fn psch clearing watchdog 121551.343 tr fn PlaySoundCallBackHandler calling PostMessage WM_FIRE_PLAY_WDOG_CLEAR_EVENT 121551.343 wavec waveOutUnprepareHeader(0x56ca780, 0x56c98b8, 0x20) call non-unimodem 121551.343 wavec waveOutUnprepareHeader(0x56ca780, 0x56c98b8, 0x20) => 0 (MMSYSERR_OK) non-unimodem 121551.343 fn OnFirePlayPlayWdogClearEvent start 121551.343 ocxev PlayWdogClear(dwLineId=7, dwPlayId=0x1804250) 121551.343 ocxev PlayEnd(dwLineId=7, dwPlayId=0x3d7b4) 121552.171 ocxfn RecStop(sLineId:7) 121552.171 wavec waveInReset(0x0) => 5 121552.171 linec lineMonitorTones(0x10266, 0x0, 1) => 0x0 (disabling monitoring for silence/tones) 121552.171 ocxfn PlayStop(sLineId=7) 121552.171 fn PlaySoundStop start 121552.171 fn PlaySoundStop line not playing a sound file. 0x56ca780 121552.171 ocxfn LineDrop(sLineId=7, sOpt=0) 121552.171 wavec waveOutReset(0x56ca780) call, caller: LineDrop TSP_DIALOGIC 121552.171 wavec waveOutReset(0x56ca780) => 0 (MMSYSERR_OK), caller: LineDrop TSP_DIALOGIC 121552.171 wavec waveOutClose(0x56ca780) call, caller: LineDrop TSP_DIALOGIC 121552.171 wavec waveOutClose(0x56ca780) => 0 (MMSYSERR_OK), caller: LineDrop TSP_DIALOGIC 121552.171 tapic lineDrop(0x10266, , 0) call in ocxfn_LineDrop 121552.171 tapic lineDrop(0x10266, , 0) => async:66116 (66116) 121552.218 tapie LINE_LINEDEVSTATE(7, 0x10299, 0x800, 0x0, 0x0) 121552.218 tapie LINE_CALLSTATE(7, 0x10266, 0x1, 0x0, 0x0) 121552.218 tapie LINE_REPLY(7, 0x0, 0x10244, 0x0) 121553.296 ocxfn LineClose(sLineId:7) 121553.328 tapic lineNegotiateAPIVersion(0x800003ff, 7, 0x10003, 0x20001, 0x1f5838, 0x12f104) 121553.328 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) call 121553.328 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) => NO_ERROR (0) 121553.328 tapic lineGetIcon(7, 0, 0x1f5840) 121553.328 ocxfn LineOpen(7, 0, 0, , ) 121553.328 tapic lineNegotiateAPIVersion(0x800003ff, 7, 0x10003, 0x20001, 0x1f5838, 0x12e444) 121553.328 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) call 121553.328 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) => NO_ERROR (0) 121553.328 tapic lineGetIcon(7, 0, 0x1f5840) 121553.343 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) call 121553.343 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) => NO_ERROR (0) 121553.343 tapic lineOpen(0x800003ff, 7, 0x1f5834, 0x10004, 0, 0x1f5828, 0x4, LINEMEDIAMODE_INTERACTIVEVOICE | LINEMEDIAMODE_AUTOMATEDVOICE, 0) 121553.437 tapic lineGetID(0x10233, 0, 0, 0x1, 0x56df650, wave/in) LINECALLSELECT_LINE hLineInfo 121553.437 tapic lineGetID(0x10233, 0, 0, 0x1, 0x56df650, wave/in) => 0x0 121553.437 tapic lineGetID => 2 121553.437 tapic lineGetID(0x10233, 0, 0, 0x1, 0x56df650, wave/out) LINECALLSELECT_LINE hLineInfo 121553.437 tapic lineGetID(0x10233, 0, 0, 0x1, 0x56df650, wave/out) => 0x0 121553.437 tapic lineGetID => 2 121553.437 ocxfn GetLineName(sLineId=7) 121553.437 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) call 121553.453 tapic lineGetDevCaps(0x800003ff, 7, 0x10004, 0, 0x56d63a0) => NO_ERROR (0) 121553.453 wavec waveInGetDevCaps(0x2, 0x12e4ac, 0x30) => 0 121553.453 wavec waveOutGetDevCaps(0x2, 0x12e478, 0x34) => 0 121553.453 wave IN:[Dialogic Wave[dxxxB1C2] v16.0 format=0x1, channels=0x1] OUT:[Dialogic Wave[dxxxB1C2] v16.0 format=0x1, channels=0x1, support=0x4] 121553.453 ocxfn SilenceDetectSet(sLineId=7, sTimeLen=30, sVolumeLevel=10) SECOND LOG 121524.23 7 linedevstate 2048 0 0 121524.25 7 callstate OFFERING 66150 0 4 121524.28 7 Lev_CallerID [,WITHHELD,0000] 121524.28 7 rv lg add [DNIS]{0000} 121524.28 7 callinfo CALLEDID 121524.28 7 callinfo ORIGIN 121524.28 7 ring 0 121524.52 0 dial start any summary:|6:idx=0|7:hc>0| 121530.25 7 ring 2 121530.25 7 rv clear 121530.25 7 Answer the call at 20/06/2005 12:15:30 121530.25 7 lineAnswer(66150) => 66133 121530.78 7 callstate CONNECTED 66150 1 0 121530.78 7 callstate CONNECTED 66150,1,0 121530.80 7 WorkingModeTAPI@Connected= 121530.80 7 WorkingModeScript@Connected= 121530.83 7 Inband detection not enabled 121530.83 7 StartLoadedVgs at 20/06/2005 12:15:30, script interpretor VgMulti v5.2.4000 7 121530.83 7 rv ns add [scriptsPath]{C:\vgscript\BackUps\} 121530.83 7 rv ns add [scriptPath]{C:\vgscript\BackUps} 121530.83 7 rv lg add [$RV_STARTTIME]{20/06/2005 12:15:30} 121530.83 7 rv lg add [$RV_DEVICEID]{7} 121530.83 7 rv lg add [$RV_CIDNAME]{WITHHELD} 121530.83 7 rv ns add [PathApp]{C:\Program Files\VoiceGuide\} 121530.83 7 rv lg add [$RV_CIDNUMBER]{} 121530.83 7 tapi Reply (LineEvReply) ok 66133 0 121530.83 7 callinfo MONITORMODES 121530.83 7 timer clear 121530.83 7 [callerId] Evaluate [$RV_CIDNUMBER] 121530.83 7 rv replace start: [$RV_CIDNUMBER] 121530.83 7 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:\vgscript\BackUps\}[scriptPath]{C:\vgscript\BackUps}[$RV_STARTTIME]{20/06/2005 12:15:30}[$RV_DEVICEID]{7}[$RV_CIDNAME]{WITHHELD}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{} 121530.83 7 rv replace end: [] 121530.83 7 .Eval() 121530.83 7 rv ns add [callerId_Input]{} 121530.83 7 rv ns add [callerId]{} 121530.83 7 Eval Expr result:[] 121530.83 7 path {} not found 121530.83 7 timer clear 121530.83 7 [CallerContactNo] Number Input 121530.83 7 [CallerContactNo] Playing (wavfiles\contact_number.wav) 121530.83 7 File not found [wavfiles\contact_number.wav] 121530.83 7 play set playid=234500 121530.86 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav] 121530.86 7 timer clear 121530.86 7 wa(3112,23450000) 121530.86 7 callinfo MONITORMODES 121534.05 7 play end current play (playid=234500) 121534.05 7 ScriptEventCode 8001 iLineState=1300 121534.05 7 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 121534.05 7 eng set timer EV_TIMEOUT_REPLAYMSG time=5 121534.05 7 timer set 5 EV_TIMEOUT_REPLAYMSG 121539.52 7 timer fired EV_TIMEOUT_REPLAYMSG 121539.52 7 ScriptEventCode 9005 iLineState=1301 121539.52 7 LsGetNbrsRxDigits EV_TIMEOUT_REPLAYMSG 121539.52 7 [CallerContactNo] Playing (wavfiles\contact_number.wav) 121539.52 7 File not found [wavfiles\contact_number.wav] 121539.52 7 play set playid=243187 121539.52 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav] 121539.52 7 timer clear 121539.52 7 wa(3112,24318700) 121539.52 7 callinfo MONITORMODES 121542.72 7 play end current play (playid=243187) 121542.72 7 ScriptEventCode 8001 iLineState=1300 121542.72 7 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 121542.72 7 eng set timer EV_TIMEOUT_REPLAYMSG time=5 121542.72 7 timer set 5 EV_TIMEOUT_REPLAYMSG 121548.16 7 timer fired EV_TIMEOUT_REPLAYMSG 121548.16 7 ScriptEventCode 9005 iLineState=1301 121548.16 7 LsGetNbrsRxDigits EV_TIMEOUT_REPLAYMSG 121548.16 7 [CallerContactNo] Playing (wavfiles\contact_number.wav) 121548.16 7 File not found [wavfiles\contact_number.wav] 121548.16 7 play set playid=251828 121548.16 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\system\voice\SoundFileNotFound.wav] 121548.16 7 timer clear 121548.16 7 wa(3112,25182800) 121548.16 7 callinfo MONITORMODES 121551.34 7 play end current play (playid=251828) 121551.34 7 ScriptEventCode 8001 iLineState=1300 121551.34 7 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED 121551.34 7 timer set 10 EV_TIMEOUT_HANGUP 121551.34 7 timer set 8 EV_TIMEOUT_GOTOMODULE 121552.17 0 btn Hangup on line 7 121552.17 7 ScriptEventCode 9001 iLineState=1301 121552.17 7 LsGetNbrsRxDigits EV_TIMEOUT_HANGUP 121552.17 7 rv lg add [Hangup Time]{20/06/2005 12:15:52} 121552.17 7 Hanging up call... 121552.17 7 RecSoundStop ok 121552.17 7 PlaySoundStop err=0 121552.17 7 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 121552.17 7 fnHangupCall end 121552.22 7 linedevstate 2048 0 0 121552.22 7 callstate IDLE 66150 0 0 121552.22 7 WorkingMode@Idle= 121552.22 7 timer clear 121552.22 7 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 121552.22 7 tapi Reply (LineEvReply) ok 66116 0 121553.30 7 timer fired EV_TIMEOUT_TIMETOREINITLINE 121553.30 7 ScriptEventCode 9008 iLineState=900 121553.30 7 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 121553.30 7 ReinitTelephony due to IDLE 121553.30 7 tapic lineDeallocateCall(MainCall:66150) 0 121553.45 7 lineOpen(7)=> 121553.45 7 Waiting for a call... 121553.45 7 LineHandle=66099 121553.45 7 amchk set AMdet=False in Reinit@idle 121553.45 7 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 121553.53 0 dial start any summary:|6:idx=0|7:rdy=0| 121556.73 7 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 121556.73 7 ScriptEventCode 9013 iLineState=900 121557.53 0 dial start any summary:|6:idx=0|7:idx=0| Share this post Link to post
SupportTeam Report post Posted 06/20/2005 12:55 PM 3. Ive done a dummy script without any conferencing - just an incoming call which is disconnected after "the sound file specified could not be found message" - and the VG does not hang up. Do any 'disconnected' type tones get played on the line when the caller hangs up? I'd say your best bet is to configure the tone detection setting in the Dialogic TSP correctly so that the disconnect tones get detected. There is no indication in traces that the Dialoigc card detected any loop current drops. 1. the system was working perfectly fine on a win2k machine with VG and same dialogic card. Now its on a win xp machine Did the Dialogic card actually detect the loop current drop when running on Win2K? Are you sure it wasn't just detecting the tones and acting on them? Another thing is to just give the VG for Dialogic patch a try to see if maybe it sets up the card differently under XP and the lop current drops then get detected... Share this post Link to post
SangAstra Report post Posted 06/20/2005 04:00 PM Just in case you ask - here is a file i recorded for disconnect tone - i tried to analyse with audacity but didnt suceed. testsound.zip Share this post Link to post
SangAstra Report post Posted 06/20/2005 04:13 PM VG for Dialogic patch _ WILL REQUIRE US to change all sound files which are currently in 11khz pcm mono - therefore im not keen. Can we please just sort out one thing why is VG not disconnecting when the line is disconnected??? What TSP settings do i need to change? thanks Share this post Link to post
SupportTeam Report post Posted 06/20/2005 09:57 PM why is VG not disconnecting when the line is disconnected??? Dialogic card is not telling VG that the call has been disconnected. Dialogic card detects end of call by either detecting the disconnect tone, or loop current drop. Trace shows card is not detecting either of these. What TSP settings do i need to change? For setting the disconnect tone see: http://www.voiceguide.com/vghelp/html/Disc...ctionDetect.htm Share this post Link to post
SangAstra Report post Posted 06/21/2005 07:56 AM Thank you Can you please see the above uploaded file testsound.zip and advise the correct disonnect settings Share this post Link to post
SangAstra Report post Posted 06/21/2005 09:35 PM Im getting frustrated just sorting out the disconnect function over last 4 days and I've got the live service going on this machine. Can someone sort it out without 24 hour gaps in responses?? Ive uploaded another disconnect file and I expect a clear and prompt response please. disconnect1.zip Share this post Link to post
SupportTeam Report post Posted 06/22/2005 07:54 AM from http://www.voiceguide.com/vghelp/html/Disc...ctionDetect.htm : To find out the frequencies of the disconnect tone just record it using VoiceGuide's Record module (just start recording then hang up) and then analyze the frequencies using any of the more advanced sound editors eg: Audacity (http://audacity.sourceforge.net/) has a View->Plot Spectrum menu. Share this post Link to post
SangAstra Report post Posted 06/22/2005 01:41 PM Done that would you like to see the logs? Share this post Link to post
SangAstra Report post Posted 06/22/2005 05:16 PM >>>>>>>>>>To find out the frequencies of the disconnect tone just record it using VoiceGuide's Record module (just start recording then hang up) <<<<<<<< thank you - I suppose if you scroll up 15 mm you can see that i've already recorded AND uploaded the file for you to interpret as im not getting anywhere with the audacity specxtrum Share this post Link to post
SupportTeam Report post Posted 06/22/2005 10:10 PM The sound file in disconnect1.zip shows a continuous 400Hz tone. I'd try the following settings in the Dialogic TSP's "Disc1" tone tab: Freq 1 : 400 Freq 1 deviation : 40 Freq 2 : 0 Freq 2 deviation : 0 On time : 500 On time deviation : 50 Off time : 0 Off time deviation : 0 Repetition : 1 Share this post Link to post