mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-17 01:02:12 +00:00
fix regression in commit 19f441c6f4516f035828aa112bcf92f47f4e0f28
This commit is contained in:
parent
675bf4f546
commit
2fc4960f97
@ -964,8 +964,15 @@ static switch_call_cause_t channel_outgoing_channel(switch_core_session_t *sessi
|
|||||||
|
|
||||||
switch_channel_set_variable(channel, "loopback_app", app);
|
switch_channel_set_variable(channel, "loopback_app", app);
|
||||||
|
|
||||||
|
if (clone) {
|
||||||
|
switch_event_add_header(clone, SWITCH_STACK_BOTTOM, "loopback_app", app);
|
||||||
|
}
|
||||||
|
|
||||||
if (arg) {
|
if (arg) {
|
||||||
switch_channel_set_variable(channel, "loopback_app_arg", 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);
|
switch_set_flag(tech_pvt, TFLAG_APP);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user