[asterisk-users] distribute free call minutes over different channels

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Nov 24 07:10:43 CST 2009


On Tue, Nov 24, 2009 at 01:07:28PM +0100, Eckhard Jokisch 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.

If you use chan_zap or chan_dahdi, you can use r/R instead of g/G to go
round-robin through the channels rather than start from the first/last
(respectively). This would give you a rather even spreading of the
outgoing calls.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list