Hi, PJSIP experts,
I am new to PJSIP, now I am trying to make call using SIP to WebRTC.
I am using MicroSIP to simulate SIP client, and using latest Chrome/Firefox for WebRTC side.
>From PJSIP Datasheet page, https://trac.pjsip.org/repos/wiki/PJSIP-Datasheet
PJSIP should support ICE protocol RFC5245 (https://tools.ietf.org/pdf/rfc5245.pdf )
And from RFC 5245 Page 76(section 15.4: "ice-ufrag" and "ice-pwd" Attributes)
The ice-ufrag and ice-pwd attributes MUST be chosen randomly at the
beginning of a session. The ice-ufrag attribute MUST contain at
least 24 bits of randomness, and the
ice-pwd attribute MUST contain
at
least 128 bits of randomness.
But from captured packet in Wireshark, the length "ice-pwd" generated in pjmedia is less than 128 bits, only 8 char actually, refer to attached screenshot for details.
The sample ic-pwd is just 8 char.
a=ice-ufrag:2b2c6196
a=ice-pwd:06ea0fa8
Because
ice-pwd is too short here, the browser side rejected this.
Anyone
can help to explain this ?
Appreciate
your support in advance.
Happy
New Year.
Jackson
|
Attachment:
ice-pwd-length.jpg
Description: ice-pwd-length.jpg
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org