[asterisk-users] How to limit IAX calls

2007-01-18 Thread Barzilai Spinak
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


Re: [asterisk-users] How to limit IAX calls

2007-01-19 Thread Marco Mouta

Take a look on:

Dialplan applications:

GetGroupMatchCount([EMAIL PROTECTED])

SetGroup([EMAIL PROTECTED])

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 <[EMAIL PROTECTED]> 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

___
--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


RE: [asterisk-users] How to limit IAX calls

2007-01-19 Thread Jonathan k. Creasy
A demonstration: 

 

exten => _X.,1,Set(GROUP()=${CALLERID(num))

exten => _X.,n,Set(CDR(AccountCode)=${CALLERID(num))

exten => _X.,n,GotoIf($[${GROUP_COUNT(${CALLERID(num))} > 2]?103)

exten => _X.,n,Macro(trunk,${EXTEN},residential)

exten => _X.,n,Hangup

exten => _X.,103,Playback(allison7/all-circuits-busy-now)

exten => _X.,n,Hangup

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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([EMAIL PROTECTED])

 

SetGroup([EMAIL PROTECTED])

 

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 <[EMAIL PROTECTED]> 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


Re: [asterisk-users] How to limit IAX calls

2007-01-19 Thread Barzilai Spinak

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

BarZ

Jonathan k. Creasy wrote:


A demonstration:

 


exten => _X.,1,Set(GROUP()=${CALLERID(num))

exten => _X.,n,Set(CDR(AccountCode)=${CALLERID(num))

exten => _X.,n,GotoIf($[${GROUP_COUNT(${CALLERID(num))} > 2]?103)

exten => _X.,n,Macro(trunk,${EXTEN},residential)

exten => _X.,n,Hangup

exten => _X.,103,Playback(allison7/all-circuits-busy-now)

exten => _X.,n,Hangup

 




From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] 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([EMAIL PROTECTED])

 


SetGroup([EMAIL PROTECTED])

 

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 <[EMAIL PROTECTED]> 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
  


___
--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