Re: Listen to ARI events

"TTT" <[email protected]> Wed, 7 Jun 2023 18:26:08 +0000
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <01000188971be92a-a27c28aa-1f10-44f1-9964-98e73c8568ef-000000@email.amazonses.com>
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?

 

Thanks

Brian

 

From: asterisk-users [mailto:[email protected]] On Behalf Of Joshua C. Colp
Sent: Wednesday, June 7, 2023 11:08 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion <[email protected]>
Subject: Re: [asterisk-users] Listen to ARI events

 

On Wed, Jun 7, 2023 at 12:04 PM TTT <[email protected] <mailto:[email protected]> > wrote:

Ok that worked.

 

Since I have not declared a statis app called “test”, does that mean any non-existent app name on the URL will subscribe to all system events?  (Or is test a built-in app name)

 

Applications are not declared or configured anywhere. The act of connecting a websocket with an app name creates them. And no, you have to pass subscribeAll=yes to have the websocket subscribed to all events. 

 

-- 

Joshua C. Colp

Asterisk Project Lead

Sangoma Technologies

Check us out at www.sangoma.com <http://www.sangoma.com>  and www.asterisk.org <http://www.asterisk.org>

-- 
_____________________________________________________________________
-- 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