On Wed, Apr 16, 2008 at 12:46 AM, Vinz486 <[EMAIL PROTECTED]> 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([EMAIL PROTECTED])})  function in combination with 
Set(GROUP(a)=x)
or Set([EMAIL PROTECTED])

Regards,
Atis


-- 
Atis Lezdins,
VoIP Project Manager / Developer,
[EMAIL PROTECTED]
Skype: atis.lezdins
Cell Phone: +371 28806004
Cell Phone: +1 800 7300689
Work phone: +1 800 7502835

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to