forked from Mirrors/freeswitch
FS-10468: [mod_verto] Attended Transfer from Mod Verto leaves one channel in limbo. #resolve
This commit is contained in:
parent
79bd7ad203
commit
2aea0c329b
@ -3115,14 +3115,12 @@ static switch_bool_t attended_transfer(switch_core_session_t *session, switch_co
|
|||||||
|
|
||||||
result = SWITCH_TRUE;
|
result = SWITCH_TRUE;
|
||||||
switch_channel_hangup(hup_channel, SWITCH_CAUSE_ATTENDED_TRANSFER);
|
switch_channel_hangup(hup_channel, SWITCH_CAUSE_ATTENDED_TRANSFER);
|
||||||
|
switch_core_session_rwunlock(t_session);
|
||||||
} else {
|
} else {
|
||||||
result = SWITCH_FALSE;
|
result = SWITCH_FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (b_session) {
|
|
||||||
switch_core_session_rwunlock(b_session);
|
|
||||||
}
|
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user