I have multiple sip provider and they appears to have different DTMF mode set.
In chan_sip there was a way to set SIPDtmfMode in the dialplan but,
in chan_pjsip there isnt a way.
Are there any other ways to set DTMF mode?
Currently, I have AMI Originating a Call which and then wait for the client to press a button, which intermittently doesn’t respond to the touch tone. I believe its a DTMF issues if not please enlighten me.
rfc2833 is loose terminology for rfc 4733. Asterisk dtmfmode=rfc2833 really means RFC 4733. RFC 2833 is not distinguishable, in the protocol exchange, from RFC 4733 with a limited range of acceptable events.
As Asterisk is an open source project any individual (not just Digium) is free to contribute such functionality, which has actually happened[1]. It will be present in the next release.
Dynamically changing dtmfmode is not something to be encouraged, as the new mode will not be properly negotiated with the peer. In fact, we used this to deliberately confuse the system into breaking DTMF handling when it was accidentally connecting to fax devices and we were getting fax calling tone, that was being presented to the agents as silence.
Under normal circumstances, you should fix the dtmfmode for peer in sip.conf or pjsip.conf.
Thanks, I always prefer to do best practice so if I need to change it via pjsip.conf so be it.
I notice I can create different interface/endpoint with different dtmf mode.