<div dir="ltr"><div>I think it would be the best for me to stick to the AMI and use a middleware which provides websocket support.<br></div><div><br></div><div>Thanks for your responses!<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 3:26 PM, Joshua Colp <span dir="ltr"><<a href="mailto:jcolp@digium.com" target="_blank">jcolp@digium.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Matthew Jordan wrote:<br>
<br>
<snip><span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
    Can I use the ARI websocket, even if I want to keep my dialplan?<br>
<br>
<br>
Sure. While ARI uses a subscription model for events, you can get more<br>
events for things going on in Asterisk than just what occurs in your<br>
Stasis application. You do that by subscribing to Asterisk event sources<br>
through the /applications resource [1].<br>
<br>
Generally, subscribing to an endpoint or an endpoint technology will<br>
show you the most, as that will subscribe you implicitly to all channels<br>
created for that endpoint/technology.<br>
</blockquote>
<br></span>
I'll add to this saying that while this will give you events they may not be the same as AMI and it's not a view of the entire system like AMI can give you. They are just related to the channel. So it may or may not give you what you want depending on what you are trying to do.<div class="HOEnZb"><div class="h5"><br>
<br>
-- <br>
Joshua Colp<br>
Digium, Inc. | Senior Software Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br>
______________________________<u></u>_________________<br>
asterisk-app-dev mailing list<br>
<a href="mailto:asterisk-app-dev@lists.digium.com" target="_blank">asterisk-app-dev@lists.digium.<u></u>com</a><br>
<a href="http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev" target="_blank">http://lists.digium.com/cgi-<u></u>bin/mailman/listinfo/asterisk-<u></u>app-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:Helvetica">Herzliche Grüße aus dem Schwabenland</span></div><div style="font-family:Helvetica"><div><img src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div></div><span style="font-family:Helvetica"><font color="#888888"><div style="color:rgb(34,34,34);font-family:arial,sans-serif">Lukas Hauser</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">-- </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">RSU Reifen-Center GmbH</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">Ohnastetter Straße 36, 72813 St. Johann</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">Fon: <a value="+4971228259364" style="color:rgb(17,85,204)">+49 (0) 7122-82593-62</a>, Fax: <a value="+4971228259350" style="color:rgb(17,85,204)">+49 (0) 7122-82593-50</a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">______________________________________________</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">AG Stuttgart, HRB 723319, Ust-IdNr.: DE 254910568</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif">Geschäftsführer: Simon Reichenecker</div></font></span></div></div>
</div>