TRY THIS How to implement tls and srtp

miguel

Member
Joined
May 22, 2013
Messages
276
Reaction score
8
I have it working On 1.8.23 but I was wondering if it is possible to install it On asterisk 11 any pointers can come in handy.

Best regards,

Miguel.
 
Anyone? Hasn't anybofy done this because i tried to compile the srtp wich i had done with 1.8.x and this didn't worked
 
But I want to use it On a production machine with their software like bria (the one they use)

Best regards,

MN
 
Ward I have read the article but I wanted for them to use their own software I know it says that asterisk 11 is lacking of some of this feautures but asterisk 1.8 is lacking as well we have to install and compile the srtp module I have tried to do it On asterisk 11 but without luck to make it work, They wouldnt like to make their comunications via a web browser they want to make it via their own phones On their mobile or At Home with thier hadsets or voip Phones so what i wanted to know is if there is a way to implement it as I want to.

Best regards,

MN
 
The article has links to the SRTP methodology. You don't have to implement WebRTC if you don't want to.
 
Something must be wrong with me but i have re read it looking for links to srtp and could not find anything (feel very Bad) thank you anyway
 
I am using it on 11 just fine. I just used the instructions for 1.8.
 
Ok I did the same On the early versions of asterisk 11 and coukd not get it to work maybe something has changed, so you are telling me it works and it works well wuth the same method as 1.8?
 
Yep. I am running it on 11.4 and it's working fine. Finding a client that I liked, that properly supported it is a pain, but it's now working with the nightly of CSipSimple.
 
Nope. I made the SSL cert using some how-to I can't find now. Then put the right lines into the config. srtp is compiled by default. You just have to set encryption=yes in the right conf file and it works.

Note that if you don't set encryption=yes, but have encryption turned on in the client, it srtp will still work for client->pbx connections. By default, PIAF seems to be configured for both RTP and SRTP incoming connections. But unless you set encryption=yes, it won't use SRTP for pbx->client connections and you won't get any audio.
 
Where do you put encryption=yes ? In sip settings?
 
In sip_custom_post.conf I have this for each extension.

[200](+)
transport=tls
encryption=yes
 

Members online

Forum statistics

Threads
26,696
Messages
174,454
Members
20,266
Latest member
ro-fi
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top