FS-9505 [mod_conference] honor verbose-events in conference-create event

This commit is contained in:
Luis Azedo 2016-09-13 05:20:32 -05:00 committed by Luis Azedo
parent b6446d5276
commit 0fddb6b08f
1 changed files with 3 additions and 0 deletions

View File

@ -3240,6 +3240,9 @@ conference_obj_t *conference_new(char *name, conference_xml_cfg_t cfg, switch_co
switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT);
conference_event_add_data(conference, event);
if(conference->verbose_events && channel) {
switch_channel_event_set_data(channel, event);
}
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "Action", "conference-create");
switch_event_fire(&event);