]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10744 [mod_conference] provide call-id for conference fetch
authorLuis Azedo <luis@2600hz.com>
Fri, 20 Oct 2017 12:41:34 +0000 (13:41 +0100)
committerLuis Azedo <luis@2600hz.com>
Fri, 20 Oct 2017 12:41:34 +0000 (13:41 +0100)
src/mod/applications/mod_conference/conference_member.c
src/mod/applications/mod_conference/mod_conference.c

index ea80527ac89e3208231c8d04e9f6407dcbbe9d54..b06385d7195c662a9f117ce38176bdaf1fc2d9d7 100644 (file)
@@ -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);
index 02eb2542c79dae848877bc211290bcef943d49fe..d6a360bc5b9596009a0af0cd71b6517eda3ec423 100644 (file)
@@ -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))) {