[asterisk-dev] Discovering Asterisk with consul

Matthew Jordan mjordan at digium.com
Fri Oct 9 08:34:15 CDT 2015


On Fri, Oct 9, 2015 at 6:57 AM, Sylvain Boily <sboily at avencall.com> wrote:
> Hello,
>
> Le 2015-10-04 22:09, Matthew Jordan a écrit :
>>
>> On Thu, Oct 1, 2015 at 4:11 PM, Sylvain Boily <sboily at avencall.com> 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.
>

Awesome!

We should talk about ways to coordinate the automated testing efforts.
Probably something to discuss at DevCon, wince we'll all be in a room
together next week.

-- 
Matthew Jordan
Digium, Inc. | Director of Technology
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-dev mailing list