<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Oooh, that'd be my first one - scary!<br>
      Your logic sounds extremely plausible.<br>
      Suspect that ESL subscription would be the technically correct way
      to do it, though.<br>
      I think a logged warning for failed OPTIONS request seems more
      obvious, but I may as well put in both.<br>
      <br>
      Cheers<br>
      <br>
      On 09/06/2014 15:07, Steven Ayre wrote:<br>
    </div>
    <blockquote
cite="mid:CAFiqYum0PWV-3sBDf+F-KnfaGQ10EMpeY_Zs0U7Nwff9w4HsZg@mail.gmail.com"
      type="cite">
      <div dir="ltr">You could file a wishlist Jira... if the event is
        raised then it'd be trivial to log at the same time.
        <div><br>
        </div>
        <div>The registration logs are there to support fail2ban so that
          you can automatically block attacks... that could explain why
          there's no logging of deregistration at present, since only
          the former is needed for fail2ban.</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On 9 June 2014 15:06, Steven Ayre <span
            dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Registration is expiration based - they
              expire unless you send another REGISTER within the expiry
              time.
              <div><br>
              </div>
              <div>I believe there's an ESL event when they expire that
                you can subscribe to, but I don't think it appears in
                the logs.</div>
            </div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On 9 June 2014 14:41, Alex
                    Lake <span dir="ltr">&lt;<a moz-do-not-send="true"
                        href="mailto:alex@digitalmail.com"
                        target="_blank">alex@digitalmail.com</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      Is there a way to get the console to show end-user
                      registrations and<br>
                      de-registrations as they happen?<br>
                      <br>
                      I note that registrations are OK, you get
                      something like this:<br>
                      <br>
                      2014-06-09 13:37:44.091960 [WARNING]
                      sofia_reg.c:1541 SIP auth challenge<br>
                      (REGISTER) on sofia profile 'internal' for<br>
                      [<a moz-do-not-send="true"
                        href="mailto:1129301@004-1129.sb12.dmclub.org"
                        target="_blank">1129301@004-1129.sb12.dmclub.org</a>]
                      from ip 84.92.90.149<br>
                      <br>
                      But de-registrations are very quiet.<br>
                      <br>
                      Also, is there an api command to send a "SIP
                      OPTIONS" message to a<br>
                      particular registered session?<br>
                      <br>
_________________________________________________________________________<br>
                      Professional FreeSWITCH Consulting Services:<br>
                      <a moz-do-not-send="true"
                        href="mailto:consulting@freeswitch.org"
                        target="_blank">consulting@freeswitch.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://www.freeswitchsolutions.com"
                        target="_blank">http://www.freeswitchsolutions.com</a><br>
                      <br>
                      FreeSWITCH-powered IP PBX: The CudaTel
                      Communication Server<br>
                      <a moz-do-not-send="true"
                        href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
                      <br>
                      Official FreeSWITCH Sites<br>
                      <a moz-do-not-send="true"
                        href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://wiki.freeswitch.org"
                        target="_blank">http://wiki.freeswitch.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
                      <br>
                      FreeSWITCH-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                        target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                        target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                      UNSUBSCRIBE:<a moz-do-not-send="true"
                        href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                        target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                      <a moz-do-not-send="true"
                        href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2014.0.4570 / Virus Database: 3955/7646 - Release Date:
        06/09/14</p>
    </blockquote>
    <br>
  </body>
</html>