Generating a tone w/ cadence is a piece of cake. *Detecting* a tone and cadence is a bit trickier. Nothing in FreeTDM (that I'm aware of) can detect both tone *and* cadence, which is why it works great in the US (which uses a combination of tones) as opposed to Mexico (which uses, I think 425Hz for everything).

I'd ask Moises Silva if there's any plans to add the cadence detection.

-MC

On Mon, Apr 18, 2011 at 4:27 PM, Luis F Urrea <lfurrea@gmail.com> wrote:
Yes guru,

The point is that using tone_detect I am not able to specify cadence either. 

I need to be able to detect a tone that plays 450Hz for 330ms and then silence for 330ms.

Strange thing is that on tones.conf generate tones do seem to specify cadence such as US busy

v=-7;(500,500,420,680)

I would interpret 420Hz for .5s and 680Hz for .5s

Is that how it is to be interpreted??


TIA
 

On Mon, Apr 18, 2011 at 4:48 PM, guru singh <grsingh750@gmail.com> wrote:
Hi Luis,

You could try the dialplan application tone_detect to detect the busy
tone and hangup.
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect

guru

On Tue, Apr 19, 2011 at 3:34 AM, Luis F Urrea <lfurrea@gmail.com> wrote:
> Hello,
> According to what I have found in regards the tones used for signaling on
> FreeTDM, it seems that anything set through DAHDI is ignored and specs from
> tones.conf are used instead.
> However I have not been able to properly detect a busy tone to be able to
> set an FXO back on hook once a busy tone is sniffed.
> tones.conf has the following references for busy tones [us]:
> generate-busy => v=-7;%(500,500,480,620)
> detect-busy=> 480,620
> I would like to know if detect-busy takes into account the time frame that
> the frequencies are on (played) or off (not being played) and if there is
> somehow a way to specify this. Is there any default value for time on and
> time off?
> I appreciate your help!
> Regards


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org