just remember that in Background() Playback() and friends, you must specify the file name without extension. Also, all sound should be in the directory specified in asterisk.conf
Regards On 1/14/06, Abhishek <[EMAIL PROTECTED]> wrote: > Hi tom, > Thanks for a very quick reply. But iam sure i am having these file in th > especified location with all th epermissions on it. > ----- Original Message ----- > From: "Tom Vile" <[EMAIL PROTECTED]> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" > <[email protected]> > Sent: Friday, January 13, 2006 6:35 AM > Subject: Re: [Asterisk-Users] Please help > > > look in /etc/asterisk-1.2.0/sounds/ and see if you have sounds in that > directory. > > On 1/14/06, Abhishek <[EMAIL PROTECTED]> wrote: > > I am facing problem in playing a wav or gsm file on asterisk. The error i > > get whenever i tried is > > > > *CLI> -- Executing BackGround("SIP/1235-98f6", > > "/etc/asterisk-1.2.0/sounds/vm-goodbye.gsm") in new stack > > Jan 13 20:08:57 WARNING[6181]: file.c:508 ast_openstream_full: File > > /etc/asterisk-1.2.0/sounds/vm-goodbye.gsm does not exist in any format > > Jan 13 20:08:57 WARNING[6181]: file.c:820 ast_streamfile: Unable to open > > /etc/asterisk-1.2.0/sounds/vm-goodbye.gsm (format ulaw): No such file or > > directory > > Jan 13 20:08:57 WARNING[6181]: pbx.c:5747 pbx_builtin_background: > > ast_streamfile failed on SIP/1235-98f6 for > > /etc/asterisk-1.2.0/sounds/vm-goodbye.gsm > > == Auto fallthrough, channel 'SIP/1235-98f6' status is 'UNKNOWN' > > -- Saved useragent "ZyXEL P2000W VoIP Wi-Fi Phone" for peer 1235 > > > > Can somebody help out > > > > _______________________________________________ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > -- > Tom Vile > Baldwin Technology Solutions, Inc > Consulting - Web Design - VoIP Telephony > www.baldwintechsolutions.com > Phone: 518-631-2855 x205 > Fax: 518-631-2856 > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
