<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p><br>
    </p>
    <p>can you try with latest 5.1.x or 5.2.x to see if it is about
      something already fixed? Then could be tracked back via commit
      logs. Or if still an issue, it is easier to troubleshoot from dev
      team point of view.</p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 18.01.19 11:47, Javier Valencia
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:434dd0e0-4f23-ea97-412d-506cebc6b893@voiper.es">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <p><font face="Fira Sans">Hi Yasin and Daniel</font></p>
      <p><font face="Fira Sans"><br>
        </font></p>
      <p><font face="Fira Sans">I upgrade my testing kamailio to 4.4.7,
          the last branch on 4.4.x version, but it's still running like
          4.4.3, don't run event_route.<br>
        </font></p>
      <p><font face="Fira Sans"><br>
        </font></p>
      <p><font face="Fira Sans">Saludos, Javier Valencia.</font></p>
      <p><font face="Fira Sans"><br>
        </font></p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">El 18/1/19 a las 10:01,
        Daniel-Constantin Mierla escribió:<br>
      </div>
      <blockquote type="cite"
        cite="mid:89234790-ffd2-cbcb-def3-14c4ccf960d2@gmail.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
        <p>Hello,</p>
        <p><br>
        </p>
        <p>4.4.3 is very old to remember if there was any related issue
          and moreover it is not the latest in its series, so try first
          to upgrade to latest 4.4.x version, to ensure that you have
          all fixes for what was found wrong during maintenance of
          4.4.x.</p>
        <p><br>
        </p>
        <p>Cheers,<br>
          Daniel<br>
        </p>
        <p><br>
        </p>
        <div class="moz-cite-prefix">On 18.01.19 09:20, YASIN CANER
          wrote:<br>
        </div>
        <blockquote type="cite"
cite="mid:VI1PR0401MB24463BED99A96B0FD148EB97EF9C0@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;
            font-size: 12pt; color: rgb(0, 0, 0);"> Hello,</div>
          <div style="font-family: Calibri, Helvetica, sans-serif;
            font-size: 12pt; color: rgb(0, 0, 0);"> <br>
          </div>
          <div style="font-family: Calibri, Helvetica, sans-serif;
            font-size: 12pt; color: rgb(0, 0, 0);"> this option is added
            after 4.4.x . <span style="font-family: Calibri, Helvetica,
              sans-serif; background-color: rgb(255, 255, 255); display:
              inline !important"> Sorry that </span>I looked wrong
            branch.  I tested it on new versions and it is working.</div>
          <div style="font-family: Calibri, Helvetica, sans-serif;
            font-size: 12pt; color: rgb(0, 0, 0);"> <br>
          </div>
          <div style="font-family: Calibri, Helvetica, sans-serif;
            font-size: 12pt; color: rgb(0, 0, 0);"> <br>
          </div>
          <div style="font-family: Calibri, Helvetica, sans-serif;
            font-size: 12pt; color: rgb(0, 0, 0);"> Good luck.</div>
          <div>
            <div style="font-family:Calibri,Helvetica,sans-serif;
              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> 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> Friday, January 18, 2019 11:07 AM<br>
                <b>To:</b> YASIN CANER; Kamailio (SER) - Users Mailing
                List<br>
                <b>Subject:</b> Re: [SR-Users]
                event_route[usrloc:contact-expired]</font>
              <div> </div>
            </div>
            <div style="background-color:#FFFFFF">
              <p style="margin-top: 0px; margin-bottom: 0px;"><font
                  face="Fira Sans">No,</font></p>
              <p style="margin-top: 0px; margin-bottom: 0px;"><font
                  face="Fira Sans"><br>
                </font></p>
              <p style="margin-top: 0px; margin-bottom: 0px;"><font
                  face="Fira Sans">It's a hidden feature? I can't see in
                  docs.</font></p>
              <p style="margin-top: 0px; margin-bottom: 0px;"><font
                  face="Fira Sans"><br>
                </font></p>
              <p style="margin-top: 0px; margin-bottom: 0px;"><font
                  face="Fira Sans">I made the changes, but Kamailio (as
                  expected) don't start</font></p>
              <blockquote>
                <p style="margin-top: 0px; margin-bottom: 0px;"><tt>ERROR:
                    <core> [modparam.c:141]:
                    set_mod_param_regex(): parameter
                    <event_callback> of type <1> not found
                    in module <registrar></tt><font face="Fira
                    Sans"><br>
                  </font></p>
              </blockquote>
              <p style="margin-top: 0px; margin-bottom: 0px;"><font
                  face="Fira Sans">Best regards, Javier Valencia.</font></p>
              <p style="margin-top: 0px; margin-bottom: 0px;"><br>
              </p>
              <div class="x_moz-cite-prefix">El 18/1/19 a las 6:46,
                YASIN CANER escribió:<br>
              </div>
              <blockquote type="cite">
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)"> Hello</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)"> <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)"> Could you try to
                  set parameter on your test environment?</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)"> <br>
                </div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)">
                  <pre style="font-family:monospace; background-color:rgb(252,255,252); border:1px solid rgb(153,204,204); padding-left:15pt; overflow:auto; border-radius:2.5px; font-size:15px">modparam("registrar", "<span style="color:rgb(3,47,98); font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; font-size:12px; background-color:rgb(230,255,237); display:inline!important">event_callback</span>", "<tt style="background-color:rgb(255,255,255); color:inherit; font-size:inherit; font-style:inherit; font-variant-ligatures:inherit; font-variant-caps:inherit; font-weight:inherit"><span style="color:rgb(3,47,98); font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; font-size:12px; background-color:rgb(255,255,255); display:inline!important">usrloc:contact-expired</span></tt><span style="font-family:monospace; font-size:15px; color:rgb(0,0,0)">")</span></pre>
                  Cheers</div>
                <div style="font-family:Calibri,Helvetica,sans-serif;
                  font-size:12pt; color:rgb(0,0,0)"> Yasin CANER</div>
                <div>
                  <div style="font-family:Calibri,Helvetica,sans-serif;
                    font-size:12pt; color:rgb(0,0,0)"> <br>
                  </div>
                  <hr tabindex="-1" style="display:inline-block;
                    width:98%">
                  <div id="x_divRplyFwdMsg" dir="ltr"><font
                      style="font-size:11pt" face="Calibri, sans-serif"
                      color="#000000"><b>From:</b> Javier Valencia <a
                        class="x_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:51 PM<br>
                      <b>To:</b> YASIN CANER; Kamailio (SER) - Users
                      Mailing List<br>
                      <b>Subject:</b> Re: [SR-Users]
                      event_route[usrloc:contact-expired]</font>
                    <div> </div>
                  </div>
                  <div style="background-color:#FFFFFF">
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> Hi Yasin.</p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> <br>
                    </p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> I change
                      debug from 2 to 3 and was turn crazy. But when
                      debug=2 I can see other L_INFO entries.</p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> <br>
                    </p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> The
                      problem it's this event_route it's not called.<br>
                    </p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> <br>
                    </p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> Best
                      regards</p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> <br>
                    </p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> Javier
                      Valencia</p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> <br>
                    </p>
                    <p style="margin-top: 0px; margin-bottom:
                      0px;margin-top:0px; margin-bottom:0px"> <br>
                    </p>
                    <div class="x_x_moz-cite-prefix">El 17/1/19 a las
                      16:37, YASIN CANER escribió:<br>
                    </div>
                    <blockquote type="cite">
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> Hello,</div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> <br>
                      </div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        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;
                        font-size:12pt; color:rgb(0,0,0)"> <br>
                      </div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        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;
                        font-size:12pt; color:rgb(0,0,0)"> <br>
                      </div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> Best Regards</div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> <br>
                      </div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> Yasin CANER</div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> <br>
                      </div>
                      <div
                        style="font-family:Calibri,Helvetica,sans-serif;
                        font-size:12pt; color:rgb(0,0,0)"> <br>
                      </div>
                      <div
