<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Can you grab two such REGISTER requests with ngrep and send over so
    I can test locally?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 11/26/12 3:06 PM, Krishna Kurapati
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOzCjAf4E+78ZWPTMf9j8xsTxcGXYipTSCEg4tBMC8CaC44KEQ@mail.gmail.com"
      type="cite">Daniel,
      <div><br>
      </div>
      <div>Here are the usrloc params</div>
      <div><br>
      </div>
      <div>
        <div># ----- usrloc params -----</div>
        <div>#!ifdef WITH_USRLOCDB</div>
        <div>/* enable DB persistency for location entries */</div>
        <div>modparam("usrloc", "db_url", DBURL)</div>
        <div>modparam("usrloc", "db_mode", 2)</div>
        <div>modparam("usrloc", "use_domain", MULTIDOMAIN)</div>
        <div>modparam("usrloc", "desc_time_order", 1)</div>
        <div>#!endif</div>
      </div>
      <div><br>
      </div>
      <div>
        <div># params needed for NAT traversal in other modules</div>
        <div>modparam("nathelper|registrar", "received_avp",
          "$avp(i:42)")</div>
        <div>modparam("usrloc", "nat_bflag", FLB_NATB)</div>
      </div>
      <div><br>
      </div>
      <div>
        <div># ----- registrar params -----</div>
        <div>modparam("registrar", "method_filtering", 1)</div>
        <div>/* uncomment the next line to disable parallel forking via
          location */</div>
        <div># modparam("registrar", "append_branches", 0)</div>
        <div>/* uncomment the next line not to allow more than 5
          contacts per AOR */</div>
        <div>modparam("registrar", "max_contacts", 5)</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Nov 26, 2012 at 7:35 AM,
          Daniel-Constantin Mierla <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com"
              target="_blank">miconda@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 bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              what are the parameters of registrar and usrloc modules in
              your config?<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 11/26/12 2:17 PM, Krishna Kurapati wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">Hi,
                    <div><br>
                    </div>
                    <div>I have 3.x Kamailio with GRUU support. I see
                      SIP Instance in the contact. However, I see a
                      problem. When I kill the SIP client on a device
                      and restart, it sends registration on a different
                      port. The server instead of updating the contact
                      in user location table, is creating a new contact
                      for the same instance. Do I need to turn on
                      something to get the&nbsp;expected behavior? Here is
                      the output from kamctl ul show.</div>
                    <div><br>
                    </div>
                    <div>Thanks</div>
                    <div><br>
                    </div>
                    <div>Krish Kura</div>
                    <div><br>
                    </div>
                    <div>
                      <div>AOR:: 100227074</div>
                      <div><span style="white-space:pre-wrap"> </span>Contact::

                        <a moz-do-not-send="true">sip:100227074@10.132.60.70:50845;transport=TCP;ob</a>
                        Q=</div>
                      <div><span style="white-space:pre-wrap"> </span>Expires::

                        3132</div>
                      <div><span style="white-space:pre-wrap"> </span>Callid::

                        ATZJcr.HqXxwWdsPmanjERetcdeRVeZy</div>
                      <div><span style="white-space:pre-wrap"> </span>Cseq::
                        4399</div>
                      <div><span style="white-space:pre-wrap"> </span>User-agent::

                        n/a</div>
                      <div><span style="white-space:pre-wrap"> </span>Received::

                        <a moz-do-not-send="true">sip:166.137.120.37:48873;transport=TCP</a></div>
                      <div><span style="white-space:pre-wrap"> </span>State::

                        CS_SYNC</div>
                      <div><span style="white-space:pre-wrap"> </span>Flags::
                        0</div>
                      <div><span style="white-space:pre-wrap"> </span>Cflag::
                        192</div>
                      <div><span style="white-space:pre-wrap"> </span>Socket::

                        tcp:<a moz-do-not-send="true"
                          href="http://10.1.0.6:5060" target="_blank">10.1.0.6:5060</a></div>
                      <div><span style="white-space:pre-wrap"> </span>Methods::

                        8143</div>
                      <div><span style="white-space:pre-wrap"> </span>Ruid::

                        uloc-50b3602b-50e-1</div>
                      <div><span style="white-space:pre-wrap"> </span>Instance::
