Unable to Configure Call Encryption (Options Greyed Out)

I’m trying to configure encryption-in-transit for calls, between my FreePBX instance and VoIP.ms . When I navigate to:

Settings > Asterisk SIP Settings > General SIP Settings > Security Settings

, both options for “Default TLS Port Assignment” are greyed out. It seems that I’ve run into the same issue that is in this thread. But I’m having some trouble following the screenshot(s) in the solution.

The smallest (partial) screenshot appears to be two images, of the same setting, side-by-side. was this taken from:

Settings > Asterisk SIP Settings > SIP Settings [chan_pjsip] > tls

Just trying to make sure I’m changing the correct setting(s), and not taking down my instance instead :sweat_smile:

Have you actually setup TLS on chan_pjsip? You enabled the TLS transport, have your certificate, etc?

That option is to set the default TLS driver when you have both chan_sip and chan_pjsip running on the system as it will try to use 5061 (the default TLS) for that driver. When you only have one driver installed, that option doesn’t appear.

It will only be available to use once at least one driver has a proper TLS configuration for it.

I do have a certificate ready for it. However, I’m not sure if I have the rest of the prerequisites that you mentioned. I was using this as a guide:

https://sangomakb.atlassian.net/wiki/spaces/Phones/pages/20611555/TLS+and+SRTP

Now I’m wondering if I skipped a few steps by starting with that one :thinking:

So, I managed to configure encryption for audio calls using this guide:

Its steps are ordered a bit differently, and allowed me to fix the issue where one of the required options were greyed out. However, I am now looking at the next task – how to encrypt video calls and text messages…

Why would video not be encrypted when audio was?

There are many ways of sending text messages; not all providers use SIP for this, but enabling TLS will encrypt text messages that are sent using SIP.

NB all encryption, with Asterisk is hop by hop.

Just making sure, the configuration that I performed (from the article I linked) covers encryption for both audio and video calls?

Also, thank you for informing me about the situation (SMS sent using SIP) in this regard.

Does FreePBX support RCS messaging at this time?

Not at this time.

1 Like