Displaying 6 results from an estimated 6 matches for "subscribeall".
2023 Jun 07
1
Listen to ARI events
I tried the command below (with subscribeAll=yes). I made a couple of calls but didn’t see any events. Should I see events?
From: asterisk-users [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp
Sent: Tuesday, June 6, 2023 6:31 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-user...
2023 Jun 07
1
Listen to ARI events
...p 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 and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-user...
2023 Jun 07
1
Listen to ARI events
...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>
-------------- next part --------------
An HTML attachmen...
2023 Jun 07
1
Listen to ARI events
...to:asterisk-users-bounces at lists.digium.com] On Behalf Of TTT
Sent: Tuesday, June 6, 2023 8:39 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion' <asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] Listen to ARI events
I tried the command below (with subscribeAll=yes). I made a couple of calls but didn’t see any events. Should I see events?
From: asterisk-users [ <mailto:asterisk-users-bounces at lists.digium.com> mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Joshua C. Colp
Sent: Tuesday, June 6, 2023 6:31 PM
To: Asterisk Users...
2023 Jun 06
1
Listen to ARI events
I have the ARI enabled on my Asterisk test box, and want to listen to all
events. I can't find the syntax to do that. Can I only listen to events
related to a stasis app?
I was hoping that a simple wscat command like this would show me all events:
wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk "
I know how to do it form the AMI.looking for
2023 Jun 07
1
Listen to ARI events
...no error either.
You must specify an app as well. If you don't, it should reply with a 400. If it's not... then are you connecting to Asterisk? What does the console say? For example I did the following:
wscat --connect "ws://kappa:8088/ari/events?api_key=asterisk:asterisk&subscribeAll=yes&app=test"
Which connected successfully and then I did a call which resulted in:
{"type":"ChannelCreated","timestamp":"2023-06-07T10:54:56.295-0300","channel":{"id":"1686146096.1","name":"PJSIP...