&lt;urn:uuid:237BF2F6-2FDE-47E8-A9E2-32D46D43F174-319-00000121AFA29D2E&gt;</div>
                      <div><span style="white-space:pre-wrap"> </span>Reg-Id::
                        1</div>
                      <div><span style="white-space:pre-wrap"> </span>Contact::

                        <a moz-do-not-send="true">sip:100227074@10.132.60.70:50839;transport=TCP;ob</a>
                        Q=</div>
                      <div><span style="white-space:pre-wrap"> </span>Expires::

                        3029</div>
                      <div><span style="white-space:pre-wrap"> </span>Callid::

                        oYsIYUyP3N77MKSoQ3EDChEph.lD4fjB</div>
                      <div><span style="white-space:pre-wrap"> </span>Cseq::

                        37489</div>
                      <div><span style="white-space:pre-wrap"> </span>User-agent::

                        n/a</div>
                      <div><span style="white-space:pre-wrap"> </span>Received::

                        <a moz-do-not-send="true">sip:166.137.120.37:61763;transport=TCP</a></div>
                      <div><span style="white-space:pre-wrap"> </span>State::

                        CS_SYNC</div>
                      <div><span style="white-space:pre-wrap"> </span>Flags::
                        0</div>
                      <div><span style="white-space:pre-wrap"> </span>Cflag::
                        192</div>
                      <div><span style="white-space:pre-wrap"> </span>Socket::

                        tcp:<a moz-do-not-send="true"
                          href="http://10.1.0.6:5060" target="_blank">10.1.0.6:5060</a></div>
                      <div><span style="white-space:pre-wrap"> </span>Methods::

                        8143</div>
                      <div><span style="white-space:pre-wrap"> </span>Ruid::

                        uloc-50b3602b-507-1</div>
                      <div><span style="white-space:pre-wrap"> </span>Instance::
&lt;urn:uuid:237BF2F6-2FDE-47E8-A9E2-32D46D43F174-319-00000121AFA29D2E&gt;</div>
                      <div><span style="white-space:pre-wrap"> </span>Reg-Id::
                        1</div>
                      <div><span style="white-space:pre-wrap"> </span>Contact::

                        <a moz-do-not-send="true">sip:100227074@10.132.60.70:50803;transport=TCP;ob</a>
                        Q=</div>
                      <div><span style="white-space:pre-wrap"> </span>Expires::

                        1527</div>
                      <div><span style="white-space:pre-wrap"> </span>Callid::

                        b4IeJXybn6Yr.jB8sc-Kz8CJ0kt0hNbO</div>
                      <div><span style="white-space:pre-wrap"> </span>Cseq::

                        30014</div>
                      <div><span style="white-space:pre-wrap"> </span>User-agent::

                        n/a</div>
                      <div><span style="white-space:pre-wrap"> </span>Received::

                        <a moz-do-not-send="true">sip:166.137.120.37:36879;transport=TCP</a></div>
                      <div><span style="white-space:pre-wrap"> </span>State::

                        CS_SYNC</div>
                      <div><span style="white-space:pre-wrap"> </span>Flags::
                        0</div>
                      <div><span style="white-space:pre-wrap"> </span>Cflag::
                        192</div>
                      <div><span style="white-space:pre-wrap"> </span>Socket::

                        tcp:<a moz-do-not-send="true"
                          href="http://10.1.0.6:5060" target="_blank">10.1.0.6:5060</a></div>
                      <div><span style="white-space:pre-wrap"> </span>Methods::

                        8143</div>
                      <div><span style="white-space:pre-wrap"> </span>Ruid::

                        uloc-50b35a12-7f5c-1</div>
                      <div><span style="white-space:pre-wrap"> </span>Instance::
