[Freeswitch-users] Gateway Call Limits
Alex Ynema
alex at opensystems.net.au
Wed May 29 10:07:36 MSD 2013
I've implemented this in default.xml hoping to limit each of my two
gateways to 150.
Based on what's in
http://wiki.freeswitch.org/wiki/Limit#Using_limit_with_per-gateway_or_per-user_channel_limits
so
hopefully that works.
<extension name="zetta-cisco-1">
<condition field="destination_number" expression="zetta-cisco-1">
<action application="limit" data="db outgoing zetta-cisco-1
150" />
<action application="bridge"
data="sofia/gateway/zetta-cisco-1/${destnum}" />
</condition>
</extension>
<extension name="zetta-cisco-2">
<condition field="destination_number" expression="zetta-cisco-2">
<action application="limit" data="db outgoing zetta-cisco-2
150" />
<action application="bridge"
data="sofia/gateway/zetta-cisco-2/${destnum}" />
</condition>
</extension>
*Alex Ynema** *| IT Consultant
alex at opensystems.net.au
Level 1, 409-411 Oxford Street, Mount Hawthorne WA 6016
Office: +61 8 9427 2500
Mobile: +61 404 796 894
<http://www.ynema.net/>
<http://www.ynema.net/>IT Consultant for Open Systems Support
www.opensystems.net.au
On 29 May 2013 13:59, Alex Ynema <alex at opensystems.net.au> wrote:
> Hi,
> I'm trying to figure out how to limit the number of calls a Gateway is
> allowed to use. Our Sip provider has provided up with 200 which I need to
> set within the system somehow.
> What's the best way to handle it for an outgoing only system.
> I've been trying to figure out how how to configure 'Rate limiting
> concurrent outgoing calls via a provider' which is mentioned in the wiki
> a bit but nothing specific on what to actually do.
>
> *Alex Ynema** *| IT Consultant
> alex at opensystems.net.au
>
> Level 1, 409-411 Oxford Street, Mount Hawthorne WA 6016
> Office: +61 8 9427 2500
> Mobile: +61 404 796 894
> <http://www.ynema.net/>
> <http://www.ynema.net/>IT Consultant for Open Systems Support
> www.opensystems.net.au
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130529/2cf16c4f/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list