From: Bernie H. <bho...@sw...> - 2005-06-09 07:33:54
|
Moi Juha! For REGISTER the authentication works, but if authentication is used for INVITEs, it does not work anymmore. T: Bernie On Wed, 8 Jun 2005, Juha Heinanen wrote: > bernie, > > kphone may display "wrong" server name, but authentication still works > fine. see below for an example. there must be some other reason why > authentication fails in your case. > > -- juha > > SipClient: Received: 23:39:54.447 > --------------------------------- > SIP/2.0 401 Unauthorized > Via: SIP/2.0/UDP 10.0.0.1:5062;branch=z9hG4bK3E31C614;rport=5062;received=62.78.104.199 > CSeq: 5862 REGISTER > To: "Juha Heinanen" <sip:jh...@tu...>;tag=96b61b9ae8bfa5b3bff9decbaf1d9457.2bbd > From: "Juha Heinanen" <sip:jh...@tu...> > Call-ID: 512675311@10.0.0.1 > WWW-Authenticate: Digest realm="tutpro.com", nonce="42a758a7401ee79460aeda5bcec029d06c509151", qop="auth" > Server: OpenXg SIP EXpress Router (0.9.2 (i386/linux)) > Content-Length: 0 > > SipClient: Sending: 23:40:01.970 > -------------------------------- > REGISTER sip:tutpro.com SIP/2.0 > Via: SIP/2.0/UDP 10.0.0.1:5062;branch=z9hG4bK20D2B8E4 > CSeq: 5863 REGISTER > To: "Juha Heinanen" <sip:jh...@tu...> > Authorization: Digest username="foobar", realm="tutpro.com", nonce="42a758a7401ee79460aeda5bcec029d06c509151", uri="sip:sip.tutpro.com", qop=auth, cnonce="abcdefghi", nc=00000001, response="95ca466f0dc1493b179a80e216808589", opaque="", algorithm="MD5" > Expires: 900 > From: "Juha Heinanen" <sip:jh...@tu...> > Call-ID: 512675311@10.0.0.1 > Content-Length: 0 > User-Agent: kphone/4.1.1 > Event: registration > Allow-Events: presence > Contact: "Juha Heinanen" <sip:jh@10.0.0.1:5062;transport=udp>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER" > > SipClient: Received: 23:40:03.129 > --------------------------------- > SIP/2.0 200 OK > Via: SIP/2.0/UDP 10.0.0.1:5062;branch=z9hG4bK20D2B8E4;rport=5062;received=62.78.104.199 > CSeq: 5863 REGISTER > To: "Juha Heinanen" <sip:jh...@tu...>;tag=96b61b9ae8bfa5b3bff9decbaf1d9457.af4e > From: "Juha Heinanen" <sip:jh...@tu...> > Call-ID: 512675311@10.0.0.1 > Contact: <sip:jh@62.78.104.199:5062;transport=udp>;q=0.5;expires=900 > Server: OpenXg SIP EXpress Router (0.9.2 (i386/linux)) > Content-Length: 0 > |