Re: ARI ApplicationStarted or how to know that WebSocket connection established?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




2014-09-25 18:29 GMT+04:00 Matthew Jordan <mjordan@xxxxxxxxxx>:
The application 'starts' when your WebSocket connection is made.
Asterisk uses the presence of a WebSocket connection to know that
something is able to handle the Stasis application. Without that, it
will simply bounce channels out of your Stasis application.

Because the client initiates the application, there isn't really any
need for an event. Asterisk doesn't make the decision; you do.


Matt, thanks for your reply.
Seems I was not clear enough.
Yes Asterisk knows when smth is able to handle the Stasis application.
And when I do a connection I also know.
Know what? 
You mean that client.connect(...) success call is enouth? After it returns Stasis app is setup in asterisk?
And this mean I have to signal to other thread exactly after exit from client.connect(..)?
Thanks.

_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux