Re: Does jain-sip support AKAv1-MD5?
"Mason Bai" <[email protected]> Thu, 12 Apr 2007 10:39:45 +0800
| Newsgroups | gmane.comp.voip.nist-sip |
|---|---|
| Message-ID | <[email protected]> |
Problem sovled! Thanks all the friends who helped me! Because different HSS server support different features. some of them don't support change algorithm by request. So I asked the server guy for changing the HSS, so they can change algorithm to MD5 by my request. ÌØ±ð¸ÐлÄÇλͬ°û£¬¹þ£¡ "Mason Bai" <[email protected]> дÈëÏûÏ¢ÐÂÎÅ:[email protected]... > Hi all, > > I'm using jain-sip to develop a sip applications. But when I try to > REGISTER on the server, I met some authentication errors. > > After I send my first request, I received a "401 Unauthorized - > Challenging the UE" response, which met my expectation. But the response > told me that the digest algorithm is AKAv1-MD5, the WWW-Authenticate > Header is as below: > > [First request] > Authorization: Digest > username="[email protected]",realm="xxxx.net",nonce="",response="",uri="sip:xxxx.net" > algorithm=MD5 > > [First response] > WWW-Authenticate: Digest realm="xxxx.net", > nonce="GZhpQAKhO4boNQw1u/Q7SZ+GvDJ/vwAA9+koVntxyRY=", algorithm=AKAv1-MD5, > ck="aff983a8625a31cbbee429825f7a9560", > ik="7f77620d8ec2fa6b9bb77fd0a6d5bebf" > > And I also tried to add "algorithm=MD5" into my request, hope that can > change the server's algorithm, but take no effect. > > I spent a whole day but I can't find any implementation of AKAv1-MD5 in > jain-sip or in any other java projects. > > Could anyone give some help on AKAv1-MD5? Thanks a lot! > > > Mason Bai > [email protected]