[asterisk-users] [1.6.2.5] Asterisk can't find MOH file
Gilles
codecomplete at free.fr
Thu Mar 17 09:18:14 CDT 2011
Hello
I thought I had things set OK to have Asterisk play FR files for
prompts and MOH, but for some reason, it still can't find them:
============ ll /var/lib/asterisk/sounds/
drwxr-xr-x 2 asterisk asterisk 4096 2011-01-21 16:18 custom/
drwxr-xr-x 10 root root 61440 2011-03-17 14:21 fr/
Note: fr/ contains core + extra + moh as downloaded from here:
http://downloads.asterisk.org/pub/telephony/sounds/
============ find /var/lib/asterisk/sounds/ -name "manolo_camp-mor*"
/var/lib/asterisk/sounds/fr/manolo_camp-morning_coffee.ulaw
============ extensions.conf
;just in case, but shouldn't be needed
exten => 8888,1,Set(CHANNEL(language)=fr)
exten => 8888,n,Wait(2)
exten => 8888,n,Answer()
exten => 8888,n,Playback(manolo_camp-morning_coffee)
exten => 8888,n,Hangup
============ cat asterisk.conf
...
[options]
nocolor = yes ; Disable console colors
languageprefix = yes ; Use the new sound prefix path syntax
[compat]
pbx_realtime=1.6
res_agi=1.6
app_set=1.6
============ cat /etc/asterisk/chan_dahdi.conf
[channels]
language=fr
signalling = fxs_ks
...
============ cat /etc/asterisk/sip.conf
[general]
language=fr
port = 5060
...
============ CLI>
-- Executing [8888 at internal:1] Set("SIP/xlite-00000002",
"CHANNEL(language)=fr") in new stack
-- Executing [8888 at internal:2] Wait("SIP/xlite-00000002", "2") in new
stack
-- Executing [8888 at internal:3] Answer("SIP/xlite-00000002", "") in new
stack
-- Executing [8888 at internal:4] Playback("SIP/xlite-00000002",
"manolo_camp-morning_coffee") in new stack
[Mar 17 15:10:18] WARNING[1888]: file.c:650 ast_openstream_full: File
manolo_camp-morning_coffee does not exist in any format
[Mar 17 15:10:18] WARNING[1888]: file.c:953 ast_streamfile: Unable to
open manolo_camp-morning_coffee (format 0x4 (ulaw)): No such file or
directory
[Mar 17 15:10:18] WARNING[1888]: app_playback.c:471 playback_exec:
ast_streamfile failed on SIP/xlite-00000002 for
manolo_camp-morning_coffee
-- Executing [8888 at internal:5] Hangup("SIP/xlite-00000002", "") in new
stack
== Spawn extension (internal, 8888, 5) exited non-zero on
'SIP/xlite-00000002'
-- Executing [h at internal:1] NoOp("SIP/xlite-00000002", "Called ended
with ") in new stack
============
Does someone what I missed that would explain the error above?
Thank you.
More information about the asterisk-users
mailing list