Hi Tarun, I don't think that's the case. When I compare the message from a GrandStream, they are almost no difference and the GrandStream phone was able to register with the server. I also know the response is calculated correctly. Here is the log from the GrandStream phone
REGISTER sip:sipgate.co.uk SIP/2.0 Via: SIP/2.0/UDP 192.168.3.11;branch=z9hG4bK07ff3062d22be48d From: "1363420e0" <sip:136342...@sipgate.co.uk>;tag=b7c2203afb604c74 To: <sip:136342...@sipgate.co.uk> Contact: <sip:1363420e0@192.168.3.11> Call-ID: 47ea6d0e15004e3d@192.168.3.11 CSeq: 100 REGISTER Expires: 1800 User-Agent: Grandstream BT100 1.0.5.18 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE Content-Length: 0 SIP/2.0 401 Unauthorized Via: SIP/2.0/UDP 192.168.3.11;rport=17404;received=173.220.21.106;branch=z9hG4bK07ff3062d22be48d From: "1363420e0" <sip:136342...@sipgate.co.uk>;tag=b7c2203afb604c74 To: <sip:136342...@sipgate.co.uk>;tag=efae1b206a1df22b5fbc395b5a747d13.4c20 Call-ID: 47ea6d0e15004e3d@192.168.3.11 CSeq: 100 REGISTER WWW-Authenticate: Digest realm="sipgate.co.uk", nonce="4e6928773cb255bda465a92a8ba7268b7314c757" Content-Length: 0 REGISTER sip:sipgate.co.uk SIP/2.0 Via: SIP/2.0/UDP 192.168.3.11;branch=z9hG4bK3141cc7dd4a20305 From: "1363420e0" <sip:136342...@sipgate.co.uk>;tag=b7c2203afb604c74 To: <sip:136342...@sipgate.co.uk> Contact: <sip:1363420e0@192.168.3.11> Authorization: DIGEST username="1363420e0", realm="sipgate.co.uk", algorithm=MD5, uri="sip:sipgate.co.uk", nonce="4e6928773cb255bda465a92a8ba7268b7314c757", response="8694388387794be5459e7fa7f9f91384" Call-ID: 47ea6d0e15004e3d@192.168.3.11 CSeq: 101 REGISTER Expires: 1800 User-Agent: Grandstream BT100 1.0.5.18 Max-Forwards: 70 Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE Content-Length: 0 SIP/2.0 200 OK Via: SIP/2.0/UDP 192.168.3.11;rport=17404;received=173.220.21.106;branch=z9hG4bK3141cc7dd4a20305 From: "1363420e0" <sip:136342...@sipgate.co.uk>;tag=b7c2203afb604c74 To: <sip:136342...@sipgate.co.uk>;tag=efae1b206a1df22b5fbc395b5a747d13.9132 Call-ID: 47ea6d0e15004e3d@192.168.3.11 CSeq: 101 REGISTER Contact: <sip:1363420e0@192.168.3.11>;expires=600;received="sip: 173.220.21.106:17404" Content-Length: 0 On Fri, Sep 9, 2011 at 12:34 AM, Tarun2 Gupta <tarun2.gu...@aricent.com>wrote: > Hi Wyne > > The server is changing the value of nonce in each 401 and is not specifying > 'stale' parameter. > > Refer RFC 2617: > stale > A flag, indicating that the previous request from the client was > rejected because the nonce value was stale. If stale is TRUE > (case-insensitive), the client may wish to simply retry the request > with a new encrypted response, without reprompting the user for a > new username and password. The server should only set stale to TRUE > if it receives a request for which the nonce is invalid but with a > valid digest for that nonce (indicating that the client knows the > correct username/password). If stale is FALSE, or anything other > than TRUE, or the stale directive is not present, the username > and/or password are invalid, and new values must be obtained. > > So, IMO, the server does not like the response (request digest) calculated > by the client indicating that the username and/or password are invalid. > > Regards, > Tarun Gupta > Aricent > > -----Original Message----- > From: sip-implementors-boun...@lists.cs.columbia.edu [mailto: > sip-implementors-boun...@lists.cs.columbia.edu] On Behalf Of Wyne Wolf > Sent: Friday, September 09, 2011 7:48 AM > To: sip-implementors@lists.cs.columbia.edu > Subject: [Sip-implementors] Cannot register with server > > Hi, > > Can someone look at this log? I can't see what is wrong with it, but the > server refusing registration. > > Thank you. > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Send to //217.10.79.23:5060(522) > REGISTER sip:sipgate.co.uk SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.1:5060;rport;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-11 > Contact: <sip:1363420e0@192.168.0.1:5060> > To: <sip:136342...@sipgate.co.uk> > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > User-Agent: BlackVoib 1.5.0 > Max-Forwards: 70 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > CSeq: 11 REGISTER > Expires: 1800 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Content-Length: 0 > > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Received from > //217.10.79.23:5060;5060|UDP(496) > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP > 192.168.0.1:5060 > > ;received=89.242.35.178;rport=5060;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-11 > To: <sip:136342...@sipgate.co.uk > >;tag=12353b526ced3f57e916dd04ee4917bc.1799 > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > CSeq: 11 REGISTER > WWW-Authenticate: Digest realm="sipgate.co.uk", > nonce="4e69266000017a9d3add5cf14fba92fc1fc0bc135cb37b4e" > Content-Length: 0 > > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Send to //217.10.79.23:5060(727) > REGISTER sip:sipgate.co.uk SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.1:5060;rport;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-12 > Contact: <sip:1363420e0@192.168.0.1:5060> > To: <sip:136342...@sipgate.co.uk> > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > User-Agent: BlackVoib 1.5.0 > Max-Forwards: 70 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Authorization: Digest > username="1363420e0",realm="sipgate.co.uk > ",nonce="4e69266000017a9d3add5cf14fba92fc1fc0bc135cb37b4e",uri="sip: > sipgate.co.uk",response="d5dedc4683d6edfcb391c5520203c08f",algorithm=MD5 > CSeq: 12 REGISTER > Expires: 1800 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Content-Length: 0 > > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Received from > //217.10.79.23:5060;5060|UDP(496) > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP > 192.168.0.1:5060 > > ;received=89.242.35.178;rport=5060;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-12 > To: <sip:136342...@sipgate.co.uk > >;tag=12353b526ced3f57e916dd04ee4917bc.aeba > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > CSeq: 12 REGISTER > WWW-Authenticate: Digest realm="sipgate.co.uk", > nonce="4e69266100017acae0c17cbe89251f7294fddc95da8fda22" > Content-Length: 0 > > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Send to //217.10.79.23:5060(727) > REGISTER sip:sipgate.co.uk SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.1:5060;rport;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-13 > Contact: <sip:1363420e0@192.168.0.1:5060> > To: <sip:136342...@sipgate.co.uk> > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > User-Agent: BlackVoib 1.5.0 > Max-Forwards: 70 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Authorization: Digest > username="1363420e0",realm="sipgate.co.uk > ",nonce="4e69266100017acae0c17cbe89251f7294fddc95da8fda22",uri="sip: > sipgate.co.uk",response="ad226521a64a4c4c0f0d39d55d7428f0",algorithm=MD5 > CSeq: 13 REGISTER > Expires: 1800 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Content-Length: 0 > > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Received from > //217.10.79.23:5060;5060|UDP(496) > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP > 192.168.0.1:5060 > > ;received=89.242.35.178;rport=5060;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-13 > To: <sip:136342...@sipgate.co.uk > >;tag=12353b526ced3f57e916dd04ee4917bc.36ab > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > CSeq: 13 REGISTER > WWW-Authenticate: Digest realm="sipgate.co.uk", > nonce="4e69266100017af6dadfdf582c22deed623a46c36a6b629f" > Content-Length: 0 > > > Thu Sep 08 21:32:02 Europe/Dublin 2011 Send to //217.10.79.23:5060(727) > REGISTER sip:sipgate.co.uk SIP/2.0 > Via: SIP/2.0/UDP > 192.168.0.1:5060;rport;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-14 > Contact: <sip:1363420e0@192.168.0.1:5060> > To: <sip:136342...@sipgate.co.uk> > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > User-Agent: BlackVoib 1.5.0 > Max-Forwards: 70 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Authorization: Digest > username="1363420e0",realm="sipgate.co.uk > ",nonce="4e69266100017af6dadfdf582c22deed623a46c36a6b629f",uri="sip: > sipgate.co.uk",response="8ab133c446746d4f95c3839dacb55442",algorithm=MD5 > CSeq: 14 REGISTER > Expires: 1800 > Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,INFO > Content-Length: 0 > > > Thu Sep 08 21:32:03 Europe/Dublin 2011 Received from > //217.10.79.23:5060;5060|UDP(496) > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP > 192.168.0.1:5060 > > ;received=89.242.35.178;rport=5060;branch=z9hG4bK-8ac3fcfe85ec54e0a767664e61927756-14 > To: <sip:136342...@sipgate.co.uk > >;tag=12353b526ced3f57e916dd04ee4917bc.cdec > From: "Me-Test"<sip:136342...@sipgate.co.uk > >;tag=8ac3fcfe85ec54e0a767664e61927756 > Call-ID: 8ac3fcfe85ec54e0a767664e61927756 > CSeq: 14 REGISTER > WWW-Authenticate: Digest realm="sipgate.co.uk", > nonce="4e69266100017b525f9efae708be7231d626f220d41f737b" > Content-Length: 0 > _______________________________________________ > Sip-implementors mailing list > Sip-implementors@lists.cs.columbia.edu > https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors > > > > > > =============================================================================== > Please refer to http://www.aricent.com/legal/email_disclaimer.html > for important disclosures regarding this electronic communication. > > =============================================================================== > _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors