PDA

View Full Version : Authentication trouble



ssteiner
10-13-2007, 09:14 PM
@edit: Ignore post 1 and 2 - number 3 lists the problem that is still open.

I thought I had this one fully traced down at 4am, but after some sleep the situation suddenly looks different.

Basically, I'm having a hard time registering certain phones if I don't put a password on the corresponding IP line.

Here's one example from Linksys WIP300.. there are three scenarios in the trace.. one where there's no password on neither line nor phone, then the next is with a password 51 on the line but no change on the phone, and in the third one I put a password (51) on the phone as well.


Failed registration with no password on line and phone

***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK56d15f0b4
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
From: 51 <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
To: 51 <sip:51@192.168.1.10:5060>
CSeq: 818651561 REGISTER
Contact: 51 <sip:51@192.168.1.116:5060>;expires=300
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4

***************************** SIP message buffer end ******************************

12:44:16 TLayer::MsgToTU # Msg type: 52 # TID: 1895 # DID: 0
12:44:16 UACore::TLReqMsgProc # Got REGISTER SIP request
12:44:16 Try to send SIP message # (14/10/2007 10:44:16:395 GMT) # UDP # 463 bytes # from: 192.168.1.10:5060 # to: 192.168.1.116:5060

***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK56d15f0b4
To: "51" <sip:51@192.168.1.10:5060>
From: "51" <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
CSeq: 818651561 REGISTER
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="eafec15254334e0b44911 c85c773bc58",opaque="1192358656"
Content-Length: 0

***************************** SIP message buffer end ******************************

12:44:16 Receive SIP message # (14/10/2007 10:44:16:577 GMT) # UDP # 670 bytes # from: 192.168.1.116:5060 # to: 192.168.1.10:5060

***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bKc40d19fea
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
From: 51 <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
To: 51 <sip:51@192.168.1.10:5060>
CSeq: 818651562 REGISTER
Contact: 51 <sip:51@192.168.1.116:5060>;expires=300
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Authorization:Digest response="dd5d644bea38ec384c64cebf98af7662",username="51", realm="quadro.epygi-config.com",nonce="eafec15254334e0b44911 c85c773bc58",opaque="1192358656" ,uri="sip:192.168.1.10:5060"
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4

***************************** SIP message buffer end ******************************





Successful registration with password on line, but not on phone:



***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK0520321d1
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
From: 51 <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
To: 51 <sip:51@192.168.1.10:5060>
CSeq: 818651608 REGISTER
Contact: 51 <sip:51@192.168.1.116:5060>;expires=300
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Authorization:Digest response="85afcca2f5997735329ad494d57c90be",username="51",re alm="quadro.epygi-config.com",nonce="171015c79b1ec7c8d111ed0 822779b39",opaque="1192359044",uri="sip:192.168.1.10:5060"
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4

***************************** SIP message buffer end ******************************

12:50:44 TLayer::MsgToTU # Msg type: 52 # TID: 2115 # DID: 0
12:50:44 UACore::TLReqMsgProc # Got REGISTER SIP request
12:50:44 Try to send SIP message # (14/10/2007 10:50:44:370 GMT) # UDP # 463 bytes # from: 192.168.1.10:5060 # to: 192.168.1.116:5060

***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK0520321d1
To: "51" <sip:51@192.168.1.10:5060>
From: "51" <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
CSeq: 818651608 REGISTER
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="171015c79b1ec7c8d111e d0822779b39",opaque="1192359044"
Content-Length: 0

***************************** SIP message buffer end ******************************

12:50:47 RemExtCallsAgent:SendReboot
12:50:47 RemExtCallsAgent:Reboot #Reboot user 51
12:50:47 Registrar # User 51 removed, owner: 2
12:50:47 Registrar # Add User 51, pswd: exist, owner: 2, nat: off, qcm: off, wifone: off

------------------- Application Log Started At 2007/10/14 12:50:49 -------------------

12:50:49 Receive SIP message # (14/10/2007 10:50:49:003 GMT) # UDP # 670 bytes # from: 192.168.1.116:5060 # to: 192.168.1.10:5060

***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bKfae3f85f0
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
From: 51 <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
To: 51 <sip:51@192.168.1.10:5060>
CSeq: 818651609 REGISTER
Contact: 51 <sip:51@192.168.1.116:5060>;expires=300
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Authorization:Digest response="85afcca2f5997735329ad494d57c90be",username="51",re alm="quadro.epygi-config.com",nonce="171015c79b1ec7c8d111ed0 822779b39",opaque="1192359044",uri="sip:192.168.1.10:5060"
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4

***************************** SIP message buffer end ******************************

12:50:49 TLayer::MsgToTU # Msg type: 52 # TID: 2117 # DID: 0
12:50:49 UACore::TLReqMsgProc # Got REGISTER SIP request
12:50:49 Registrar::SaveBindingToFile # Saved binding for user 51
12:50:49 Registrar::NotifyChange # for user 51 - status reg
12:50:49 Try to send SIP message # (14/10/2007 10:50:49:111 GMT) # UDP # 405 bytes # from: 192.168.1.10:5060 # to: 192.168.1.116:5060

***************************** SIP message buffer start *****************************
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bKfae3f85f0
To: "51" <sip:51@192.168.1.10:5060>
From: "51" <sip:51@192.168.1.10:5060>;tag=fc429cce2966074
CSeq: 818651609 REGISTER
Call-ID: 8f39eba2507cd38d8489ea358bb0fb05@192.168.1.116
Contact: "51" <sip:51@192.168.1.116:5060;transport=UDP>
Expires: 300
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
Content-Length: 0

***************************** SIP message buffer end ******************************



Successful registration with password both on line and phone


***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK33f090659
Call-ID: 7b284dbc1a972521b3aa40db2c142af2@192.168.1.116
From: 51 <sip:51@192.168.1.10:5060>;tag=eebb9b81d6dcb7a
To: 51 <sip:51@192.168.1.10:5060>
CSeq: 1812278530 REGISTER
Contact: 51 <sip:51@192.168.1.116:5060>;expires=300
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4

***************************** SIP message buffer end ******************************

12:59:06 TLayer::MsgToTU # Msg type: 52 # TID: 2391 # DID: 0
12:59:06 UACore::TLReqMsgProc # Got REGISTER SIP request
12:59:06 Try to send SIP message # (14/10/2007 10:59:06:519 GMT) # UDP # 464 bytes # from: 192.168.1.10:5060 # to: 192.168.1.116:5060

***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK33f090659
To: "51" <sip:51@192.168.1.10:5060>
From: "51" <sip:51@192.168.1.10:5060>;tag=eebb9b81d6dcb7a
CSeq: 1812278530 REGISTER
Call-ID: 7b284dbc1a972521b3aa40db2c142af2@192.168.1.116
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="69513c2d8922cc7ac850e 27c735c53ce",opaque="1192359546"
Content-Length: 0

***************************** SIP message buffer end ******************************

12:59:06 Receive SIP message # (14/10/2007 10:59:06:754 GMT) # UDP # 671 bytes # from: 192.168.1.116:5060 # to: 192.168.1.10:5060

***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Max-Forwards: 70
Content-Length: 0
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK914102508
Call-ID: 7b284dbc1a972521b3aa40db2c142af2@192.168.1.116
From: 51 <sip:51@192.168.1.10:5060>;tag=eebb9b81d6dcb7a
To: 51 <sip:51@192.168.1.10:5060>
CSeq: 1812278531 REGISTER
Contact: 51 <sip:51@192.168.1.116:5060>;expires=300
Allow: NOTIFY, REFER, OPTIONS, INVITE, ACK, CANCEL, BYE
Authorization:Digest response="82a28e19e5c8faab874f79eb1e399222",username="51", realm="quadro.epygi-config.com",nonce="69513c2d8922cc7ac850e 27c735c53ce",opaque="1192359546" ,uri="sip:192.168.1.10:5060"
User-Agent: Callctrl/1.6.0.0 MxSF/v3.5.3.4

***************************** SIP message buffer end ******************************

12:59:06 TLayer::MsgToTU # Msg type: 52 # TID: 2392 # DID: 0
12:59:06 UACore::TLReqMsgProc # Got REGISTER SIP request
12:59:06 Registrar::SaveBindingToFile # Saved binding for user 51
12:59:06 Try to send SIP message # (14/10/2007 10:59:06:874 GMT) # UDP # 406 bytes # from: 192.168.1.10:5060 # to: 192.168.1.116:5060

***************************** SIP message buffer start *****************************
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.116:5060;branch=z9hG4bK914102508
To: "51" <sip:51@192.168.1.10:5060>
From: "51" <sip:51@192.168.1.10:5060>;tag=eebb9b81d6dcb7a
CSeq: 1812278531 REGISTER
Call-ID: 7b284dbc1a972521b3aa40db2c142af2@192.168.1.116
Contact: "51" <sip:51@192.168.1.116:5060;transport=UDP>
Expires: 300
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
Content-Length: 0

***************************** SIP message buffer end ******************************

Edited by: ssteiner

ssteiner
10-13-2007, 09:15 PM
Here's another example from a Snom 300

Successful registration when there's a password on both line and phone (password being equal to the userid, so 53)


***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.146:2048;branch=z9hG4bK-gwatsx21baed;rport
From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=e9cevh9tnw
To: "Snom 300" <sip:53@192.168.1.10:5060>
Call-ID: 3c267efbbd59-0k3j2nakqzdc
CSeq: 256 REGISTER
Max-Forwards: 70
Contact: <sip:53@192.168.1.146:2048>;flow-id=1;q=1.0;+sip.insta nce="<urn:uuid:91f48b11-9442-4c3f-b141-f5dc3942737f>"; audio;mobility="fixed";duplex="full";description="snom300";a ctor="principal";events="dialog";methods="INVITE,ACK,CANCEL, BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,I NFO"
User-Agent: snom300/7.1.24
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.146
Expires: 60
Content-Length: 0

***************************** SIP message buffer end ******************************


***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.146:2048;rport=2048;branch=z9hG4bK-gwatsx21baed
To: "Snom 300" <sip:53@192.168.1.10:5060>
From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=e9cevh9tnw
CSeq: 256 REGISTER
Call-ID: 3c267efbbd59-0k3j2nakqzdc
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="009b8d76f7a2467d24b3a 24a2e226eaf",opaque="1192359870"
Content-Length: 0

***************************** SIP message buffer end ******************************


***************************** SIP message buffer start *****************************
REGISTER sip:192.168.1.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.146:2048;branch=z9hG4bK-3byh8pzuv06b;rport
From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=e9cevh9tnw
To: "Snom 300" <sip:53@192.168.1.10:5060>
Call-ID: 3c267efbbd59-0k3j2nakqzdc
CSeq: 257 REGISTER
Max-Forwards: 70
Contact: <sip:53@192.168.1.146:2048>;flow-id=1;q=1.0;+sip.insta nce="<urn:uuid:91f48b11-9442-4c3f-b141-f5dc3942737f>"; audio;mobility="fixed";duplex="full";description="snom300";a ctor="principal";events="dialog";methods="INVITE,ACK,CANCEL, BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK,MESSAGE,I NFO"
User-Agent: snom300/7.1.24
Supported: gruu
Allow-Events: dialog
X-Real-IP: 192.168.1.146
Authorization: Digest username="53",realm="quadro.epygi-config.com",nonce="009b8d7 6f7a2467d24b3a24a2e226eaf",uri="sip:192.168.1.10:5060",respo nse="39f451dae411d9be10e8fdd685ec41ec",opaque="1192359870",a lgorithm=MD5
Expires: 60
Content-Length: 0

***************************** SIP message buffer end ******************************



***************************** SIP message buffer start *****************************
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.146:2048;rport=2048;branch=z9hG4bK-3byh8pzuv06b
To: "Snom 300" <sip:53@192.168.1.10:5060>
From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=e9cevh9tnw
CSeq: 257 REGISTER
Call-ID: 3c267efbbd59-0k3j2nakqzdc
Contact: <sip:53@192.168.1.146:2048;transport=UDP>
Expires: 60
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
Content-Length: 0

***************************** SIP message buffer end ******************************

And here the registration failure if there's no password on either phone and line



***************************** SIP message buffer start *****************************

REGISTER sip:192.168.1.10:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.146:2048;branch=z9hG4bK-p6fk9z7f0byv;rport

From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=3z25xezmzd

To: "Snom 300" <sip:53@192.168.1.10:5060>

Call-ID: 3c2681955e7f-0yjwdmvw0mvi

CSeq: 304 REGISTER

Max-Forwards: 70

Contact:
<sip:53@192.168.1.146:2048>;flow-id=1;q=1.0; +sip.instance="<urn:uuid:e9153995-b0bf-41b0-b509-f95c7c9e 2c69>";audio;mobility="fixed";duplex="full";description=" snom300";actor="principal";events="dialog";methods="INVITE,A CK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK ,MESSAGE,I NFO"

