[mod_conference] Fix conference api saymember wrong output message

This commit is contained in:
agree 2020-11-05 15:35:45 -05:00 committed by GitHub
parent 090cbe9e25
commit b7b83db66d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2950,7 +2950,7 @@ switch_status_t conference_api_sub_saymember(conference_obj_t *conference, switc
goto done; goto done;
} }
stream->write_function(stream, "-ERR (saymember) OK\n"); stream->write_function(stream, "+OK (saymember) OK\n");
if (test_eflag(member->conference, EFLAG_SPEAK_TEXT_MEMBER) && if (test_eflag(member->conference, EFLAG_SPEAK_TEXT_MEMBER) &&
switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT) == SWITCH_STATUS_SUCCESS) { switch_event_create_subclass(&event, SWITCH_EVENT_CUSTOM, CONF_EVENT_MAINT) == SWITCH_STATUS_SUCCESS) {
conference_member_add_event_data(member, event); conference_member_add_event_data(member, event);