[asterisk-dev] DTMF adventures - DAHDI?

Richard Mudgett rmudgett at digium.com
Wed Feb 2 13:09:51 CST 2011


----- Original Message -----
> 2 feb 2011 kl. 19.05 skrev Richard Mudgett:
> 
> > ----- Original Message -----
> >> In my DTMF duration adventures, I tried looking into DAHDI. Seems
> >> like
> >> DAHDI totally ignores the duration of DTMF.
> >> Is this really true or did I miss something?
> >>
> >> The function dahdi_digit_end for PRI just does nothing and for
> >> other
> >> channel types doesn't seem to bother with duration.
> >>
> > PRI stores the digits to pass in out of band INFORMATION messages
> > during overlap dialing. Once overlap dialing is complete, PRI falls
> > back to the same as analog to generate DTMF tones. The regenerated
> > DTMF tones do not bother with duration that I am aware.
> 
> Thanks for the reply.
> 
> ANy ideas on what happens on inbound, do we have any duration in ISDN
> or plain analogue?
> 
Inbound DTMF is processed in dahdi_read() and dahdi_exception().  I do not see any duration calculation for the code in dahdi_exception().  Pulse dialing may be a historical reason there seem to be no duration calculations.

Richard



More information about the asterisk-dev mailing list