Re: Re: SUBSCRIBE problem

"M. Ranganathan" <[email protected]> Wed, 17 Jan 2007 11:17:52 -0500
Newsgroups gmane.comp.voip.nist-sip
Organization NIST Advanced Networking Technologies Division
Message-ID <[email protected]>
Niepin,

The Dialog should be deleted using Dialog.delete(). This is because the
Dialog may not have been created by the Subscribe. It may have been
created by an INVITE.

Ranga



On Wed, 2007-01-17 at 15:58 +0000, niepin wrote:
> 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
> 
> _______________________________________________
> nist-sip mailing list
> [email protected]
> http://www-x.antd.nist.gov/mailman/listinfo/nist-sip