Hello! Have the problem with SRTP negotiation between rtpengine and Cisco.
1) rtpengine process offer (initial INVITE from Cisco) with crypto parameters:
And here we can not do clear base64 decode operation, because 472 / 6 = 78.666..
Looks like cisco want to do clear base64 decode operation. As far as i understand, rtpengine did not add padding symbol in end of encoded "key+salt" data.
I can provide rtpengine logs and pcap file directly to you, if you need this.
OS is: "Ubuntu 20.04.2 LTS".
rtpengine Version: 9.4.0.0~20210303~def813c-1 git-master-def813cf
Could you check please? Thank you!
Hello! Have the problem with SRTP negotiation between rtpengine and Cisco. 1) rtpengine process offer (initial INVITE from Cisco) with crypto parameters:
aJf7nhxitD0igClOgk4SdfHd+w7o1RvJANngkS6gj1/XP7v2DtwoxJwdygo=
in binary representation have 480 bits:So we can do clear base64 decode operation, because
480 / 6 = 80
2) rtpengine process answer (180 response to Cisco) and add this cypto suit in SDP:
IgAD5nXmg8I9I70aTx1+W7xZLSSkZU+UbGkFu9IXjpzERSQ2AgRivWPR+4c
in binary representation have 472 bits:And here we can not do clear base64 decode operation, because
472 / 6 = 78.666..
Looks like cisco want to do clear base64 decode operation. As far as i understand, rtpengine did not add padding symbol in end of encoded "key+salt" data.
I can provide rtpengine logs and pcap file directly to you, if you need this. OS is: "Ubuntu 20.04.2 LTS". rtpengine Version: 9.4.0.0~20210303~def813c-1 git-master-def813cf Could you check please? Thank you!