<div dir="ltr"><div dir="ltr">On Tue, Jun 6, 2023 at 6:04 PM TTT <<a href="mailto:lists@telium.io">lists@telium.io</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg4700594011583694105"><div lang="EN-US"><div class="m_4700594011583694105WordSection1"><p class="MsoNormal"><span lang="EN-CA">I have the ARI enabled on my Asterisk test box, and want to listen to all events.  I can’t find the syntax to do that.  Can I only listen to events related to a stasis app?  <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-CA">I was hoping that a simple wscat command like this would show me all events:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-CA"><u></u> <u></u></span></p><p class="MsoNormal"><code><span style="font-size:10.5pt">wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk "<br></span></code></p></div></div></div></blockquote><div><br></div><div>This does not listen to all events by default. If you want to listen to everything you can pass subscribeAll=yes[1] like so:</div><div><br></div><div><span style="font-family:"Courier New";font-size:14px">ws://localhost:8088/ari/</span><span style="font-family:"Courier New";font-size:14px">events?api_key=asterisk:</span><span style="font-family:"Courier New";font-size:14px">asterisk&subscribeAll=yes</span><br></div></div><div><br></div>[1] <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Events+REST+API#Asterisk20EventsRESTAPI-userEvent">https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Events+REST+API#Asterisk20EventsRESTAPI-userEvent</a><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Project Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>