sbensen Report post Posted 02/16/2006 09:04 PM This problem occurs only after the specific line gets into some weird state. Everything works fine until something happens. Then every successive call is immidiately hungup on upon answering. I have tried to figure it out and I can tell you that when calling sReturn=play_start the sReturn value is -1. Until the line freezes, it works fine and the sReturn value is 0. Also, here is a copy of the trace log from a call where this occurs. It says "bad file format" but this is not the case since the same wav file plays fine until this problem occurs. 140111.56 12 linedevstate 2048 0 0 140111.56 12 callstate OFFERING 65681 0 4 140111.56 12 rv clear 140111.56 12 Terminating process (new call). 140111.56 12 Answer the call at 2/16/2006 2:01:11 PM 140111.56 12 lineAnswer(65681) => 65574 140111.56 12 callinfo CALLEDID 140111.56 12 callinfo ORIGIN 140111.56 12 ring 0 140112.05 0 dial start any summary:|7:dok=0|8:dok=0|9:idx=0|10:idx=0|11:idx=0|12:hc>0|13:idx=0|14:idx=0|15:dok=0|16:dok=0|17:dok=0|18:dok=0| 140112.09 12 callstate CONNECTED 65681 1 0 140112.09 12 callstate CONNECTED 65681,1,0 140112.09 12 WorkingModeTAPI@Connected= 140112.09 12 WorkingModeScript@Connected= 140112.11 12 Inband detection not enabled 140112.11 12 StartLoadedVgs at 2/16/2006 2:01:12 PM, script interpretor VgMulti v5.2.3072 7 140112.11 12 rv ns add [scriptsPath]{C:\VoiceGuide\InboundCaller\} 140112.11 12 rv ns add [scriptPath]{C:\VoiceGuide\InboundCaller} 140112.11 12 rv lg add [$RV_STARTTIME]{2/16/2006 2:01:12 PM} 140112.11 12 rv lg add [$RV_DEVICEID]{12} 140112.11 12 rv lg add [$RV_CIDNAME]{} 140112.13 12 rv ns add [PathApp]{C:\Program Files\VoiceGuide\} 140112.13 12 rv lg add [$RV_CIDNUMBER]{} 140112.13 12 tapi Reply (LineEvReply) ok 65574 0 140112.13 12 timer clear 140112.13 12 [inbound Caller] Running VB Script... 140112.13 12 rv replace start: [dim sProject dim sKPID set fso = CreateObject("InboundCaller.clsMain") set vg = CreateObject("VoiceGuide.CommandLink") vg.Admin_TraceLogAdd 0, 0, "sProject=" & sProject fso.LineID = $RV_LINEID set fso.VoiceGuide = vg sProject = fso.VBLineEntry sKPID = fso.KPID vg.RvSet $RV_LINEID, "KPID", sKPID vg.Run_ResultReturn $RV_LINEID, sProject set fso = nothing set vg = nothing ] 140112.13 12 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:\VoiceGuide\InboundCaller\}[scriptPath]{C:\VoiceGuide\InboundCaller}[$RV_STARTTIME]{2/16/2006 2:01:12 PM}[$RV_DEVICEID]{12}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{} 140112.14 12 eng run vbs [wscript "C:\Program Files\VoiceGuide\data\vbs_12_1.vbs" //I] copy of script in: vbs_12_1.vbs 140112.19 12 Run Script waiting. iRunWait=1 (shellid=3568, process=1932) 140112.19 12 timer set 1 EV_TIMEOUT_CHECKONSTATE 140112.19 12 callinfo MONITORMODES 140112.23 0 sProject= 140112.25 0 cl Line_State 12 = [CONNECTED] 140112.25 12 cl Play_Start C:\VoiceGuide\InboundCaller\Voice\IsHRNReady.wav 140112.25 12 play set playid=13781 140112.27 12 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>32,play pss EnsureWaveOutIsOpenAndReady=>wavec waveOutOpen(0x4cc00a4, 0x6, 0x4cc0070, 0x1303bc, 0x4cc0048, 0x10006) => 32 (WAVERR_BADFORMAT) ... hli->hWaveOut=0x0] [C:\VoiceGuide\InboundCaller\Voice\IsHRNReady.wav] 140112.27 12 path {WAVERR_BADFORMAT} not found 140112.27 12 play set playid=13781 140112.27 12 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>4,play pss EnsureWaveOutIsOpenAndReady=>tr 5 waveOutOpen(id=6) MMSYSERR_ALLOCATED but hWaveOut = NULL] [C:\Program Files\VoiceGuide\system\voice\ErrorPlayingFile.wav] 140112.27 12 For Dialogic use: PCM 11Khz 8bit Mono 140112.28 12 rv lg add [Hangup Time]{2/16/2006 2:01:12 PM} 140112.28 12 Hanging up call... [srlib PlaySoundStart] 140112.28 12 RecSoundStop ok 140112.28 12 PlaySoundStop err=0 140112.28 12 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 140112.28 12 fnHangupCall end 140112.30 12 play end current play (playid=0) 140112.30 12 ScriptEventCode 8001 iLineState=900 140112.30 12 LsAwaitingCalls EV_PLAY_FINISHED 140112.30 12 play end current play (playid=0) 140112.31 12 ScriptEventCode 8001 iLineState=900 140112.31 12 LsAwaitingCalls EV_PLAY_FINISHED 140114.11 12 linedevstate 2048 0 0 140114.13 12 callstate IDLE 65681 0 0 140114.13 12 WorkingMode@Idle= 140114.13 12 timer clear 140114.17 12 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 140114.17 12 tapi Reply (LineEvReply) ok 65905 0 140115.16 12 timer fired EV_TIMEOUT_TIMETOREINITLINE 140115.16 12 ScriptEventCode 9008 iLineState=900 140115.16 12 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 140115.16 12 ReinitTelephony due to IDLE 140115.16 12 tapic lineDeallocateCall(MainCall:65681) 0 140115.19 12 lineOpen(12)=> 140115.19 12 Waiting for a call... 140115.19 12 LineHandle=65552 140115.20 12 amchk set AMdet=False in Reinit@idle 140115.20 12 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 140116.11 0 dial start any summary:|7:dok=0|8:dok=0|9:idx=0|10:idx=0|11:idx=0|12:rdy=0|13:idx=0|14:idx=0|15 dok=0|16:dok=0|17:dok=0|18:dok=0| 140118.48 12 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 140118.48 12 ScriptEventCode 9013 iLineState=900 140119.17 0 dial start any summary:|7:dok=0|8:dok=0|9:idx=0|10:idx=0|11:idx=0|12:idx=0|13:idx=0|14:idx=0|15 dok=0|16:dok=0|17:dok=0|18:dok=0| Share this post Link to post
SupportTeam Report post Posted 02/16/2006 10:34 PM This is a standard Wave driver error we've seen many times before. On some systems all of a sudden the Wave driver will stop working and the system needs to be restarted. 140112.27 12 PlaySoundStart err=[0 play PlaySoundStart ResetWavOutAndContinuePlay=>4,play pss EnsureWaveOutIsOpenAndReady=>tr 5 waveOutOpen(id=6) MMSYSERR_ALLOCATED but hWaveOut = NULL] [C:\Program Files\VoiceGuide\system\voice\ErrorPlayingFile.wav] If you're using a Dialogic card then the best thing to do is to switch to "VoiceGuide for Dialogic". Share this post Link to post
sbensen Report post Posted 02/21/2006 06:31 PM I'm using voice Guide for dialogic already. Is there a step I am missing here? Share this post Link to post
SupportTeam Report post Posted 02/21/2006 09:44 PM Trace is not from VG for Dialogic. Trace is from v5.2.3072 of VG. That's the "TAPI" version of VG. Download VG for Dialogic patch from our Downlaods page. Share this post Link to post