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: [email protected]
[mailto:[email protected]] On Behalf Of Wyne Wolf
Sent: Friday, September 09, 2011 7:48 AM
To: [email protected]
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:[email protected]:5060>
To: <sip:[email protected]>
From: "Me-Test"<sip:[email protected]
>;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:[email protected]>;tag=12353b526ced3f57e916dd04ee4917bc.1799
From: "Me-Test"<sip:[email protected]
>;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:[email protected]:5060>
To: <sip:[email protected]>
From: "Me-Test"<sip:[email protected]
>;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:[email protected]>;tag=12353b526ced3f57e916dd04ee4917bc.aeba
From: "Me-Test"<sip:[email protected]
>;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:[email protected]:5060>
To: <sip:[email protected]>
From: "Me-Test"<sip:[email protected]
>;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:[email protected]>;tag=12353b526ced3f57e916dd04ee4917bc.36ab
From: "Me-Test"<sip:[email protected]
>;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:[email protected]:5060>
To: <sip:[email protected]>
From: "Me-Test"<sip:[email protected]
>;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:[email protected]>;tag=12353b526ced3f57e916dd04ee4917bc.cdec
From: "Me-Test"<sip:[email protected]
>;tag=8ac3fcfe85ec54e0a767664e61927756
Call-ID: 8ac3fcfe85ec54e0a767664e61927756
CSeq: 14 REGISTER
WWW-Authenticate: Digest realm="sipgate.co.uk",
nonce="4e69266100017b525f9efae708be7231d626f220d41f737b"
Content-Length: 0
_______________________________________________
Sip-implementors mailing list
[email protected]
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
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors