[OpenSIPS-Users] Topology Hiding Presence Proxy

Nathan Baker bakern at gmail.com
Fri Nov 17 01:13:02 EST 2017


Hello,

I have been looking for some examples on how to use the topology hiding
module and proxying presence (SUBSCRIBE, NOTIFY, etc.) together, similar to
how the mid_registrar module would handle registrations.  Does anyone have
any examples or suggestions on how to do this?

I have the clients subscribing to the server (through OpenSIPS proxy to
another presence server), but I'm not sure how to store the subscriptions
and how to route the presence messages.  For registrations you can just do
save("location"), but is there an equivalent for subscriptions/presence?
It seems like the handle_subscribe() function from the presence module
wouldn't apply because it's part of a presence server, or can you just use
it for storing subscriptions but never publish anything?  I don't see a
function to look up these stored subscriptions.

Would it be better to just assume that the subscriptions are valid and
relay the messages?  If so, what is the best way to handle the routing?

Any help or insight would be greatly appreciated!

Thanks,
Nate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171117/7669edc6/attachment.html>


More information about the Users mailing list