[mod_conference] Fix API return string on energy command
This commit is contained in:
parent
62970aa998
commit
d8db3dd2ea
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue