Vladimir Report post Posted 02/15/2007 05:05 AM Hi, We lunch a batch file after Record module to convert output wav file to mp3. In most cases that works. Our batch file creates log enries with each file converted and deleted. Checking voice messages mailbox daily I found that some file didn't get converted (couple files per week) . There were no any attempts to convert them. Those wav mostly have size less the 50K, but later I found a 10 sec file. What reason/parameter controls the next module execution? What event return value can be used for that? Thanks in advance, Vladimir Event log ===================== 2/13/07 13:26 2 dxxxB1C2 dxxxB1C2 0 1 C:\SCS\Inbox\VoiceMessages\20070213132647_2_E.wav 91 disconnect 2/13/07 13:27 2/13/07 13:27 Share this post Link to post
SupportTeam Report post Posted 02/15/2007 05:13 AM Could you please post the script which you are using and 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 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 and the VoiceGuide script used. When posting traces/scripts please .ZIP them up and post them as attachments. Share this post Link to post
Vladimir Report post Posted 03/11/2007 05:57 PM Hi, Attached the script, VG logs, conversion logs, conversion batch file and the messages left unconverted. Thanks in advance Vladimir Vladimir_Logs.zip Share this post Link to post
SupportTeam Report post Posted 03/11/2007 09:44 PM In the supplied Scancode.vgs script the to Run Program module which is converting the sound file to MP3 is reached if the caller presses a DTMF tone during recording, or recording terminates due to silence. This does not cover the case where the caller just hangs up during the recording of the sound file and the recording and the call itself ends due to presence of the Disconnected tone on the line. When the call ends the rest of the script is not ran - so the Run Program module is not reached. The Run Program module which is converting the sound file to MP3 should be placed in the OnHangup script. That way the module will be ran in situations where the caller hangs up without pressing any dtmf tones. See: http://www.voiceguide.com/vghelp/html/Call%20Finish.htm 075144.84 2 state [Record File] Recording ... 075144.88 2 RecStart [C:\SCS\Inbox\VoiceMessages\20070305075144_2_E.wav] ok, RecStartTime=28304.88 ... 075209.45 2 tw DialogicEvent 134,TDX_CST,193,0,0,DE_TONEON,DISCONNECT_TAPI2, 075209.45 2 event DISCONNECT_TAPI2, iCode=134 state=1201 075209.47 2 LsRecRecording EV_UNKNOWN_134,DISCONNECT_TAPI2 075209.47 2 path {DISCONNECT_TAPI2} not found 075209.50 2 RecEndTime=28329.47, RecStartTime=28304.88, Diff=24.59375 ... 075209.50 2 HangupCall start (LsRecRecording disconnect detected) Share this post Link to post
Vladimir Report post Posted 03/12/2007 02:51 AM I created a new script with just 2 boxes ( f(x) and Run() ) and looks it is working. Thanks a lot, Vladimir Share this post Link to post