[mod_verto] Fix modify attended transfer response

This commit is contained in:
LordPinna 2020-08-12 18:08:07 +01:00 committed by GitHub
parent 6b39f3a3e2
commit 145377dd8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3223,7 +3223,7 @@ static switch_bool_t verto__modify_func(const char *method, cJSON *params, jsock
}
if ((b_session = switch_core_session_locate(replace_call_id))) {
err = (int) attended_transfer(session, b_session);
err = (int) !attended_transfer(session, b_session);
if (err) {
cJSON_AddItemToObject(obj, "message", cJSON_CreateString("transfer failed"));
}