&lt;urn:uuid:237BF2F6-2FDE-47E8-A9E2-32D46D43F174-319-00000121AFA29D2E&gt;</div>
                      <div><span style="white-space:pre-wrap"> </span>Reg-Id::
                        1</div>
                      <div><span style="white-space:pre-wrap"> </span>Contact::

                        <a moz-do-not-send="true">sip:100227074@10.132.60.70:50818;transport=TCP;ob</a>
                        Q=</div>
                      <div><span style="white-space:pre-wrap"> </span>Expires::

                        2199</div>
                      <div><span style="white-space:pre-wrap"> </span>Callid::

                        DM0Z1d-ZenGHknjmT.7Cle5cos7Uhs7H</div>
                      <div><span style="white-space:pre-wrap"> </span>Cseq::

                        22942</div>
                      <div><span style="white-space:pre-wrap"> </span>User-agent::

                        n/a</div>
                      <div><span style="white-space:pre-wrap"> </span>Received::

                        <a moz-do-not-send="true">sip:166.137.120.37:39471;transport=TCP</a></div>
                      <div><span style="white-space:pre-wrap"> </span>State::

                        CS_SYNC</div>
                      <div><span style="white-space:pre-wrap"> </span>Flags::
                        0</div>
                      <div><span style="white-space:pre-wrap"> </span>Cflag::
                        192</div>
                      <div><span style="white-space:pre-wrap"> </span>Socket::

                        tcp:<a moz-do-not-send="true"
                          href="http://10.1.0.6:5060" target="_blank">10.1.0.6:5060</a></div>
                      <div><span style="white-space:pre-wrap"> </span>Methods::

                        8143</div>
                      <div><span style="white-space:pre-wrap"> </span>Ruid::

                        uloc-50b35a12-7f6f-1</div>
                      <div><span style="white-space:pre-wrap"> </span>Instance::
&lt;urn:uuid:237BF2F6-2FDE-47E8-A9E2-32D46D43F174-319-00000121AFA29D2E&gt;</div>
                      <div><span style="white-space:pre-wrap"> </span>Reg-Id::
                        1</div>
                      <div><span style="white-space:pre-wrap"> </span>Contact::

                        <a moz-do-not-send="true">sip:100227074@10.132.60.70:50815;transport=TCP;ob</a>
                        Q=</div>
                      <div><span style="white-space:pre-wrap"> </span>Expires::

                        1833</div>
                      <div><span style="white-space:pre-wrap"> </span>Callid::

                        VJy3SNE66U1U971u5BEeqbYJi6a-puT-</div>
                      <div><span style="white-space:pre-wrap"> </span>Cseq::

                        64347</div>
                      <div><span style="white-space:pre-wrap"> </span>User-agent::

                        n/a</div>
                      <div><span style="white-space:pre-wrap"> </span>Received::

                        <a moz-do-not-send="true">sip:166.137.120.37:35872;transport=TCP</a></div>
                      <div><span style="white-space:pre-wrap"> </span>State::

                        CS_SYNC</div>
                      <div><span style="white-space:pre-wrap"> </span>Flags::
                        0</div>
                      <div><span style="white-space:pre-wrap"> </span>Cflag::
                        192</div>
                      <div><span style="white-space:pre-wrap"> </span>Socket::

                        tcp:<a moz-do-not-send="true"
                          href="http://10.1.0.6:5060" target="_blank">10.1.0.6:5060</a></div>
                      <div><span style="white-space:pre-wrap"> </span>Methods::

                        8143</div>
                      <div><span style="white-space:pre-wrap"> </span>Ruid::

                        uloc-50b35a12-7f5a-2</div>
                      <div><span style="white-space:pre-wrap"> </span>Instance::
&lt;urn:uuid:237BF2F6-2FDE-47E8-A9E2-32D46D43F174-319-00000121AFA29D2E&gt;</div>
                      <div><span style="white-space:pre-wrap"> </span>Reg-Id::
                        1</div>
                    </div>
                    <div><br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
                <span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
              <span class="HOEnZb"><font color="#888888"> <br>
                  <pre cols="72">-- 
Daniel-Constantin Mierla - <a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
                </font></span></div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>