[asterisk-dev] Detecting DMTF tone prolonged key press

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Mon Jan 1 08:13:28 MST 2007


On Sunday 31 December 2006 21:21, Atoy Olano wrote:
> Is it possible to detect a DTMF tone prolonged key press?
>
> Here's the scenario, I am planning to use SIP phone to connect asterisk
> local extension number where it will connect me to my agiserver. My
> agiserver(written in java) as of now can detect and prints dtmf tones but
> not the dtmf done by prolonged key pressed.
>
> Does anyone of you have the idea if this is possible to be detected or how
> can this be done?

As of 1.4, if you use RFC2833-generated DTMF, then it is possible.  It would
also be possible in any version with inband DTMF (which requires ulaw or
alaw).  All other cases, it is only possible to know that the event occurred,
not how long the event lasted.

-- 
Tilghman


More information about the asterisk-dev mailing list