Couldnt you do this by calling MySql?  Compare who has the least minutes
used and then send it out the appropriate channel?

--Matt

On Tue, Nov 24, 2009 at 7:07 AM, Eckhard Jokisch
<[email protected]>wrote:

> Hi,
> I have 4 ISDN channels (2 lines) and each line may do calls of up to 360
> minutes/month for free.
> As I understand asterisk will pick the first available line so the
> probability
> is big that the other lines will not use their free minutes and the firs
> line
> will exceed the free minutes.
> How can I configure asterisk in a way that it looks up in the CDR which
> ISDN
> line has lest calling time in the present month and chosse this?
>
> Kind regards
> Eckhard
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Matthew Desbiens
603.581.3160
//* EOF *//
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to