Rana Dutt wrote:> Let's say you have a 256 Kbps Internet connection and you're using
it for
> voice calls. With mu-law (G.711), each call uses about 80 kbps, so you
> really can't have more than 3 calls active at one time. Does Asterisk
> support any kind of Call Admission Control where it would prevent you from
> originating a call if it would exceed your Internet bandwidth? For example,
> in this case, ideally, we would want Asterisk to present busy tone when the
> fourth simultaneous call is attempted.
Not quite :/
The closest thing is app_groupcount (available in CVS HEAD)
This allows you to restrict outbound calls, but incoming calls are
harder to restrict.
There is also an incominglimit & outgoinglimit for sip.conf
http://voip-info.org/wiki-Asterisk+sip+incominglimit
It says there that 'outgoinglimit' is currently disabled in the source
code, but I don't see this when I look at the code.
It does say that app_groupcount is to replace this completely.
I would really like to see a 'total calls' limit for my remote servers
(so bandwidth-limited that this will often be just 1!)
Currently I can only set a maximum of 1 IAX call in each direction
(since I control both ends of the trunk).
I can't get it down to 1 in total...
F