<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div>I am writing telephone application in Java. I want to write Stasis application  in Java. Can I do that ? If yes can provide me some sample</div><div><br></div><div><br></div><div><br></div><div class="ydp71a96934signature">Kolkata :- 2A, Sadhu Tara Charan Road Calcutta - 700026 West Bengal, India.  Cell #: +91-98304-01946</div><div><br></div></div><div><br></div><div><br></div><hr><div id="ydpa03669afyahoo_quoted_4223413022" class="ydpa03669afyahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><b>From:</b> Mike Diehl <mdiehlenator@gmail.com></div><div><b>To:</b> "asterisk-dev@lists.digium.com" <asterisk-dev@lists.digium.com></div><div><b>Sent:</b> Thursday, August 31, 2017, 12:32:41 AM GMT+5:30</div><div><b>Subject:</b> Re: [asterisk-dev] Asterisk amqp (ARI, AMI...)</div><div><br></div><div><div id="ydpa03669afyiv6539237063"><div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;">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="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;">I would love to help, if I can.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;">Mike.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"> </p>
<div class="ydpa03669afyiv6539237063yqt3167195401" id="ydpa03669afyiv6539237063yqt96032"><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;">On Wednesday, August 30, 2017 02:54:53 PM Sylvain Boily wrote:<br clear="none"></p>
<p style="margin-top:12px;margin-bottom:12px;margin-left:40px;margin-right:40px;text-indent:0px;">Hello!<br clear="none"><br clear="none">We start a proof of concept based on thie review board (<a shape="rect" href="https://reviewboard.asterisk.org/r/4365/" rel="nofollow" target="_blank"><span style="color: rgb(35, 137, 215); background-color: rgb(61, 60, 64);">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 shape="rect" href="https://github.com/wazo-pbx/xivo-amid" rel="nofollow" target="_blank"><span style="text-decoration:underline;color:#0057ae;">https://github.com/wazo-pbx/xivo-amid</span></a>) or with an existing like <a shape="rect" href="https://github.com/nvisibleinc/go-ari-proxy" rel="nofollow" target="_blank"><span style="text-decoration:underline;color:#0057ae;">https://github.com/nvisibleinc/go-ari-proxy</span></a>.<br clear="none"><br clear="none">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 shape="rect" href="https://github.com/sboily/asterisk-amqp" rel="nofollow" target="_blank"><span style="text-decoration:underline;color:#0057ae;">https://github.com/sboily/asterisk-amqp</span></a>.<br clear="none">And the second, i created another module to push stasis channel events and all ari events to the bus. <a shape="rect" href="https://github.com/sboily/asterisk-stasis-amqp" rel="nofollow" target="_blank"><span style="text-decoration:underline;color:#0057ae;">https://github.com/sboily/asterisk-stasis-amqp</span></a>. We need to add AMI too.<br clear="none"><br clear="none">Channels are using the routing key "stasis.channel" and ari events app are using "stasis.app".<br clear="none"><br clear="none">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 clear="none"><br clear="none">If someone want to work with us on this feature, you're welcome, let me know ;-).<br clear="none"><br clear="none">Sylvain<br clear="none"></p></div>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"><br clear="none"><br clear="none"></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;">-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;">Mike Diehl</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px;"> </p></div></div><div class="ydpa03669afyqt3167195401" id="ydpa03669afyqt47625">-- <br clear="none">_____________________________________________________________________<br clear="none">-- Bandwidth and Colocation Provided by <a shape="rect" href="http://www.api-digital.com " rel="nofollow" target="_blank">http://www.api-digital.com </a>--<br clear="none"><br clear="none">asterisk-dev mailing list<br clear="none">To UNSUBSCRIBE or update options visit:<br clear="none">   <a shape="rect" href="http://lists.digium.com/mailman/listinfo/asterisk-dev" rel="nofollow" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-dev</a></div></div></div></div></div></body></html>