From 78a0ed5de24cd11616c5c74ab8188a16f2f6f4bb Mon Sep 17 00:00:00 2001 From: Luis Azedo Date: Fri, 20 Oct 2017 13:41:34 +0100 Subject: [PATCH] FS-10744 [mod_conference] provide call-id for conference fetch --- src/mod/applications/mod_conference/conference_member.c | 1 + src/mod/applications/mod_conference/mod_conference.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mod/applications/mod_conference/conference_member.c b/src/mod/applications/mod_conference/conference_member.c index ea80527ac8..b06385d719 100644 --- a/src/mod/applications/mod_conference/conference_member.c +++ b/src/mod/applications/mod_conference/conference_member.c @@ -75,6 +75,7 @@ void conference_member_bind_controls(conference_member_t *member, const char *co switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Conf-Name", member->conference->name); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Action", "request-controls"); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Controls", controls); + switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Fetch-Call-UUID", switch_core_session_get_uuid(member->session)); if (!(cxml = switch_xml_open_cfg(mod_conference_cf_name, &cfg, params))) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Open of %s failed\n", mod_conference_cf_name); diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 02eb2542c7..d6a360bc5b 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -1936,6 +1936,7 @@ SWITCH_STANDARD_APP(conference_function) switch_assert(params); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "conference_name", conference_name); switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "profile_name", profile_name); + switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Fetch-Call-UUID", switch_core_session_get_uuid(session)); /* Open the config from the xml registry */ if (!(cxml = switch_xml_open_cfg(mod_conference_cf_name, &cfg, params))) {