From: Luis Azedo Date: Fri, 20 Oct 2017 12:41:34 +0000 (+0100) Subject: FS-10744 [mod_conference] provide call-id for conference fetch X-Git-Tag: v1.8.6~1^2~122^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78a0ed5de24cd11616c5c74ab8188a16f2f6f4bb;p=thirdparty%2Ffreeswitch.git FS-10744 [mod_conference] provide call-id for conference fetch --- 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))) {