[Freeswitch-users] Tone detection How To

Nandy Dagondon nandy1925 at gmail.com
Wed Jun 10 03:03:10 MSD 2015


Hi Naveen,

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.

/Nandy


On Wed, Jun 10, 2015 at 4:12 AM, Michael Jerris <mike at jerris.com> wrote:

> 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>
> 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>
>> 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.
>>>
>>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150610/b3090f96/attachment.html 


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