[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sip-implementors
Subject:    Re: [Sip-implementors] SUBSCRIBE 202 and 407
From:       Prince A P <princearimpur () huawei ! com>
Date:       2009-09-30 3:50:04
Message-ID: 002501ca417f$6bc84720$2601120a () china ! huawei ! com
[Download RAW message or body]

HI Thomas,

Why do you have a Requirement to send 401 after 202?
Why your Authentication takes more time?

Still, I dont think you can send 401 after 202.

rgds,
Prince

This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!


-----Original Message-----
From: sip-implementors-bounces@lists.cs.columbia.edu
[mailto:sip-implementors-bounces@lists.cs.columbia.edu] On Behalf Of Dale
Worley
Sent: Wednesday, September 30, 2009 2:02 AM
To: Scott Lawrence
Cc: sip-implementors@lists.cs.columbia.edu
Subject: Re: [Sip-implementors] SUBSCRIBE 202 and 407

On Tue, 2009-09-29 at 15:32 +0000, Scott Lawrence wrote:
> On Mon, 2009-09-28 at 16:05 +0530, Thomas george wrote:
> > Hi,
> > 
> > In case the Authentication takes more time for a SUBSCRIBE request,
> > Can I first send 202 response to the SUBSCRIBE request and later send
401?
> 
> No - proxies will not forward the second response because the
> transaction is complete.
> 
> You need to send a NOTIFY to the accepted dialog with a
> Subscription-State of terminated (and some nice explanatory text would
> be good too).

Immediately after sending the 202, the notifier must send a NOTIFY, but
it can use "Subscription-State: pending" to indicate that the
subscription has been fully approved by the notifier.  If the notifier
eventually decides to reject the subscription, it would send another
NOTIFY with "Subscription-State: terminated".

If you are using SIP authentication as a preliminary permission check,
you would apply that first, to the initial SUBSCRIBE.

Dale


_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic