Add conference member data to floor event

Between v1.2 and v1.4, member data was factored out. This makes it so
that one can not determine who the originator of a floor change event
is.

With this change, the meta data related to the conference member whom
initiated the floor change event is added to the event.

See FS-7136
This commit is contained in:
Simon Ditner 2015-01-06 12:43:16 -05:00
parent 25404c121e
commit 85b8631d62
1 changed files with 1 additions and 0 deletions

View File

@ -2578,6 +2578,7 @@ static void conference_set_floor_holder(conference_obj_t *conference, conference
}
if (conference->floor_holder) {
conference_add_event_member_data(conference->floor_holder, event);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "New-ID", "%d", conference->floor_holder->id);
} else {
switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, "New-ID", "none");