diff options
author | Sebastien Duthil <sduthil@proformatique.com> | 2016-11-11 11:45:37 -0500 |
---|---|---|
committer | Sebastien Duthil <sduthil@proformatique.com> | 2016-11-14 13:51:56 -0500 |
commit | c6d755de11e98c1f6f33b1b35db9725f64f72053 (patch) | |
tree | 2299d268ffdce70a50dafacc20cc56509a79f4c4 /rest-api | |
parent | 7540036427f87bfe3c87357ac33c08561f191e98 (diff) |
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
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/channels.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json index 4ca8d6582..241b22ae8 100644 --- a/rest-api/api-docs/channels.json +++ b/rest-api/api-docs/channels.json @@ -1761,6 +1761,11 @@ "required": true, "type": "string", "description": "The default spoken language" + }, + "channelvars": { + "required": false, + "type": "object", + "description": "Channel variables" } } } |