If you are trying to have a busy signal when the customer is over the limit of channels then I would call that a hard limit. In this case I would recommend that you have the carrier setup 2 groups on their end. One for each DID. This will automatically handle your dynamic allocation issue. Then all you need to do is limit the channels on the outbound calling for each customer. This is like a multi-tenant system, so you probably need to have each customers extensions in their own context. If need be, you can check channels in use before making a call.<br>
<br><div class="gmail_quote">On Thu, Jul 30, 2009 at 12:09 PM, Jim Freeze <span dir="ltr">&lt;<a href="mailto:asterisk@freeze.org">asterisk@freeze.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have another question about line pooling.<br>
<br>
The setup is this: Two businesses (A and B) sharing 10 digital lines<br>
over a PRI on the same asterisk server. There are 2 DiDs, both on the<br>
same hunt group.<br>
Normally, uncontrolled line sharing works fine, but there are times<br>
when biz A wants 8 of the available 10 channels.<br>
<br>
I&#39;m wondering how to limit the inbound and outbound calls for B.<br>
One piece of data that is needed is how many lines B is using at any<br>
given moment.<br>
<br>
The other is what to do when a call comes in and B is over its limit.<br>
Do we have the system just hang up on the user, or is there a way to<br>
give a busy signal?<br>
<br>
Thanks<br>
<font color="#888888"><br>
--<br>
Jim Freeze<br>
_______________________________________________<br>
Austin-Asterisk-Users-Group mailing list<br>
<a href="mailto:Austin-Asterisk-Users-Group@bybent.com">Austin-Asterisk-Users-Group@bybent.com</a><br>
<a href="http://bybent.com/mailman/listinfo/austin-asterisk-users-group" target="_blank">http://bybent.com/mailman/listinfo/austin-asterisk-users-group</a><br>
AAUG Web Site: <a href="http://aaug.bybent.com/" target="_blank">http://aaug.bybent.com/</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mark Barry<br>Exabar Phone Systems<br>512-258-2175<br>