From what I understand after referring multiple threads and docs of asterisk is, In a bridge if we want to suppress the audio of DTMF(or to enable uniform tone of of DTMF) there is a parameter called absorbDTMF, If we add channel with this parameter the DTMF entered should not be audible(or uniform tone is heard) by other parties in the bridge. But this is not working as expected (using asterisk version 18.x.z).
Please let us know what are all the configurations should be used to achieve this.
DTMF type, bridge type and parameters, absorbDTMF flag while creating channel –> All possible values for these and also other parameters if I missed.
absorbDTMF in ARI prevents passing through of the DTMF frame, not of the audio. Audio should be stripped out before it gets to the bridge. If you’re hearing DTMF then you need to provide more information. What channel driver is in use? What is the configuration?
I’m going to assume you are using chan_pjsip. What is the configuration of the PJSIP endpoint? What DTMF method is in use? Is it the correct one? Do you hear a full tone of DTMF or a tiny blip?
This would mean that Asterisk is expecting DTMF to come in as RFC4733, which is not audio. It is up to the remote side to strip out the audio. If this isn’t happening, or is poorly done, then audio can continue to get passed through because Asterisk has no idea that it is DTMF. I would suggest doing either a packet capture OR using Record() as a test to record the audio stream. If the DTMF appears in the audio of either, then it is the remote side.
I have played audio and observed that I am not hearing any DTMF tones in the recorded audio. Just some kind of minimal uniform tones are heard but surely we cannot recognise it as DTMF.
Okay, so next up is to confirm Asterisk is not absorbing DTMF and is passing it through. What is the endpoint for what DTMF is going out on that you are hearing? If configured for RFC4733 DTMF mode do you see the DTMF in “rtp set debug on” going to it? If you do, have you confirmed that the ARI HTTP requests really do contain absorbDTMF?