[asterisk-bugs] [JIRA] (ASTERISK-26492) ARI: Add ability to specify channel variables on websocket events
Mark Michelson (JIRA)
noreply at issues.asterisk.org
Fri Oct 21 09:23:01 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-26492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Michelson updated ASTERISK-26492:
--------------------------------------
Attachment: ari_vars.diff
I've uploaded ari_vars.diff. Let me know how it works out.
> 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
> Reporter: 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