From 1af73396ddaa8405c4c1885cc42b3f492591c2cb Mon Sep 17 00:00:00 2001 From: Nadin Zajimovic Date: Tue, 28 Nov 2023 15:08:38 +0100 Subject: [PATCH] add Unique-ID 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 86f3dca689..c854ae7872 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_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); }