mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
[mod_verto] Fix modify attended transfer response
This commit is contained in:
parent
6b39f3a3e2
commit
145377dd8e
@ -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"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user