[asterisk-users] Subscribe to events via ARI from node.js without sending to Stasis
Joshua Colp
jcolp at digium.com
Mon Nov 28 09:42:08 CST 2016
On Mon, Nov 28, 2016, at 11:39 AM, Matt Riddell wrote:
>
> > On 27/11/2016, at 6:44 PM, Joshua Colp <jcolp at digium.com> wrote:
> >
> > On Wed, Nov 23, 2016, at 06:41 PM, Matt Riddell wrote:
> >>
> >> There doesn't appear to be a way to monitor general Asterisk events like
> >> you can in the Asterisk manager without polling for channel statuses or
> >> sending the channels to the Stasis app and recreating the logic of the
> >> Queue application.
> >
> > You can subscribe to events for everything, but ARI events are a subset
> > of what are available over AMI so you may not get what you want. Events
> > raised by applications for example would not be present. You can
> > subscribe to all channels by subscribing to "channel:" using the
> > /applications/<app name>/subscription resource, and "bridge:" for all
> > bridges.
>
>
> <app name> is the stasis app name or the Asterisk application name?
The Stasis app name. You are saying you want to subscribe a specific
Stasis application to certain events.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list