User-Agent: snom300/7.1.24

Supported: gruu

Allow-Events: dialog

X-Real-IP: 192.168.1.146

Expires: 60

Content-Length: 0



***************************** SIP message buffer end ******************************



13:15:36 TLayer::MsgToTU # Msg type: 52 # TID: 2950 # DID: 0

13:15:36 UACore::TLReqMsgProc # Got REGISTER SIP request

13:15:36 Try to send SIP message # (14/10/2007 11:15:36:393 GMT) #
UDP # 458 bytes # from: 192.168.1.10:5060 # to: 192.168.1.146:2048



***************************** SIP message buffer start *****************************

SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 192.168.1.146:2048;rport=2048;branch=z9hG4bK-p6fk9z7f0byv

To: "Snom 300" <sip:53@192.168.1.10:5060>

From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=3z25xezmzd

CSeq: 304 REGISTER

Call-ID: 3c2681955e7f-0yjwdmvw0mvi

Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)

WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="d783a69ae5552707054db 6f99f3987e7",opaque="1192360536"

Content-Length: 0



***************************** SIP message buffer end ******************************



***************************** SIP message buffer start *****************************

REGISTER sip:192.168.1.10:5060 SIP/2.0

Via: SIP/2.0/UDP 192.168.1.146:2048;branch=z9hG4bK-ujyeuwtvhusg;rport

From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=hvjjs0tvg2

To: "Snom 300" <sip:53@192.168.1.10:5060>

Call-ID: 3c2681955e7f-0yjwdmvw0mvi

CSeq: 305 REGISTER

Max-Forwards: 70

Contact:
<sip:53@192.168.1.146:2048>;flow-id=1;q=1.0; +sip.instance="<urn:uuid:e9153995-b0bf-41b0-b509-f95c7c9e 2c69>";audio;mobility="fixed";duplex="full";description=" snom300";actor="principal";events="dialog";methods="INVITE,A CK,CANCEL,BYE,REFER,OPTIONS,NOTIFY,SUBSCRIBE,PRACK ,MESSAGE,I NFO"

User-Agent: snom300/7.1.24

Supported: gruu

Allow-Events: dialog

X-Real-IP: 192.168.1.146

Expires: 60

Content-Length: 0



***************************** SIP message buffer end ******************************



13:15:51 TLayer::MsgToTU # Msg type: 52 # TID: 2954 # DID: 0

13:15:51 UACore::TLReqMsgProc # Got REGISTER SIP request

13:15:51 Try to send SIP message # (14/10/2007 11:15:51:295 GMT) #
UDP # 458 bytes # from: 192.168.1.10:5060 # to: 192.168.1.146:2048



***************************** SIP message buffer start *****************************

SIP/2.0 401 Unauthorized

Via: SIP/2.0/UDP 192.168.1.146:2048;rport=2048;branch=z9hG4bK-ujyeuwtvhusg

To: "Snom 300" <sip:53@192.168.1.10:5060>

From: "Snom 300" <sip:53@192.168.1.10:5060>;tag=hvjjs0tvg2

CSeq: 305 REGISTER

Call-ID: 3c2681955e7f-0yjwdmvw0mvi

Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)

WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="b6316756e33b9299b5d4f 2857c304cff",opaque="1192360551"

Content-Length: 0



***************************** SIP message buffer end ******************************


Edited by: ssteiner

ssteiner
10-13-2007, 10:05 PM
Alright.. I finally got my code working again.

Thus, in going through the logs, I have concluded that the WIP300 calculates the registration response by using userid = password in case no password is set.. that results in a wrong response to the challenge from the Quadro. So, the Quadro is in the clear there.

When I went to look at the Snom registration again, I almost thought I had posted the wrong traces.. so I retraced, but the result is the same - the Snom phone never sends an authentication header if the configured password is empty. I don't see anything in the RFC that would prohibit a registrar from challenging a register request when the password is empty, so I'm assuming that the problem lies with the phone.

And that leaves me with case number three which I cannot post here. It is a problem registering with a an outside provider.. and the Quadro calculates the wrong response to the challenge. I do have the traces and response calculations ready but I'd prefer not to post them in the open.

Edited by: ssteiner

ssteiner
10-13-2007, 11:54 PM
And here's another one where the Quadro goes wrong.. when trying to make a directed Intercom Call from an Aastra phone, the proxy asks for authentication, but despite a proper response to the challenge, the proxy once again responds with a 401.


15:45:54 Receive SIP message # (14/10/2007 13:45:54:524 GMT) # UDP # 1225 bytes # from: 192.168.1.118:5060 # to: 192.168.1.10:5060

***************************** SIP message buffer start *****************************
INVITE sip:52@192.168.1.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKe6fadb785e72b43b0
Max-Forwards: 70
From: Stephan Aastra <sip:55@192.168.1.10:5060>;tag=4eea405d65
To: 52 <sip:52@192.168.1.10:5060>
Call-ID: 7c5f003fa2a6c74d
CSeq: 277 INVITE
Alert-Info: ;info=alert-autoanswer
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference
Contact: Stephan Aastra <sip:55@192.168.1.118:5060;transport=udp>
Supported: timer, 100rel, replaces
User-Agent: Aastra 57i/2.1.0.2145
Content-Type: application/sdp
Content-Length: 597

v=0
o=MxSIP 0 0 IN IP4 192.168.1.118
s=SIP Call
c=IN IP4 192.168.1.118
t=0 0
m=audio 3000 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:106 BV16/8000
a=rtpmap:107 BV32/16000
a=rtpmap:113 L16/16000
a=rtpmap:110 PCMU/16000
a=rtpmap:111 PCMA/16000
a=rtpmap:112 L16/8000
a=rtpmap:98 G726-16/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:115 G726-32/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
***************************** SIP message buffer end ******************************

15:45:54 Try to send SIP message # (14/10/2007 13:45:54:528 GMT) # UDP # 258 bytes # from: 192.168.1.10:5060 # to: 192.168.1.118:5060

***************************** SIP message buffer start *****************************
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKe6fadb785e72b43b0
To: "52" <sip:52@192.168.1.10:5060>
From: "Stephan Aastra" <sip:55@192.168.1.10:5060>;tag=4eea405d65
CSeq: 277 INVITE
Call-ID: 7c5f003fa2a6c74d
Content-Length: 0

***************************** SIP message buffer end ******************************

15:45:54 TLayer::MsgToTU # Msg type: 51 # TID: 7761 # DID: 0
15:45:54 UACore::TLReqMsgProc # Got INVITE SIP request
15:45:54 Try to send SIP message # (14/10/2007 13:45:54:538 GMT) # UDP # 440 bytes # from: 192.168.1.10:5060 # to: 192.168.1.118:5060

***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKe6fadb785e72b43b0
To: "52" <sip:52@192.168.1.10:5060>
From: "Stephan Aastra" <sip:55@192.168.1.10:5060>;tag=4eea405d65
CSeq: 277 INVITE
Call-ID: 7c5f003fa2a6c74d
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="d1dde452efa9a23a64d42 e01c599eb2a",opaque="1192369554"
Content-Length: 0

***************************** SIP message buffer end ******************************

15:45:54 Receive SIP message # (14/10/2007 13:45:54:642 GMT) # UDP # 324 bytes # from: 192.168.1.118:5060 # to: 192.168.1.10:5060

***************************** SIP message buffer start *****************************
ACK sip:52@192.168.1.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKe6fadb785e72b43b0
Max-Forwards: 70
From: Stephan Aastra <sip:55@192.168.1.10:5060>;tag=4eea405d65
To: "52" <sip:52@192.168.1.10:5060>
Call-ID: 7c5f003fa2a6c74d
CSeq: 277 ACK
User-Agent: Aastra 57i/2.1.0.2145
Content-Length: 0

***************************** SIP message buffer end ******************************

15:45:54 Receive SIP message # (14/10/2007 13:45:54:665 GMT) # UDP # 1430 bytes # from: 192.168.1.118:5060 # to: 192.168.1.10:5060

***************************** SIP message buffer start *****************************
INVITE sip:52@192.168.1.10:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKacf36137815c35439
Max-Forwards: 70
From: Stephan Aastra <sip:55@192.168.1.10:5060>;tag=4eea405d65
To: 52 <sip:52@192.168.1.10:5060>
Call-ID: 7c5f003fa2a6c74d
CSeq: 278 INVITE
Alert-Info: ;info=alert-autoanswer
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, OPTIONS, UPDATE, PRACK, SUBSCRIBE, INFO
Allow-Events: talk, hold, conference
Authorization: Digest username="55",realm="quadro.epygi-config.com",nonce="d1dde45 2efa9a23a64d42e01c599eb2a",uri="sip:52@192.168.1.10:5060",re sponse="c189f24768e117d9cc4b01643d92d94a",opaque="1192369554 "
Contact: Stephan Aastra <sip:55@192.168.1.118:5060;transport=udp>
Supported: timer, 100rel, replaces
User-Agent: Aastra 57i/2.1.0.2145
Content-Type: application/sdp
Content-Length: 597

v=0
o=MxSIP 0 0 IN IP4 192.168.1.118
s=SIP Call
c=IN IP4 192.168.1.118
t=0 0
m=audio 3000 RTP/AVP 0 18 106 107 113 110 111 112 98 97 115 96 9 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:106 BV16/8000
a=rtpmap:107 BV32/16000
a=rtpmap:113 L16/16000
a=rtpmap:110 PCMU/16000
a=rtpmap:111 PCMA/16000
a=rtpmap:112 L16/8000
a=rtpmap:98 G726-16/8000
a=rtpmap:97 G726-24/8000
a=rtpmap:115 G726-32/8000
a=rtpmap:96 G726-40/8000
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=silenceSupp:off - - - -
a=fmtp:101 0-15
a=ptime:30
a=sendrecv
***************************** SIP message buffer end ******************************

15:45:54 Try to send SIP message # (14/10/2007 13:45:54:670 GMT) # UDP # 258 bytes # from: 192.168.1.10:5060 # to: 192.168.1.118:5060

***************************** SIP message buffer start *****************************
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKacf36137815c35439
To: "52" <sip:52@192.168.1.10:5060>
From: "Stephan Aastra" <sip:55@192.168.1.10:5060>;tag=4eea405d65
CSeq: 278 INVITE
Call-ID: 7c5f003fa2a6c74d
Content-Length: 0

***************************** SIP message buffer end ******************************

15:45:54 TLayer::MsgToTU # Msg type: 51 # TID: 7762 # DID: 0
15:45:54 UACore::TLReqMsgProc # Got INVITE SIP request
15:45:54 Try to send SIP message # (14/10/2007 13:45:54:679 GMT) # UDP # 440 bytes # from: 192.168.1.10:5060 # to: 192.168.1.118:5060

***************************** SIP message buffer start *****************************
SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP 192.168.1.118:5060;branch=z9hG4bKacf36137815c35439
To: "52" <sip:52@192.168.1.10:5060>
From: "Stephan Aastra" <sip:55@192.168.1.10:5060>;tag=4eea405d65
CSeq: 278 INVITE
Call-ID: 7c5f003fa2a6c74d
Server: Epygi Quadro SIP User Agent/v4.1.33 (QUADRO-2X)
WWW-Authenticate: Digest realm="quadro.epygi-config.com",nonce="d1dde452efa9a23a64d42 e01c599eb2a",opaque="1192369554"
Content-Length: 0

***************************** SIP message buffer end ******************************

I have calculated the response myself (password is empty) and have come to the conclusion that c189f24768e117d9cc4b01643d92d94a is the proper response to the challenge given the userid and password.

AramK
10-14-2007, 04:09 PM
To investigate this problem we need full logs from the Quadro. Repeat your scenario, download the logs, open a TSS request,describe your problemand attach the logs. We have some guesses regarding these problems, but cannot say anything based only in SIP traces.


P.S. We recommend to use either P-n-P or Autoprovisioning for our Supported and Tested phones configuration.

ssteiner
10-14-2007, 05:23 PM
Sorry to be thick.. but where is the link to open a TSS request? After logging into the support section, I see the following options:

Device Registration (been there, done that)
Downloads
Questionnaire (the link goes to a non existing page)
Account Information
Forum
Help

In the help section I find a reference to a request forum, but the link goes to http://www-old.epygi.com/Support/HelpPage.asp# and just opens a popup.

AramK
10-14-2007, 05:30 PM
If you don't see a TSS section it means that you are an end-user. TSS is available for our Distributors/Resellers. Ask your Reseller to open a TSS request by its name. If you are a Reseller, then we'll see if there a problem in our database.