<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Monospace'; font-size:9pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">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.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">I would love to help, if I can.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Mike.</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">On Wednesday, August 30, 2017 02:54:53 PM Sylvain Boily wrote:<br /></p>
<p style=" margin-top:12px; margin-bottom:12px; margin-left:40px; margin-right:40px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Hello!<br /><br />We start a proof of concept based on thie review board (<a href="https://reviewboard.asterisk.org/r/4365/"><span style=" font-family:'Open Sans,sans-serif'; color:#2389d7; background-color:#3d3c40;">https://reviewboard.asterisk.org/r/4365/</span></a>) to get all ARI messages and all AMI messages in rabbitmq instead of using a proxy like we did in Wazo (<a href="https://github.com/wazo-pbx/xivo-amid"><span style=" text-decoration: underline; color:#0057ae;">https://github.com/wazo-pbx/xivo-amid</span></a>) or with an existing like <a href="https://github.com/nvisibleinc/go-ari-proxy"><span style=" text-decoration: underline; color:#0057ae;">https://github.com/nvisibleinc/go-ari-proxy</span></a>.<br /><br />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: <a href="https://github.com/sboily/asterisk-amqp"><span style=" text-decoration: underline; color:#0057ae;">https://github.com/sboily/asterisk-amqp</span></a>.<br />And the second, i created another module to push stasis channel events and all ari events to the bus. <a href="https://github.com/sboily/asterisk-stasis-amqp"><span style=" text-decoration: underline; color:#0057ae;">https://github.com/sboily/asterisk-stasis-amqp</span></a>. We need to add AMI too.<br /><br />Channels are using the routing key "stasis.channel" and ari events app are using "stasis.app".<br /><br />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.<br /><br />If someone want to work with us on this feature, you're welcome, let me know ;-).<br /><br />Sylvain<br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br /><br /></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">-- </p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">Mike Diehl</p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; "> </p></body></html>