Thank you for your reply. This has been going on for several days and I have 
been unsuccessful getting it to register. The username and password are 
correct. I have tested with a softphone. It seems to fail the nonce and then 
send an unauthorized back to the user agent.

 

Did the D-Link do something wrong in their firmware that it is not constructing 
the nonce correctly?

 

From: Gabor Paller [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 17, 2008 11:15 AM
To: Becker, Jesse; [email protected]
Subject: RE: [sipx-users] D-Link ATA DVG-2001S

 

One idea: invalid nonce errors are quite normal if the nonce was used for a 
certain time. Nonces must expire after a certain time.

 

Regards,

Gabor

 

________________________________

From: Becker, Jesse [mailto:[EMAIL PROTECTED] 
Sent: 17 June 2008 14:19
To: [email protected]
Subject: [sipx-users] D-Link ATA DVG-2001S

 

Has anyone successfully register a D-Link ATA (DVG 2001S)? I can get it to Sip 
register against Cisco Call Manager, however, I cannot get it to connect to 
SipX (would have though the opposite knowing Cisco).

 

It looks like the ATA is not constructing the Nonce correctly. Below is some 
sample log debugging:

 

"2008-06-17T09:57:25.889675Z":45800:INCOMING:INFO:sipx.sunyulster.edu:SipClientTcp-29:B5EEAB90:SipRegistrar:"Read
 SIP message:\n----Remote Host:172.16.99.10---- Port: 38459----\nREGISTER 
sip:sipx.sunyulster.edu SIP/2.0\r\nVia: SIP/2.0/TCP 
172.16.99.10;branch=z9hG4bK-sipXecs-12ed0002c78bf7cd4140e30c1f210fa533a7\r\nVia:
 SIP/2.0/UDP 172.16.99.254:5060;branch=z9hG4bKdc59835286bd9eb2\r\nMax-Forwards: 
20\r\nFrom: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>;tag=c48992b4feda027e\r\nTo: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>\r\nCall-Id: [EMAIL PROTECTED]: 3 REGISTER\r\nContact: 
<sip:[EMAIL PROTECTED]:5060;user=phone>\r\nExpires: 3600\r\nAllow: INVITE, ACK, 
CANCEL, BYE, REFER, NOTIFY, OPTIONS, UPDATE\r\nAuthorization: Digest 
username=\"2000\", realm=\"sipx.sunyulster.edu\", 
nonce=\"8693cbaea1a824f377ce778d3170167148578a85\", opaque=\"\", 
uri=\"sip:sipx.sunyulster.edu\", 
response=\"d0535906638e92c3662c9629a9a75f36\"\r\nContent-Length: 0\r\nDate: 
Tue, 17 Jun 2008 09:57:25 GMT\r\nX-Sipx-Spiral: true\r\nRoute: 
<sip:172.16.99.10:5070;transport=tcp;lr>\r\n\r\n====================END====================\n"

"2008-06-17T09:57:25.892062Z":45808:AUTH:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6BF7B90:SipRegistrar:"SipRegistrarServer::isAuthorized
 fromNameAddr='HAS118<sip:[EMAIL PROTECTED];user=phone>;tag=c48992b4feda027e', 
toUri='HAS118<sip:[EMAIL PROTECTED];user=phone>', realm='sipx.sunyulster.edu' "

"2008-06-17T09:57:25.892460Z":45814:AUTH:INFO:sipx.sunyulster.edu:SipRegistrarServer:B6BF7B90:SipRegistrar:"Invalid
 nonce for '[EMAIL PROTECTED]', 
nonce='8693cbaea1a824f377ce778d3170167148578a85', callId='[EMAIL PROTECTED]'"

"2008-06-17T09:57:25.893028Z":45816:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6BF7B90:SipRegistrar:"\n----------------------------------\nSending
 final response\nSIP/2.0 401 Unauthorized\r\nFrom: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>;tag=c48992b4feda027e\r\nTo: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>\r\nCall-Id: [EMAIL PROTECTED]: 3 REGISTER\r\nVia: 
SIP/2.0/TCP 
172.16.99.10;branch=z9hG4bK-sipXecs-12ed0002c78bf7cd4140e30c1f210fa533a7\r\nVia:
 SIP/2.0/UDP 
172.16.99.254:5060;branch=z9hG4bKdc59835286bd9eb2\r\nWww-Authenticate: Digest 
realm=\"sipx.sunyulster.edu\", 
nonce=\"e79bd6a9d826ddf936df9071fdb5445f48578a85\"\r\nUser-Agent: 
sipXecs/3.10.1 sipXecs/registry (Linux)\r\nContent-Length:

[EMAIL PROTECTED] sipxpbx]# tail sipregistrar.log

"2008-06-17T13:10:21.822676Z":333:AUTH:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipRegistrarServer::isAuthorized
 Realm Matches"

"2008-06-17T13:10:21.822736Z":334:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipNonceDb::nonceSignature:
 callId='[EMAIL PROTECTED]' fromTag='697b5a6caabbf67c' 
realm='sipx.sunyulster.edu' timestamp='4857b7bd' secret='7f\n)'gzEg0'"

"2008-06-17T13:10:21.822799Z":335:SIP:ERR:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipNonceDB::isNonceValid
 nonce signature check failed 'b7bea5f6e1215937f4b10ad79d1f13794857b7bd'"

"2008-06-17T13:10:21.822842Z":336:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipNonceDB::isNonceValid
 rcvd signature 'b7bea5f6e1215937f4b10ad79d1f1379' calculated signature 
'e527ddf54cb78b062a5cffbe13a5da84'"

"2008-06-17T13:10:21.822887Z":337:AUTH:INFO:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"Invalid
 nonce for '[EMAIL PROTECTED]', 
nonce='b7bea5f6e1215937f4b10ad79d1f13794857b7bd', callId='[EMAIL PROTECTED]'"

"2008-06-17T13:10:21.823030Z":338:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipNonceDb::nonceSignature:
 callId='[EMAIL PROTECTED]' fromTag='697b5a6caabbf67c' 
realm='sipx.sunyulster.edu' timestamp='4857b7bd' secret='7f\n)'gzEg0'"

"2008-06-17T13:10:21.823400Z":339:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"\n----------------------------------\nSending
 final response\nSIP/2.0 401 Unauthorized\r\nFrom: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>;tag=697b5a6caabbf67c\r\nTo: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>\r\nCall-Id: [EMAIL PROTECTED]: 3 REGISTER\r\nVia: 
SIP/2.0/TCP 
172.16.99.10;branch=z9hG4bK-sipXecs-0005bf8fa25b46247fdaad05602cc37f872f\r\nVia:
 SIP/2.0/UDP 
172.16.99.254:5060;branch=z9hG4bK0eb735f4a4da764b\r\nWww-Authenticate: Digest 
realm=\"sipx.sunyulster.edu\", 
nonce=\"e527ddf54cb78b062a5cffbe13a5da844857b7bd\"\r\nUser-Agent: 
sipXecs/3.10.1 sipXecs/registry (Linux)\r\nContent-Length: 0\r\n\r\n"

"2008-06-17T13:10:21.824073Z":340:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipClient[SipClientTcp-29]::isAcceptableForDestination
 matches 172.16.99.10:5060 but is not trusted"

"2008-06-17T13:10:21.824146Z":341:SIP:DEBUG:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipProcolServerBase[SipTcpServer-6]::send
 0x9b77fe8,  remote host: 172.16.99.10:5060 remote IP: 172.16.99.10:5060 remote 
Via address: :-1 received address: :-1"

"2008-06-17T13:10:21.824714Z":342:OUTGOING:INFO:sipx.sunyulster.edu:SipRegistrarServer:B6B76B90:SipRegistrar:"SipUserAgent::sendTcp
 TCP SIP User Agent sent message:\n----Remote Host:172.16.99.10---- Port: 
5060----\nSIP/2.0 401 Unauthorized\r\nFrom: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>;tag=697b5a6caabbf67c\r\nTo: HAS118 <sip:[EMAIL 
PROTECTED];user=phone>\r\nCall-Id: [EMAIL PROTECTED]: 3 REGISTER\r\nVia: 
SIP/2.0/TCP 
172.16.99.10;branch=z9hG4bK-sipXecs-0005bf8fa25b46247fdaad05602cc37f872f\r\nVia:
 SIP/2.0/UDP 
172.16.99.254:5060;branch=z9hG4bK0eb735f4a4da764b\r\nWww-Authenticate: Digest 
realm=\"sipx.sunyulster.edu\", 
nonce=\"e527ddf54cb78b062a5cffbe13a5da844857b7bd\"\r\nUser-Agent: 
sipXecs/3.10.1 sipXecs/registry (Linux)\r\nDate: Tue, 17 Jun 2008 13:10:21 
GMT\r\nAllow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, REGISTER, 
SUBSCRIBE\r\nAccept-Language: en\r\nSupported: gruu\r\nContent-Length: 
0\r\n\r\n--------------------END--------------------\n"

 

 

Any Ideas? I tested the extension and authorization password using a soft phone 
and that worked. I cannot get the ATA to register.

 



________________________________

Jesse Becker * Network Systems Administrator II/ SUNY Ulster * SunGard Higher 
Education * 491 Cottekill Road, Stone Ridge, NY 12484 * Tel 845-687-5064 * Fax 
845-687-5105 * [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  * 
www.sunyulster.edu <http://www.sunyulster.edu/>  

CONFIDENTIALITY:  This e-mail (including any attachments) may contain 
confidential, proprietary and privileged information, and unauthorized 
disclosure or use is prohibited.  If you received this e-mail in error, please 
notify the sender and delete this e-mail from your system. 

 

 

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users

Reply via email to