1- <i>-bash: obd-demo.ulaw: No such file or directory</i> // try use absolute file path i.e /usr/src/mymp3.mp3 . I guess that&#39;s why its saying no such file or directory.<div>2-  <a href="http://lists.digium.com/pipermail/asterisk-users/2006-March/144689.html">http://lists.digium.com/pipermail/asterisk-users/2006-March/144689.html</a> Go through this thread. </div>
<div>3-  When everything fails from sox - libraries dependencies issues  I use <a href="http://www.nch.com.au/switch/index.html">http://www.nch.com.au/switch/index.html</a> this converter. This can help you for some time for free.<br>
<br><div class="gmail_quote">On Tue, Sep 13, 2011 at 5:12 AM, Kaushal Shriyan <span dir="ltr">&lt;<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
Can someone please comment about the below issue<br>
<br>
[root@host0040 kaushal]# file obd-demo.mp3<br>
obd-demo.mp3: MPEG ADTS, layer III, v1, 256 kBits, 44.1 kHz, Monaural<br>
[root@host0040 kaushal]# sox obd-demo.mp3 -e stat<br>
sox: Failed reading obd-demo.mp3: Do not understand format type: mp3<br>
<br>
[root@host0040 kaushal]# sox -V obd-demo.mp3 -r 8000 -c 1 -t ul -w vm-intro.ulaw<br>
sox: Failed reading obd-demo.mp3: Do not understand format type: mp3<br>
<br>
[root@host0040 kaushal]# sox -v 0.125 -V &lt;obd-demo.mp3&gt; -t au -r 8000<br>
-U -b -c 1 &lt;obd-demo.ulaw&gt; resample -ql<br>
-bash: obd-demo.ulaw: No such file or directory<br>
[root@host0040 kaushal]# sox -V obd-demo.mp3 -t au -r 8000 -U -b -c 1<br>
obd-demo.ulaw resample -ql<br>
sox: Failed reading obd-demo.mp3: Do not understand foReply<br>
rmat type: mp3<br>
<br>
[root@host0040 kaushal]#<br>
<br>
When i invoke the same obd-demo.mp3 it works perfectly fine<br>
<br>
host0040*CLI&gt; channel originate DAHDI/g0/xxxxxxxxxx Application<br>
MP3Player /home/kaushal/obd-demo.mp3<br>
[Sep  9 16:44:56] DEBUG[12691]: sig_pri.c:985 sig_pri_request: sig_pri_request 1<br>
[Sep  9 16:44:56] DEBUG[12691]: sig_pri.c:6427 sig_pri_call: CALLER NAME:  NUM:<br>
  -- Requested transfer capability: 0x00 - SPEECH<br>
  -- Launching MP3Player(/home/kaushal/obd-demo.mp3) on DAHDI/i1/9833754756-1<br>
<br>
[root@host0040 ~]# rpm -qa | grep sox<br>
sox-12.18.1-1.el5_5.1<br>
[root@host0040 ~]# rpm -qa | grep lame<br>
lame-3.98.4-1.el5.rf<br>
lame-devel-3.98.4-1.el5.rf<br>
[root@host0040 ~]#<br>
<br>
<br>
MP3 support in  SoX  is  optional<br>
                and requires access to either or both the external<br>
libmad and libmp3lame libraries.  To see if there is support for Mp3<br>
run sox -h and<br>
                look for it under the list of supported file formats as &quot;mp3&quot;.<br>
<br>
[root@host0040 ~]# sox -h<br>
sox: Version 12.18.1<br>
<br>
Usage: [ gopts ] [ fopts ] ifile [ fopts ] ofile [ effect [ effopts ] ]<br>
<br>
gopts: -e -h -p -q -S -V<br>
<br>
fopts: -r rate -c channels -s/-u/-U/-A/-a/-i/-g/-f -b/-w/-l/-d -v volume -x<br>
<br>
effect: avg band bandpass bandreject chorus compand copy dcshift<br>
deemph earwax echo echos fade filter flanger highp highpass lowp<br>
lowpass mask mcompand noiseprof noisered pan phaser pick pitch<br>
polyphase rate repeat resample reverb reverse silence speed stat<br>
stretch swap synth trim vibro vol<br>
<br>
effopts: depends on effect<br>
<br>
Supported file formats: aiff al alsa au auto avr cdr cvs dat vms gsm<br>
hcom la lu maud nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw<br>
ub ul uw voc vorbis vox wav wve<br>
<br>
Which package contains libmad and libmp3lame libraries available on CentOS 5.6<br>
<br>
Regards,<br>
<br>
Kaushal<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div>