Hello,
Le 2015-10-04 22:09, Matthew Jordan a écrit :
On Thu, Oct 1, 2015 at 4:11 PM, Sylvain Boily <[email protected]> wrote:
Hello,
I developped a small module to plug asterisk with consul. Also i wrote small
documentation, a dockerfile and a docker-compose yaml to play with it
easily.
code source is here : https://github.com/sboily/asterisk-consul-module
My example is only to loadbalance ARI, auto discovery service and
autoscaling, but you can imagine what you want. I'm using consul-template to
generate the config for haproxy. You can imagine to loadbalance asterisk sip
with kamailio automatically if you want.
This email is only to sharing my idea with the community ;-)
Good and bad feedback is welcome.
I like the idea for sure, and think it would be a pretty cool
addition. If you'd like to push the module up for review, I think
that'd be pretty great - there's a few minor coding guideline [1]
things you might want to take a look at first, but nothing too major.
I did review with my colleague Etienne Lessard, and we follow your
guidelines. I think it's better ;-)
If you'd like to get it into Asterisk 13 as well as master (which will
eventually be 14), we can talk about writing automated tests :-)
There is automated test now.
Sylvain
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev