<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Great, thanks...I missed that part of
      the WiKi<br>
      <br>
      Does it mean that after specified time interval FS will purge
      expired records from the hash table?<br>
      <pre class="moz-signature" cols="72">

</pre>
      On 13-04-11 02:30 PM, Avi Marcus wrote:<br>
    </div>
    <blockquote
cite="mid:CALNZuw=wNx6y4Z8hVFWUfxu=r3tdtNXSc4Rw7GQP1OvMJVmv9Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">example:
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Limit#Rate_Limiting_calls_.2F_Anti_SPIT">http://wiki.freeswitch.org/wiki/Limit#Rate_Limiting_calls_.2F_Anti_SPIT</a><br>
        </div>
        <div class="gmail_extra">
          <br clear="all">
          <div>
            <div dir="ltr"><span
                style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi
                Marcus</span><br>
              BestFone</div>
          </div>
          <br>
          <br>
          <div class="gmail_quote">On Thu, Apr 11, 2013 at 8:28 PM,
            Victor Chukalovskiy <span dir="ltr">&lt;<a
                moz-do-not-send="true"
                href="mailto:victor.chukalovskiy@gmail.com"
                target="_blank">victor.chukalovskiy@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 text="#000000" bgcolor="#FFFFFF">
                <div>Ken or anyone else, do you know how to set limit
                  for 5 seconds only?<br>
                  <br>
                  Sorry for the double-post.
                  <div>
                    <div class="h5"><br>
                      <br>
                      On 13-04-10 10:28 PM, Ken Rice wrote:<br>
                    </div>
                  </div>
                </div>
                <div>
                  <div class="h5">
                    <blockquote type="cite"> <font face="Monaco,
                        Courier New"><span style="font-size:11pt">A
                          better way to do this is limit this during a
                          period of time, say 5 per second, when calls
                          loop they tend to loop up very quickly<br>
                          <br>
                          <br>
                          On 4/10/13 9:23 PM, "Victor Chukalovskiy" &lt;<a
                            moz-do-not-send="true"
                            href="http://victor.chukalovskiy@gmail.com"
                            target="_blank">victor.chukalovskiy@gmail.com</a>&gt;

                          wrote:<br>
                          <br>
                        </span></font>
                      <blockquote><font face="Monaco, Courier New"><span
                            style="font-size:11pt"> &nbsp;&nbsp;Hello,<br>
                            &nbsp;<br>
                            &nbsp;I have a scenario where FS routes hundreds
                            of calls and loop detection is needed.
                            Adding to that, I can't rely on hop counter
                            being decremented by other network elements.
                            I can use limit in the following fashion:<br>
                            &nbsp;<br>
                            &nbsp;&lt;action application="limit" data="hash
                            loop_test
                            ${caller_id_number}${destination_number} 10
                            !NORMAL_CIRCUIT_CONGESTION"/&gt;<br>
                            &nbsp;<br>
                            &nbsp;So, whenever I have 10 calls with the same
                            calling and called party number combination,
                            limit will kick-in and break the loop.<br>
                            &nbsp;<br>
                            &nbsp;<b>Question</b>: Is this efficient from the
                            perspective of how "limit" and hash back-end
                            work? Once I have a few thousand calls, all
                            having unique "resource" will this become
                            resource hungry?<br>
                            &nbsp;My main concern is that it will create
                            hundreds of hash entries all having the same
                            realm but unique resource.<br>
                            &nbsp;<br>
                            &nbsp;Anyone knows a better solution?<br>
                            &nbsp;<br>
                            &nbsp;Thank you,<br>
                            &nbsp;Victor<br>
                            &nbsp;<br>
                            <hr size="3" width="95%" align="CENTER"></span></font><font><font
                            face="Consolas, Courier New, Courier"><span
                              style="font-size:10pt">_________________________________________________________________________<br>
                              Professional FreeSWITCH Consulting
                              Services:<br>
                              <a moz-do-not-send="true"
                                href="http://consulting@freeswitch.org"
                                target="_blank">consulting@freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitchsolutions.com"
                                target="_blank">http://www.freeswitchsolutions.com</a><br>
                              <br>
                              FreeSWITCH-powered IP PBX: The CudaTel
                              Communication Server<br>
                              <a moz-do-not-send="true"
                                href="http://www.cudatel.com"
                                target="_blank">http://www.cudatel.com</a><br>
                              <br>
                              Official FreeSWITCH Sites<br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitch.org"
                                target="_blank">http://www.freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://wiki.freeswitch.org"
                                target="_blank">http://wiki.freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.cluecon.com"
                                target="_blank">http://www.cluecon.com</a><br>
                              <br>
                              FreeSWITCH-users mailing list<br>
                              <a moz-do-not-send="true"
                                href="http://FreeSWITCH-users@lists.freeswitch.org"
                                target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                              UNSUBSCRIBE:<a moz-do-not-send="true"
                                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.freeswitch.org"
                                target="_blank">http://www.freeswitch.org</a><br>
                            </span></font></font></blockquote>
                      <font><font face="Consolas, Courier New, Courier"><span
                            style="font-size:10pt"><br>
                          </span></font></font><font face="Monaco,
                        Courier New"><span style="font-size:11pt">-- <br>
                          Ken<br>
                          <font color="#0000FF"><u><a
                                moz-do-not-send="true"
                                href="http://www.FreeSWITCH.org"
                                target="_blank">http://www.FreeSWITCH.org</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.ClueCon.com"
                                target="_blank">http://www.ClueCon.com</a><br>
                              <a moz-do-not-send="true"
                                href="http://www.OSTAG.org"
                                target="_blank">http://www.OSTAG.org</a><br>
                            </u></font><a moz-do-not-send="true"
                            href="http://irc.freenode.net"
                            target="_blank">irc.freenode.net</a>
                          #freeswitch<br>
                        </span></font> <br>
                      <fieldset></fieldset>
                      <br>
                      <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                    </blockquote>
                    <br>
                  </div>
                </div>
              </div>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>