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

Paul Belanger paul.belanger at polybeacon.com
Wed Dec 4 09:17:25 CST 2013


On Wed, Dec 4, 2013 at 12:21 AM, Prakash N <prakash.n at tevatel.com> wrote:
>
> 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'
>
> 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?
>
Like Josh says, you need to actually build your Queue application in
ARI and connect to it via stasis. The existing app_queue application
will not interface to stasis at all.

-- 
Paul Belanger | PolyBeacon, Inc.
Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode)
Github: https://github.com/pabelanger | Twitter: https://twitter.com/pabelanger



More information about the asterisk-app-dev mailing list