From c71a9132f67d4eab28f392e75e92336d43c0541d Mon Sep 17 00:00:00 2001 From: Nadin Zajimovic Date: Wed, 29 Nov 2023 10:41:56 +0100 Subject: [PATCH] set channel data to sofia::ack_request --- src/mod/endpoints/mod_sofia/sofia.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index c854ae7872..4cbd7fa8c2 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1751,6 +1751,7 @@ static void our_sofia_event_callback(nua_event_t event, } if (switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, MY_EVENT_ACK_REQUEST) == SWITCH_STATUS_SUCCESS) { + switch_channel_event_set_data(channel, event); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Unique-ID", switch_core_session_get_uuid(session)); switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "ack_received", "true"); switch_event_fire(&event);