id="LPBorder_GTaHR0cHM6Ly93d3cua2FtYWlsaW8ub3JnL2Rva3V3aWtpL2Rva3UucGhwL3R1dG9yaWFsczpkZWJ1Zy1zeXNsb2ctbWVzc2FnZXM."
                        class="x_x_LPBorder966387" style="width:100%;
                        margin-top:16px; margin-bottom:16px;
                        max-width:800px; min-width:424px">
                        <table id="LPContainer966387"
                          role="presentation" style="padding:12px 36px
                          12px 12px; width:100%; border-width:1px;
                          border-style:solid;
                          border-color:rgb(200,200,200);
                          border-radius:2px">
                          <tbody>
                            <tr style="border-spacing:0px" valign="top">
                              <td style="width:100%">
                                <div id="LPTitle966387" style=""><a
                                    target="_blank"
                                    id="LPUrlAnchor966387"
href="https://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages"
                                    style="text-decoration:none"
                                    moz-do-not-send="true">tutorials:debug-syslog-messages
                                    - Kamailio (OpenSER) Wiki</a></div>
                                <div id="LPDescription966387" style="">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=""><a
                                    class="x_x_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;
                          font-size:12pt; color:rgb(0,0,0)"> <br>
                        </div>
                        <hr tabindex="-1" style="display:inline-block;
                          width:98%">
                        <div id="x_x_divRplyFwdMsg" dir="ltr"><font
                            style="font-size:11pt" face="Calibri,
                            sans-serif" color="#000000"><b>From:</b>
                            sr-users <a
                              class="x_x_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="x_x_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="x_x_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 style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans">Hi there!<br>
                            </font></p>
                          <p style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans">I'm using Kamailio 4.4.3,
                              and I add this code to my Kamailio:</font></p>
                          <blockquote>
                            <p style="margin-top: 0px; margin-bottom:
                              0px;margin-top:0px; margin-bottom:0px"> <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 style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans">I can't see this entries
                              in the log.</font></p>
                          <p style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <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 style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <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 style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans">Why this event route it's
                              named as usrloc but it's documented in
                              registrar module?</font></p>
                          <p style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans">I need to provide more
                              info about?<br>
                            </font></p>
                          <p style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans">Thank you very much.</font></p>
                          <p style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans"><br>
                            </font></p>
                          <p style="margin-top: 0px; margin-bottom:
                            0px;margin-top:0px; margin-bottom:0px"> <font
                              face="Fira Sans"><br>
                            </font></p>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </blockquote>
            </div>
          </div>
          <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" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com" moz-do-not-send="true">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a></pre>
      </blockquote>
    </blockquote>
    <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 - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>