diff --git a/src/switch_channel.c b/src/switch_channel.c index 9c7b8e433d..9889ce9198 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -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) {