Guest dbov21 Report post Posted 04/19/2013 11:55 AM I'm using v5 with a Zoom tapi modem, Windows 7. My problem is I am seeing a 5 second delay after seeing "silence" reported and actually moving to the next module. See "ScriptEventCode 8003 iLineState=5900" below, you will see this exactly 5 seconds after silence. Appears it is waiting for this event to happen before it continues.? Now initially I had delay once in a while and just figured this was just hit or miss due to tapi etc. But now I see this all the time. I've checked baud rate settings, modem settings etc.. Now the strange thing is this delay is exactly 5 seconds down to the millisecond, everytime. So it appears there is a timer affecting/causing this. I also thought virus scan I am running Mcafee. I've tried turning of realtime protection etc.. I've tried reinstalling modem drivers, Voiceguide etc. Anyway I'm out of ideas. Thanks. 052231.06 1 state [RecordCallServer] Recording 052231.06 1 rv replace start: [$RV[scriptPath]Recordings\$RV[iDC]\Temp\] 052231.06 1 rv ns [iDC]{2}[LocalIP]{ 135.68.2.61}[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]{1}[scriptsPath]{C:\SSATest\}[scriptPath]{C:\SSATest}[iDC]{2}[LocalIP]{ 135.68.2.61}[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]{1}[$RV_STARTTIME]{4/19/2013 5:22:15 AM}[$RV_DEVICEID]{1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{918554717662}[$RV_DNIS]{}[DNIS]{}[RecordingFilename_Input]{190413052215}[RecordingFilename]{190413052215}[RecordingFilename]{190413052215}[OutDial_Result]{Contacted_Human}[DigitLoginSmoke1]{timeout} 052231.06 1 rv replace end: [C:\SSATestRecordings\2\Temp\] 052231.06 1 rv lg add [RecordCallServer]{C:\SSATestRecordings\2\Temp\0419052231_1_918554717662.wav} 052231.21 1 RecSoundStart file[C:\SSATestRecordings\2\Temp\0419052231_1_918554717662.wav] ok 052231.21 1 eng RecSoundStart [C:\SSATestRecordings\2\Temp\0419052231_1_918554717662.wav] 052231.21 1 timer set 600 EV_TIMEOUT_RECMAXTIME 052236.31 1 ScriptEventCode 9300 iLineState=1201 052236.31 1 LsRecRecording EV_SILENCE_DETECTED 052236.31 1 rec length RV: RecordCallServer_RecLen100ms = 44 052236.31 1 rv lg add [RecordCallServer_RecLen100ms]{44} 052236.31 1 rv lg add [RecordCallServer_EndRecCause]{silence} 052241.33 1 ScriptEventCode 8003 iLineState=5900 052241.33 1 timer clear 052241.33 1 state [setSilenceLonger] Evaluate [30] 052241.34 1 .Eval(30) 052241.34 1 rv ns add [setSilenceLonger_Input]{30} 052241.34 1 rv ns add [setSilenceLonger]{30} 052241.34 1 rv ns add [silenceDetectLen]{30} 052241.34 1 Eval Expr result:[30] stored in $RV[silenceDetectLen] 052241.34 1 SilenceDetectSet(1, 30, 60) 052241.34 1 path {30} not found 052241.34 1 timer clear 052241.34 1 state [RecordIntroTest1] Recording 052241.34 1 rv replace start: [$RV[scriptPath]Recordings\$RV[iDC]\Temp\] 052241.34 1 rv ns [iDC]{2}[LocalIP]{ 135.68.2.61}[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]{1}[scriptsPath]{C:\SSATest\}[scriptPath]{C:\SSATest}[iDC]{2}[LocalIP]{ 135.68.2.61}[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]{1}[$RV_STARTTIME]{4/19/2013 5:22:15 AM}[$RV_DEVICEID]{1}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CALLEDNUMBER]{918554717662}[$RV_DNIS]{}[DNIS]{}[RecordingFilename_Input]{190413052215}[RecordingFilename]{190413052215}[RecordingFilename]{190413052215}[OutDial_Result]{Contacted_Human}[DigitLoginSmoke1]{timeout}[RecordCallServer]{C:\SSATestRecordings\2\Temp\0419052231_1_918554717662.wav}[RecordCallServer_RecLen100ms]{44}[RecordCallServer_EndRecCause]{silence}[setSilenceLonger_Input]{30}[setSilenceLonger]{30}[silenceDetectLen]{30} 052241.34 1 rv replace end: [C:\SSATestRecordings\2\Temp\] 052241.34 1 rv lg add [RecordIntroTest1]{C:\SSATestRecordings\2\Temp\0419052241_1_918554717662.wav} 052241.48 1 RecSoundStart file[C:\SSATestRecordings\2\Temp\0419052241_1_918554717662.wav] ok 052241.48 1 eng RecSoundStart [C:\SSATestRecordings\2\Temp\0419052241_1_918554717662.wav] 052241.48 1 timer set 600 EV_TIMEOUT_RECMAXTIME 052305.58 1 ScriptEventCode 9300 iLineState=1201 052305.58 1 LsRecRecording EV_SILENCE_DETECTED 052305.58 1 rec length RV: RecordIntroTest1_RecLen100ms = 212 052305.58 1 rv lg add [RecordIntroTest1_RecLen100ms]{212} 052305.58 1 rv lg add [RecordIntroTest1_EndRecCause]{silence} 052310.60 1 ScriptEventCode 8003 iLineState=5900 Share this post Link to post
SupportTeam Report post Posted 04/19/2013 12:41 PM This delay is most likely due to modem taking this long to stop recording. After VoiceGuide v5 detects that there is silence in the sound data received from tapi device it will issue a command to tapi device to stop recording - but some modems will first send all the data they have in their own buffers first before stopping the recording. Yet another reason why voice modems are really not suitable devices for deploying IVR systems. You may be able to adjust some setting in your modem or the drivers to affect this, but you would need to contact manufacturer. You may also find you get different results with the modem drivers under WinXP and the modem drivers under Win7. Share this post Link to post
Guest dbov21 Report post Posted 04/20/2013 05:09 AM As I mentioned though this did work before so I know it can work with this modem. I'm also suspicious this is modem/driver related due to the fact that it takes exactly 5 seconds regardless of recording length or size. This should vary slightly if it's waiting to clear the modem buffer right? This is always within 1-2ms of exactly 5 seconds. Do you have any ideas on what I can try to fix this? What could affect the buffer settings of the voice modem? Tapi settings, at commands, port settings/flow control? Share this post Link to post
Guest dbov21 Report post Posted 04/20/2013 08:46 AM I believe I fixed this. I am using an external Zoom 56k DualMode 2949L modem. I had added the following lines to their .inf driver file in order to get the Wave Drivers to load. I think the fix was changing the at+vsd=128,50 to at+vsd=128,0. This 50 setting defaults to 5 seconds and has to do with the silence detection setting of the modem. I changed this and forced reload of the drivers, rebooted, and so far it's fixed. So I'm not %100 sure this was the fix, maybe something else weird that reloading the drivers fixed. But I think this was it. Also if you have a Rockwell based voice modem you should be able to add the lines below to any .inf driver to get Wave Drivers to load for your modem. So just to confirm I have the version 5.2.5049 Voiceguide with a 56k Rockwell based external voice modem running on Windows 7 Pro and it seems to work pretty good. No problems with voice quality. [Voice] HKR,,Enumerator,,serwave.vxd HKR,, ForwardDelay, 1, 88,13 HKR, GenerateDigit, 1,, "at+vtd=10<cr>" HKR, GenerateDigit, 2,, "at+vts=<Digit><cr>" HKR, VoiceToDataAnswer, 1,, "at+fclass=0<cr>" HKR, VoiceToDataAnswer, 2,, "ata<cr>" HKR, VoiceAnswer, 1,, "at+fclass=8<cr>" HKR, VoiceAnswer, 2,, "ata<cr>" HKR, VoiceDialNumberSetup, 1,, "at+fclass=8<cr>" HKR, VoiceDialNumberSetup, 2,, "at+vls=0<cr>" HKR, VoiceDialNumberSetup, 3,, "at+vrn=10<cr>" HKR, VoiceDialNumberSetup, 4,, "at+vra=0<cr>" HKR,, VariableTerminator,, "<cr><lf>" HKR,, AbortPlay,, "<h10><h03>" HKR, StartPlay, 1,, "at+fclass=8<cr>" HKR, StartPlay, 2,, "at+vsd=128,0<cr>" HKR, StartPlay, 3,, "at+vtx<cr>" HKR,, TerminatePlay,, "<h10><h03>" HKR, StopPlay, 1,, "None" HKR, StopPlay, 2,, "NoResponse" HKR, StartRecord, 1,, "at+fclass=8<cr>" HKR, StartRecord, 2,, "at+vsd=128,0<cr>" HKR, StartRecord, 3,, "at+vrx<cr>" HKR,, TerminateRecord,, "<h10><h21>" HKR, StopRecord, 1,, "None" HKR, StopRecord, 2,, "NoResponse" HKR, LineSetPlayFormat, 1,, "at+fclass=8<cr>" HKR, LineSetPlayFormat, 2,, "at+vsm=132<cr>" HKR, LineSetRecordFormat, 1,, "at+fclass=8<cr>" HKR, LineSetRecordFormat, 2,, "at+vsm=132<cr>" HKR, WaveDriver, BaudRate ,1, 00, c2, 01, 00 ;voice baud rate set to 115.2K HKR, WaveDriver, XformID ,1, 08, 00 ;default wav files to 8-bit PCM 8Khz HKR, WaveDriver, XformModule ,, "umdmxfrm.dll" ;wav driver HKR, WaveDriver, WaveHardwareID ,, "RockwellVoiceModemWave" ; links serwave inf HKR, WaveDriver, WaveDevices, 1, 02, 00 ; 2 (NT5) wave devices, Line & Handset HKR,, VoiceBaudRate, 1, 00,c2,01,00 [Voice.NT5] HKR,, VoiceProfile, 1, a1,a0,00,02 HKR, WaveDriver, XformModule, , "umdmxfrm.dll" HKR, WaveDriver, XformID, 1, 04, 00 HKR, WaveDriver, BaudRate, 1, 00, c2, 01, 00 HKR, WaveDriver, WaveDevices, 1, 01, 00 HKR, WaveDriver, WaveHardwareID, , "LINEARPCMVoiceModemWave" Share this post Link to post