[asterisk-bugs] [JIRA] (ASTERISK-26492) ARI: Add ability to specify channel variables on websocket events
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Nov 15 11:31:10 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233751#comment-233751 ]
Friendly Automation commented on ASTERISK-26492:
------------------------------------------------
Change 4400 merged by zuul:
rest_api/events/variables: Add test for variables in ARI events.
[https://gerrit.asterisk.org/4400|https://gerrit.asterisk.org/4400]
> ARI: Add ability to specify channel variables on websocket events
> -----------------------------------------------------------------
>
> Key: ASTERISK-26492
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26492
> Project: Asterisk
> Issue Type: New Feature
> Security Level: None
> Components: Resources/res_ari
> Reporter: Mark Michelson
> Assignee: Mark Michelson
> Attachments: ari_vars.diff
>
>
> I'm attaching a patch to this issue that is a work in progress for a patch to add channel variables to channel snapshots that are part of Stasis websocket events.
> I call this "work in progress" only because it does not have formal tests written for it yet. However, in my own small-scale testing, it did exactly what I expected it to do.
> This works the same as for AMI. You set "channelvars=foo,bar" in your ari.conf general section, and then the channel variables "foo" and "bar" (along with their values), will appear in every Stasis websocket event.
> I'm putting the patch up on this issue so that people can try it out and see if this is a good approach for doing this task.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list