VoiceGuide IVR Software Main Page
Jump to content

Wav To Mp3 Convertion

Recommended Posts

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

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

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

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

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

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

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

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
×