mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
fix regression in commit 19f441c6f4516f035828aa112bcf92f47f4e0f28
This commit is contained in:
parent
675bf4f546
commit
2fc4960f97
@ -963,9 +963,16 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
||||
}
|
||||
|
||||
switch_channel_set_variable(channel, "loopback_app", app);
|
||||
|
||||
if (clone) {
|
||||
switch_event_add_header(clone, SWITCH_STACK_BOTTOM, "loopback_app", app);
|
||||
}
|
||||
|
||||
if (arg) {
|
||||
switch_channel_set_variable(channel, "loopback_app_arg", arg);
|
||||
if (clone) {
|
||||
switch_event_add_header(clone, SWITCH_STACK_BOTTOM, "loopback_app_arg", arg);
|
||||
}
|
||||
}
|
||||
|
||||
switch_set_flag(tech_pvt, TFLAG_APP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user