VoiceGuide IVR Software Main Page
Jump to content

recording module detecting silence VG 7.6

Recommended Posts

I try to record message but VG module RECORD SOUND FILE detecting silence immediately after start recording module. VG not waiting for silence declared in SilenceDetectLength parameter.

I try to set SilenceDetectLevel=0 in vg.ini but without any progress.

131012.495  11  26   8    1 state [call_me_back_announcement] Recording C:\cmb\ID20190110_130941_51_8_callmeback.wav |
131012.495  11  26   8    1       q_tel +     cmd_SilenceDetectSet 0 [] [30,10,0,0,0,0,0,0][|||||||]
131012.495  12  26   8    1       q_tel run   cmd_SilenceDetectSet 0 0 [] 0 max:1|0
131012.497  11  26   8    1       rec_start strRecordOptionsXml=[]
131012.497  11  26   8    1       q_tel +     cmd_RecordFileStart 974240 C:\cmb\ID20190110_130941_51_8_callmeback.wav []
131012.497  11  26   8    1       rec_start [C:\cmb\ID20190110_130941_51_8_callmeback.wav] ok
131012.497  12  26   8    1       q_tel run   cmd_RecordFileStart 0 974240 [] 0 max:1|0
131012.497  11  26   8    1 t     timer set   5 sec : EV_TIMEOUT_GOTOMODULE
131012.497  11  26   8    1       RunModule finish
131012.502  12  26   8    1 ev    RecEnd 974240 C:\cmb\ID20190110_130941_51_8_callmeback.wav
131012.502  12  26   8    1       q_scr +     evScriptEvent 8003 EV_REC_FINISHED
131012.502  11  26   8    1       q_scr run   evScriptEvent 8003 EV_REC_FINISHED action_id=0, crn=0 [974240|0|0|0|0][|||||] 00:00:00 max:9|00:00:00.3020173
131012.502  11  26   8    1       evscr EV_REC_FINISHED 8003  974240|0|0  || LineState=LS_REC_RECORDING
131012.502  11  26   8    1 WARN  EV_REC_FINISHED GlobalStuff.LineState[iLineId].lRec_Id_InProcessOfStopping=0 lParam1=974240
131012.504  11  26   8    1       LsRecRecording EV_REC_FINISHED,EV_REC_FINISHED  974240|0|0  ||
131012.504  11  26   8    1       path {EV_REC_FINISHED} not found
131012.504  11  26   8    1       rec complete event without rec reason being recieved first. Assume silence as the cause
131012.505  11  26   8    1       rv    rec length: call_me_back_announcement_RecLen100ms = 0
131012.505  11  26   8    1       rv    add   call_me_back_announcement_RecLen100ms|0
131012.505  11  26   8    1       rv    add   call_me_back_announcement_EndRecCause|silence
131012.505  11  26   8    1       path {silence} not found
131012.505  11  26   8    1       HangupCall qScr add ({silence} path not defined) crn_in=0, L1=Connected, L2=Running_Normal, lPlayId=0, lRecId=0
131012.506  11  26   8    1       q_scr +     cmdHangupCall 0 

When silence path is declared forwarding immediately  to next module.

 

 

This module working properly in 7.5. VG version.

Share this post


Link to post

We cannot reproduce any recording errors in v7.6

Can you please post the whole vgEngine trace for the call from your system, and the ktTel trace?

Please .ZIP up traces before posting.

 

Share this post


Link to post

Are you using the latest version of v7.6 that is available from the Downloads page or some previous version?

We tested with the latest version (currently v7.6.4) and could not reproduce this issue.

This version that is available from Downloads page:

112835.281   6                    vgEngine : 7.6.4 - 7.6.6920.36945
112835.281   6                    compiled : 2018-12-12 20:31:29.55

Share this post


Link to post

Could you please update to the latest v7.6 (currently v7.6.4) on your system and capture the traces as above and post the v7.6.4 traces here (both ktTel and vgEngine).

Share this post


Link to post

OK, I do this but I check on other server with version 7.5 (currently most of our servers working under version 7.5.21 - 7.5.6739.39172 2018-06-14 20:45:44.72)  and behavior is the same.

 

so I expect solve problem in ver 7.5. too.

Share this post


Link to post

Hi,

 

I tested on other VG server with (7.5.21 - 7.5.6739.39172 2018-06-14 20:45:44.72) but on D/600JCT card and it working.

Problems are on servers with DMV1200BTEPE cards.

Share this post


Link to post

ktTel trace supplied shows:

