Re: SUBSCRIBE problem

niepin <[email protected]> Wed, 17 Jan 2007 15:58:45 +0000 (UTC)
Newsgroups gmane.comp.voip.nist-sip
Message-ID <[email protected]>
Hi,
In the section 3.3.6 of RFC3265, it also says:
Note that the NOTIFY messages triggered by SUBSCRIBE messages with
"Expires" headers of 0 will contain a "Subscription-State" value of
"terminated", and a "reason" parameter of "timeout". 

And

Polling of event state can cause significant increases in load on the
network and notifiers; as such, it should be used only sparingly. 
(because the expires 0 also indicates fetching the state)

So it is reasonable to set the state to "terminated" after getting such
a subscrible. About the exception, I guess you can ignore it in the program.


BR

niepin