[asterisk-users] Convert wav-file to alaw-file

Sean Bright sean.bright at gmail.com
Tue Aug 17 08:15:02 CDT 2010


  On 8/17/2010 9:00 AM, Jonas Kellens wrote:
> Hello list,
>
> it seems that Asterisk is unable to convert a wav-file into an alaw-file :
>
> [root at asterisk testing]# asterisk -rx "file convert testExtended2.wav 
> testExtended2.alaw"
> Unable to open input file: testExtended2.wav
> [root at asterisk testing]# asterisk -rx "file convert testLong2.wav 
> testLong2.alaw"
> Unable to open input file: testLong2.wav

Try using an absolute path to the files:

     asterisk -rx "file convert /path/to/testExtended2.wav 
/path/to/textExtended2.alaw"

Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100817/eb1ea428/attachment.htm 


More information about the asterisk-users mailing list