[reSIProcate] Publish, Subscribe/Notify Handling
Hi,
We have an external presence server that we connect to. I am trying to
setup Resip+Repro proxy to forward the publish and subscribe messages
to this server by acting as a proxy. I also would like to route back
the notifies and other responses from the presence server back to the
client.
It seems like there are a couple of ways to do this in resiprocate:
1. Implementing publication and subscription handlers under DUM
2. Implementing the OutOfDialogHandler under DUM for these messages
The question I have here is
Which of the above two are better?
What do I have to do to map a request to a response? Eg. PUBLISH from
client is proxied to the presence server, how do we determine the
client information for the 200 OK message in response to the PUBLISH.
Finally, there is another repro specific question:
Is there a way to have resiprocate forward the PUBLISH/SUBSCRIBE/NOTIFY
messages also to the proxy so that the "monkeys" can handle them?
Can somebody shed some light on this one.
Thanks in advance,
Prasanna.