Hello,

I am using SIPXtapi and its working well with many of the SIP Servers. But
with some proxy servers it does not registers.

Detailed issue description
****************************
1- SIPXTapi sends register request (without WWW-Authenticate header)
2- SIP Proxy (Nextone) rejects register with 401 Unauthorized.
3- SIPXtapi keeps on sending register request WITHOUT WWW-Authenticate
header (I can see that Realm is correctly specified)

Logs
*******************

First Register
++++++++++++++++
"SipUserAgent::sendUdp UDP SIP User Agent sent message:\n----Remote
Host:217.72.243.59---- Port: 5060----\nREGISTER sip:sip.checkcdr.com
SIP/2.0\r\nFrom: sip:[email protected];tag=54c76b10\r\nTo:
sip:[email protected]\r\ncall-id:
43686df6a892f0153535663565dc18a6\r\nCseq: 101 REGISTER\r\nContact:
<sip:[email protected]:16281;LINEID=1ab69e9e48d9>\r\nExpires: 3600\r\nDate:
Fri, 15 May 2009 07:25:50 GMT\r\nMax-Forwards: 70\r\nUser-Agent:
399917\r\nAccept-Language: \r\nSupported: replaces\r\nVia: SIP/2.0/UDP
192.168.0.5:16281;branch=z9hG4bK-3bebc0f84853;rport\r\nContent-Length:
0\r\n\r\n--------------------END--------------------\n"

Reject Response
++++++++++++++++++
"Read SIP message:\n----Remote Host:217.72.243.59---- Port:
5060----\nSIP/2.0 401 Unauthorized\r\nVia: SIP/2.0/UDP
192.168.0.5:16281;branch=z9hG4bK-3bebc0f84853;rport\r\nFrom:
sip:[email protected];tag=54c76b10\r\nTo:
sip:[email protected]\r\nwww-authenticate: Digest
realm=\"217.72.243.59\", nonce=\"1242372372\",
algorithm=MD5\r\nContent-Length:
0\r\n\r\n====================END====================\n"

Fiurther Register and Reject messages
+++++++++++++++++++++++++++++++++++++++++
SIP User Agent sent message:\n----Remote Host:217.72.243.59---- Port:
5060----\nREGISTER sip:sip.checkcdr.com SIP/2.0\r\nFrom:
sip:[email protected];tag=54c76b10\r\nTo:
sip:[email protected]\r\ncall-id:
43686df6a892f0153535663565dc18a6\r\nCseq: 101 REGISTER\r\nContact:
<sip:[email protected]:16281;LINEID=1ab69e9e48d9>\r\nExpires: 3600\r\nDate:
Fri, 15 May 2009 07:25:50 GMT\r\nMax-Forwards: 70\r\nUser-Agent:
399917\r\nAccept-Language: \r\nSupported: replaces\r\nVia: SIP/2.0/UDP
192.168.0.5:16281;branch=z9hG4bK-3bebc0f84853;rport\r\nContent-Length:
0\r\n\r\n--------------------END--------------------\n"
Read SIP message:\n----Remote Host:217.72.243.59---- Port: 5060----\nSIP/2.0
401 Unauthorized\r\nVia: SIP/2.0/UDP
192.168.0.5:16281;branch=z9hG4bK-3bebc0f84853;rport\r\nFrom:
sip:[email protected];tag=54c76b10\r\nTo:
sip:[email protected]\r\nwww-authenticate: Digest
realm=\"217.72.243.59\", nonce=\"1242372372\",
algorithm=MD5\r\nContent-Length:
0\r\n\r\n====================END====================\n"


Not able to understand whats wrong

Regards,

Manoj



_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to