Subscribing to events on AMI login
TTT <[email protected]> Tue, 8 Aug 2023 15:43:57 +0000
| Newsgroups | gmane.comp.telephony.pbx.asterisk.user |
|---|---|
| Message-ID | <01000189d5d1b5b8-97911df2-49ec-4006-bd5a-9dd65cc78458-000000@email.amazonses.com> |
I'm looking at an old app I wrote that upon AMI login would subscribe to
events as follows:
Action: Login
ActionID: myid
Username: myun
Secret: mypw
Events: call, system, security
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:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+ManagerAction_Login
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?
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users