[asterisk-bugs] [JIRA] (ASTERISK-26492) ARI: Add ability to specify channel variables on websocket events

Sébastien Duthil (JIRA) noreply at issues.asterisk.org
Mon Nov 7 10:23:10 CST 2016


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

Sébastien Duthil commented on ASTERISK-26492:
---------------------------------------------

This patch is quite simple and does its job really well. I intend to add some tests and propose it through Gerrit.

> 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