Hi everyone,<div><br></div><div>I'm having an odd issue. I've been doing some testing over the past couple weeks on some Asterisk modules / utilities, but have bumped into a problem which I can't seem to resolve.</div>
<div><br></div><div>Asterisk can't seem to play the default sound files (ULAW) in my environment. All necessary debugging information is included below. I'd love to get anyone else's thoughts on this, what I may be doing wrong, or how to resolve the issue. Thanks so much!</div>
<div><br></div><div>Asterisk Version: Asterisk 1.6.1.11</div><div>OS: ubuntu-sever 10.04, 64-bit</div><div>Kernel: 2.6.32-24-server #39-Ubuntu</div><div><br></div><div>Asterisk is running as `root` in the group `root`:</div>
<div><br></div><div><div>root@TX-LU-DEV:~# ps aux | grep asterisk</div><div>root 9671 0.0 0.1 250640 7420 ? Ssl 18:48 0:00 /usr/sbin/asterisk -U root -G root</div></div><div><br></div><div>Asterisk dialplan code used for testing (relevant snippet shown):</div>
<div><br></div><div><div>[tests]</div><div><br></div><div>exten => s,1,NoOp(***performing tests***)</div><div><br></div><div>exten => s,n,NoOp(language is: ${CHANNEL(language)})</div><div>exten => s,n,Playback(hello-world)</div>
<div>exten => s,n,Playback(tt-monkeys)</div><div>exten => s,n,Playback(jedi-extension-trick)</div><div><br></div><div>exten => s,n,NoOp(***ending tests***)</div><div>exten => s,n,Return()</div></div><div><br></div>
<div>Asterisk log (while running live):</div><div><br></div><div><div> -- Executing [s@tests:1] NoOp("SIP/TX-LU-CG-01-00000000", "***performing tests***") in new stack</div><div> -- Executing [s@tests:2] NoOp("SIP/TX-LU-CG-01-00000000", "language is: en") in new stack</div>
<div> -- Executing [s@tests:3] Playback("SIP/TX-LU-CG-01-00000000", "hello-world") in new stack</div><div>[2010-08-24 18:54:10] WARNING[9761]: file.c:650 ast_openstream_full: File hello-world does not exist in any format</div>
<div>[2010-08-24 18:54:10] WARNING[9761]: file.c:953 ast_streamfile: Unable to open hello-world (format 0x4 (ulaw)): No such file or directory</div><div>[2010-08-24 18:54:10] WARNING[9761]: app_playback.c:448 playback_exec: ast_streamfile failed on SIP/TX-LU-CG-01-00000000 for hello-world</div>
<div> -- Executing [s@tests:4] Playback("SIP/TX-LU-CG-01-00000000", "tt-monkeys") in new stack</div><div>[2010-08-24 18:54:10] WARNING[9761]: file.c:650 ast_openstream_full: File tt-monkeys does not exist in any format</div>
<div>[2010-08-24 18:54:10] WARNING[9761]: file.c:953 ast_streamfile: Unable to open tt-monkeys (format 0x4 (ulaw)): No such file or directory</div><div>[2010-08-24 18:54:10] WARNING[9761]: app_playback.c:448 playback_exec: ast_streamfile failed on SIP/TX-LU-CG-01-00000000 for tt-monkeys</div>
<div> -- Executing [s@tests:5] Playback("SIP/TX-LU-CG-01-00000000", "jedi-extension-trick") in new stack</div><div>[2010-08-24 18:54:10] WARNING[9761]: file.c:650 ast_openstream_full: File jedi-extension-trick does not exist in any format</div>
<div>[2010-08-24 18:54:10] WARNING[9761]: file.c:953 ast_streamfile: Unable to open jedi-extension-trick (format 0x4 (ulaw)): No such file or directory</div><div>[2010-08-24 18:54:10] WARNING[9761]: app_playback.c:448 playback_exec: ast_streamfile failed on SIP/TX-LU-CG-01-00000000 for jedi-extension-trick</div>
<div> -- Executing [s@tests:6] NoOp("SIP/TX-LU-CG-01-00000000", "***ending tests***") in new stack</div><div> -- Executing [s@tests:7] Return("SIP/TX-LU-CG-01-00000000", "") in new stack</div>
</div><div><br></div><div>Here are my relevant sip.conf settings:</div><div><br></div><div>language=en</div><div><div>disallow=all</div><div>allow=ulaw</div></div><div><br></div><div>Here's a quick listing of the sound files on my system (only relevant ones shown):</div>
<div><br></div><div><div>root@TX-LU-DEV:~# ls -la /var/lib/asterisk/sounds/en/hello-world.ulaw </div><div>-rw-r--r-- 1 root root 12021 2010-08-19 19:23 /var/lib/asterisk/sounds/en/hello-world.ulaw</div></div><div><div>root@TX-LU-DEV:~# ls -la /var/lib/asterisk/sounds/en/tt-monkeys.ulaw </div>
<div>-rw-r--r-- 1 root root 129440 2010-08-19 19:23 /var/lib/asterisk/sounds/en/tt-monkeys.ulaw</div><div><div>root@TX-LU-DEV:~# ls -la /var/lib/asterisk/sounds/en/jedi-extension-trick.ulaw </div><div>-rw-r--r-- 1 root root 30400 2010-08-19 19:23 /var/lib/asterisk/sounds/en/jedi-extension-trick.ulaw</div>
</div><div><br></div><div>Here is my modules.conf file (I use autoload=no to prune out certain stuff). Also, note that I have codec_ulaw.so loaded, which is, I think, the only thing required in order to play ulaw files.</div>
<div><br></div><div>modules.conf: <a href="http://pastie.org/1113611">http://pastie.org/1113611</a></div><div><br></div><div>That's all the debugging information I have, if you need anything else please let me know. I get the feeling that this is related to me not loading a required module somewhere in modules.conf, but the modules that I've listed there don't seem to contain any other ULAW-type modules that would be required to play ULAW files.</div>
<div><br></div><div>Thanks for any help!</div><div><br></div><div>-Randall</div><div><br></div><div>-- </div>Randall Degges<div><i><a href="http://rdegges.com/" target="_blank">http://rdegges.com/</a></i></div><br>
</div>