<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 8/18/11 6:20 PM, Fabian Borot wrote:
    <blockquote cite="mid:SNT110-W2657EB082285BD40AC8D77CD2B0@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
      <div dir="ltr">
        Hello<br>
        <br>
        This is how my registrar module is configured, hoping that
        min-expires set to 30 wont allow registration attempts more
        often than 30 seconds, but if I configure a UAC to register
        every 15 seconds I see that kamailio allows it. Shouldn't it
        reply with "422 Session Interval Too Small" or "423 Interval Too
        Brief"?<br>
      </div>
    </blockquote>
    it will not allow a REGISTER with Expires value less than 30sec. But
    even the phone sends a REGISTER with Expires 3600 (for example), it
    can send again in 10 sec another REGISTER with Expires 3600. In
    order to see if there is something incorrect, send us full REGISTER
    requests and the replies.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote cite="mid:SNT110-W2657EB082285BD40AC8D77CD2B0@phx.gbl"
      type="cite">
      <div dir="ltr"><br>
        # ----- registrar params -----<br>
        modparam("registrar", "default_expires", 120)<br>
        modparam("registrar", "min_expires", 30)<br>
        modparam("registrar", "method_filtering", 1)<br>
        /* uncomment the next line to disable parallel forking via
        location */<br>
        # modparam("registrar", "append_branches", 0)<br>
        /* uncomment the next line not to allow more than 10 contacts
        per AOR */<br>
        #modparam("registrar", "max_contacts", 10)<br>
        <br>
        <br>
        <div>
          <div>&nbsp;131.380336&nbsp; 192.168.1.6 -&gt; 192.168.1.194 SIP Request:
            REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.1.194">sip:192.168.1.194</a><br>
            131.381174 192.168.1.194 -&gt; 192.168.1.6&nbsp; SIP Status: 200
            OK&nbsp;&nbsp;&nbsp; (1 bindings)<br>
            <br>
            144.386014&nbsp; 192.168.1.6 -&gt; 192.168.1.194 SIP Request:
            REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.1.194">sip:192.168.1.194</a><br>
            144.387110 192.168.1.194 -&gt; 192.168.1.6&nbsp; SIP Status: 200
            OK&nbsp;&nbsp;&nbsp; (1 bindings)<br>
            <br>
            157.395358&nbsp; 192.168.1.6 -&gt; 192.168.1.194 SIP Request:
            REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.1.194">sip:192.168.1.194</a><br>
            157.396340 192.168.1.194 -&gt; 192.168.1.6&nbsp; SIP Status: 200
            OK&nbsp;&nbsp;&nbsp; (1 bindings)<br>
            <br>
            170.404905&nbsp; 192.168.1.6 -&gt; 192.168.1.194 SIP Request:
            REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.1.194">sip:192.168.1.194</a><br>
            170.405771 192.168.1.194 -&gt; 192.168.1.6&nbsp; SIP Status: 200
            OK&nbsp;&nbsp;&nbsp; (1 bindings)<br>
            <br>
            183.414375&nbsp; 192.168.1.6 -&gt; 192.168.1.194 SIP Request:
            REGISTER <a class="moz-txt-link-freetext" href="sip:192.168.1.194">sip:192.168.1.194</a><br>
            183.415217 192.168.1.194 -&gt; 192.168.1.6&nbsp; SIP Status: 200
            OK&nbsp;&nbsp;&nbsp; (1 bindings)<br>
            <br>
            txs fborot<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.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-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>