mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
Add missing busy test on call failure
This commit is contained in:
parent
0a7832f19e
commit
3b722ada22
1 changed files with 3 additions and 0 deletions
|
|
@ -651,6 +651,9 @@ static void call_failure(SalOp *op, SalError error, SalReason sr, const char *de
|
|||
} else if (sr == SalReasonNotFound) {
|
||||
call->reason=LinphoneReasonNotFound;
|
||||
linphone_call_set_state(call,LinphoneCallError,"User not found.");
|
||||
} else if (sr == SalReasonBusy) {
|
||||
call->reason=LinphoneReasonBusy;
|
||||
linphone_call_set_state(call,LinphoneCallError,"User is busy.");
|
||||
} else {
|
||||
linphone_call_set_state(call,LinphoneCallError,msg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue