<div dir="ltr"><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div>Hi Naveen,</div><div><br></div><div>The reason why I used tone_detect in spandsp is - cadence detection, too, aside from frequencies. I detect the tones twice or even trice to prevent false triggering. If you know the tone specs, use it.</div><div><br></div><div>/Nandy<br><br></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Wed, Jun 10, 2015 at 4:12 AM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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. What exactly is the full scenario where you need to detect an inband ringback tone?<span class=""><div><br><div><blockquote type="cite"><div>On Jun 5, 2015, at 3:51 PM, Naveen Tamanam <<a href="mailto:naveen32india@gmail.com" target="_blank">naveen32india@gmail.com</a>> wrote:</div><br><div><div dir="ltr"><div style="font-size:small;color:rgb(11,83,148);display:inline"><br></div><div style="font-size:small;color:rgb(11,83,148);display:inline">Hi Nandy, <br><br></div><div 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></div><div 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. </div><div><div style="font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 10:39 AM, Nandy Dagondon <span dir="ltr"><<a href="mailto:nandy1925@gmail.com" target="_blank">nandy1925@gmail.com</a>></span> wrote:<br><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"><br><div class="gmail_extra"><div><div><div dir="ltr"><div><div>Hi,</div></div><div><br></div><div>What are you trying to do with tone_detect? Is it call progress? Fax detect?</div><div><br></div><div>/Nandy</div></div></div></div>
<br><div class="gmail_quote"><div><div>On Tue, May 19, 2015 at 4:55 AM, Naveen Tamanam <span dir="ltr"><<a href="mailto:naveen32india@gmail.com" target="_blank">naveen32india@gmail.com</a>></span> wrote:<br></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><div><div dir="ltr"><div style="font-size:small;color:rgb(11,83,148)">Hi, <br><br></div><div style="font-size:small;color:rgb(11,83,148)">I am using following command for tone detection, <br><br><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">tone_detect <uuid> <key> <tone_spec> [<flags> <timeout> <app> <args>] <hits></span><br><br></div><div style="font-size:small;color:rgb(11,83,148)">Many times I end with the false detection. In my case I haven't given all optional args. <br></div><div style="font-size:small;color:rgb(11,83,148)">I just gave tone_detect uuid key tone_specs. It would be something like, <br><br></div><div style="font-size:small;color:rgb(11,83,148)">tone_detect 8582g3b8-f7db-10e4-2ac4-c01885c1ffd3 tone_name frp1,frp2,frp3 <br></div><div style="font-size:small;color:rgb(11,83,148)"> <br></div><div style="font-size:small;color:rgb(11,83,148)">Where frp1, frp2 and frp3 are the frequencies of few peak amplitudes of the tone. <br></div><div style="font-size:small;color:rgb(11,83,148)">Those frequencies are detected through audacity by plotting spectrum, <br></div><div style="font-size:small;color:rgb(11,83,148)">Spectrum specs are, <br></div><div style="font-size:small;color:rgb(11,83,148)"> Alogorithm: Spectrum, <br></div><div style="font-size:small;color:rgb(11,83,148)"> Fuction: Hanning window or Bartlett window<br></div><div style="font-size:small;color:rgb(11,83,148)"> Size: 512<br></div><div style="font-size:small;color:rgb(11,83,148)"> Axis: Log Frequencies <br><br></div><div style="font-size:small;color:rgb(11,83,148)">Is there anything I am missing. Any suggestions are highly appreciated, Thanks.<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div style="font-size:small;color:rgb(11,83,148)"><br></div></font></span></div></div></div></blockquote></div></div></div></blockquote></div></div></div></div></div></blockquote></div><br></div></span></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>