Good morning!
Asterisk 15.6.1, pjsip, Debian 9, OpenSSL 1.1.0f 25 May 2017, x86_64
I’m trying make a TLS call from Asterisk 15.6.1 to endpoint Bria (latest version)
SIP header contains SDES options include crypto, when sent INVITE (SDP)
The crypto has next entry - a=crypto:1 AES_CM_128_HMAC_SHA1_80 inline:<random string>
But I would like to see here something like with 256, because when I was trying phone from Bria to Asterisk 15.6.1 ( -> other endpoint… ) I saw that a=crypto entry had containsed 256.
I pointed in pjsip.transport.conf all ciphers whose contains only 256 but it doesn’t work.
Could you please give me more information about managing cipher in pjsip and how can I change it?
[IP-crypto]
type=transport
protocol=udp
bind=:5060
cert_file=/etc/asterisk/keys/asterisk.pem
priv_key_file=/etc/asterisk/keys/asterisk.key
cipher=ECDHE-ECDSA-AES256-GCM-SHA384,ECDHE-RSA-AES256-GCM-SHA384,DHE-RSA-AES256-GCM-SHA384,ECDHE-ECDSA-AES256-SHA384,ECDHE-RSA-AES256-SHA384,DHE-RSA-AES256-SHA256,ECDHE-ECDSA-AES256-SHA,ECDHE-RSA-AES256-SHA,DHE-RSA-AES256-SHA,RSA-PSK-AES256-GCM-SHA384,DHE-PSK-AES256-GCM-SHA384,AES256-GCM-SHA384,PSK-AES256-GCM-SHA384,AES256-SHA256,ECDHE-PSK-AES256-CBC-SHA384,ECDHE-PSK-AES256-CBC-SHA,SRP-RSA-AES-256-CBC-SHA,SRP-AES-256-CBC-SHA,RSA-PSK-AES256-CBC-SHA384,DHE-PSK-AES256-CBC-SHA384,RSA-PSK-AES256-CBC-SHA,DHE-PSK-AES256-CBC-SHA,AES256-SHA,PSK-AES256-CBC-SHA384,PSK-AES256-CBC-SHA
method=tlsv1
verify_client=yes
verify_server=yes
allow_reload=yes
tos=cs3
cos=3
[172.25.25.25-udp]
type=transport
protocol=udp
bind=172.25.25.25:5060