Hi, I am try to use WebRTC with DTLS-SRTP to support FireFox browser.
We create the certificates using the script ast_tls_cert from the
/usr/src/asterisk-11.9.0/contrib/scripts
and I have confirmed that the firngerprint from certificate is SHA-1.
We configure the sip.conf to support DTLS-SRTP
[8009]
language=pt_BR
context=default
trustrpid=yes
sendrpid=no
qualify=yes
qualifyfreq=600
type=friend ; we only want to call out, not be called
regexten=8009
secret=XXXX
encryption=yes
remotesecret=XXXX
defaultuser=8009 ; Authentication user for outbound proxies
fromuser=8009 ; Many SIP providers require this!
host=dynamic
avpf=yes
icesupport=yes
directmedia=no
dial=SIP/8009
disallow=all
allow=ulaw
;------------------------------------------------------------------------------
; DTLS-SRTP CONFIGURATION
dtlsenable=yes
dtlsverify=no
dtlsrekey=60
dtlscertfile=/etc/asterisk/keys/asterisk.crt
dtlsprivatekey=/etc/asterisk/keys/asterisk.key
dtlscipher=ALL
dtlscapath=/etc/asterisk/keys/
dtlssetup = actpass
We can connect to the asterisk using WebRTC (http://tryit.jssip.net/), but when we try to make a call, asterisk says that the fingerprint hash is not supported. (SHA-2).
[May 12 16:01:57] WARNING[25794][C-00000012]: chan_sip.c:11034 process_sdp_a_dtls: Unsupported fingerprint hash type 'sha-2' received on dialog 'f770it9i9s6l1ku8pivt'
Some help?
Thanks