[asterisk-app-dev] [Stasis] ChannelVarset is not raised for global variables

Joshua Colp jcolp at digium.com
Tue Jul 5 09:28:49 CDT 2016


Claudiu Olteanu wrote:
> I would expect to propagate the events related with global variables to
> every channel and Stasis application without an explicit subscription.
>
> Anyway, if an application needs to manually subscribe to receive the
> global variable events, how should I proceed?

There's a subscription mechanism[1] which when used with "channel:" will 
subscribe to everything channel related. This does show the event.

[1] 
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Applications+REST+API#Asterisk13ApplicationsRESTAPI-subscribe

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org




More information about the asterisk-app-dev mailing list