<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>what is the value of db_mode parameter for usrloc module?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 15.11.17 06:36, Gholamreza Sabery
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJx6kgUF731x2qh_iJ6DzpkPO2tzW+NZEq_3OVgq_otuVgm42g@mail.gmail.com">
      <div dir="ltr">
        <div>I have a Kamailio server that has:<br>
          <br>
          modparam("registrar", "max_contacts", 2)<br>
          <br>
        </div>
        But recently I noticed some users have more than two records in
        the location table. For example one of the users has three
        different records with nearly the same information. The records
        are as follows. Is this behavior normal? (I am using Kamailio
        4XX).<br>
        <br>
        *************************** 1. row ***************************<br>
                   id: 171296745<br>
                 ruid: uloc-2c69-59db6c73-7ca-132d92<br>
             username: 999999999999<br>
               domain: NULL<br>
              contact: <a
          href="http://sip:999999999999@5.106.35.18:10362"
          target="_blank" moz-do-not-send="true">sip:999999999999@5.106.35.18:<wbr>10362</a><br>
             received: sip:<a href="http://5.106.35.18:10361"
          target="_blank" moz-do-not-send="true">5.106.35.18:10361</a><br>
                 path: NULL<br>
              expires: 2017-11-14 08:45:50<br>
                    q: -1.00<br>
               callid: XpCnmaAhRF<br>
                 cseq: 43<br>
        last_modified: 2017-11-14 08:44:50<br>
                flags: 0<br>
               cflags: 64<br>
           user_agent: android_1.1.0_samsung_SM-<wbr>E500H_<wbr>7b271714c08b942aa821fc756cdd2e<wbr>890a37069e/1.1.0
        (belle-sip/1.4.2)<br>
               socket: udp:<a href="http://192.168.103.21:5060"
          target="_blank" moz-do-not-send="true">192.168.103.21:5060</a><br>
              methods: NULL<br>
             instance: <urn:uuid:8369ef6e-202b-4844-<wbr>8928-492a7678c269><br>
               reg_id: 0<br>
            server_id: 11369<br>
        connection_id: -1<br>
            keepalive: 1<br>
            partition: 14<br>
        *************************** 2. row ***************************<br>
                   id: 171296746<br>
                 ruid: uloc-2c69-59db6c73-7f2-eb5d92<br>
             username: 999999999999<br>
               domain: NULL<br>
              contact: <a
          href="http://sip:999999999999@5.106.35.18:10362"
          target="_blank" moz-do-not-send="true">sip:999999999999@5.106.35.18:<wbr>10362</a><br>
             received: sip:<a href="http://5.106.35.18:10361"
          target="_blank" moz-do-not-send="true">5.106.35.18:10361</a><br>
                 path: NULL<br>
              expires: 2017-11-14 08:45:50<br>
                    q: -1.00<br>
               callid: BzMKuyJN8C<br>
                 cseq: 50<br>
        last_modified: 2017-11-14 08:44:50<br>
                flags: 0<br>
               cflags: 64<br>
           user_agent: android_1.1.0_samsung_SM-<wbr>E500H_<wbr>7b271714c08b942aa821fc756cdd2e<wbr>890a37069e/1.1.0
        (belle-sip/1.4.2)<br>
               socket: udp:<a href="http://192.168.103.21:5060"
          target="_blank" moz-do-not-send="true">192.168.103.21:5060</a><br>
              methods: NULL<br>
             instance: <urn:uuid:8369ef6e-202b-4844-<wbr>8928-492a7678c269><br>
               reg_id: 0<br>
            server_id: 11369<br>
        connection_id: -1<br>
            keepalive: 1<br>
            partition: 23<br>
        *************************** 3. row ***************************<br>
                   id: 171296747<br>
                 ruid: uloc-2c69-59db6c73-80f-541d92<br>
             username: 999999999999<br>
               domain: NULL<br>
              contact: <a
          href="http://sip:999999999999@5.106.35.18:10362"
          target="_blank" moz-do-not-send="true">sip:999999999999@5.106.35.18:<wbr>10362</a><br>
             received: sip:<a href="http://5.106.35.18:10361"
          target="_blank" moz-do-not-send="true">5.106.35.18:10361</a><br>
                 path: NULL<br>
              expires: 2017-11-14 08:45:50<br>
                    q: -1.00<br>
               callid: 3p9P4PgZSv<br>
                 cseq: 51<br>
        last_modified: 2017-11-14 08:44:50<br>
                flags: 0<br>
               cflags: 64<br>
           user_agent: android_1.1.0_samsung_SM-<wbr>E500H_<wbr>7b271714c08b942aa821fc756cdd2e<wbr>890a37069e/1.1.0
        (belle-sip/1.4.2)<br>
               socket: udp:<a href="http://192.168.103.21:5060"
          target="_blank" moz-do-not-send="true">192.168.103.21:5060</a><br>
              methods: NULL<br>
             instance: <urn:uuid:8369ef6e-202b-4844-<wbr>8928-492a7678c269><br>
               reg_id: 0<br>
            server_id: 11369<br>
        connection_id: -1<br>
            keepalive: 1<br>
            partition: 15</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <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, Nov 13-15, 2017, in Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>