Merge pull request #154 in FS/freeswitch from ~SPDITNER/freeswitch-fs-7136:master to master

* commit '85b8631d621f71a5345bc00627f938eb85ffef03':
  Add conference member data to floor event
This commit is contained in:
Mike Jerris 2015-01-09 11:47:09 -06:00
commit eceb399c3d
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");