hi, is there any way to limit the number of channels going through a gateway ? i have a scenario like this: bgapi originate [origination_uuid=uuid1]user/1001 &park() bgapi originate [origination_uuid=uuid2]sofia/gateway/gw1/1234 uuid_bridge uuid1 uuid2 since im not hitting the dialplan here, i cannot use mod_limit .. or can i ? how to set limits on a specific gateway in this scenario ? thanks, Tihomir.
I guess you can use max-sessions you should be able to set it in vars.xml https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/963430... On Nov 4, 2017 20:50, "Tihomir Culjaga" <tculjaga@gmail.com> wrote:
hi, is there any way to limit the number of channels going through a gateway ?
i have a scenario like this:
bgapi originate [origination_uuid=uuid1]user/1001 &park() bgapi originate [origination_uuid=uuid2]sofia/gateway/gw1/1234
uuid_bridge uuid1 uuid2
since im not hitting the dialplan here, i cannot use mod_limit .. or can i ?
how to set limits on a specific gateway in this scenario ?
thanks, Tihomir.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Isn’t that a per profile limit rather than per gateway? I was thinking to use limit app in execute_on_originate but don’t really like the idea. I think there should be a simplier way to limit the number of calls going theough a gateway. Sent from my iPhone
On 5 Nov 2017, at 14:34, Mirko Brankovic <mirkobrankovic@gmail.com> wrote:
I guess you can use max-sessions
you should be able to set it in vars.xml https://freeswitch.org/confluence/plugins/servlet/mobile#content/view/963430...
On Nov 4, 2017 20:50, "Tihomir Culjaga" <tculjaga@gmail.com> wrote: hi, is there any way to limit the number of channels going through a gateway ?
i have a scenario like this:
bgapi originate [origination_uuid=uuid1]user/1001 &park() bgapi originate [origination_uuid=uuid2]sofia/gateway/gw1/1234
uuid_bridge uuid1 uuid2
since im not hitting the dialplan here, i cannot use mod_limit .. or can i ?
how to set limits on a specific gateway in this scenario ?
thanks, Tihomir.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
participants (2)
-
Mirko Brankovic
-
Tihomir Culjaga