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       sedwa...@sedwards.com      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

Reply via email to