<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Jason,<br>
    <br>
    <br>
    There is a way to do this - call <b>pres_refresh_watchers(<a class="moz-txt-link-rfc2396E" href="sip:user@domain">"sip:user@domain"</a>,
      "presence", "1") </b>from the script.<br>
    <br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/modules/3.2.x/modules_k/presence.html#id2495087">http://www.kamailio.org/docs/modules/3.2.x/modules_k/presence.html#id2495087</a><br>
    <br>
    Regards,<br>
    Anca<br>
    <br>
    <br>
    On 03/06/2012 02:35 PM, Jason Penton wrote:
    <blockquote
cite="mid:CALoGXNVRUL6YM7xTOdEubE7Cgav718qKdZE-zxCyeJ4D9ebTBg@mail.gmail.com"
      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).&nbsp;</div>
      <div><br>
      </div>
      <div>Cheers</div>
      <div>Jason</div>
    </blockquote>
    <br>
  </body>
</html>