I am running the latest asterisk CVS.

[EMAIL PROTECTED] /etc/asterisk # locate demo-thanks
/var/lib/asterisk/sounds/demo-thanks.gsm

This directory has 150+ files.

I changed the [demo] section in extensions to [incoming] to play with this included definition:

[incoming]
;
; We start with what to do when a call first comes in.
;
exten => s,1,Wait,1                     ; Wait a second, just for fun
exten => s,2,Answer                     ; Answer the line
exten => s,3,DigitTimeout,5             ; Set Digit Timeout to 5 seconds
exten => s,4,ResponseTimeout,10         ; Set Response Timeout to 10 seconds
exten => s,5,BackGround(demo-congrats)  ; Play a congratulatory message
exten => s,6,BackGround(demo-instruct)  ; Play some instructions

exten => 2,1,BackGround(demo-moreinfo)  ; Give some more information.
exten => 2,2,Goto(s,6)

When someone calls, I get this error:

-- Executing Wait("SIP/147.135.8.129-08146c60", "1") in new stack
-- Executing Answer("SIP/147.135.8.129-08146c60", "") in new stack
-- Executing DigitTimeout("SIP/147.135.8.129-08146c60", "5") in new stack
-- Set Digit Timeout to 5
-- Executing ResponseTimeout("SIP/147.135.8.129-08146c60", "10") in new stack
-- Set Response Timeout to 10
-- Executing BackGround("SIP/147.135.8.129-08146c60", "demo-congrats") in new stack
Oct 10 21:48:38 WARNING[196619]: file.c:475 ast_openstream: File demo-congrats does not exist in any format
Oct 10 21:48:38 WARNING[196619]: file.c:779 ast_streamfile: Unable to open demo-congrats (format ULAW): No such file or directory
Oct 10 21:48:38 WARNING[196619]: pbx.c:4672 pbx_builtin_background: ast_streamfile failed on SIP/147.135.8.129-08146c60 fro demo-congrats


Why can it not find the files?
_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to