From c6d755de11e98c1f6f33b1b35db9725f64f72053 Mon Sep 17 00:00:00 2001 From: Sebastien Duthil Date: Fri, 11 Nov 2016 11:45:37 -0500 Subject: 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 --- configs/samples/ari.conf.sample | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configs/samples/ari.conf.sample') 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 -- cgit v1.2.3