<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Nathan,<br>
<br>
Based on your description you do not want topology-hiding (to
simply hide IPs from the end-points), but a mid-presence agent,
right ?<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
<div class="moz-cite-prefix">On 11/17/2017 08:13 AM, Nathan Baker
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADwrbY3VikfdBy4zt_OZo6j=r6b1sRscNB0J1Kny0HTreSVuOg@mail.gmail.com">
<div dir="ltr">Hello,
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Any help or insight would be greatly appreciated!</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Nate</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>