[mod_conference] Adding Endconf to conference participant events

This commit is contained in:
Surendra Tiwari 2022-01-20 09:57:39 +05:30
parent f9bb8940c2
commit f76daab1cd
1 changed files with 1 additions and 0 deletions

View File

@ -269,6 +269,7 @@ switch_status_t conference_member_add_event_data(conference_member_t *member, sw
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Member-Ghost", "%s", conference_utils_member_test_flag(member, MFLAG_GHOST) ? "true" : "false"); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Member-Ghost", "%s", conference_utils_member_test_flag(member, MFLAG_GHOST) ? "true" : "false");
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Energy-Level", "%d", member->energy_level); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Energy-Level", "%d", member->energy_level);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Current-Energy", "%d", member->score); switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Current-Energy", "%d", member->score);
switch_event_add_header(event, SWITCH_STACK_BOTTOM, "Endconf", "%s", conference_utils_member_test_flag(member, MFLAG_ENDCONF) ? "true" : "false" );
return status; return status;
} }