Well, that would save me a lot of time....  I'm currently working on proxying 
AMI events to MQTT.  What I have works, but it's in Perl.

I would love to help, if I can.

Mike.


On Wednesday, August 30, 2017 02:54:53 PM Sylvain Boily wrote:


Hello!

We start a proof of concept based on thie review board 
(https://reviewboard.asterisk.org/r/4365/[1]) to get all ARI messages and all 
AMI messages in rabbitmq instead of using a proxy like we did in Wazo 
(https://github.com/wazo-pbx/xivo-amid[2]) or with an existing like 
https://github.com/nvisibleinc/go-ari-proxy[3].

There is two parts. The first is the amqp resources wrote in this review board 
to permit to publish directly in rabbitmq. I extracted it to a specific module 
here: https://github.com/sboily/asterisk-amqp[4].And the second, i created 
another module to push stasis channel events and all ari events to the bus. 
https://github.com/sboily/asterisk-stasis-amqp[5]. We need to add AMI too.

Channels are using the routing key "stasis.channel" and ari events app are 
using "stasis.app".

So the proof of concept works, but we would like to know the feeling of people 
about this feature. Would like to get it inside asterisk? We need it in Wazo 
and we don't want to maintain an external program to push events in rabbitmq, 
so we could finish it and push it to gerrit.

If someone want to work with us on this feature, you're welcome, let me know 
;-).

Sylvain




-- 
Mike Diehl



--------
[1] https://reviewboard.asterisk.org/r/4365/
[2] https://github.com/wazo-pbx/xivo-amid
[3] https://github.com/nvisibleinc/go-ari-proxy
[4] https://github.com/sboily/asterisk-amqp
[5] https://github.com/sboily/asterisk-stasis-amqp
-- 
_____________________________________________________________________
-- 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

Reply via email to