[asterisk-users] realtime sip peers : musiconhold class
Jonas Kellens
jonas.kellens at telenet.be
Thu Aug 19 02:30:42 CDT 2010
Converting with sox works well as followed :
sox -V intro.wav -c 1 -r 8000 intro2.wav
To convert with asterisk convert, I needed to use an absolute path :
asterisk -rx "file convert /var/lib/asterisk/moh/folder/intro.wav
/var/lib/asterisk/folder/intro.alaw"
All works well.
Jonas.
On 08/19/2010 02:31 AM, Nasir Iqbal wrote:
> Hi
>
> to convert wav file use following
>
> sox 'orgFile' -w -r 8000 -c 1 -s 'fixedFile'
>
> while replace orgFile and fixedFile with actual filenames
>
>
> If still now luck try with mp3
>
> Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100819/373f45c3/attachment.htm
More information about the asterisk-users
mailing list