[asterisk-dev] Asterisk amqp (ARI, AMI...)
Mike Diehl
mdiehlenator at gmail.com
Wed Aug 30 14:02:25 CDT 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20170830/616b6713/attachment.html>
More information about the asterisk-dev
mailing list