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

Claudiu Olteanu (JIRA) noreply at issues.asterisk.org
Tue Jul 5 06:38:56 CDT 2016


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

Claudiu Olteanu commented on ASTERISK-26163:
--------------------------------------------

Thanks for your input!

On the documentation of ChannelVarset event it says that the channel property is optional and if it is missing, then the variable is a global one.
Besides that, on the AMI interface, the VarSet event is raised for both global and local variables. Therefore I would expect the same behaviour for ARI interface.

I will start a topic on the mailing list to see what other people think.

[1] - https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+REST+Data+Models#Asterisk13RESTDataModels-ChannelVarset

> 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