Bummer. I'm not aware of any way to ignore those. Anyone else have ideas?
The problem with ignoring DTMF in RTP is that it will delay audio, always. Let's say you want to delete all DTMF shorter than 1200 ms.
We receive a DTMF begin packet, then will have to wait to 1220 ms to see if the DTMF CONTINUE packets continue or if we actually get a DTMF END packet arriving in time. If it does, we'll delete the DTMF - but that
will produce a gap in the audio we will have to fill. If it is longer than 1200 ms we will start playing it out on the other side of the call bridge.
You seriously do not want to delay audio 1200 ms. Not even 100 ms.
There no simple solution to this. We've had issues with GENBAND servers and their DSPs that send short DTMF in calls with
female voices.
In short. When we receive the start of the DTMF we have no idea about the duration. We can't make a decision until it's too late to make a decision... If you just focus on delaying DTMF, you will start playing DTMF on top of audio, cancelling out parts of the conversation.
/O