[Freeswitch-users] Limit hash

DJB International djbinter at gmail.com
Tue Oct 9 00:56:25 MSD 2012


Thank you, MSC.

When I tried to delete the hash limit as:

freeswitch at internal> hash_dump all
L/inbound_CARRIER_A/4/0/0/0
L/inbound_CARRIER_B/7/0/0/0
L/inbound_CARRIER_C/3/0/0/0


freeswitch at internal> hash delete/inbound/CARRIER_C
-ERR Not found

But, for some reason, it did not seem to work with the limit hash.

Thank you,
-djbinter


On Mon, Oct 8, 2012 at 11:37 AM, Michael Collins <msc at freeswitch.org> wrote:

> Can you manually remove that entry from the database using the hash delete
> API?
> -MC
>
> On Sat, Oct 6, 2012 at 12:42 PM, DJB International <djbinter at gmail.com>wrote:
>
>> I guess there is no other way to reset the hash limit counter unless I do
>> the reload mod_hash, but it will reset all other counters that are in
>> mod_hash since limit_reset is not working.  I wish there is another way to
>> remove that hash limit counter for particular one.
>>
>> -djbinter
>>
>>
>>
>>
>> On Fri, Oct 5, 2012 at 10:19 AM, DJB International <djbinter at gmail.com>wrote:
>>
>>> I have a limit hash setup in the dialplan to count the session for each
>>> inbound ip gateway; however, there is a stuck hash data count in one of the
>>> ip when I ran hash_dump.  Please see below:
>>>
>>>  <action application="limit" data="hash inbound 1.2.3.4 100"/>
>>>
>>>  and right now there is no call coming in to 1.2.3.4; however, when I
>>> ran hash_dump all, it shows as:
>>>
>>>  L/inbound_1.2.3.4/3/0/0/0
>>>
>>>  it is obviously showing that there are 3 stuck counters on this one.
>>> I've tried hash_reset, but it did not work.
>>>
>>> I wonder whether there is any other ways to remove or reset it?
>>>
>>>
>>> Thank you.
>>>
>>>
>>>
>>>
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121008/4b79bde9/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list