mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
put transfer_source in a variable too
This commit is contained in:
@@ -1586,14 +1586,15 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_uuid_bridge(const char *originator_uu
|
||||
switch_core_session_get_uuid(originatee_session));
|
||||
switch_channel_add_variable_var_check(originator_channel, SWITCH_TRANSFER_HISTORY_VARIABLE,
|
||||
originator_cp->transfer_source, SWITCH_FALSE, SWITCH_STACK_PUSH);
|
||||
switch_channel_set_variable(originator_channel, SWITCH_TRANSFER_SOURCE_VARIABLE, originator_cp->transfer_source);
|
||||
|
||||
|
||||
|
||||
originatee_cp->transfer_source = switch_core_sprintf(originatee_cp->pool,
|
||||
"%ld:%s:uuid_br:%s", (long)switch_epoch_time_now(NULL), originatee_cp->uuid_str,
|
||||
switch_core_session_get_uuid(originator_session));
|
||||
switch_channel_add_variable_var_check(originatee_channel, SWITCH_TRANSFER_HISTORY_VARIABLE,
|
||||
originatee_cp->transfer_source, SWITCH_FALSE, SWITCH_STACK_PUSH);
|
||||
|
||||
switch_channel_set_variable(originatee_channel, SWITCH_TRANSFER_SOURCE_VARIABLE, originatee_cp->transfer_source);
|
||||
|
||||
/* change the states and let the chips fall where they may */
|
||||
|
||||
|
Reference in New Issue
Block a user