invoso.com Report post Posted 08/06/2012 01:44 PM Hi, After call recording I convert wav file to mp3 with Run Program Module: c:\callrecord\ffmpeg.exe -i c:\callrecord\$RV[session_id].wav c:\callrecord\$RV[manager]\$RV[session_id].mp3 but sometimes (now 3-rd time) application is showing popup window error opening many windows and so killing server resources. events log show: Typ zdarzenia: Informacje Źródło zdarzenia: Application Popup Kategoria zdarzenia: Brak Identyfikator zdarzenia: 26 Data: 2012-08-06 Godzina: 10:54:38 Użytkownik: Brak Komputer: SISTI_115 Opis: Podręczne okno aplikacji: ffmpeg.exe - Błąd aplikacji : Aplikacja nie została właściwie zainicjowana (0xc0000142). Kliknij przycisk OK, aby zakończyć aplikację. Aby znaleźć więcej informacji, zobacz http://go.microsoft.com/fwlink/events.asp w Centrum pomocy i obsługi technicznej. I think is because in the same time VG try to convert wav file to mp3 sometimes crashing ffmpeg application. Have You alternative to converting wav to mp3 or wav/mp3 player online to web site? Share this post Link to post
SupportTeam Report post Posted 08/07/2012 12:17 AM Looks like the problem is with 3rd party program that you are calling, not with VoiceGuide. As the problem is with 3rd party app then you should contact supplier/support to that 3rd party app. If you would like us to provide a VoiceGuide Extension/module that can perform the functionality that you require then please contact sales@voiceguide.com Share this post Link to post
invoso.com Report post Posted 08/07/2012 09:34 AM How to detect, that call was recorded (detecting wav file)? I think that my problem is because log shows that no wav file was detected. Share this post Link to post
SupportTeam Report post Posted 08/07/2012 11:04 AM How to detect that a certain file exists on system? There is a ".FileExists" function in VBScript Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists (FILE3) then end if Share this post Link to post
invoso.com Report post Posted 08/20/2012 10:38 AM can you to help me write file checker? my vbs: Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists ("C:\callrecord\ID2012082012314850.wav") then msgbox "file exist!" Else msgbox "no file found" end if how to change it to VG acceptable? no msgbox needed but variable: 1 - exists, 0 no found. Share this post Link to post
invoso.com Report post Posted 08/20/2012 11:36 AM Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists ("\folder\$RV[recorded_file].wav") then fileexistschecker= "1" Else fileexistschecker="0" end if msgbox fileexistschecker it's working, but how to put it to VG get fileexistschecker as variable? Share this post Link to post
SupportTeam Report post Posted 08/20/2012 11:43 AM You can use Run_ResultReturn API function to return a Result Variable to VoiceGuide. eg: Set objFSO = CreateObject("Scripting.FileSystemObject") If objFSO.FileExists ("\folder\$RV[recorded_file].wav") then fileexistschecker= "1" Else fileexistschecker="0" end if set vg = CreateObject("vgServices.CommandLink") vg.Run_ResultReturn $RV_LINEID, "[CheckRecordFileExists]{" & fileexistschecker & "}" set vg = Nothing in VoiceGuide script the $RV[CheckRecordFileExists] then has value of 0 or 1 See: http://www.voiceguide.com/vghelp/source/html/com_run_resultreturn.htm Share this post Link to post