[mod_conference] Fix API return string on energy command

This commit is contained in:
Mathieu Bodjikian (LAPTOP1149107.local) 2020-12-28 11:14:23 +01:00
parent 62970aa998
commit d8db3dd2ea
1 changed files with 1 additions and 1 deletions

View File

@ -1211,7 +1211,7 @@ switch_status_t conference_api_sub_energy(conference_member_t *member, switch_st
unlock_member(member); unlock_member(member);
} }
if (stream != NULL) { if (stream != NULL) {
stream->write_function(stream, "Energy %u = %d\n", member->id, member->energy_level); stream->write_function(stream, "+OK Energy %u = %d\n", member->id, member->energy_level);
} }
if (member->auto_energy_level && member->energy_level > member->auto_energy_level) { if (member->auto_energy_level && member->energy_level > member->auto_energy_level) {