From 9c782d2d7b41ce33d7f6c283d7e74cdcef77140a Mon Sep 17 00:00:00 2001 From: Marko Mackic Date: Thu, 4 Jul 2024 22:04:53 +0200 Subject: [PATCH] use expanded argument --- src/switch_channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {