bar top left
bar top right
left curve
right curve
Bienvenido, Invitado
Abajo
Publicar respuesta
Publicar nuevo tema
Página: 1234
TEMA: trunk load balancing?
#40937
trunk load balancing? hace 2 Años, 2 Meses Karma: 33
EWT describes some ways to do load balancing on outbound trunk based on number of calls.

Does someone has a good load balancing module or script to manage the load balancing on trunk usage.

For instance, I have a trunk with a provider A that give me 2h of call included in the price, but every additional minutes is more expensive than my provider B.

I would like to change the priority order of the trunk when the 2h limit is reached within each billing cycle.

I would prefer a nice freepbx/elastix way of doing it. But I guess than an independant script with a cron job can survey the cdr and change the trunk order in an outbound route via the manager or directly in the sql database.

Any pointer somewhere?
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Reply Quote
 
#41168
Re:trunk load balancing? hace 2 Años, 2 Meses Karma: 33
Ok, as nobody answered I've spend my weekend building something.

You can find the alpha release of a trunk balancing module for Freepbx here.

Enlaces ocultos para usuarios no registrados. Inicie sesión o regístrese Aquí

It's an alpha release and could be a little bit more user friendly, but so far it does the job.
Please report feedback.

Patrick
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Última edición: 01/12/2009 15:40 por Patrick_elx.
Reply Quote
 
#41309
Re:trunk load balancing? hace 2 Años, 2 Meses Karma: 33
version alpha 0.0.2 is out for testing.

Same functionalities, but some bugs corrections.
Continue to send feedback.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Reply Quote
 
#55867
Re:trunk load balancing? hace 1 Año, 6 Meses Karma: 0
Great work, Patrick, thanks!
I have downloaded the latest 0.3.2 version and only got one question, can we make all or more features available for ZAP trunk?
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
andydeng
Fresh Boarder
Mensajes: 2
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#55870
Re:trunk load balancing? hace 1 Año, 6 Meses Karma: 33
With freepbx 2.6 it's not that easy as the zap trunk are handled differently (not on the same table in the database).

I'll give a look at the later freepbx version to see if they upgraded the way to handle the zap trunk.

If not, I would have to rewrite a specific behavior for these trunks that may be difficult with the way I'm injecting my agi in the dialplan.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Reply Quote
 
#58203
Re:trunk load balancing? hace 1 Año, 5 Meses Karma: 0
Thanks for explanation about this. I don't know zap trunk is using different table in database.

By the way, is there a simple way to deploy trunk load balancing in your software, for example we only build one custom trunk, and put all trunks which we want to be load-balance, then it can be done. Thanks!
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
andydeng
Fresh Boarder
Mensajes: 2
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#58247
Re:trunk load balancing? hace 1 Año, 5 Meses Karma: 33
andydeng wrote:

By the way, is there a simple way to deploy trunk load balancing in your software, for example we only build one custom trunk, and put all trunks which we want to be load-balance, then it can be done. Thanks!


That's not really the way this add on was developed.
The root concept is that each trunk has different limit/need/filter...
You then just create a go/no go filter (the balanced_trunk) for a set of condition on one trunk. And then you can continue to organized your trunk and balanced trunk within your routes the way you want.

If you are only looking for an evenly balanced load between different trunk, I could create a more simplified gui. But you will loose the fine tuning between each trunk (the ratio mode) and all the other options (like time limit, filter on number dialed, etc...)
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Reply Quote
 
#65035
Re:trunk load balancing? hace 1 Año, 2 Meses Karma: 33
Version 0.0.4 is available at
projects.colsolgrp.net/projects/trunkbalance/files

added a time group condition to let you use the free night and week end minutes that some providers are giving.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Reply Quote
 
#85171
Re:trunk load balancing? hace 5 Meses Karma: 0
Hi, Patrick, wich version of elastix is these module intended for?
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Hiko78
Fresh Boarder
Mensajes: 3
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Reply Quote
 
#85195
Re:trunk load balancing? hace 5 Meses Karma: 33
It's for freePBX version 2.6 and 2.7. I'm not sure about 2.8.
It should work with the Elastix versions using these versions of FreePBX.
Introducir código aquí   
Por favor, aunque no se vea ningún BBcode ni botones de smiley, son usables igualmente
Patrick_elx
Gold Boarder
Mensajes: 1112
graphgraph
Usuario Offline Presiona aquí para ver el perfil de este usuario
Sexo: Hombre Localización: Florida, USA
Reply Quote
 
Arriba
Publicar respuesta
Publicar nuevo tema
Página: 1234
Moderadores: Bob, jgutierrez