[asterisk-users] Load Balancing over 2 E1 Lines
Hi @ all, i set a server to a costumer of mine with a TE207P for use with 2 E1 Lines. I set them together into one group in zaptel/zapata.conf The point is now, the customer has a free-volumina of 60k minutes per month, per line. How can i make a kind of load balancing, that both lines will be trafficed the same way ? I read something about DIAL(Zap/r1/.) for using round robin, and it seems to work. Is there any other possible way to make sure that all lines are used in the same amount of minutes? Thanks in regard, Eric ___ --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
Re: [asterisk-users] Load Balancing over 2 E1 Lines
On Dec 12, 2007 8:08 AM, Eric Delaporte <[EMAIL PROTECTED]> wrote: > I read something about DIAL(Zap/r1/…) for using round robin, and it seems to > work. That will give you the same number of calls routed to each line > Is there any other possible way to make sure that all lines are used in the > same amount of minutes? You are going to need an AGI app or something storing how many minutes have been routed through each line and, on every call, choosing the less used one as the line to go out. -- Andres Jimenez GPG : http://www.andresin.com/gpg/[EMAIL PROTECTED] ___ --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
Re: [asterisk-users] Load Balancing over 2 E1 Lines
Why not Random application available in Asterisk ? quite simple I believe. asterisk1*CLI> show application Random -= Info about application 'Random' =- [Synopsis] Conditionally branches, based upon a probability [Description] Random([probability]:[[context|]extension|]priority) probability := INTEGER in the range 1 to 100 best regards, Marco Mouta On Dec 12, 2007 8:08 AM, Eric Delaporte <[EMAIL PROTECTED]> wrote: > Hi @ all, > > > > i set a server to a costumer of mine with a TE207P for use with 2 E1 > Lines. > > I set them together into one group in zaptel/zapata.conf > > > > The point is now, the customer has a free-volumina of 60k minutes per > month, per line. > > How can i make a kind of load balancing, that both lines will be trafficed > the same way ? > > > > I read something about DIAL(Zap/r1/…) for using round robin, and it seems > to work. > > > > Is there any other possible way to make sure that all lines are used in > the same amount of minutes? > > > > Thanks in regard, > > > > Eric > > ___ > --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 > -- Esta mensagem (incluindo quaisquer anexos) pode conter informação confidencial para uso exclusivo do destinatário. Se não for o destinatário pretendido, não deverá usar, distribuir ou copiar este e-mail. Se recebeu esta mensagem por engano, por favor informe o emissor e elimine-a imediatamente. Obrigado. This e-mail message is intended only for individual(s) to whom it is addressed and may contain information that is privileged, confidential, proprietary, or otherwise exempt from disclosure under applicable law. If you believe you have received this message in error, please advise the sender by return e-mail and delete it from your mailbox. Thank you. ___ --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
Re: [asterisk-users] Load Balancing over 2 E1 Lines
You can use the asterisk db for this. Simply set a variable to 1 or 0 if 1 set to 0 and use g2 if 0 set to 1 and use g1. - Original Message - From: "Andres Jimenez" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" Sent: Wednesday, December 12, 2007 11:28 AM Subject: Re: [asterisk-users] Load Balancing over 2 E1 Lines > On Dec 12, 2007 8:08 AM, Eric Delaporte <[EMAIL PROTECTED]> wrote: > > >> I read something about DIAL(Zap/r1/…) for using round robin, and it seems >> to >> work. > That will give you the same number of calls routed to each line > >> Is there any other possible way to make sure that all lines are used in >> the >> same amount of minutes? > You are going to need an AGI app or something storing how many minutes > have been routed through each line and, on every call, choosing the > less used one as the line to go out. > > > -- > Andres Jimenez > > GPG : http://www.andresin.com/gpg/[EMAIL PROTECTED] > ___ > --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 ___ --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