<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#333333" bgcolor="#FFFFFF">
    <p><font face="Fira Sans">I can see how database row it's removed,
        and event is not fired.</font></p>
    <p><font face="Fira Sans"><br>
      </font></p>
    <p><font face="Fira Sans">Best regards, Javier Valencia.</font></p>
    <p><font face="Fira Sans"><br>
      </font></p>
    <p><font face="Fira Sans"></font><br>
    </p>
    <div class="moz-cite-prefix">El 17/1/19 a las 16:51, Javier Valencia
      escribió:<br>
    </div>
    <blockquote type="cite"
      cite="mid:a7ebd27a-f9b5-2c5a-babc-f5453216619a@voiper.es">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <p>Hi Yasin.</p>
      <p><br>
      </p>
      <p>I change debug from 2 to 3 and was turn crazy. But when debug=2
        I can see other L_INFO entries.</p>
      <p><br>
      </p>
      <p>The problem it's this event_route it's not called.<br>
      </p>
      <p><br>
      </p>
      <p>Best regards</p>
      <p><br>
      </p>
      <p>Javier Valencia</p>
      <p><br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">El 17/1/19 a las 16:37, YASIN CANER
        escribió:<br>
      </div>
      <blockquote type="cite"
cite="mid:VI1PR0401MB24469E50BBFEAC23513CD065EF830@VI1PR0401MB2446.eurprd04.prod.outlook.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
        <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> Hello,</div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <br>
        </div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> could you check debug
          level is enough to write logs? Probably it is debug=2</div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <br>
        </div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <a
href="https://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages"
            id="LPlnk419167" moz-do-not-send="true">https://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages</a><br>
        </div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <br>
        </div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> Best Regards</div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <br>
        </div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> Yasin CANER</div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <br>
        </div>
        <div style="font-family: Calibri, Helvetica, sans-serif;&#xA;
          font-size: 12pt; color: rgb(0, 0, 0);"> <br>
        </div>
        <div
id="LPBorder_GTaHR0cHM6Ly93d3cua2FtYWlsaW8ub3JnL2Rva3V3aWtpL2Rva3UucGhwL3R1dG9yaWFsczpkZWJ1Zy1zeXNsb2ctbWVzc2FnZXM."
          class="LPBorder966387" style="width: 100%; margin-top:
          16px;&#xA; margin-bottom: 16px; position: relative; max-width:
          800px;&#xA; min-width: 424px;" contenteditable="false">
          <table id="LPContainer966387" role="presentation"
            style="padding: 12px 36px 12px 12px; width: 100%;&#xA;
            border-width: 1px; border-style: solid; border-color:
            rgb(200,&#xA; 200, 200); border-radius: 2px;">
            <tbody>
              <tr style="border-spacing: 0px;" valign="top">
                <td style="width: 100%;">
                  <div id="LPTitle966387" style="font-size: 21px;&#xA;
                    font-weight: 300; margin-right: 8px;
                    font-family:&#xA; wf_segoe-ui_light, "Segoe UI
                    Light",&#xA; "Segoe WP Light",
                    "Segoe UI",&#xA; "Segoe WP",
                    Tahoma, Arial, sans-serif;&#xA; margin-bottom:
                    12px;"> <a target="_blank" id="LPUrlAnchor966387"
href="https://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages"
                      style="text-decoration: none; color:&#xA;
                      var(--themePrimary);" moz-do-not-send="true">tutorials:debug-syslog-messages
                      - Kamailio (OpenSER) Wiki</a></div>
                  <div id="LPDescription966387" style="font-size:
                    14px;&#xA; max-height: 100px; color: rgb(102, 102,
                    102);&#xA; font-family: wf_segoe-ui_normal,
                    "Segoe UI",&#xA; "Segoe WP",
                    Tahoma, Arial, sans-serif;&#xA; margin-bottom: 12px;
                    margin-right: 8px; overflow:&#xA; hidden;"> Authors
                    of initial tutorial: Daniel-Constantin Mierla
                    <miconda (at) gmail.com> Elena-Ramona Modroiu
                    <ramona (at) asipto.com> Abstract Tutorial
                    about how to print debug and syslog messages with
                    Kamailio (OpenSER) SIP Server.</div>
                  <div id="LPMetadata966387" style="font-size:
                    14px;&#xA; font-weight: 400; color: rgb(166, 166,
                    166);&#xA; font-family: wf_segoe-ui_normal,
                    "Segoe UI",&#xA; "Segoe WP",
                    Tahoma, Arial, sans-serif;"> <a
                      class="moz-txt-link-abbreviated"
                      href="http://www.kamailio.org"
                      moz-do-not-send="true">www.kamailio.org</a></div>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
        <br>
        <div>
          <div style="font-family:Calibri,Helvetica,sans-serif;&#xA;
            font-size:12pt; color:rgb(0,0,0)"> <br>
          </div>
          <hr tabindex="-1" style="display:inline-block; width:98%">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              face="Calibri, sans-serif" color="#000000"><b>From:</b>
              sr-users <a class="moz-txt-link-rfc2396E"
                href="mailto:sr-users-bounces@lists.kamailio.org"
                moz-do-not-send="true"><sr-users-bounces@lists.kamailio.org></a>
              on behalf of Javier Valencia <a
                class="moz-txt-link-rfc2396E" href="mailto:jv@voiper.es"
                moz-do-not-send="true"><jv@voiper.es></a><br>
              <b>Sent:</b> Thursday, January 17, 2019 6:33 PM<br>
              <b>To:</b> <a class="moz-txt-link-abbreviated"
                href="mailto:sr-users@lists.kamailio.org"
                moz-do-not-send="true">sr-users@lists.kamailio.org</a><br>
              <b>Subject:</b> [SR-Users]
              event_route[usrloc:contact-expired]</font>
            <div> </div>
          </div>
          <div style="background-color:#FFFFFF">
            <p><font face="Fira Sans">Hi there!<br>
              </font></p>
            <p><font face="Fira Sans">I'm using Kamailio 4.4.3, and I
                add this code to my Kamailio:</font></p>
            <blockquote>
              <p><tt>event_route[usrloc:contact-expired] {</tt><tt><br>
                </tt><tt><br>
                </tt><tt>    xlog("L_INFO", "EXPIRED CONTACT START\n");</tt><tt><br>
                </tt><tt>    xlog("L_INFO", "EXPIRED CONTACT for
                  $ulc(exp=>aor)\n");</tt><tt><br>
                </tt><tt>    xlog("L_INFO", "EXPIRED CONTACT END\n");</tt><tt><br>
                </tt><tt>}</tt><font face="Fira Sans"><br>
                </font></p>
            </blockquote>
            <p><font face="Fira Sans">I can't see this entries in the
                log.</font></p>
            <p><font face="Fira Sans">I read many times the docs and
                code, but I don't understand why it's not working.</font></p>
            <p><font face="Fira Sans">I have two phone with 60 and 300
                expiry seconds, if then expire, when it's
                event_route[usrloc:contact-expired] triggered?<br>
              </font></p>
            <p><font face="Fira Sans">Why this event route it's named as
                usrloc but it's documented in registrar module?</font></p>
            <p><font face="Fira Sans">I need to provide more info about?<br>
              </font></p>
            <p><font face="Fira Sans">Thank you very much.</font></p>
            <p><font face="Fira Sans"><br>
              </font></p>
            <p><font face="Fira Sans"><br>
              </font></p>
          </div>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
  </body>
</html>