019 102959.860  4256  32 fn    RecordFileStart(iLineId=32, iActionID=590438, sFileName=C:\cmb\ID20190114_102927_51_10_callmeback.wav, iPlayBeep=1, sXMLOptions=)
020 102959.860  4256           ExtractFromOptionsXml_Keys iKeysDefLen=0
021 102959.860  4256           ExtractFromOptionsXml_Keys :
022 102959.860  4256  32       RecStart(hLine=32, strSoundFile=C:\cmb\ID20190114_102927_51_10_callmeback.wav, lRecId=590438 iPlayBeepBeforeRec=1, keys-notused sXMLOptions=)
023 102959.862  4256  32       RecStart_Iott hli=1042B650, C:\cmb\ID20190114_102927_51_10_callmeback.wav, lRecId=590438, usDataFormatRec=0x6(pref=0x6), iPlayBeepBeforeRec=1
024 102959.862  4256  32       RecStart_Iott mode - new recording
025 102959.863  4256  32 ERROR open save file(hli->strRecFnameToRecInto=C:\cmb\ID20190114_102927_51_10_callmeback.wav) => -1, [dx_fileerrno=2, ENOENT, No such file or directory; invalid device name; file or path not found.]
026 102959.863  4256  32       Event_RecEnd 590438 begin C:\cmb\ID20190114_102927_51_10_callmeback.wav zsParam1= zsParam2= (m_pktTelProxyClient=0x1e29a8)

 

Does the directory "C:\cmb\" exist on the systems where you are experiencing the record error?

ktTel trace shows the reason why record could not be started was because the save file could not be created.

This is unlikely to be a permission issue. Most often this is caused by the destination directory not existing.

 

Share this post


Link to post

You're right, my mistake. VG working properly "C:\cmb\" directory fail.

 

I try to record message using VBS and I found in logs this:

123402.871  41  92  30  15247       rv    replace start 
------------------------------
set vg = CreateObject("vgServices.CommandLink")

vg.Record_Start $RV_LINEID "C:\cmb\$RV[session_id]_callmeback.wav", 1, ""

vg.Run_ResultReturn $RV_LINEID, "success"

set vg = Nothing
------------------------------
123402.871  41  92  30  15247       rv    replace end   
------------------------------
set vg = CreateObject("vgServices.CommandLink")

vg.Record_Start 92 "C:\cmb\ID20190114_123336_54_30_callmeback.wav", 1, ""

vg.Run_ResultReturn 92, "success"

set vg = Nothing
------------------------------
123402.871  41  92  30  15247       vbs saving script - yes (UsingClearScript=True, strIni_moduleRunScript_SaveToFile=1)
123402.872  41  92  30  15247       vbs script written to (new file): C:\Program Files (x86)\VoiceGuide\temp\vbs_92_1.vbs
123402.872  41  92  30  15247       runscr will be waiting. wait=1, calling iModuleIdx=534 (setting iRunWait_VgmIdx to 534)
123402.872  41  92  30  15247       moh not set
123402.872  41                      AvailablePhysicalMemory=13534 MB
123402.872  41  92  30  15247       runscr ClearScript VBScriptEngine used
123402.873  41  92  30  15247       runscr .Execute call
123402.873  41  92  30  15247 ERROR RunScript_ClearScript_ScriptEngineException
ERROR ErrorDetails: Oczekiwano ko?ca instrukcji
ERROR Message: Oczekiwano ko?ca instrukcji
ERROR Source: ClearScript
ERROR StackTrace:    w Microsoft.ClearScript.ScriptEngine.ThrowScriptError(IScriptEngineException scriptError)
   w Microsoft.ClearScript.Windows.WindowsScriptEngine.ThrowScriptError(Exception exception)
   w Microsoft.ClearScript.Windows.WindowsScriptEngine.<>c__DisplayClass1e`1.<ScriptInvoke>b__1d()
   w Microsoft.ClearScript.ScriptEngine.ScriptInvoke[T](Func`1 func)
   w Microsoft.ClearScript.Windows.WindowsScriptEngine.ScriptInvoke[T](Func`1 func)
   w Microsoft.ClearScript.Windows.WindowsScriptEngine.Execute(String documentName, String code, Boolean evaluate, Boolean discard)
   w (Object , String )
   w ..(Object oParam)

123402.873  41  92  30  15247 note  If this error persists try using Windows Scripting Host engine, by adding this entry to [moduleRunScript] section of VG.INI : Engine=WSH
123402.873  41  92  30  15247       runscr dispose call

It's because send You proper  VBS request

 

 

Share this post


Link to post

Instead of:

vg.Record_Start $RV_LINEID "C:\cmb\$RV[session_id]_callmeback.wav", 1, ""

Please try using:

vg.Record_Start $RV_LINEID "C:\cmb\$RV[session_id]_callmeback.wav", 1

(omit the last parameter).

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×