[Freeswitch-users] Tone detection How To

Michael Jerris mike at jerris.com
Wed Jun 10 00:12:53 MSD 2015


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?

> On Jun 5, 2015, at 3:51 PM, Naveen Tamanam <naveen32india at gmail.com> wrote:
> 
>> Hi Nandy, 
> 
> I am glad to see your reply. I am trying to detect the tone which sounds like a simple ring. 
> and I can't guess when that could occur, so I listen for the tone through out the call. I am attaching the tone. 
> 
> 
> On Thu, Jun 4, 2015 at 10:39 AM, Nandy Dagondon <nandy1925 at gmail.com <mailto:nandy1925 at gmail.com>> wrote:
> 
> Hi,
> 
> What are you trying to do with tone_detect? Is it call progress? Fax detect?
> 
> /Nandy
> 
> On Tue, May 19, 2015 at 4:55 AM, Naveen Tamanam <naveen32india at gmail.com <mailto:naveen32india at gmail.com>> wrote:
> Hi, 
> 
> I am using following command for tone detection, 
> 
> tone_detect <uuid> <key> <tone_spec> [<flags> <timeout> <app> <args>] <hits>
> 
> Many times I end with the false detection. In my case  I haven't given all optional args. 
> I just gave   tone_detect uuid  key tone_specs. It would be something like, 
> 
> tone_detect  8582g3b8-f7db-10e4-2ac4-c01885c1ffd3  tone_name frp1,frp2,frp3 
>  
> Where frp1, frp2 and frp3 are the frequencies of  few peak amplitudes of the tone. 
> Those frequencies are detected through audacity by plotting spectrum,  
> Spectrum specs are, 
>     Alogorithm: Spectrum, 
>     Fuction: Hanning window  or Bartlett window
>     Size: 512
>     Axis: Log Frequencies 
> 
> Is there anything I am missing. Any suggestions are highly appreciated, Thanks.
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150609/e69232a2/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list