Re: [Stasis] ChannelVarset is not raised for global variables

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

 



Ok, but if I subscribe my application to a channel event source, then I will receive ChannelVarset events only when a variable from that channel is changed. The events related to global variables are still not raised.




On Tuesday, July 5, 2016 5:28 PM, Joshua Colp <jcolp@xxxxxxxxxx> wrote:


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




_______________________________________________
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