[asterisk-app-dev] Will Stasis monitor queue events

Prakash N prakash.n at tevatel.com
Tue Dec 3 23:21:44 CST 2013


We are working with stasis.

1. The below dialplan is being used ,

exten=>700,1,Verbose(Stasis testing)
same=>n,stasis(hello,world)
same=>n,Hangup()

2. Then we connect to asterisk through the below websocket,
   *$ wscat.py
'ws://192.168.1.60:8088/ari/events?app=hello&api_key=hey:peekaboo
<http://192.168.1.60:8088/ari/events?app=hello&api_key=hey:peekaboo>'*

I try to make a call to 700 and find the stasis_start,stasis_end events
receiving at the console.  Using the channel information received, we are
able to answer the channel.


The other scenario is given below,

exten=>600,1,Verbose(stasis Queue testing)
same=>n,stasis(Queue,sales)
same=>n,Hangup()

Now my query is whether its possible to monitor queue events using stasis
or will the call be passed to the queue, like the normal queue(sales) app
does and we can monitor the queue?

With Regards

N.Prakash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20131204/cda377fc/attachment.html>


More information about the asterisk-app-dev mailing list