[Nice] Stun Binding Request to Ms Lync 2010 client got failed on Message Integrity Attribute, please give me an advice

hong nguyenmanhhong at gmail.com
Mon Nov 19 17:07:30 PST 2012

Hi all,

I am developing a sip client which can communicate with ms lync server 
2010 as well as ms lync client 2010 in java. When implementing 
ICE/TURN/STUN following MS-ICE2 specification, Now I can making a call 
between two my client, but It is not working when I call from my client 
to ms lync client 2010 because  my stun binding request was not passed 
the Hmac verification check of ms lync client.

I have already referenced the way you did in libnice project. I also 
tried yours test vector, the outputs of test vectors are the same to 
yours. In fact, there are some differences between test vectors and the 
real binding requests of ms lync clients (which I capture by wireshark 
and log file). They are:
     + The attribute ice-pwd seems longer, it is 24 characters compared 
to 22 characters, I am not sure what exactly it's format (base 64 or not 
or something else)
     + The binding request of ms lync client includes more than 2 
attributes: ms version (0x8070) and foundation of candidate (0x8054)

Have you ever just tried to use your libnice to call ms lync client 
2010? If yes, please give me an advice in this case.

Thank you very much.

More information about the nice mailing list