Change DTMF mode in dialplan with PJSIP

Hi,

I’m using Asterisk 13.6 PJSIP realtime and I’d like to change the DTMF mode to INFO in the dialplan.
I cannot use the following application because it is not registered in PJSIP:

https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_SIPDtmfMode

I was thinking of temporary changing the DTMF mode in ps_endpoints but I’d like to know if there is a better way?

PJSIP does not support changing the DTMF mode from the dialplan, it’s strictly negotiated as a result of the endpoint configuration.

Thanks for the info.