Re: ARI all subscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim,
By default, your Stasis app is only subscribed to events emitted by resources it creates or are passed to it by the Stasis() dialplan app.

If you want to look at a test system with activity, there's no "ALL" idea like AMI.

However, you should be able to use the subscribe to an event source:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Applications+REST+API#Asterisk13ApplicationsRESTAPI-subscribe

To get a list of possible event sources, for example bridges, you can get a list of all bridges then subscribe to them:
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Bridges+REST+API#Asterisk13BridgesRESTAPI-list

Good luck!
Mark Ingles



On 10/19/2015 1:11 PM, James Cloos wrote:
[It just occurred to me that I should have posted this here instead of
in asterisk-users....]

I wasn't able to make it back to the devcon after lunch or to as many of
the talks as I'd have liked (the excessive a/c exacerbated by symptoms
enough to be painful), so I probably missed something relevant to
this...

What is the syntax of an ALL subscription websocket url in ari?

I'd like to use wscat with such a sub to get a better idea of what the
various events look like.

Thanks,

-JimC


_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev



[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux