On Wed, Oct 29, 2014 at 1:21 PM, Murthy Gandikota <[email protected]> wrote:
> I am happy to report that
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+12+Applications+REST+API
> has the answer to my dilemma. It seems an app has to subscribe to channel
> events before it can receive the events like ChannelVarset...
>

That's correct. You are only implicitly subscribed to channels that
are in the Stasis application your websocket is for (in your case,
'hello-world'). Otherwise, you have to subscribe to various event
sources through the applications resource.

The "Introduction to ARI and Channels" page on the wiki has more on this here:

https://wiki.asterisk.org/wiki/display/AST/Introduction+to+ARI+and+Channels#IntroductiontoARIandChannels-ChannelsinaStasisApplication

-- 
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to