dburrow Report post Posted 10/11/2003 12:01 PM Recording with IVG is terminating early, I believe because the gain on the incoming line is too low -- the caller can't be heard -- and therefore IVG behaves as though silence has been detected. The sound files are very quiet when played back via any .wav playback utilities. IVG version 4.9.0 running on NT/4 with a Dialogic D/4PCI card In vg.ini section [PlayRecordConfig] I've used three values, without much change in result: SilenceDetectLevel=100 SilenceDetectLevel=1 SilenceDetectLevel=0 F.Y.I. -- In the Multimedia section of Win/NT's "Configuration Settings" I am not allowed to increase the recording volume on the dialogic wave drivers (the volume slider is greyed out) from where it appears to be set at a recording level of "lowest". Is this just because the driver is not able to be configured in this way? I'm including the vg.ini file and the call trace log. The trace file was from a test call where I spoke in a normal voice, and where the call was terminated prematurely. ============ trace log ================================ 24719 2 tapie linedevstate 2048 0 0 24760 2 tapie callstate OFFERING 11941520 0 4 24780 2 Answer the call 24810 2 lineAnswer(11941520) => 7 24820 2 tapie callinfo CALLEDID 24820 2 tapie callinfo ORIGIN 24820 2 tapie ring 0 25380 2 tapie callstate CONNECTED 11941520,1,0 25380 2 WorkingModeTAPI= 25410 2 WorkingModeScript= 25421 2 Inband detection not enabled 25481 2 tapi Reply 7 0 25481 2 [set Default Mailbox] Evaluate [2000] 25521 2 .Eval(2000) 25591 2 Eval Expr result:[2000] 25641 2 [Testing from Line2] Evaluate [$RV_CIDNUMBER] 25651 2 RVreplace start: [$RV_CIDNUMBER] 25651 2 RVreplace end: [] 25661 2 .Eval() 25661 2 Eval Expr result:[] 25691 2 [business Hours] Evaluate [$RV_DAY < 6 and $RV_HOUR > 8 and $RV_HOUR < 18] 25721 2 RVreplace start: [$RV_DAY < 6 and $RV_HOUR > 8 and $RV_HOUR < 18] 25771 2 RVreplace end: [7 < 6 and 17 > 8 and 17 < 18] 25801 2 .Eval(7 < 6 and 17 > 8 and 17 < 18) 25841 2 Eval Expr result:[False] 25871 2 [Main Menu Closed] Playing 25891 2 [Main Menu Closed] Playing (C:\Program Files\VoiceGuide\IVR Wav Files\Main Menu Closed.wav) 26482 2 PlaySoundStart ok [C:\Program Files\ivg\Scripts\HDP\Main Menu Closed.wav] 26512 2 RunModule PLAY end 34704 2 tapie monitordigits 50 2 34724 2 LsPlayMsg [2] 34804 2 PlaySoundStop ok 34834 2 [2000] Playing Welcome Message 35024 2 PlaySoundStart ok [C:\Program Files\ivg\data\VmWelc00.wav] 35054 2 [2000] Play welcome message 38199 2 Play End line[2] (id=634904) 38239 2 LsVmLm_PlayWelc EV_PLAY_FINISHED 38329 2 PlaySoundStart ok [C:\Program Files\ivg\system\voicedlgc\beep1.wav] 38549 2 wb(63829900) 38650 2 Play End line[2] (id=638299) 38680 2 LsVmLm_PlayWelc_Beep EV_PLAY_FINISHED 38760 2 RecSoundStart file[C:\Program Files\ivg\data\VmSave00_1005172440_1_2_.wav] ok 38800 2 [2000] Recording Message 52279 2 LsVmLm_Rec EV_SILENCE_DETECTED 52349 2 Silence Detected 52469 2 LsVmLm_Rec EV_REC_FINISHED 52539 2 HangupCall called from [srvm] 52600 2 Hanging up call... 52660 2 PlaySoundStop ok 52770 2 fnHangupCall end 52840 2 tapie linedevstate 2048 0 0 52900 2 tapie callstate IDLE 11941520 0 0 52970 2 WorkingMode@Idle= 53100 2 set EV_TIMEOUT_TIMETOREINITLINE 2 53170 2 tapi Reply 8 0 54132 2 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 54192 2 ReinitTelephony due to IDLE start 54272 2 tapic lineDeallocateCall(MainCall:11941520) 0 54502 2 lineOpen(2) => 0 54562 2 Waiting for a call... 54633 2 lineOpen(2)LineHandle=11944848 ============ vg.ini ================================ [LineConfig] TapiDeviceCount=3 [TapiDevice1] Id=2 Name=Analog Line 1(dxxxB1C1) Script=C:\Program Files\ivg\Scripts\HDP\HDP.vgs RingsBeforeAnswer=0 PopupCallerId=0 DialoutOK=1 [TapiDevice2] Id=3 Name=Analog Line 2(dxxxB1C2) Script=C:\Program Files\ivg\Scripts\HDP\HDP.vgs RingsBeforeAnswer=0 PopupCallerId=0 DialoutOK=1 [TapiDevice3] ID=4 Name=Analog Line 3(dxxxB1C3) Script=C:\Program Files\ivg\Scripts\Residence\Residence.vgs RingsBeforeAnswer=0 PopupCallerId=0 DialoutOK=1 [TapiDevice4] ID= Name= Script= RingsBeforeAnswer=2 PopupCallerId= DialoutOK=0 [PlayRecordConfig] RecEditor=SNDREC32.EXE RecCutIfHangupBytes=1000 RecCutIfDtmfStopBytes=5000 RecLengthMin=1 RecLengthMax=300 PlayEndPauseDialogic=0 ;PlayVolume can be set from 1 (very quiet) to 100 (loudest). ;a setting of 0 disables explicit setting of the volume, keeping the default setting. PlayVolume=75 ;SilenceDetectLength: 40 = 4 seconds SilenceDetectLength=120 ;SilenceDetectLevel: range: 0-100. ;0 - don't detect silence, 100 - detect loud background noise as silence. SilenceDetectLevel=100 [Voicemail] RecLengthMin=1 RecLengthMax=999 ForwardPhoneRetries=2 ForwardPhoneWait=1 ForwardPhoneAcceptPrompt=VmbForwardAskAccept.wav ForwardEmailSubject=Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_MINUTE $RV_DATE/$RV_MONTH ForwardEmailBody=Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_MINUTE $RV_DATE/$RV_MONTH ForwardEmailMechanism=SMTP ForwardEmailSmtpServer=mail.mindspring.com ForwardEmailSmtpEmailAddress=ivg@smartdecorating.com ForwardVmEmailSmtpSendersName=VoiceGuide Voicemail [PBX] ;Maximum time the system will wait for the extension to be answered. In seconds. AnnouncedTransfersMaxWaitTime=30 ;Inband signalling configuration file eg: InbandSignaling_SiemensHiPath3000_v1.2.txt InbandSignalConfig= ;time for PBX to react to the hookflsh. In 100ms units, eg: 10=1 second PauseAfterHookflash=10 ;"TAPI" : TAPI functions calls are made to driver to action transfers and conferences. ;"Generate" : exlilicit tones and signals are generated using TAPI calls ;"AT" : modem AT commands are used TransferControl_Modem=Generate TransferControl_TelBoards=Generate ;************************************************ ;*** "Generate" is selected for Transfer Control ;************************************************ ;generated before playing the destination extension. (Blind and Announced transfers) Transfer_Prefix=! ;generated after the call transfer is accepted. ;after playing this signal VoiceGuide will hang up the call. ;generated after the call is declined. ;This signal is used to hangup the extension leg of the call and retrieve the call, Transfer_AnnounceDecline=! ;generated before playing the destination extension. (Blind and Announced conferences) Conference_Prefix=! ;generated immediately after playing the destination extension Conference_BlindSuffix=!3 ;generated after the call confenrence is accepted. ;after playing this signal VoiceGuide will stay on the line. Conference_AnnounceAccept=!3 ;generated after the call confenrence is declined. ;This signal is used to hangup the extension leg of the call and retrieve the call, Conference_AnnounceDecline=! ;************************************************ ;*** "AT" is selected for Transfer Control ;************************************************ ModemTransferInit1=AT#VBT=1 ModemTransferHookflash=AT#VTS=! ;ModemTransferDialNumber: this command is suffixed with the destination number separated by commas ModemTransferDialNumber=AT#VTS= ModemTransferComplete=AT#VTS=! ;Commands issued to the modem duting a 3-way conference setup Modem3WayInit1=AT#VBT=1 Modem3WayHookflash=AT#VTS=! ;pause time after sending hookflash to allow PBX enough ;Modem3WayDialNumber : this command is suffixed with the destination number separated by commas Modem3WayDialNumber=AT#VTS= Modem3WayComplete=AT#VTS=! ;************************************************ ;*** "TAPI" is selected for Transfer Control ;************************************************ ;set to 1 if lineComplete transfer is not to be called upon announced call transfer being accepted. ;if set to 0 then LineCompleteTransfer will be issued after call transfer is accepted, then call will be hung up. ;if set to 1 then the call will be just hung up after call transfer is accepted. OnTransferAccept_NoLineCompleteTransfer=0 ;3WayMaxTalkTime is in 1 second units, rg: 1800 = 30 minutes 3WayMaxTalkTime=1800 [VGDialer] ;set it to MM/DD/YY or DD/MM/YY DateFormat=DD/MM/YY ;Dialout announcement replay maximum count. AnnReplay=3 ;How long before another call can go out on the same line (sec) AfterIdleWait=5 ;Silence detection is used to judge when the answering machine ;message has stopped talking: ;AnswerMachine Silence detect length. In 100ms units (20 = 2 seconds) AM_SilenceDetectLength=60 ;AnswerMachine SilenceDetectLevel: range: 0-100. ;0 - don't detect silence, 100 - detect loud background noise as silence. AM_SilenceDetectLevel=10 [VBScript] UseSafeSubset=1 ShellHandler=wscript [DatabaseWorkspace] WorkspaceJetUser=admin WorkspaceJetPassword= WorkspaceOdbcUser=admin WorkspaceOdbcPassword= [VgGsd] DesignAreaHeight=5000 DesignAreaWidth=5000 [VGsys] ;Used only for CT-Media systems ;AssistingApp=VgControl.exe ;Fax Handoff settings: HandoffProgramFax= [OnError] ;OnError_Unavailable possible settings: ;RESTART_TAPI, RESTART_VOICEGUIDE, RESTART_PC OnError_Unavailable= [Callflow] ;OnGetNumbersRxDigit=PlayStop_False [CTMedia] DefaultScript=C:\Program Files\ivg\Scripts\HDP\HDP.vgs WatchedService= WatchedFile= LoadScript1= LoadScript2= LoadScript3= LoadScript4= LoadScript5= LoadScript6= LoadScript7= LoadScript8= LoadScript9= LoadScript10= [TraceLog] LogDebugToFile=1 Share this post Link to post
SupportTeam Report post Posted 10/12/2003 01:03 AM The D4PCI usually auto adjusts the recording level to ensure recordings are of good quality - if this is not the case on this system then I guess the signal on these lines must be very faint...- or AGC is turned off - you can see if AGC (Automatic Gain Control for recording) is enabled by looking at the properties of Dialogic Wave drivers. Still setting SilenceDetectLevel=0 should have turned off silence detection... Is it possible to you to test v5.0 on this system and see if setting SilenceDetectLevel=0 with v5.0 turns off silence detection for you? Share this post Link to post