[asterisk-users] Global call limit
Atis Lezdins
atis at iq-labs.net
Tue Apr 15 18:16:58 CDT 2008
On Wed, Apr 16, 2008 at 12:46 AM, Vinz486 <vinz486 at gmail.com> wrote:
> Hi,
> i'm new in asterisk programming.
>
> Maybe my question was posted thousand times but i found nothing using google.
>
> I'm looking for a method to limit the total simultaneous calls
> (inbound and outbound) that pass from internal phones to 2 SIP
> providers.
>
> I found the calllimit option but it works only on a per-channel basis.
> Instead i want limit the total amount of calls, abstracting from which
> SIP provider us used.
>
> This to keep good audio quality for active calls and rejecting new
> arriving: this is needed for a PBX connectect with a poor ADSL having
> only 256kbit in upload: so i want permit only 3 calls (256 / 80 kbit)
> and rejecting the 4th.
>
> Any solutions?
if (${GROUP_COUNT(x at a)}) function in combination with Set(GROUP(a)=x)
or Set(OUTBOUND_GROUP=a at x)
Regards,
Atis
--
Atis Lezdins,
VoIP Project Manager / Developer,
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835
More information about the asterisk-users
mailing list