Key Aavoja
2004-Feb-19 04:38 UTC
[Asterisk-Users] IVR (does not exist in any format)(No such file or directory)
Hello,
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@cisco)
exten => 2,1,Dial(SIP/test2@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.
Any hints?
____________________________
Best Regards:
Key Aavoja
/* Never argue with an idiot. They drag you down to their level, then beat
you with experience.*/
Florian Overkamp
2004-Feb-19 04:55 UTC
[Asterisk-Users] IVR (does not exist in any format)(No such file or directory)
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@cisco) > exten => 2,1,Dial(SIP/test2@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
Wes Marderness
2004-Feb-19 07:22 UTC
[Asterisk-Users] IVR (does not exist in any format)(No such file or directory)
I've always converted to gsm and copied to /var/lib/asterisk/sounds/. In
RH7.3 command to convert is: sox infile.wav -r 8000 -c 1 outfile.gsm :
Never had any luck with waves.
Wes
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com]On Behalf Of Key Aavoja
Sent: Thursday, February 19, 2004 6:38 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] IVR (does not exist in any format)(No such
file or directory)
Hello,
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@cisco)
exten => 2,1,Dial(SIP/test2@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.
Any hints?
____________________________
Best Regards:
Key Aavoja
/* Never argue with an idiot. They drag you down to their level, then beat
you with experience.*/
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users