zorbasoft Report post Posted 11/23/2005 10:11 AM Use Dialogic 4/PCIU The VG answering a call end try to ply wave but after 1-2 second of plaing automatically hangup. WHY ?? I use very simple custom script with only wave file 11k-8000-8bit My trace log raport: 161503,30 6 devstate NUMCALLS 0 0 161503,30 6 tapi callstate start 161503,30 6 tapi callstate OFFERING 65675 0 4 161503,31 6 callinfo CALLEDID 161503,31 6 callinfo ORIGIN 161503,31 6 ring 0 161504,13 0 dial start any summary:|6:hc>0| 161509,31 6 ring 2 161509,31 6 rv clear 161509,31 6 Answer the call at 2005-11-22 16:15:09 161509,31 6 lineAnswer(65675) => 65624 161509,86 6 tapi callstate start 161509,86 6 tapi callstate CONNECTED 65675 1 0 161509,86 6 callstate CONNECTED 65675,1,0 161509,86 6 WorkingModeTAPI@Connected= 161509,86 6 WorkingModeScript@Connected= 161509,86 6 Inband detection not enabled 161509,88 6 StartLoadedVgs at 2005-11-22 16:15:09, script interpretor VgMulti v5.2.5012 0 161509,88 6 rv ns add [scriptsPath]{C:\Program Files\VoiceGuide\Scripts\} 161509,88 6 rv ns add [scriptPath]{C:\Program Files\VoiceGuide\Scripts} 161509,88 6 rv lg add [$RV_STARTTIME]{2005-11-22 16:15:09} 161509,88 6 rv lg add [$RV_DEVICEID]{6} 161509,88 6 rv lg add [$RV_CIDNAME]{} 161509,89 6 rv ns add [PathApp]{C:\Program Files\VoiceGuide\} 161509,89 6 rv lg add [$RV_CIDNUMBER]{} 161509,89 6 rv lg add [$RV_DNIS]{} 161509,89 6 rv lg add [DNIS]{} 161509,89 6 tapi Reply (LineEvReply) ok 65624 0 161509,89 6 callinfo MONITORMODES 161509,91 6 timer clear 161509,91 6 state [Play 1] Playing 161509,91 6 state [Play 1] Playing (C:\Documents and Settings\LRW\Pulpit\CISZA.wav) 161509,91 6 play set playid=327671 161509,92 6 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>32,play pss EnsureWaveOutIsOpenAndReady=>play waveOutOpen mapped failed WAVERR_BADFORMAT] [C:\Documents and Settings\LRW\Pulpit\CISZA.wav] 161509,92 6 path {WAVERR_BADFORMAT} not found 161509,92 6 play set playid=327671 161509,95 6 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>32,play pss EnsureWaveOutIsOpenAndReady=>play waveOutOpen mapped failed WAVERR_BADFORMAT] [C:\Program Files\VoiceGuide\system\voice\ErrorPlayingFile.wav] 161509,98 6 For Dialogic use: PCM 11Khz 8bit Mono 161509,98 6 rv lg add [Hangup Time]{2005-11-22 16:15:09} 161509,98 6 state Hanging up call... [srlib PlaySoundStart] 161510,00 6 RecSoundStop ok 161510,00 6 PlaySoundStop err=0 161510,00 6 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 161510,00 6 fnHangupCall end 161510,00 6 RunModule PLAY end 161510,02 6 play end current play (playid=0) 161510,02 6 ScriptEventCode 8001 iLineState=900 161510,02 6 LsAwaitingCalls EV_PLAY_FINISHED 161510,02 6 play end current play (playid=0) 161510,02 6 ScriptEventCode 8001 iLineState=900 161510,03 6 LsAwaitingCalls EV_PLAY_FINISHED 161511,89 6 devstate NUMCALLS 0 0 161511,89 6 tapi callstate start 161511,91 6 tapi callstate IDLE 65675 0 0 161511,91 6 WorkingMode@Idle= 161511,91 6 timer clear 161511,92 6 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 161511,92 6 tapi Reply (LineEvReply) ok 65982 0 161512,98 6 timer fired EV_TIMEOUT_TIMETOREINITLINE 161512,98 6 ScriptEventCode 9008 iLineState=900 161512,98 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 161512,98 6 ReinitTelephony due to IDLE 161512,98 6 tapic lineDeallocateCall(MainCall:65675) 0 161513,08 6 lineOpen(6)=> 161513,09 6 state Waiting for a call... 161513,09 6 LineHandle=65931 161513,09 6 amchk set AMdet=False in Reinit@idle 161513,09 6 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 161513,13 0 dial start any summary:|6:rdy=0| 161516,38 6 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 161516,38 6 ScriptEventCode 9013 iLineState=900 161517,13 0 dial start any summary:|6:idx=0| Help me Share this post Link to post
SupportTeam Report post Posted 11/23/2005 10:19 AM You've posted the same question before here: http://voiceguide.com/forums/index.php?showtopic=3421 Did you read the answer posted in that thread? Share this post Link to post