Hello!
How can I globally disable the Direct media option on all Extensions? And it is also necessary that for the new Extensions, the Direct media option was set to No.
Advance settings
SIP canrenivite (directmedia) = no
but only for new extensions
By default, the SIP canreinvite (directmedia) option was already set to No, but this did not affect disabling Direct media for all new Extensions.
Are you using chan_pjsip? If so, there is no global option for this.
I use chan_pjsip.
Is it possible to change the Direct media setting via HTTP, API or DB so that you can add it to the script?
It would be nice if PJSIP extensions were created by FreePBX using templates aors, endpoints, etc. And the templates themselves could be changed in override FreePBX files. This allows you to add Asterisk directives, which are not available in the FreePBX management interface, globally for all extensions.