add scoped channel variables (%[var=val,var2=val2] blocks valid in any app data field and will only last for that one app execution)

This commit is contained in:
Anthony Minessale
2011-06-15 13:03:39 -05:00
parent 1a39d7fb34
commit b2c3199f65
3 changed files with 81 additions and 2 deletions
+2
View File
@@ -279,6 +279,8 @@ SWITCH_DECLARE(void) switch_channel_process_export(switch_channel_t *channel, sw
SWITCH_DECLARE(switch_status_t) switch_channel_export_variable_printf(switch_channel_t *channel, const char *varname,
const char *export_varname, const char *fmt, ...);
SWITCH_DECLARE(void) switch_channel_set_scope_variables(switch_channel_t *channel, switch_event_t **event);
SWITCH_DECLARE(switch_status_t) switch_channel_get_scope_variables(switch_channel_t *channel, switch_event_t **event);
/*!
\brief Retrieve a variable from a given channel