chazz
July 14, 2020, 1:24pm
1
How do you implement or enable ZRTP or DTLS in PJSIP.conf?
I found DTLS only for WebSockets but maybe it works for extensions too.
media_encryption=dtls
dtls_verify=fingerprint
dtls_cert_file=/etc/asterisk/keys/asterisk.pem
dtls_ca_file=/etc/asterisk/keys/ca.crt
dtls_setup=actpass
use_avpf=yes
ice_support=yes
media_use_received_transport=yes
rtcp_mux=yes
jcolp
July 14, 2020, 1:34pm
2
Asterisk does not support ZRTP. DTLS is enabled using the DTLS options in your provided configuration.
chazz
July 14, 2020, 1:41pm
3
Thanks
and SDES with
media_encryption=sdes?
And I have one more for my understanding:
encryption=yes
is only in the sip.conf and means the signaling is encrypted with TLS
jcolp
July 14, 2020, 1:43pm
4
Yes, setting media_encryption to sdes enables sdes in PJSIP. The encryption=yes setting in sip.conf enables SDES support. It does not mean that signaling is using TLS. They are separate things.
1 Like
chazz
July 16, 2020, 11:52am
5
I still have a tiny question about SRTP and didn’t want to create a new topic.
SRTP and “direct_media = yes” not working, right?
jcolp
July 16, 2020, 11:53am
6
Asterisk will not allow direct media if SRTP is used.
2 Likes
system
Closed
August 15, 2020, 11:53am
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.