Hello all, Can somebody explain how can I share call counts between several FS servers using hash limit. Or give me some more info (more then on Wiki) how it's work. I need to control call count on diff servers. Thanks!
you can use limit with db instead of hash. On Mar 11, 2013, at 10:10 AM, Alex Kostenko <akostenko@broadvox.com> wrote:
Hello all, Can somebody explain how can I share call counts between several FS servers using hash limit. Or give me some more info (more then on Wiki) how it's work. I need to control call count on diff servers.
Limit via DB only does concurrent call count, not rate limit. How can I share a rate limit, e.g. cps, if that doesn't work via db? -Avi On Mon, Mar 11, 2013 at 4:25 PM, Michael Jerris <mike@jerris.com> wrote:
you can use limit with db instead of hash.
On Mar 11, 2013, at 10:10 AM, Alex Kostenko <akostenko@broadvox.com> wrote:
Hello all, Can somebody explain how can I share call counts between several FS servers using hash limit. Or give me some more info (more then on Wiki) how it's work. I need to control call count on diff servers.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
As I know hash module allow to pull data from remote FS through Event System. But what kind of data it pulls? I need this to manage concurrent calls for customer. if ,for example, customer uses load balancing between two nodes. On 03/11/2013 04:32 PM, Avi Marcus wrote:
Limit via DB only does concurrent call count, not rate limit.
How can I share a rate limit, e.g. cps, if that doesn't work via db?
-Avi
On Mon, Mar 11, 2013 at 4:25 PM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote:
you can use limit with db instead of hash.
On Mar 11, 2013, at 10:10 AM, Alex Kostenko <akostenko@broadvox.com <mailto:akostenko@broadvox.com>> wrote:
> Hello all, > Can somebody explain how can I share call counts between several FS > servers using hash limit. > Or give me some more info (more then on Wiki) how it's work. > I need to control call count on diff servers.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi So guys any ideas about this or some info? On 03/11/2013 07:00 PM, Alex Kostenko wrote:
As I know hash module allow to pull data from remote FS through Event System. But what kind of data it pulls? I need this to manage concurrent calls for customer. if ,for example, customer uses load balancing between two nodes. On 03/11/2013 04:32 PM, Avi Marcus wrote:
Limit via DB only does concurrent call count, not rate limit.
How can I share a rate limit, e.g. cps, if that doesn't work via db?
-Avi
On Mon, Mar 11, 2013 at 4:25 PM, Michael Jerris <mike@jerris.com <mailto:mike@jerris.com>> wrote:
you can use limit with db instead of hash.
On Mar 11, 2013, at 10:10 AM, Alex Kostenko <akostenko@broadvox.com <mailto:akostenko@broadvox.com>> wrote:
> Hello all, > Can somebody explain how can I share call counts between several FS > servers using hash limit. > Or give me some more info (more then on Wiki) how it's work. > I need to control call count on diff servers.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This is not exactly what you are looking for but it might help you. This is to limit the concurrent calls by callee and the caller (limit set to 1 call ) <context name="start"> <extension name="test"> <condition field="destination_number" expression="^(\w+)$"> <action application="limit" data="hash ${domain} $1 1 handle_over_limit XML over_limit_actions"/> <action application="limit" data="hash ${domain} ${caller_id_number} 1 handle_over_limit XML over_limit_actions"/> <action application="set" data="ringback=${us-ring}"/> <action application="set" data="transfer_ringback=$${hold_music}"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="user/${dialed_extension}@${domain_name}"/> </condition> </extension> </context> </context> <context name="over_limit_actions"> <extension name="limit_exceeded"> <condition field="destination_number" expression="handle_over_limit"> <action application="hangup" data="USER_BUSY"/> </condition> </extension> </context> Both limits in the "start" context set the limit in 1 call for callee ($1) and caller(${caller_id_number}), if the limit is exceeded , the flow falls to "over_limit_action" context and busy tone is transferred. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/FS-hash-limit-tp7588453p758845... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (4)
-
Alex Kostenko
-
Avi Marcus
-
mehroz
-
Michael Jerris