[Home]

Summary:ASTERISK-00489: [request] Limit calls going over an interface.
Reporter:scaredycat (scaredycat)Labels:
Date Opened:2003-11-06 07:05:32.000-0600Date Closed:2011-06-07 14:04:57
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Feature request for a way to limit the number of VoIP calls going in/coming out of an interface. The idea is that if I only have a 512k link to the net (or to another * box) I want to limit the number of calls that can go out.

For example:

1. Internal user dials a number

2. if the call is to another internal exten then goto 5

3. check call counter, if number of calls over the link <limit goto 5

4. fail to make call, use LCR if configured or give congestion.

5. Make the call


sc
Comments:By: Paul Cadach (pcadach) 2003-11-06 11:04:01.000-0600

May be better to implement bandwidth utilization calculation (internally within Asterisk) like it works for H.323? So, you just specifies not exact call count but total bandwidth consumed by calls because different calls can use different codecs with different bandwidth requirements. But I don't see how to simplify description of different directions (to sum total bandwidth at them) used for calls if you can use different technologies to place calls too (SIP, H.323, IAX/IAX2, etc.).

For example, you have a single link to ISP and can place 3 different types of calls over this link:
1) SIP to NuFone;
2) IAX/IAX2 to iaxtel;
3) H.323 to your home NetMeeting/GnomeMeeting/etc.
So, you must SUM all of bandwidth used by ANY calls goes through this link independedly on technology its uses to limit it, say, to 512Kbit (and leave a little for call control traffic).

By: zoa (zoa) 2003-12-06 19:01:37.000-0600

hmyeah and while you are at it add iperfing for available bandwidth, and cpu monitoring :)

zoa

By: Brian West (bkw918) 2004-01-28 00:03:08.000-0600

Bug 849 has a bounty on this.  Closing this as its a dupe.