[asterisk-users] Listen to ARI events

Joshua C. Colp jcolp at sangoma.com
Wed Jun 7 13:29:57 CDT 2023


On Wed, Jun 7, 2023 at 3:26 PM TTT <lists at telium.io> wrote:

> I’ve been looking through the docs (near
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Applications+REST+API)
> and am searching for a list of events I can subscribe to.  Is this list
> published?  Or can I query the ARI for a list of available events?
>

You don't subscribe to events, you subscribe to event sources[1] but if
subscribeAll is passed, you are subscribed to everything. The events are on
the wiki[2] with events having base type Event.

[1]
https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+Applications+REST+API#Asterisk20ApplicationsRESTAPI-subscribe
[2] https://wiki.asterisk.org/wiki/display/AST/Asterisk+20+REST+Data+Models

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20230607/611a69fe/attachment.html>


More information about the asterisk-users mailing list