<div dir="ltr"><div dir="ltr">On Tue, Aug 8, 2023 at 12:44 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="msg-7136166916131090974"><div lang="EN-US"><div class="m_-7136166916131090974WordSection1"><p class="MsoNormal">I'm looking at an old app I wrote that upon AMI login would subscribe to events as follows:<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-left:0.5in">Action: Login<u></u><u></u></p><p class="MsoNormal" style="margin-left:0.5in">ActionID: myid<u></u><u></u></p><p class="MsoNormal" style="margin-left:0.5in">Username: myun<u></u><u></u></p><p class="MsoNormal" style="margin-left:0.5in">Secret: mypw<u></u><u></u></p><p class="MsoNormal" style="margin-left:0.5in">Events: call, system, security<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I noticed this old code isn't working, and I *think* that the events parameter of login has been deprecated; I don't see it referenced in:<u></u><u></u></p><p class="MsoNormal"><a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Login" target="_blank">https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Login</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m using Asterisk 20, so Is the events parameter still valid?  I don't seem to receive any events other than the "FullyBooted" event after login.  If not valid, how should I subscribe to events programmatically?</p></div></div></div></blockquote><div><br></div><div>The parameter appears to be valid, just implemented in such a way that it likely got missed when writing the documentation. As for not working, you'd need to provide the manager.conf configuration as well. There is also the Events AMI action[1] for changing it after login.</div><div><br></div><div>[1] <a href="https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/Events/">https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/Events/</a></div></div><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>