From: Luis Azedo Date: Tue, 13 Sep 2016 10:20:32 +0000 (-0500) Subject: FS-9505 [mod_conference] honor verbose-events in conference-create event X-Git-Tag: v1.6.11~9^2~35^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fddb6b08fa86e83295506369faf932c9646be7d;p=thirdparty%2Ffreeswitch.git FS-9505 [mod_conference] honor verbose-events in conference-create event --- 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);