Hello, I’m using asterisk 22.4.1, I would like to use dtls for rtp media, so I’m using pjsip and a softphone (jitsi). The attach the configuration file, the cli error and the wireshark capture. I think the configuration is not correct, could you help me? thanks in advance.
PJSIP.CONF:
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
[101]
type=endpoint
context=default
disallow=all
allow=all
auth=auth101
aors=101
direct_media=no
force_rport=yes
rewrite_contact=yes
rtp_symmetric=yes
media_encryption=dtls
dtls_auto_generate_cert=yes
[auth101]
type=auth
auth_type=userpass
password=101abc.
username=101
[101]
type=aor
max_contacts=1
CLI OUTPUT:
Jun 10 15:18:55] ERROR[3320][C-00000002]: res_rtp_asterisk.c:3348 __rtp_recvfrom: DTLS failure occurred on RTP instance ‘0x7d36c40282e0’ due to reason ‘unsupported protocol’, terminating
[Jun 10 15:18:55] WARNING[3320][C-00000002]: res_rtp_asterisk.c:7181 ast_rtcp_read: RTCP Read error: Unspecified. Hanging up.
== Spawn extension (default, 200, 1) exited non-zero on ‘PJSIP/101-00000001’
WIRESHARK CAPTURE: