[asterisk-bugs] [JIRA] (ASTERISK-26163) stasis: ChannelVarset is not raised for global variables

Joshua Colp (JIRA) noreply at issues.asterisk.org
Tue Jul 5 05:56:56 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231289#comment-231289 ] 

Joshua Colp commented on ASTERISK-26163:
----------------------------------------

I'd suggest bringing this up on the asterisk-app-dev mailing list[1] to see what other people think. It can go either way really. The ChannelVarset event is for dialplan variables that are manipulated on a channel, but a global variable is outside of a channel.

[1] http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

> stasis: ChannelVarset is not raised for global variables
> --------------------------------------------------------
>
>                 Key: ASTERISK-26163
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26163
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_stasis
>    Affects Versions: 13.8.0, 13.8.1, 13.8.2, 13.9.0, 13.9.1
>         Environment: OS: RedHat 7.2, kernel version 3.10.0-327.13.1.el7.x86_64 
> Asterisk 13.9.1
>            Reporter: Claudiu Olteanu
>            Assignee: Unassigned
>              Labels: event, global, stasis, variable
>
> Hi there,
> Apparently, the ChannelVarset is not raised when a global variable is changed.
> The ChannelVarset is raised only when a variable of a channel is changed and your Stasis application is subscribed to that channel. I believe that the event should be raised also for global variables.
> In order to test it:
> 1. Create a Stasis application
> 2. Subscribe to "ChannelVarset" events
> 3. Change the value of a global variable or set a new one
> Results:
> The ChannelVarset is not raised.
> Expected results:
> The ChannelVarset should be raised.
> Happy hacking,
> Claudiu



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list