On Fri, 2009-08-21 at 08:53 -0400, Beeton, Carolyn (CAR:9D60) wrote: > yes, because the subscriptions are persistent - they never go away. > What I see is empty NOTIFYs being sent on shutdown of SAA. > I think the proper thing to do is to send NOTIFY with content > to terminate dialogs, if necessary. > This is done by "publish"ing appropriate content, not "unpublish"ing.
I think that the cleanest way to fix these problems is to retain unpublish() to mean that we want any subscribers to see that there is no published content, but: The destructor for SipPublishContentMgr should delete any content objects that it currently owns. That behavior for the destructor is necessary because SipPublishContentMgr owns the memory, so it is responsible for deleting it. Using unpublish() to mean a *visible* deletion allows us to make a visible deletion, as distinct from the invisible deletion from destroying the SipPublishContentMgr. Dale _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
