From 0fddb6b08fa86e83295506369faf932c9646be7d Mon Sep 17 00:00:00 2001 From: Luis Azedo Date: Tue, 13 Sep 2016 05:20:32 -0500 Subject: [PATCH] FS-9505 [mod_conference] honor verbose-events in conference-create event --- src/mod/applications/mod_conference/mod_conference.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 47f44ec6e5..9692b931b1 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -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);