]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_ari: Add support for channel variables in ARI events. 98/4398/2
authorSebastien Duthil <sduthil@proformatique.com>
Fri, 11 Nov 2016 16:45:37 +0000 (11:45 -0500)
committerSebastien Duthil <sduthil@proformatique.com>
Mon, 14 Nov 2016 19:00:54 +0000 (14:00 -0500)
commiteb5077fb26497c7379b4f033ccd7611a2a2e2a8b
tree11e918f957bc4e28b8a4234863a0a9a49ed83ce2
parentbb32bb3939ffd23d280a072943a962a1efa9a47a
res_ari: Add support for channel variables in ARI events.

This works the same as for AMI manager variables. 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 channel event.

ASTERISK-26492 #close
patches:
  ari_vars.diff submitted by Mark Michelson

Change-Id: I5609ba239259577c0948645df776d7f3bc864229
13 files changed:
CHANGES
configs/samples/ari.conf.sample
include/asterisk/channel.h
include/asterisk/json.h
include/asterisk/stasis_channels.h
main/channel.c
main/json.c
main/stasis_channels.c
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
res/ari/config.c
res/res_ari.c
rest-api/api-docs/channels.json