DTMF filter Duration

How do I implement a filter to ignore DTMF signals below 80 ms

in / main / channel.co defines AST_MIN_DTMF_DURATION do it?