[Freeswitch-users] Failing to execute OS Command

Klaus Teller klaus.teller at gmx.net
Tue Aug 12 12:41:12 PDT 2008


I'm trying to convert recorded conversations from wav to mp3. I'm using ffmpeg for this purpose and i'm aiming to do this wthin Javascript. 

Yet, I'm encountering a  problem. The conversion fails with the error message copied below. I must note that the same command works perfectly when executed from the command line.

Any idea?


============ERROR MESSAGE==============
2008-08-12 15:29:03 [NOTICE] mod_dptools.c:1169 system_session_function() Failed to execute command: ffmpeg -i /usr/local/freeswitch/recordings/test.wav  -ab 32kb /usr/local/freeswitch/recordings/test.mp3
2008-08-12 15:29:03 [NOTICE] switch_core_session.c:807 switch_core_session_thread() Session 16 (sofia/external/4165465381 at Ended
2008-08-12 15:29:03 [NOTICE] switch_core_session.c:809 switch_core_session_thread() Close Channel sofia/external/4165465381 at [CS_HANGUP]
==============ERROR MESSAGE==========
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03

More information about the FreeSWITCH-users mailing list