dsb777 Report post Posted 06/12/2007 09:08 AM hi, i have a dialogic 4 line card and im testing with the voiceguide for dialogic download... If i leave a message of myself counting to ten, then replay the message, i see that i get cut off at 7... I left a bunch of messages counting and always cut off before the final number... Is there a simple fix for this? system: XP Pro Share this post Link to post
SupportTeam Report post Posted 06/12/2007 09:37 AM Maybe the "Truncate recording on Disconnect" is set to too high a value. Whch version of VocieGuide are you using? Could you please post a copy of VoiceGuide's Trace Logs which captures the problem, this will allow us to see what happened. Enable logging by setting the log levels to 10 in VG.INI as per below: [Log] VoiceGuide=10 ktTel=10 Then restart VG and make a test call which demonstrates the problem. Trace files will be created in VG's \log\ subdirectory. Please post the traces. When posting traces/scripts please .ZIP them up and post them as attachments. Share this post Link to post
dsb777 Report post Posted 06/12/2007 05:04 PM Thanks. Im testing with the trial voiceguide for dialogic 6.0.0.3310 also using a dialogic card XP Pro operating system attached are the two log files. Thanks for your help. dsb777.zip Share this post Link to post
ktruk Report post Posted 06/12/2007 07:11 PM dsb777: VG defaults to trimming back recordings by the amount of time it takes to do tone/disconnect detection for analog lines. For ISDN lines, the time needed is virtually zero, so there are 2 pairs of settings in the VG.INI file (may be different for dialogic VG version 6) which can be changed to suit your needs. Just edit the following settings in VG.INI (in VG directory) and restart system for settings to take effect... There are 2 pairs of settings, 1 is for recordings which end due to hangup: RecCutifHangupBytes=x RecCutifHangupBytes_Dialogic=x or settings if recordings end due to DTMF digit: RecCutifDtmfStopBytes=x RecCutifDtmfStopBytes_Dialogic=x "X" is explained in the notes preceding each section; so, if recording at 16Khz, then 1 second trim = 16,000 bytes, ie: setting x=16000 drops 1 second off the recordings. For ISDN you can set this to zero (works for me) or higher to suit. I suggest you repeat your counting tests and adjust as needed. (I did exactly this some months back!). The defaults account for recording trims of between 0.5 and about 3 seconds for the settings above. If the settings are not stored in VG.INI, perhaps the supportTeam will let you know. Share this post Link to post
dsb777 Report post Posted 06/14/2007 01:30 AM Thanks for replying. It may be different invoiceguide for dialogic because i did a search and could not find those terms you listed... I did find three terms that seemed similar... but i set all three to zero and it still cut off the message before i was finished counting... What can i try now? The terms i set to zero (as a test) are as follows: RecCut_EndRecDueTo_ToneDisconnect=30 RecCut_EndRecDueTo_ToneDtmf=2 RecCut_EndRecDueTo_DlgcDE_LCOF=10 Share this post Link to post
SupportTeam Report post Posted 06/14/2007 07:04 PM Trace shows that the end of recording was due to silence being detected on the line. Silence length was set to 3.0 seconds, and that's how much voice data was then cut off from the end of the recorded file. But it looks like the Dialogic card did not actually provide the full recording data - there was less then 3 seconds of silence at end of recording, so some of the spoken voice was cut off as well... Which Dialogic card are you using? Which SR drivers are you using? This is fairly easily fixed - we should have a fix available for you within a few hours. 125452.16 1 state [VmLmRec] Recording C:\Program Files\VoiceGuide\data\VmSave01_0612125452_1_1_9149538401_.wav 125452.16 1 RecStart [C:\Program Files\VoiceGuide\data\VmSave01_0612125452_1_1_9149538401_.wav] ok, RecStartTime=46492.16 125452.16 1 rv replace start: [ $RV[MsgLenMax]] ... 125452.16 1 rv replace end: [ 60] 125452.16 1 timer set 60 EV_TIMEOUT_GOTOMODULE 125511.52 1 event EV_SILENCE_DETECTED, iCode=9300 state=1201 125511.52 1 LsRecRecording EV_SILENCE_DETECTED,EV_SILENCE_DETECTED ... 125511.52 1 path {EV_SILENCE_DETECTED} not found 125511.52 1 RecEndTime=46511.52, RecStartTime=46492.16, Diff=19.35938 125511.52 1 rv rec length: VmLmRec_RecLen100ms = 164 125511.52 1 rv add [VmLmRec_RecLen100ms]{164} 125511.53 1 rv add [VmLmRec_EndRecCause]{silence} 125511.53 1 rv replace start: [on {1} goto [VmLmMenu] 125452.156 001 ocxfn RecStart(hLine=1, strSoundFile=C:\Program Files\VoiceGuide\data\VmSave01_0612125452_1_1_9149538401_.wav, lRecId=383843, lParam1=1, lParam2=0, strParam1=, strParam2=) 125452.156 001 rec RecStart_Iott hli=0x1bb1f0, C:\Program Files\VoiceGuide\data\VmSave01_0612125452_1_1_9149538401_.wav, lRecId=383843, lParam1=1, lParam2=0, strParam1=, strParam2= 125452.156 001 rec RecStart_Iott FindFirstFile returned 125452.156 001 rec RecStart_Iott FindClose call 125452.156 001 open save file call (create) 125452.156 001 dlgc open save file(strFname=C:\Program Files\VoiceGuide\data\VmSave01_0612125452_1_1_9149538401_.pcm) => 6 125452.156 001 dlgc rec silence detection enabled. len=30 125452.156 dlgc rec max len limit on drv level disabled 125452.156 dlgc rec stop on lcoff disabled (at dlgc driver level) 125452.156 dlgc record(20, ...) => 0, hli=1815024 125511.515 001 ev TDX_RECORD (Record Completed) 125511.515 001 termmask=TM_MAXSIL (hli->linedev=1) 125511.515 001 ev TDX_RECORD, TERMMSK=TM_MAXSIL 125511.515 001 ocxev SilenceDetected(dwLineId=1) 125511.515 001 rec file close 6 ok 125511.515 rec cut change length (time derived PCM) by:-24000 125511.515 rec cut CreateFile(C:\Program Files\VoiceGuide\data\VmSave01_0612125452_1_1_9149538401_.pcm, OPEN_EXISTING) => 4572 125511.515 rec cut (in event) change length 150624 by -24000, final_len=126624 125511.515 001 ocxfn RecStopTruncate(sLineId=1, strSaveFname=, lTruncTime=3000 (milliseconds), lTruncBytes=0) 125511.515 001 dx_stopch call in RecStopTruncate 125511.515 001 dx_stopch 1 ok in RecStopTruncate Share this post Link to post