search for: wscat

Displaying 5 results from an estimated 5 matches for "wscat".

Did you mean: scat
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 something similar. Thanks Brian (Ast newbie) -------------- next part -------------- An HTML attachment was scrubbed...
2023 Jun 07
1
Listen to ARI events
...6, 2023 at 6:04 PM TTT <lists at telium.io <mailto:lists at telium.io> > wrote: 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 " This does not listen to all events by default. If you want to listen to everything you can pass subscribeAll=yes[1] like so: ws://localhost:8088/ari/events?api_key=...
2023 Jun 07
1
Listen to ARI events
...6, 2023 at 6:04 PM TTT <lists at telium.io <mailto:lists at telium.io> > wrote: 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 " This does not listen to all events by default. If you want to listen to everything you can pass subscribeAll=yes[1] like so: ws://localhost:8088/ari/events?api_key=...
2023 Jun 07
1
Listen to ARI events
...ommand below (without app= parameter) results in no events being > shown, but 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","cha...
2023 Jun 07
1
Listen to ARI events
...he command below (without app= parameter) results in no events being shown, but 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",&qu...