[Patch] In-band DTMF tone end detection bug

TJ
Thomas Janu
Sun, Feb 19, 2017 2:26 PM

Hi list,

we encountered a problem with certain cisco SIP gateways when those do
in-band DTMF transmission.
Since a couple of those always use the same event length and PJSIP only
checks whether or not there is a different digit or the event length
changed, multiple presses of the same key do get through as one, for
example a user presses "2 2 5 5 3" and pjsip only reports " 2 5 3" to the
application.

The attached patch fixes things for us (and should be conforming to the
RFC).

Please let me know whether or not this will be applied or fixed another
way.

Regards,
Thomas Janu

Hi list, we encountered a problem with certain cisco SIP gateways when those do in-band DTMF transmission. Since a couple of those always use the same event length and PJSIP only checks whether or not there is a different digit or the event length changed, multiple presses of the same key do get through as one, for example a user presses "2 2 5 5 3" and pjsip only reports " 2 5 3" to the application. The attached patch fixes things for us (and should be conforming to the RFC). Please let me know whether or not this will be applied or fixed another way. Regards, Thomas Janu