Hi

To answer the question of precedence of "Expires" header present in SUBSCRIBE 
and it's 200-class response, the 200-class response "expires" header has higher 
precedence.

Please refer section 3.1.1 of RFC 3265 which states below:-
"200-class responses to SUBSCRIBE requests also MUST contain an
"Expires" header. The period of time in the response MAY be shorter
but MUST NOT be longer than specified in the request. The period of
time in the response is the one which defines the duration of the
subscription."

Regarding the refresh request now as we have got the subscription duration from 
200-class response the subscription refresh should be done at any time before 
subscription expires.

Please refer section 3.1.4.2 of RFC 3265 for details on "refreshing of 
subscriptions"

regards
Abhishek Dhammawat
Aricent


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of rishabh
Sent: Wednesday, August 12, 2009 2:36 PM
To: Naarumanchi Kaushik
Cc: sip fourm
Subject: Re: [Sip-implementors] Exceptance of which timer value for SUBSCRIBE

Thanks for reply but would like to ask,

So like in the message we need to start the SUBSCRIPTION timer on the
basis of 2XX response from the server...

So next time when i need to SUBSCRIBE i should take care of that time
given in 2xx response

from  server and after that period of time i need to SUBSCRIBE again.

Regards
Rishabh Jain

Naarumanchi Kaushik wrote:
> Generally the time value mentioned in the SUBSCRIBE's Expires: header
> is the duration of the subscription which we are proposing to the
> Server. Based on its local configuration, it could either accept it or
> reduce it(But not increase it) and send it in 2xx responses. And this
> is the actual duration of the Subscription.
> You have to send a refresh SUBSCRIBE before that duration considering
> the network delays...For Eg. 50% of the server suggested time.
>
> On Wed, Aug 12, 2009 at 1:28 PM, rishabh <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Dear all,
>
>     Can any one suggest which timer value we need to accept if we have
>     SUBSCRIBED the server for timer value 3600 fro MWI...
>
>     And in return if server gives 202 accepted with timer value 2000 which
>     is other then asked in SUBSCRIPTION.
>
>     So for how much time did the server has been SUBSCRIBED and will
>     report
>     me the NOTIFICATION...
>
>     And after how much time I need to SUBCRIBE again to the server..
>
>
>     Regards
>     Rishabh Jain
>     _______________________________________________
>     Sip-implementors mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
>
>
>
> --
> N.V.S.Kaushik.
> Software Engineeer,
> Motorola, Bangalore.
> Ph: +91-9972500163

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in 
error,please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to