[asterisk-dev] SIP trunk DTMF audio bleeding -- any way to suppress?
Benny Amorsen
benny+usenet at amorsen.dk
Wed Jul 27 03:34:57 CDT 2011
Kirill Katsnelson <kkm at adaptiveai.com> writes:
> We have a problem with DTMF tones bleeding as short tones when
> received from the trunk provider. First, there is a batch of RFC
> whatever the number is DTMF payload messages in RTP stream, and then a
> 30-50 ms burst of the matching audio tone. In other words, the
> provider does not mask out the tone completely, and allows a tail to
> come through. These tones give us some trouble.
>
> There are multiple ways to resolve that, but I am trying to start with
> the simplest approach: the configuration. Is there a setting in
> Asterisk that would allow me to strip these audio tails? I. e. mute
> the channel and drop incoming audio (or replace with a silence) for N
> ms after the last DTMF RTP message received?
Not as far as I know.
> And, if not, would such a feature be of general interest?
It certainly sounds useful. However, it would be difficult to apply to
DTMF in SIP INFO, and it would be tricky to do it with fast-switched
or reinvited RTP.
The additional issue you will hit is that Asterisk is not transparent
for DTMF unless it does fast-switching or reinvites. That is, the length
of the DTMF tone will be changed. You can perhaps use that undocumented
feature to your advantage -- try adding tT to the Dial command for a
test call and see if the problem changes. Obviously tT isn't a good
idea in production unless you actually want to provide that feature.
/Benny
More information about the asterisk-dev
mailing list