Mitja Kaučič
2013-Jan-08 07:14 UTC
[asterisk-users] Asterisk 11; WEBRTC firefox nightly build fingeprint
I have problem with offer SDP that firefox nightly generates. It writes out the following error on asterisk: WARNING[25424][C-00000004]: chan_sip.c:10936 process_sdp_a_dtls: Unsupported fingerprint hash type 'sha-2' received on dialog '2457893540' SDP: v=0 o=Mozilla-SIPUA 14911 0 IN IP4 xxx s=SIP Call t=0 0 a=ice-ufrag:de2f016f a=ice-pwd:5f6c1d1e785108256c0e9e94d2a5ee78 a=fingerprint:sha-256 B4:C6:2A:9E:3E:C9:BD:92:13:D3:20:4A:07:B2:BB:9E:27:18:7F:B8:77:70:1D:76:49:A0:40:0F:66:1C:DD:96 m=audio 60273 RTP/SAVPF 109 0 8 101 c=IN IP4 xxx a=rtpmap:109 opus/48000/2 a=ptime:20 a=rtpmap:0 PCMU/8000 a=rtpmap:8 PCMA/8000 a=rtpmap:101 telephone-event/8000 a=fmtp:101 0-15 a=sendrecv After inspecting the code in Chan_sip.c, metode "process_sdp_a_dtls", looks like there is only sha-1 supported, but firefox uses sha-256: if (!strcasecmp(hash, "sha-1")) { dtls->set_fingerprint(instance, AST_RTP_DTLS_HASH_SHA1, value); } else { ast_log(LOG_WARNING, "Unsupported fingerprint hash type '%s' received on dialog '%s'\n",hash, p->callid); } Is there a support for sha-256 in asterisk and is there a plan to be supported and when? Regards Mitja Posredovani dokument je namenjen izklju?no prejemniku (ali osebi, odgovorni za prenos tega sporo?ila prejemniku) ter osebam, ki so upravi?ene poznati v dokumentu vsebovane podatke na podlagi svojih pristojnosti. Posredovani dokument je dovoljeno uporabljati le za med po?iljateljem in prejemnikom dogovorjeni namen. Druga?no posredovanje, razmno?evanje oziroma uporaba dokumenta ni dovoljena. Dokument so vsi podatki v kakr?nikoli obliki, ki jih vsebuje ta elektronska po?ta. ?e ste prejeli to sporo?ilo zaradi napake v naslovu ali pri prenosu sporo?ila, prosimo, da o tem obvestite po?iljatelja elektronskega sporo?ila. Privileged/confidential information may be contained in this message. This communication is confidential and intended solely for the addressee(s). Unauthorized distribution, modification or disclosure of the contents may be unlawful. If you receive this in error, please notify the sender and delete it from your system. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone.