mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 22:38:38 +00:00
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:
1 parent
1a39d7fb34
commit
b2c3199f65
3 files changed
+81
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user