[Freeswitch-users] gateway max-calls

Tihomir Culjaga tculjaga at gmail.com
Sun Nov 5 15:07:27 UTC 2017


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 at 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/9634306
> 
>> On Nov 4, 2017 20:50, "Tihomir Culjaga" <tculjaga at 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 at 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 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
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 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/20171105/4cf0af8a/attachment.html>


More information about the FreeSWITCH-users mailing list