mod_conference Add energy level to conference_add_event_member_data
This is useful when you want to find the energy a member joined with without having to pull the XML list
This commit is contained in:
parent
4eccdfef58
commit
8d6d52e015
|
@ -477,6 +477,7 @@ static switch_status_t conference_add_event_member_data(conference_member_t *mem
|
|||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Mute-Detect", "%s", switch_test_flag(member, MFLAG_MUTE_DETECT) ? "true" : "false" );
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Member-ID", "%u", member->id);
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Member-Type", "%s", switch_test_flag(member, MFLAG_MOD) ? "moderator" : "member");
|
||||
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Energy-Level", "%d", member->energy_level);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue