<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    can you send the requests for registration and re-registration
    (ngrep with -W byline or pcap) in order to test them here? I tried
    to reproduce with an UA I have here and the registration update does
    the right thing.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    &nbsp;<br>
    <div class="moz-cite-prefix">On 7/27/12 1:43 PM, Jos&eacute; Luis Mill&aacute;n
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABw3bnMjjeLO8zg3cKLm4ths1t1VFpEFY6A6jpObu1COKzHbrw@mail.gmail.com"
      type="cite">Yes,
      <div><br>
      </div>
      <div>Verified, 'gruu_enabled' is set to one.</div>
      <div><br>
      </div>
      <div>Regards<br>
        <br>
        <div class="gmail_quote">2012/7/27 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><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
            <br>
            just to be sure before going to any further investigation
            (as I remember, such &nbsp;case I tested a bit with some command
            line tools due to lack of a sip phone with good ob/gruu
            support), do you have in the config:<br>
            <br>
            modparam("registrar", "gruu_enabled", 1)<br>
            <br>
            The default config file in 3.3, has the parameter set to 0.<br>
            <br>
            Cheers,<br>
            Daniel
            <div>
              <div class="h5"><br>
                <br>
                On 7/27/12 10:05 AM, I&ntilde;aki Baz Castillo wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Hi, full agree with this bug report. Adding the devel
                  maillist. More<br>
                  comments at the end of the mail:<br>
                  <br>
                  <br>
                  2012/7/26 Jos&eacute; Luis Mill&aacute;n &lt;<a
                    moz-do-not-send="true"
                    href="mailto:jmillan@aliax.net" target="_blank">jmillan@aliax.net</a>&gt;:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Hi,<br>
                    <br>
                    I'm using Kamilio 3.3.0 &nbsp;as registrar server. I`m
                    using an outbound proxy so<br>
                    'use_path' parameter or 'registrar' module is
                    enabled.<br>
                    <br>
                    According to RFC 5626, a re-registration from a
                    specific combination of AoR,<br>
                    instance_id and reg_id must update the binding.<br>
                    <br>
                    ""<br>
                    &nbsp; &nbsp; If the registrar receives a re-registration for
                    a specific<br>
                    &nbsp; &nbsp; combination of AOR, and instance-id and reg-id
                    values, the registrar<br>
                    &nbsp; &nbsp; MUST update any information that uniquely
                    identifies the network flow<br>
                    &nbsp; &nbsp; over which the request arrived if that
                    information has changed, and<br>
                    &nbsp; &nbsp; SHOULD update the time the binding was last
                    updated.<br>
                    ""<br>
                    <br>
                    In my installation this is not fullfilled as shown:<br>
                    <br>
                    ""<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AOR:: jmillan<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Contact::
                    <a class="moz-txt-link-freetext" href="sip:jmillan@MY_IP;transport=ws;ov-ob=a570655c14">sip:jmillan@MY_IP;transport=ws;ov-ob=a570655c14</a> Q=<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Expires:: 181<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Callid:: 1hgq3khalq2rzfr<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Cseq:: 108<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;User-agent:: JsSIP 0.1.0<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Path::<br>
                    <a class="moz-txt-link-rfc2396E" href="sip:OUTBOUND_IP:9090;transport=tcp;lr;ovid=de0c0b9f">&lt;sip:OUTBOUND_IP:9090;transport=tcp;lr;ovid=de0c0b9f&gt;</a>,<a class="moz-txt-link-rfc2396E" href="sip:a570655c14@OUTBOUND_IP:10080;transport=ws;lr;ovid=de0c0b9f;ob">&lt;sip:a570655c14@OUTBOUND_IP:10080;transport=ws;lr;ovid=de0c0b9f;ob&gt;</a><br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;State:: CS_SYNC<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags:: 0<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Cflag:: 0<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Socket:: tcp:KAM_IP:5060<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Methods:: 783<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ruid:: uloc-50119d99-328e-1<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Instance::<br>
                    &lt;urn:uuid:38dce009-ae1f-4fd1-91dc-99ed9affddc1&gt;<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Reg-Id:: 1<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Contact::
                    <a class="moz-txt-link-freetext" href="sip:jmillan@MY_IP;transport=ws;ov-ob=1dd97b4d51">sip:jmillan@MY_IP;transport=ws;ov-ob=1dd97b4d51</a> Q=<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Expires:: 193<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Callid:: 1hgq3khalq2rzfr<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Cseq:: 110<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;User-agent:: JsSIP 0.1.0<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Path::<br>
                    <a class="moz-txt-link-rfc2396E" href="sip:OUTBOUND_IP:9090;transport=tcp;lr;ovid=de0c0b9f">&lt;sip:OUTBOUND_IP:9090;transport=tcp;lr;ovid=de0c0b9f&gt;</a>,<a class="moz-txt-link-rfc2396E" href="sip:1dd97b4d51@OUTBOUND_IP:10080;transport=ws;lr;ovid=de0c0b9f;ob">&lt;sip:1dd97b4d51@OUTBOUND_IP:10080;transport=ws;lr;ovid=de0c0b9f;ob&gt;</a><br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;State:: CS_SYNC<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Flags:: 0<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Cflag:: 0<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Socket:: tcp:KAM_IP:5060<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Methods:: 783<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Ruid:: uloc-50119d99-3290-2<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Instance::<br>
                    &lt;urn:uuid:38dce009-ae1f-4fd1-91dc-99ed9affddc1&gt;<br>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Reg-Id:: 1<br>
                    ""<br>
                    <br>
                    The scenario is such that when the client looses the
                    connection with the<br>
                    Outbound Server, it reconnects and re-registers to
                    Kamailio in order to<br>
                    replace registration and be able to receive
                    in-dialog messages.<br>
                  </blockquote>
                  Receiving in-dialog requests should work since GRUU is
                  also being<br>
                  used. The problem is that the new REGISTER (after UA
                  disconnection)<br>
                  does not update the previous one (as this thread
                  reports) so Kamailio<br>
                  still chooses the previous binding which does not work
                  anymore.<br>
                  <br>
                  <br>
                  Regards.<br>
                  <br>
                  <br>
                  <br>
                  <br>
                </blockquote>
                <br>
                -- <br>
              </div>
            </div>
            Daniel-Constantin Mierla - <a moz-do-not-send="true"
              href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
            <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><br>
            Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 -
            <a moz-do-not-send="true" href="http://asipto.com/u/katu"
              target="_blank">http://asipto.com/u/katu</a><br>
            Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 -
            <a moz-do-not-send="true" href="http://asipto.com/u/kpw"
              target="_blank">http://asipto.com/u/kpw</a>
            <div class="HOEnZb">
              <div class="h5"><br>
                <br>
                <br>
                _______________________________________________<br>
                SIP Express Router (SER) and Kamailio (OpenSER) -
                sr-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:sr-users@lists.sip-router.org"
                  target="_blank">sr-users@lists.sip-router.org</a><br>
                <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><br>
              </div>
            </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>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
  </body>
</html>