[asterisk-users] how to load our own .wav sound files in the dial plans for playback
uppi.me at gmail.com
Sun Sep 9 23:33:04 CDT 2012
Hi Steve ,
Thanks for the info . I will gothrough the resources and do the required
On Sat, Sep 8, 2012 at 10:58 PM, Steve Edwards <asterisk.org at sedwards.com>wrote:
> On Sat, 8 Sep 2012, upendra wrote:
> i am trying to add my own sound file in the asterisk dial plan extension
>> for playback option , i dont no where to put the file and how to give the
>> path in extension file and all so is need that the sound file should be
>> convert in asterisk as .wav file???
> A command similar to:
> --bits 16\
> --channels 1\
> --encoding signed-integer\
> --rate 8k\
> will convert the file to a format Asterisk will be happy with.
> When you specify a file to be played, for example, using 'playback()', you
> specify the file's path. If you don't specify an absolute path, the path is
> relative to the directory set in asterisk.conf.
> One last 'oops' I still do is forgetting that Asterisk likes to choose the
> 'file type' (even if you only have .wav) so don't specify it.
> So, for example, if you had a file named 'my-first-wave-file.wav' in a
> sub-directory of Asterisk's 'sounds' directory named 'upendra' you could
> play the file with either:
> www.voip-info.org is an excellent (if somewhat dated) resource for
> Asterisk questions. I'm sure asterisk.org and ATFOT.pdf are also
> excellent resources. I started with voip-info.org, so it's my 'go to'
> Thanks in advance,
> Steve Edwards sedwards at 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:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users