<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Dear Damien,
<p>I have faced this issue before and my solution was adding the calls
into groups and then checking the group number and that's it before passing
the call, I have a central asterisk which manages four sites and to do
so I used the 6th example (Ramon's example)&nbsp;&nbsp; in the link below,
the asterisk dev guys seem not to be keen about putting a better function
for limiting calls, though in real life it is totally wanted, if you still
have any questions I will be glad to answer them.
<br>&nbsp;
<br>&nbsp;
<p><A HREF="http://www.voip-info.org/wiki/view/Asterisk+cmd+SetGroup">http://www.voip-info.org/wiki/view/Asterisk+cmd+SetGroup</A>
<p>Thx
<br>MAG
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<br>&nbsp;
<p>"Kevin P. Fleming" wrote:
<blockquote TYPE=CITE>----- Damien Gabrielson &lt;damien.gabrielson@mdci.ca>
wrote:
<br>> I can always add logic to my dial plan to count the calls as they
come
<br>> in and hang them up if they are over the limit but I was hoping to
<br>> find
<br>> a more native way in Asterisk.
<p>That is the 'native' way. There is no possible way that Asterisk could
provide this sort of 'DID grouping' functionality in chan_sip. The most
straightforward method is to define the grouping yourself in the dialplan
:-)
<p>--
<br>Kevin P. Fleming
<br>Senior Software Engineer
<br>Digium, Inc.
<p>_______________________________________________
<br>--Bandwidth and Colocation provided by Easynews.com --
<p>asterisk-dev mailing list
<br>To UNSUBSCRIBE or update options visit:
<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></blockquote>

<pre>--&nbsp;
Thx
MAG</pre>
&nbsp;</html>