Tls + rstp

i’ve certificate and a key from provider, how can i use and where them ? and can i use tls and rstp without certificate key ?

Maybe this can help you: … y_id291281

I have a question, there is an example of extension for receiving calls:


exten => _X.,1,Answer()
same => n,GotoIf($["${CHANNEL(secure_signaling)}" = “1”]?secure:insecure)
same => n(secure),NoOp(Signaling is encrypted.)
same => n,Hangup()
same => n(insecure),NoOp(Signaling is not encrypted.)
same => n,Hangup()[/code]

Supposing that i have the following extension :

same => n,Set(CHANNEL(secure_bridge_media)=1)
same => n,Dial(SIP/user1,20)

same => n,Set(CHANNEL(secure_bridge_media)=1)
same => n,Dial(SIP/user1,20)[/code]

That is set in sip.conf as:


and for the users:



When i call user2 as user1 only the extension in the context incoming gets executed, but from-internal context extensions do not dial. How do i make the extensions for dialing in from-internal to be called on first place, and only then the extensions in incoming context to execute?


The context=incoming defined in the template section [friends_internal] overwrites the context=from-internal in the [general] section. Remove context=incoming from section [friends_internal] and give it a try.