Rupa!!! Glad you chimed in. :)<div>-MC<br><br><div class="gmail_quote">On Fri, Jul 29, 2011 at 2:52 PM, Rupa Schomaker <span dir="ltr"><<a href="mailto:rupa@rupa.com">rupa@rupa.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I realize this is late, but...<br>
<br>
There are so many ways to solve this. My approach?<br>
<br>
Use mod_lcr to define your trunks, mod_lcr will load balance (well<br>
choose random order at each "cost" level).<br>
<br>
use mod_nibblebill to keep track of your "account" for each trunk.<br>
Have a cron job at midnight that resets your "balance". When the<br>
trunk hits 0 it'll disconnect any active calls and any new calls will<br>
not complete on trunks that have a 0 balance.<br>
<br>
On Tue, Jul 5, 2011 at 10:21 AM, Abid Saleem <<a href="mailto:abid_freeswitch@live.com">abid_freeswitch@live.com</a>> wrote:<br>
> Hi Micheal, Avi and All,<br>
> Sorry for a little late response as I was away. I have seen quite a few<br>
> questions from you guys, so I am answering them in one email as below.<br>
> 1- How does the provider notify you that each trunk has used its allotted<br>
> time?<br>
> Abid -> They have some counter in their IMS network to count on mins per<br>
> trunk per day and they inform us by email.<br>
> 2- Are these trunks inbound only?<br>
> Abid -> No. All these are Outbound Trunks. We just use them to send outgoing<br>
> calls to our provider.<br>
> 3- What happens when a call extends more than 120 mins on a trunk, would the<br>
> call be disconnected?<br>
> Abid -> The call is not disconnected right away but they send us a<br>
> notification the next day. There is no real-time disconnection.<br>
> 4- And then no more calls that day on that trunk?<br>
> Abid -> Calls do not stop connecting immediately but they keep going.<br>
> Currently their notification process is manual not automatic blocking.<br>
> Please help me if you can. Thanks.<br>
> Regards<br>
> -----------------<br>
> Abid Saleem<br>
> Technical Manager NGN<br>
> Terminus Technologies<br>
> ________________________________<br>
> Date: Fri, 1 Jul 2011 09:49:02 -0700<br>
> From: <a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a><br>
> To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
> Subject: Re: [Freeswitch-users] Load Balance Trunks<br>
><br>
> On Fri, Jul 1, 2011 at 9:46 AM, <<a href="mailto:hmkias@gmail.com">hmkias@gmail.com</a>> wrote:<br>
><br>
> Lcr entry could be activated on the the trunks. A cron job could monitor the<br>
> usage and add or remove the trunk for the day.<br>
><br>
> Are these trunks inbound only?<br>
> -MC<br>
><br>
> _______________________________________________ Join us at ClueCon 2011, Aug<br>
> 9-11, Chicago <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE FreeSWITCH-users mailing<br>
> list <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> _______________________________________________<br>
> Join us at ClueCon 2011, Aug 9-11, Chicago<br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
-Rupa<br>
<br>
_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>