I tried what you suggested and this is the console output: [Feb 12 03:18:41] WARNING[2774]: file.c:650 ast_openstream_full: File /var/lib/asterisk/sounds/home/abejide/Desktop/a does not exist in any format[Feb 12 03:18:41] WARNING[2774]: file.c:956 ast_streamfile: Unable to open /var/lib/asterisk/sounds/home/abejide/Desktop/a (format 0x2 (gsm)): No such file or directory[Feb 12 03:18:41] WARNING[2774]: app_playback.c:471 playback_exec: ast_streamfile failed on SIP/1002-00000004 for /var/lib/asterisk/sounds/home/abejide/Desktop/a
Best Regards, ABEJIDE, Ayodele A. (CCNA) +2348039269311 "Before long, paying for a phone call will be as alien as paying for email" > Date: Fri, 11 Feb 2011 18:12:19 -0800 > From: [email protected] > To: [email protected] > Subject: Re: [asterisk-users] On-Hold Music > > On Sat, 12 Feb 2011, ayodele abejide wrote: > > > I am having problems playing files with the playback command, also with > > the Dial (A()) option this is the output from console: > > > > This is the dialplan: > > > > exten => 1003,n,Playback(home/abejide/Desktop/a.wav) > > Don't specify the file type. Asterisk will try to find a file encoded and > formatted to match the encoding of the channel. Failing a match, Asterisk > will try to find a file it can transcode to match the encoding of the > channel. > > Since you specified a relative path ('does not start with a slash'), > Asterisk will prefix (by default) '/var/lib/asterisk/sounds/' to your > path yielding: > > /var/lib/asterisk/sounds/home/abejide/Desktop/a.* > > is this what you want? > > -- > Thanks in advance, > ------------------------------------------------------------------------- > Steve Edwards [email protected] Voice: +1-760-468-3867 PST > Newline Fax: +1-760-731-3000 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
