mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 17:29:20 +00:00
fix case where bye is not answer at all
This commit is contained in:
parent
35f3f8c72b
commit
d70ed5075d
1 changed files with 2 additions and 2 deletions
|
|
@ -250,8 +250,8 @@ static void call_process_transaction_terminated(void *user_ctx, const belle_sip_
|
|||
resp=belle_sip_transaction_get_response(BELLE_SIP_TRANSACTION(server_transaction));
|
||||
}
|
||||
if (strcmp("BYE",belle_sip_request_get_method(req))==0
|
||||
&& belle_sip_response_get_status_code(resp) !=401
|
||||
&& belle_sip_response_get_status_code(resp) !=407) {
|
||||
&& (!resp || (belle_sip_response_get_status_code(resp) !=401
|
||||
&& belle_sip_response_get_status_code(resp) !=407))) {
|
||||
op->base.root->callbacks.call_released(op);
|
||||
op->state=SalOpStateTerminated;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue