Hello All,

By the way, this is the first time I've seen the server send me a 407 reply
(see below).

Apart from this issue, my UA processes 401 replies during registration
without any problem.

Best Regards,
Jerry


-----Original Message-----
From: Jerry Richards [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 11, 2008 10:12 AM
To: 'sofia-sip-devel@lists.sourceforge.net'
Subject: No Reply to 407 Authentication Required

Hello All,

I am using 1.12.7+ and observed the following scenario:

1. Invoked nua_invite() to inititate a call 2. nua_r_invite callback event:
407 Proxy authentication required 3. Invoked nua_authenticate() 4. ***
sofia-sip does not re-send invite *** 5. *** nua_r_authenticate event: 904
No matching challenge

Do you know why this fails?  Details of INVITE and 407 reply are below...

Here is the INVITE:
   [+]Request-Line: INVITE sip:[EMAIL PROTECTED]:5060;user=phone SIP/2.0
   [-]Message Header
       --Via: SIP/2.0/UDP 192.168.72.77;rport;branch=z9hG4bKaUKj7ND0D8j2Q
       --Max-Forwards: 70
      [+]From: ""
<sip:[EMAIL PROTECTED]:5060;user=phone>;tag=aQ3Um8Fa83p5p
      [+]To: <sip:[EMAIL PROTECTED]:5060>;user=phone
       --Call-ID: e7aa265b-b23d-122b-328f-97274663ba97
       --CSeq: 100470415 INVITE
      [+]Contact: <sip:[EMAIL PROTECTED]>
       --User-Agent: TONE COMMANDER 7810/0000b9
       --Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, INFO, MESSAGE, SUBSCRIBE,
NOTIFY, PRACK, UPDATE, REFER
       --Supported: timer, 100rel
       --Session-Expires: 3600
       --Min-SE: 120
       --Content-Type: application/sdp
       --Content-Disposition: session
       --Content-Length: 213
       --P-Preferred-Identity: <sip:[EMAIL PROTECTED]>

Here is the 407 Reply:
[-][3295] [RCV STA] 407 Proxy authentication required (from
74.40.21.12:5060), CSEQ: 100470415 INVITE
    --Status-Line: SIP/2.0 407 Proxy authentication required
   [-]Message Header
      [-]From: ""
<sip:[EMAIL PROTECTED]:5060;user=phone>;tag=aQ3Um8Fa83p5p
          --SIP from address: "" sip:[EMAIL PROTECTED]:5060;user=phone
          --SIP tag: aQ3Um8Fa83p5p
      [-]To: <sip:[EMAIL PROTECTED]:5060>;tag=00DA.2FB1;user=phone
          --SIP to address: sip:[EMAIL PROTECTED]:5060
          --SIP tag: 00DA.2FB1;user=phone
       --Call-ID: e7aa265b-b23d-122b-328f-97274663ba97
       --CSeq: 100470415 INVITE
       --Via: SIP/2.0/UDP 192.168.72.77;rport;branch=z9hG4bKaUKj7ND0D8j2Q
      [-]Contact: <sip:[EMAIL PROTECTED]:5060>
          --SIP contact address: sip:[EMAIL PROTECTED]:5060
       --WWW-Authenticate: Digest
realm="",qop="auth",opaque="0800.20F9.89D6.4850.00DA.2FB3",nonce="0800.20F9.
89D6.4850.00DA.2FB2"
 -- 

Best Regards,
Jerry


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to