200 OK response to a SUBSCRIBE

5 posts / 0 new
Last post
rodricks
Offline
Joined: 03/14/2006
Posts:
200 OK response to a SUBSCRIBE

Hi All,

i would like to discuss the behaviour of a UA on reception of subscription.

Case - On reception of subscribe, UAS sends a 200 OK with expires 0

1. Is the case valid ????

2. Should this trigger in removal of subscription (treating it as un-subscribe or rejection of subscribe)
OR
UA start the subscription will default subscrption timer (comsidering the expires value was malformed)

rgds

Edited by admin on 05/16/2010 - 04:31
admin
Offline
Joined: 03/09/2007
Posts:
Re: 200 OK response to a SUBSCRIBE

Hi Rodricks,

It looks like a complicated scenario..
I think if you recieve expires 0 along with 200-OK, it should be considered as rejection of subscription, even though
200-class responses indicate that the subscription has been accepted.
As the RFC3265 says
" The "Expires" header in a 200-class response to SUBSCRIBE indicates  the actual duration for which the subscription
will remain active  (unless refreshed)."

But I dont think this case is ever valid in the practical scenario.

What do you say?

--Sanketh

PS: It would be easy for others understand if we mention  the context somewhere in the post,
eg.  such as 'SIP'  for this post. Just a thought.

rodricks
Offline
Joined: 03/14/2006
Posts:
Re: 200 OK response to a SUBSCRIBE

Hi,

Actually this is a grey area in RFC 3265, but if i consider the 200 OK class response with expires 0 to tear down the subscription, probably this could also be similarly argumented for " 200 OK for an INVITE with muting all SDP can also be interpreted as a Call rejection or tear-down " which is not so.

Sanketh wrote:
I think if you recieve expires 0 along with 200-OK, it should be considered as rejection of subscription, even though
200-class responses indicate that the subscription has been accepted.

UAC can understand the UAS behavious as acceptance of subscription for a single notification , but this behaviour can still be debated .....

rgds

digitalm
Offline
Joined: 03/15/2006
Posts:
Re: 200 OK response to a SUBSCRIBE

yes rodricks,
it looks reasonable.
Pls post here whenever you get more into this.
thanks.

Hemz
Offline
Joined: 07/17/2009
Posts:
Re: 200 OK response to a SUBSCRIBE

200 OK response to a SUBSCRIBE with Expires "0" means Un-Subscribed...