<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    I tried to reproduce with a very simple config to handle register
    requests. So I sent a REGISTER with expires 60 (very much the same
    as the one in the trace you sent), waited a while, then sent two
    REGISTERs having the CSeq incremented. All went fine.<br>
    <br>
    I tested with master and 3.1 branches (so the last is actually
    3.1.5). Can you upgrade to 3.1.5 first and try again? If still
    fails, then update config to print the return code for save()
    function, something like:<br>
    <br>
    $var(r) = save("location");<br>
    xlog("code returned by save is $var(r)\n");<br>
    if($var(r) &lt; 0)<br>
    &nbsp; &nbsp;&nbsp;&nbsp; send_reply("500", "Failure");<br>
    <br>
    Let me know the value of the returned code for the register that
    does not have a contact in reply.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 9/20/11 2:10 PM, Alejandro Mingo wrote:
    <blockquote cite="mid:4E7882D2.9090706@aeq.es" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      Hi Daniel-Constantin,<br>
      <br>
      &nbsp;I send you the PCAP and LOG files corresponding to one of these
      situations. As you can see in the LOG file, one thread (5444)
      handles the first REGISTER, other thread (5447) handles the second
      REGISTER (retransmission) and a third thread (5451) indicates that
      the binding has expired, six seconds after the arrival of both
      REGISTERs.<br>
      &nbsp;<br>
      &nbsp;Thanks again.<br>
      &nbsp;<br>
      &nbsp; Alejandro.<br>
      <br>
      <br>
      <br>
      El 20/09/2011 10:54, Daniel-Constantin Mierla escribi&oacute;:
      <blockquote cite="mid:4E7854C9.20700@gmail.com" type="cite">Hello,
        <br>
        <br>
        On 9/20/11 10:13 AM, Alejandro Mingo wrote: <br>
        <blockquote type="cite">Hi, <br>
          <br>
          &nbsp;Since we installed last version of Kamailio (3.1.4) <br>
        </blockquote>
        <br>
        the last version is now 3.1.5, but this is not really the most
        important aspect. However, it is recommended to upgrade, there
        were some fixed to registration handling when register requests
        have multiple contacts. <br>
        <blockquote type="cite">we have been experiencing a big problem
          with REGISTER retransmissions. When the server receives a
          retransmitted REGISTER it removes the binding and the UAC
          remains unregistered until next refreshing period. I include a
          PCAP capture that shows this behaviour. <br>
          <br>
          I am not 100% sure that this problem never happened with older
          versions. <br>
          <br>
          Has anybody experienced the same problem? <br>
        </blockquote>
        I will try to reproduce and investigate myself. Anyhow,
        meanwhile maybe you can provide more hints faster. Do you have
        error messages in the syslog? Can you run with debug=4 in config
        file and send the output in syslog for such a case? <br>
      </blockquote>
    </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>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>