use expanded argument

This commit is contained in:
Marko Mackic 2024-07-04 22:04:53 +02:00
parent 98f164d2bf
commit 9c782d2d7b
1 changed files with 2 additions and 2 deletions

View File

@ -3764,9 +3764,9 @@ SWITCH_DECLARE(switch_status_t) switch_channel_execute_on_value(switch_channel_t
}
if (bg) {
status = switch_core_session_execute_application_async(channel->session, app, arg);
status = switch_core_session_execute_application_async(channel->session, app, expanded);
} else {
status = switch_core_session_execute_application(channel->session, app, arg);
status = switch_core_session_execute_application(channel->session, app, expanded);
}
if (expanded && expanded != arg) {