<div>Hi Anca,</div><div><br></div><div>Thanks, but not quite what I'm looking for......</div><div><br></div><div>Cheers</div><div>Jason</div><div><br></div><div><br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 4:28 PM, Anca Vamanu <span dir="ltr"><<a href="mailto:anca.vamanu@1and1.ro" target="_blank">anca.vamanu@1and1.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
Hi Jason,<br>
<br>
<br>
There is a way to do this - call <b>pres_refresh_watchers(<a>"sip:user@domain"</a>,
"presence", "1") </b>from the script.<br>
<br>
<a href="http://www.kamailio.org/docs/modules/3.2.x/modules_k/presence.html#id2495087" target="_blank">http://www.kamailio.org/docs/modules/3.2.x/modules_k/presence.html#id2495087</a><br>
<br>
Regards,<br>
Anca<div><div><br>
<br>
<br>
On 03/06/2012 02:35 PM, Jason Penton wrote:
<blockquote type="cite">Hi All,
<div><br>
</div>
<div>Was wondering if there was a mechanism to internally (ie via
another module) trigger notifies on a particular presentity?
Looking at presence module I see there is only a handle_publish
(called from cfg file on PUBLISH request). I would imagine it
would be useful to add to the presence API a mechanism to update
a presentity from within Kamailio as opposed to relying on a
publish. I understand there is the PUA modules but from what I
can see these explicitly send a PUBLISH to a presence server and
is not what I am looking for.</div>
<div><br>
</div>
<div>My scenario:</div>
<div>I need to implicitly register a user and send notifies to all
subscribed watchers (from another module). </div>
<div><br>
</div>
<div>Cheers</div>
<div>Jason</div>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org" target="_blank">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
<br></blockquote></div><br></div>