mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
only repport call error for negative answer to INVITE transaction
This commit is contained in:
parent
7a6d1c2946
commit
60334f9d21
1 changed files with 4 additions and 4 deletions
|
|
@ -232,10 +232,10 @@ static void call_response_event(void *op_base, const belle_sip_response_event_t
|
|||
op->base.root->callbacks.call_accepted(op); /*INVITE*/
|
||||
|
||||
op->state=SalOpStateActive;
|
||||
} else {
|
||||
if (code >= 300){
|
||||
call_set_error(op,response);
|
||||
}
|
||||
} else if (code >= 300 && strcmp("INVITE",belle_sip_request_get_method(req))==0){
|
||||
call_set_error(op,response);
|
||||
} else {
|
||||
/*ignoring*/
|
||||
}
|
||||
break;
|
||||
case SalOpStateTerminating:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue