Hi Steve ,<br><br>Thanks for the info . I will gothrough the resources and do the required testing.<br><br><br>Regrads<br>Upendra.<br><br><div class="gmail_quote">On Sat, Sep 8, 2012 at 10:58 PM, Steve Edwards <span dir="ltr">&lt;<a href="mailto:asterisk.org@sedwards.com" target="_blank">asterisk.org@sedwards.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, 8 Sep 2012, upendra wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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???<br>

</blockquote>
<br></div>
A command similar to:<br>
<br>
        sox\<br>
                &quot;${INPUT}&quot;\<br>
                --bits 16\<br>
                --channels 1\<br>
                --encoding signed-integer\<br>
                --rate 8k\<br>
                &quot;${OUTPUT}&quot;<br>
<br>
will convert the file to a format Asterisk will be happy with.<br>
<br>
When you specify a file to be played, for example, using &#39;playback()&#39;, you specify the file&#39;s path. If you don&#39;t specify an absolute path, the path is relative to the directory set in asterisk.conf.<br>
<br>
One last &#39;oops&#39; I still do is forgetting that Asterisk likes to choose the &#39;file type&#39; (even if you only have .wav) so don&#39;t specify it.<br>
<br>
So, for example, if you had a file named &#39;my-first-wave-file.wav&#39; in a sub-directory of Asterisk&#39;s &#39;sounds&#39; directory named &#39;upendra&#39; you could play the file with either:<br>
<br>
        playback(upendra/my-first-<u></u>wave-file)<br>
        playback(/var/lib/asterisk/<u></u>sounds/upendra/my-first-wave-<u></u>file)<br>
<br>
<a href="http://www.voip-info.org" target="_blank">www.voip-info.org</a> is an excellent (if somewhat dated) resource for Asterisk questions. I&#39;m sure <a href="http://asterisk.org" target="_blank">asterisk.org</a> and ATFOT.pdf are also excellent resources. I started with <a href="http://voip-info.org" target="_blank">voip-info.org</a>, so it&#39;s my &#39;go to&#39; resource.<br>

<br>
-- <br>
Thanks in advance,<br>
------------------------------<u></u>------------------------------<u></u>-------------<br>
Steve Edwards       <a href="mailto:sedwards@sedwards.com" target="_blank">sedwards@sedwards.com</a>      Voice: +1-760-468-3867 PST<br>
Newline                                              Fax: +1-760-731-3000<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
              <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div><br>