<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Yep, makes sense for sure....and how to
accomplish that?<br>
<pre class="moz-signature" cols="72">
</pre>
On 04/10/2013 10:28 PM, Ken Rice wrote:<br>
</div>
<blockquote cite="mid:CD8B8A0A.6ED38%25krice@freeswitch.org"
type="cite">
<title>Re: [Freeswitch-users] Detecting call loops while not
relying on the hop counter</title>
<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" <<a
moz-do-not-send="true" href="victor.chukalovskiy@gmail.com">victor.chukalovskiy@gmail.com</a>>
wrote:<br>
<br>
</span></font>
<blockquote><font face="Monaco, Courier New"><span
style="font-size:11pt"> Hello,<br>
<br>
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>
<br>
<action application="limit" data="hash loop_test
${caller_id_number}${destination_number} 10
!NORMAL_CIRCUIT_CONGESTION"/><br>
<br>
So, whenever I have 10 calls with the same calling and
called party number combination, limit will kick-in and
break the loop.<br>
<br>
<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>
My main concern is that it will create hundreds of hash
entries all having the same realm but unique resource.<br>
<br>
Anyone knows a better solution?<br>
<br>
Thank you,<br>
Victor<br>
<br>
<hr align="CENTER" size="3" width="95%"></span></font><font
size="2"><font face="Consolas, Courier New, Courier"><span
style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true" href="consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com">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">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="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">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">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
</span></font></font></blockquote>
<font size="2"><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">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org">http://www.OSTAG.org</a><br>
</u></font>irc.freenode.net #freeswitch<br>
</span></font>
<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>