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@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@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@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.