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