Extensions default media encryption

Hey, ive been looking through a lot of the .conf files, extensions_additional.conf
but im trying to find where i can set the default configuration for all newly created extensions.
Specifically to set the media_encryption=sdes on all of them.
The extconfig.conf also looks like a possible place to put this but im not entirely sure on what syntax to use?

If anyone could point me in the right direction that’d be great

Are you using FreePBX or a UI? If so, it would need to be done there if possible. Otherwise you need to specify which SIP channel driver. If it’s PJSIP, then there is no “default”. It has to be explicitly configured on the endpoint, or inherited from a template.

Cheers for your quick reply!

Oh, im using the graphql api to programatically create users. But when i go to register as them i get a: Cause: Authentication Error, Reason: Unauthorized.

As soon as i go into the the FreePBX UI and change the media encryption to SRTP in-SDP all works fine which makes sense for the client im using.

So i need to figure out how to create extensions through the API without having to manually change the media encryption on them all

That would be a FreePBX thing, that forum is at https://community.freepbx.org/

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.