mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
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
This commit is contained in:
@@ -73,6 +73,7 @@ struct ast_channel_snapshot {
|
||||
struct ast_flags softhangup_flags; /*!< softhangup channel flags */
|
||||
struct varshead *manager_vars; /*!< Variables to be appended to manager events */
|
||||
int tech_properties; /*!< Properties of the channel's technology */
|
||||
struct varshead *ari_vars; /*!< Variables to be appended to ARI events */
|
||||
};
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user