invoso.com Report post Posted 01/10/2019 12:47 PM 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
SupportTeam Report post Posted 01/11/2019 06:37 AM 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
SupportTeam Report post Posted 01/12/2019 12:40 AM 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
invoso.com Report post Posted 01/14/2019 09:42 AM attached files (after downgrade to ver 7.5.) same problem happen. log.zip Share this post Link to post
SupportTeam Report post Posted 01/14/2019 09:50 AM 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
invoso.com Report post Posted 01/14/2019 10:08 AM 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
invoso.com Report post Posted 01/14/2019 10:38 AM 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
invoso.com Report post Posted 01/14/2019 11:18 AM Can You send me script to start record caller message using VBS? Share this post Link to post
SupportTeam Report post Posted 01/14/2019 11:19 AM 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
SupportTeam Report post Posted 01/14/2019 11:24 AM Quote send me script to start record caller message using VBS? That should be covered here: https://www.voiceguide.com/vghelp/source/html/com_record_start.htm but the outcome would be the same if directory "C:\cmb\" does not exist on the systems where you are experiencing this error. Share this post Link to post
invoso.com Report post Posted 01/14/2019 11:39 AM 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
SupportTeam Report post Posted 01/14/2019 12:30 PM 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