On Wed, Sep 14, 2011 at 7:04 AM, Steve Edwards
<asterisk....@sedwards.com> wrote:
> On Wed, 14 Sep 2011, Kaushal Shriyan wrote:
>
>> I have carried out the below steps
>>
>> [root@host0040 test]# sox -V obd-demo.wav -r 8000 -b -t ul -c 1
>> obd-demo.alaw
>
>> sox: Output file obd-demo.alaw: using sample rate 8000
>>        size bytes, encoding u-law, 1 channel
>
> Sox v14.x complains about the '-b.'
>
> You are encoding as u-law, but naming the file alaw. Since [a|u]law are
> 'headerless' file formats, this will probably confuse Asterisk.
>
>> -rwxr-xr-x 1 root root  741459 Sep 14 06:32 obd-demo.mp3
>> -rw-r--r-- 1 root root 2041482 Sep 14 06:32 obd-demo.wav
>> -rw-r--r-- 1 root root  185165 Sep 14 06:32 obd-demo.alaw
>>
>> Am i doing it correctly ? Please comment
>
> I've never used alaw (I'm in the US).
>
> I don't think an MP3 needs 'execute' permissions :)
>
> --
> Thanks in advance,
> -------------------------------------------------------------------------
> Steve Edwards       sedwa...@sedwards.com      Voice: +1-760-468-3867 PST
> Newline                                              Fax: +1-760-731-3000

Hi Steve,

Please let me know the correct procedure to get .alaw file format
since I belong to India region.

Regards

Kaushal

--
_____________________________________________________________________
-- 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