[asterisk-users] Unable to open sound file error

Landy Landy landysaccount at yahoo.com
Wed Nov 25 18:45:07 CST 2009


Hello.

I have a question regarind sound files in asterisk 1.6. I have a sound package in ulaw format and I would like to know if I have a sip extension with allow=alaw would asterisk convert that file to the codec the user is allowed to?

I am having a problem playing a file that exist in /var/lib/asterisk/sounds/es/good.ulaw

but asterisk is telling me it doesn't. Here's what I get when I try to dial the extension for test:

[Nov 25 20:44:41] WARNING[4334]: file.c:650 ast_openstream_full: File  good  does not exist in any format
[Nov 25 20:44:41] WARNING[4334]: file.c:933 ast_streamfile: Unable to open  good  (format 0x8 (alaw)): No such file or directory
[Nov 25 20:44:41] WARNING[4334]: pbx.c:8251 pbx_builtin_background: ast_streamfile failed on SIP/102-09b52260 for  good
    -- Executing [80 at default:12] BackGround("SIP/102-09b52260", " evening ") in new stack
[Nov 25 20:44:41] WARNING[4334]: file.c:650 ast_openstream_full: File  evening  does not exist in any format
[Nov 25 20:44:41] WARNING[4334]: file.c:933 ast_streamfile: Unable to open  evening  (format 0x8 (alaw)): No such file or directory
[Nov 25 20:44:41] WARNING[4334]: pbx.c:8251 pbx_builtin_background: ast_streamfile failed on SIP/102-09b52260 for  evening
    -- Executing [80 at default:13] Hangup("SIP/102-09b52260", "") in new stack


Any suggestions?

Thanks in advanced for your help.


      



More information about the asterisk-users mailing list