<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It sounds like a ring tone, if thats the case, you should probably work off the specs for that tone instead of the recording which might have other artifacts in it. &nbsp;What exactly is the full scenario where you need to detect an inband ringback tone?<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 5, 2015, at 3:51 PM, Naveen Tamanam &lt;<a href="mailto:naveen32india@gmail.com" class="">naveen32india@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">​<br class=""></div><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">Hi Nandy, <br class=""><br class=""></div><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">I am glad to see your reply. I am trying to detect the tone which sounds like a simple ring. <br class=""></div><div class="gmail_default" style="font-size:small;color:rgb(11,83,148);display:inline">and I can't guess when that could occur, so I listen for the tone through out the call. I am attaching the tone.&nbsp;</div><div class=""><div class="gmail_default" style="font-size:small;color:rgb(11,83,148)"><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Jun 4, 2015 at 10:39 AM, Nandy Dagondon <span dir="ltr" class="">&lt;<a href="mailto:nandy1925@gmail.com" target="_blank" class="">nandy1925@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><br class=""><div class="gmail_extra"><div class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Hi,</div></div><div class=""><br class=""></div><div class="">What are you trying to do with tone_detect? Is it call progress? Fax detect?</div><div class=""><br class=""></div><div class="">/Nandy</div></div></div></div>
<br class=""><div class="gmail_quote"><div class=""><div class="h5">On Tue, May 19, 2015 at 4:55 AM, Naveen Tamanam <span dir="ltr" class="">&lt;<a href="mailto:naveen32india@gmail.com" target="_blank" class="">naveen32india@gmail.com</a>&gt;</span> wrote:<br class=""></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5"><div dir="ltr" class=""><div style="font-size:small;color:rgb(11,83,148)" class="">Hi, <br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">I am using following command for tone detection, <br class=""><br class=""><span style="font-family: sans-serif; font-size: 12.8px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19.2px; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; float: none; background-color: rgb(255, 255, 255); display: inline !important;" class="">tone_detect &lt;uuid&gt; &lt;key&gt; &lt;tone_spec&gt; [&lt;flags&gt; &lt;timeout&gt; &lt;app&gt; &lt;args&gt;] &lt;hits&gt;</span><br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Many times I end with the false detection. In my case&nbsp; I haven't given all optional args. <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">I just gave&nbsp;&nbsp; tone_detect uuid&nbsp; key tone_specs. It would be something like, <br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">tone_detect&nbsp; 8582g3b8-f7db-10e4-2ac4-c01885c1ffd3&nbsp; tone_name frp1,frp2,frp3 <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">&nbsp;<br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Where frp1, frp2 and frp3 are the frequencies of&nbsp; few peak amplitudes of the tone. <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Those frequencies are detected through audacity by plotting spectrum,&nbsp; <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Spectrum specs are, <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">&nbsp;&nbsp;&nbsp; Alogorithm: Spectrum, <br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">&nbsp;&nbsp;&nbsp; Fuction: Hanning window&nbsp; or Bartlett window<br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">&nbsp;&nbsp;&nbsp; Size: 512<br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">&nbsp;&nbsp;&nbsp; Axis: Log Frequencies <br class=""><br class=""></div><div style="font-size:small;color:rgb(11,83,148)" class="">Is there anything I am missing. Any suggestions are highly appreciated, Thanks.<span class=""><font color="#888888" class=""><br class=""></font></span></div><span class=""><font color="#888888" class=""><div style="font-size:small;color:rgb(11,83,148)" class=""><br class=""></div></font></span></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></div></blockquote></div><br class=""></div></body></html>