[Asterisk-Users] IVR (does not exist in any format)(No such file or directory)

Florian Overkamp florian at obsimref.com
Thu Feb 19 04:55:15 MST 2004


Hi,

> -----Original Message-----
> I configured one simple IVR
> 
> ###################################
> exten => 15001,1,Goto(ivrmenu,s,1)
> ;IVR
> [ivrmenu]
> exten => s,1,Ringing
> exten => s,2,DigitTimeout,30
> exten => s,3,Background(welcome.wav)
> exten => 1,1,Dial(SIP/test1 at cisco)
> exten => 2,1,Dial(SIP/test2 at cisco)
> ###################################
> 
> But "Background" does not work.
> 
> I got error:
> *CLI> Feb 19 12:57:12 WARNING[245776]: file.c:446 
> ast_openstream: File than welcome.wav does not exist in any 
> format Feb 19 12:57:12 WARNING[245776]: file.c:734 
> ast_streamfile: Unable to open welcome.wav (format ALAW): No 
> such file or directory
> 
> I tried "Background(/full/path/where/is/welcome.wav)" also... 
> I dont understand where is the problem.

Remove the extension: if the file is readable:

exten => s,3,Background(welcome)

Will work.

Florian





More information about the asterisk-users mailing list