< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[repro-devel] Proxying SUBSCRIBE requests


Hi,

Does repro support proxying SUBSCRIBE requests that it determine to be for an event to be handled by another server (eg. presence for a remote presentity), while handling other SUBSCRIBE requests for the event locally, eg. the presence of a local user?

I've added a server subscription handler to DUM for the presence event. This causes a match for all subscriptions to this event, regardless of whether the local server can act as the presentity for the subscription. There seems no way to skip handling of SUBSCRIBE requests (so that the proxy can process them), other than to not handle any events of the type.

I was thinking that my handler could generate a client subscription to the the remote presence server, and treat received NOTIFY requests from this server as a publish, thus generating new NOTIFY requests to the original subscriber. But it seems this should not be necessary, and proxying the SUBSCRIBE is the correct behavior.

thanks
Paul