<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>from your description, I don't see a problem from the specs point
      of view, but more like something that you would like to have.</p>
    <p>If UA subscribers only for dialog event, then it gets NOTIFY
      requests only for dialog states (new call, ..., termintated call).
      When it subscribers for presence, then it gets UA availability
      states.</p>
    <p>And I think this is what you also get based on description. Am I
      wright?</p>
    <p>Mixing the states of presence for dialog notifications is not
      possible, not in the specs, but eventually you can write a module
      yourself and map as you want/need presence states over dialog
      states.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 03/03/2017 19:13, SamyGo wrote:<br>
    </div>
    <blockquote
cite="mid:CAJUJwtgArEz3bROzh4cnFA56M118rSSUni0fMX_RhzA0ixqpZQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,<br>
          I'm in need of making/tweak an existing Kamailio Presence
          setup which is giving some tough time.<br>
          <br>
        </div>
        <div><u>Whats already working:</u></div>
        <div>BLF dialog states changes are already sent across the
          users. SCA is working as well.</div>
        <div><br>
        </div>
        <div><u>What isn't working:</u></div>
        <div>When a User comes online then it sends SUBSCRIBE with <b>Event:
            dialog</b> and don't get notified of its subscribers state
          right then unless the monitored extensions make a call (BLF
          works)<br>
          <br>
        </div>
        <div><u>Why is it not working:<br>
            <br>
          </u></div>
        <div>As evident from wireshark traces, the user IP phones (Test
          sets: Polycoms, Yealink, CISCO, Grandstream) don't send our <b>Event:
            presence</b> rather only <b>Event:dialog</b> and Kamailio
          do not send NOTIFY out to everyone. Though yes there is an
          internally generated PUBLISH seen and handled properly upon
          registration state changes.<br>
          <br>
          Jitsi has been tested and Kamailio send out these registration
          state change info to jitsi, somce jitsi sends <b>Event:presence
          </b>in SUBSCRIBE.<br>
          <br>
          I need dialog based NOTIFY to be sent out on registration
          state-change.<br>
          <br>
          Need pointers and help on the topic, looking forward to some
          feedback.<br>
          <br>
          Regards,<br>
          Sammy</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>