diff options
author | Sebastien Duthil <sduthil@proformatique.com> | 2016-11-11 11:45:37 -0500 |
---|---|---|
committer | Sebastien Duthil <sduthil@proformatique.com> | 2016-11-14 14:00:54 -0500 |
commit | eb5077fb26497c7379b4f033ccd7611a2a2e2a8b (patch) | |
tree | 11e918f957bc4e28b8a4234863a0a9a49ed83ce2 /configs | |
parent | bb32bb3939ffd23d280a072943a962a1efa9a47a (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 'configs')
-rw-r--r-- | configs/samples/ari.conf.sample | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/samples/ari.conf.sample b/configs/samples/ari.conf.sample index 59f9a44e5..1294814e2 100644 --- a/configs/samples/ari.conf.sample +++ b/configs/samples/ari.conf.sample @@ -13,6 +13,11 @@ enabled = yes ; When set to no, ARI support is disabled. ; receiving clients are slow to process the received information. Value is in ; milliseconds; default is 100 ms. ;websocket_write_timeout = 100 +; +; Display certain channel variables every time a channel-oriented +; event is emitted: +; +;channelvars = var1,var2,var3 ;[username] ;type = user ; Specifies user configuration |