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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to