[asterisk-users] On-Hold Music

Steve Edwards asterisk.org at sedwards.com
Fri Feb 11 20:53:57 CST 2011


Un-top-posting, but continuing to abuse the hijacked thread...

> > 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)

On Fri, 11 Feb 2011, Steve Edwards wrote:

> > Don't specify the file type.

On Sat, 12 Feb 2011, ayodele abejide wrote:

> 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

Does the following shell snippet yield any clues?

 	for F in /var/lib/asterisk/sounds/home/abejide/Desktop/a*
 	do
 	file $F
 	done

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list