Merge pull request #1426 in FS/freeswitch from ~LAZEDO/freeswitch:feature/FS-10744 to master

* commit '78a0ed5de24cd11616c5c74ab8188a16f2f6f4bb':
  FS-10744 [mod_conference] provide call-id for conference fetch
This commit is contained in:
Mike Jerris 2019-02-12 15:33:09 +00:00
commit 8acb26e35a
2 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@ void conference_member_bind_controls(conference_member_t *member, const char *co
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "Conf-Profile", member->conference->profile_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);

View File

@ -2000,6 +2000,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))) {