summaryrefslogtreecommitdiff
path: root/rest-api/api-docs/channels.json
diff options
context:
space:
mode:
authorSebastien Duthil <sduthil@proformatique.com>2016-11-11 11:45:37 -0500
committerSebastien Duthil <sduthil@proformatique.com>2016-11-14 14:00:54 -0500
commiteb5077fb26497c7379b4f033ccd7611a2a2e2a8b (patch)
tree11e918f957bc4e28b8a4234863a0a9a49ed83ce2 /rest-api/api-docs/channels.json
parentbb32bb3939ffd23d280a072943a962a1efa9a47a (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/api-docs/channels.json')
-rw-r--r--rest-api/api-docs/channels.json5
1 files changed, 5 insertions, 0 deletions
diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json
index e707c068f..bfa282ee6 100644
--- a/rest-api/api-docs/channels.json
+++ b/rest-api/api-docs/channels.json
@@ -1760,6 +1760,11 @@
"required": true,
"type": "string",
"description": "The default spoken language"
+ },
+ "channelvars": {
+ "required": false,
+ "type": "object",
+ "description": "Channel variables"
}
}
}