[Asterisk-Users] recording files for menues

Shoval Tom shoval at softov.co.il
Sun Nov 2 06:21:48 MST 2003


Either it's not working, or I don't know what I'm doing. It's giving me the
error "sox: effect '.gsm' is no known!

Let's say I need to convert file 1.wav to 1.gsm.
How do I apply this command to it?


-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Michiel Betel
Sent: Sunday, November 02, 2003 5:06 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] recording files for menues

Shoval Tomer wrote:

> How do you suggest doing that?
>
> How can I convert wav files to gsm files?
>
>  
>
> thanks
>
#!/bin/sh
for i in *.wav; do sox $i -r 8000 `basename $i *.wav`.gsm resample -ql; done

>  
>


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list