FS-9505 [mod_conference] honor verbose-events in conference-create event
This commit is contained in:
parent
b6446d5276
commit
0fddb6b08f
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue