[asterisk-users] How to limit IAX calls

Barzilai Spinak barcho at creacion.com.uy
Fri Jan 19 08:23:39 MST 2007


Aaah... I'll try that...
A simple variable would be so much easier... :-)

BarZ

Jonathan k. Creasy wrote:
>
> A demonstration:
>
>  
>
> exten => _XXXXX.,1,Set(GROUP()=${CALLERID(num))
>
> exten => _XXXXX.,n,Set(CDR(AccountCode)=${CALLERID(num))
>
> exten => _XXXXX.,n,GotoIf($[${GROUP_COUNT(${CALLERID(num))} > 2]?103)
>
> exten => _XXXXX.,n,Macro(trunk,${EXTEN},residential)
>
> exten => _XXXXX.,n,Hangup
>
> exten => _XXXXX.,103,Playback(allison7/all-circuits-busy-now)
>
> exten => _XXXXX.,n,Hangup
>
>  
>
> ________________________________________
>
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Marco Mouta
>
> Sent: Friday, January 19, 2007 6:55 AM
>
> To: Asterisk Users Mailing List - Non-Commercial Discussion
>
> Subject: Re: [asterisk-users] How to limit IAX calls
>
>  
>
> Take a look on:
>
>  
>
> Dialplan applications:
>
>  
>
> GetGroupMatchCount(groupmatch[@category])
>
>  
>
> SetGroup(groupname[@category])
>
>  
>
> Using this two applications you can deploy a max calls control inside 
> your dialplan!
>
>  
>
> check this too: http://www.voip-info.org/wiki/view/Asterisk+cmd+SetGroup
>
>  
>
> Hope it helps
>
>  
>
>  
>
> On 1/19/07, Barzilai Spinak <barcho at creacion.com.uy> wrote:
>
> The SIP channels have a "call-limit" parameter (which is badly
>
> documented and I haven't tested yet)
>
> How can I have the same behaviour for IAX channels? I can't see anything
>
> related to it.
>
>  
>
> Ah, I'm using Asterisk 1.2.13... maybe there is something in the 1.4
>
> versions... but I can't change to 1.4 right now because of MFC/R2
>
>  
>
> BarZ
>
> _______________________________________________
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>   



More information about the asterisk-users mailing list