<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 12.07.18 16:41, Michal Škuta wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEws=bEdF4doon6uEyx4h8TsOv9NUdarj2JR=Wvc7mSZqv538Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div>Hello,</div>
        <div><br>
        </div>
        <div>I am trying make presence module work with Kamailio. Right
          now I am testing these modules: presence, presence_xml,
          presence_dialoginfo, pua and pua_dialoginfo.</div>
        <div><br>
        </div>
        <div>I had some success, the BLF is working only when the
          monitored extension is calling. When the monitored extension
          is calling, then the BLF changes its color (red). After end of
          the call the BLF changes color to green.</div>
        <div>
          <pre><span style="font-family:arial,helvetica,sans-serif">My problem is when a User comes on-line then it sends SUBSCRIBE with *Event: dialog* and
don't get notified of its subscribers state and BLF is not changed.
</span></pre>
        </div>
      </div>
    </blockquote>
    <br>
    does it come online during a call?<br>
    <br>
    <blockquote type="cite"
cite="mid:CAEws=bEdF4doon6uEyx4h8TsOv9NUdarj2JR=Wvc7mSZqv538Q@mail.gmail.com">
      <div dir="ltr">
        <div>
          <pre><span style="font-family:arial,helvetica,sans-serif">I found similar problem in this mail list :
<a href="https://lists.kamailio.org/pipermail/sr-users/2017-March/096314.html" moz-do-not-send="true">https://lists.kamailio.org/pipermail/sr-users/2017-March/096314.html</a> But is not working for me.


</span></pre>
          <pre><span style="font-family:arial,helvetica,sans-serif">Second question is about BLF and offline state. I can not found anything in RFC, there is no offline state, no way to turn off the BLF lamp from green to OFF.
</span></pre>
          <pre><span style="font-family:arial,helvetica,sans-serif">I found only this pdf from grandstream: <a href="http://www.grandstream.com/sites/default/files/Resources/GXP21x0_Eventlist_BLF_Guide.pdf" moz-do-not-send="true">http://www.grandstream.com/sites/default/files/Resources/GXP21x0_Eventlist_BLF_Guide.pdf</a>  mentioning offline state on page 8.
</span></pre>
          <pre><span style="font-family:arial,helvetica,sans-serif">Does anyone have experience with it?
</span></pre>
        </div>
      </div>
    </blockquote>
    <br>
    BLF is about dialog states, not user (device) states, so it is about
    being in a call (busy) or or not. Not to get notifications about it,
    you should unsubscribe for dialog event.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<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 World Conference -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>