<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<div>I tried what you suggested and this is the console output:</div><div><br></div><div>[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</div><div>[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</div><div>[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</div><div><br></div><br>Best Regards,<br><br><br>ABEJIDE, Ayodele A. (CCNA)<br>+2348039269311<br><br>"Before long, paying for a phone call will be as alien as paying for email"<br><br><br><br><br>> Date: Fri, 11 Feb 2011 18:12:19 -0800<br>> From: asterisk.org@sedwards.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] On-Hold Music<br>> <br>> On Sat, 12 Feb 2011, ayodele abejide wrote:<br>> <br>> > I am having problems playing files with the playback command, also with <br>> > the Dial (A()) option this is the output from console:<br>> > <br>> > This is the dialplan:<br>> > <br>> > exten => 1003,n,Playback(home/abejide/Desktop/a.wav)<br>> <br>> Don't specify the file type. Asterisk will try to find a file encoded and <br>> formatted to match the encoding of the channel. Failing a match, Asterisk <br>> will try to find a file it can transcode to match the encoding of the <br>> channel.<br>> <br>> Since you specified a relative path ('does not start with a slash'), <br>> Asterisk will prefix (by default) '/var/lib/asterisk/sounds/' to your <br>> path yielding:<br>> <br>>         /var/lib/asterisk/sounds/home/abejide/Desktop/a.*<br>> <br>> is this what you want?<br>> <br>> -- <br>> Thanks in advance,<br>> -------------------------------------------------------------------------<br>> Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST<br>> Newline Fax: +1-760-731-3000<br>> <br>> --<br>> _____________________________________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>> http://www.asterisk.org/hello<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br>                                            </body>
</html>