On Thu, 2009-10-01 at 21:01 -0400, Dale Worley wrote: > On Thu, 2009-10-01 at 19:20 -0400, Scott Lawrence wrote: > > Wouldn't it be sufficient to just cache the contact URIs [and not > > cache the resource URIs within the resource lists]? It really > > doesn't matter how many other URIs you have subscriptions for that map > > to the contact, so you don't really need that cache - just a map. The > > outbound subscriptions to phones should just be to the contacts. > > True, we could remove the cache regarding resource URIs, but that would > take more work than leaving it in.
Now that I think more about it, we still want to cache resource URIs within resource lists: For each resource URI, we maintain (or attempt to maintain) a subscription for "reg" events for that URI. That is how the RLS knows the contacts for the resource URI. If we did not cache resource URIs, we could maintain multiple "reg" subscriptions for a single URI. 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/
