[asterisk-users] Asterisk 1.6.1 Won't Play Default ULAW Files

Randall Degges rdegges at gmail.com
Tue Aug 24 19:02:54 CDT 2010


Hi everyone,

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.

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!

Asterisk Version: Asterisk 1.6.1.11
OS: ubuntu-sever 10.04, 64-bit
Kernel: 2.6.32-24-server #39-Ubuntu

Asterisk is running as `root` in the group `root`:

root at TX-LU-DEV:~# ps aux | grep asterisk
root      9671  0.0  0.1 250640  7420 ?        Ssl  18:48   0:00
/usr/sbin/asterisk -U root -G root

Asterisk dialplan code used for testing (relevant snippet shown):

[tests]

exten => s,1,NoOp(***performing tests***)

exten => s,n,NoOp(language is: ${CHANNEL(language)})
exten => s,n,Playback(hello-world)
exten => s,n,Playback(tt-monkeys)
exten => s,n,Playback(jedi-extension-trick)

exten => s,n,NoOp(***ending tests***)
exten => s,n,Return()

Asterisk log (while running live):

    -- Executing [s at tests:1] NoOp("SIP/TX-LU-CG-01-00000000", "***performing
tests***") in new stack
    -- Executing [s at tests:2] NoOp("SIP/TX-LU-CG-01-00000000", "language is:
en") in new stack
    -- Executing [s at tests:3] Playback("SIP/TX-LU-CG-01-00000000",
"hello-world") in new stack
[2010-08-24 18:54:10] WARNING[9761]: file.c:650 ast_openstream_full: File
hello-world does not exist in any format
[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
[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
    -- Executing [s at tests:4] Playback("SIP/TX-LU-CG-01-00000000",
"tt-monkeys") in new stack
[2010-08-24 18:54:10] WARNING[9761]: file.c:650 ast_openstream_full: File
tt-monkeys does not exist in any format
[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
[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
    -- Executing [s at tests:5] Playback("SIP/TX-LU-CG-01-00000000",
"jedi-extension-trick") in new stack
[2010-08-24 18:54:10] WARNING[9761]: file.c:650 ast_openstream_full: File
jedi-extension-trick does not exist in any format
[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
[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
    -- Executing [s at tests:6] NoOp("SIP/TX-LU-CG-01-00000000", "***ending
tests***") in new stack
    -- Executing [s at tests:7] Return("SIP/TX-LU-CG-01-00000000", "") in new
stack

Here are my relevant sip.conf settings:

language=en
disallow=all
allow=ulaw

Here's a quick listing of the sound files on my system (only relevant ones
shown):

root at TX-LU-DEV:~# ls -la /var/lib/asterisk/sounds/en/hello-world.ulaw
-rw-r--r-- 1 root root 12021 2010-08-19 19:23
/var/lib/asterisk/sounds/en/hello-world.ulaw
root at TX-LU-DEV:~# ls -la /var/lib/asterisk/sounds/en/tt-monkeys.ulaw
-rw-r--r-- 1 root root 129440 2010-08-19 19:23
/var/lib/asterisk/sounds/en/tt-monkeys.ulaw
root at TX-LU-DEV:~# ls -la
/var/lib/asterisk/sounds/en/jedi-extension-trick.ulaw
-rw-r--r-- 1 root root 30400 2010-08-19 19:23
/var/lib/asterisk/sounds/en/jedi-extension-trick.ulaw

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.

modules.conf: http://pastie.org/1113611

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.

Thanks for any help!

-Randall

-- 
Randall Degges
*http://rdegges.com/*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100824/a54e80ae/attachment.htm 


More information about the asterisk-users mailing list