<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 03/02/2012 12:44 PM, Reda Aouad wrote:
    <blockquote
cite="mid:CAA30pc7pkPcBSfMSdRpvCSHNm0kiSw9r13huUe4jikiEPdcr1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr"><font color="#3366ff"><font><font
              face="tahoma,sans-serif">Hi,<br>
              <br>
              Is there a way to ensure single-registration per
              user-agent for a user, which overwrites previous
              registration ?<br>
              Or is there a way to limit the number of registrations per
              user, but overwriting the earliest registration for each
              new one ?<br>
              <br clear="all">
            </font></font></font></div>
    </blockquote>
    Hello, <br>
    <br>
    From the registrar module documentation
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2494545">http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2494545</a><br>
    <br>
    3.12. max_contacts (integer)<br>
    <br>
    The parameter can be used to limit the number of contacts per AOR
    (Address of Record) in the user location database. Value 0 disables
    the check. This parameter can be modified via ser config framework.<br>
    <br>
    Default value is 0. <br>
    <br>
    But this will not overwrite the previous contact AFAIK.<br>
    <br>
    Marius<br>
    <br>
    <blockquote
cite="mid:CAA30pc7pkPcBSfMSdRpvCSHNm0kiSw9r13huUe4jikiEPdcr1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div dir="ltr"><font color="#3366ff" face="tahoma, sans-serif">Thanks,<br>
          </font>
          <div><font color="#3366ff" face="tahoma, sans-serif">Reda</font></div>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Zbihlei Marius

Head of
Linux Development Services Romania

1&amp;1 Internet Development srl    Tel KA: 754-9152
Str Mircea Eliade 18            Tel RO: +40-31-223-9152
Sect 1, Bucuresti               mailto: <a class="moz-txt-link-abbreviated" href="mailto:marius.zbihlei@1and1.ro">marius.zbihlei@1and1.ro</a>
71295, Romania
</pre>
  </body>
</html>