diff --git a/src/switch_channel.c b/src/switch_channel.c index 66e18a323c..bc0fd606dc 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -3765,9 +3765,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) {