mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Renaming linphone_call_decline_with_error into linphone_call_decline_with_error_info
This commit is contained in:
parent
0024fab59d
commit
34c276541e
3 changed files with 4 additions and 4 deletions
|
|
@ -5192,7 +5192,7 @@ int linphone_call_terminate_with_error_info(LinphoneCall *call , const LinphoneE
|
|||
case LinphoneCallIncomingReceived:
|
||||
case LinphoneCallIncomingEarlyMedia:
|
||||
linphone_error_info_set_reason(p_ei, LinphoneReasonDeclined);
|
||||
return linphone_call_decline_with_error(call, p_ei);
|
||||
return linphone_call_decline_with_error_info(call, p_ei);
|
||||
case LinphoneCallOutgoingInit:
|
||||
/* In state OutgoingInit, op has to be destroyed */
|
||||
sal_op_release(call->op);
|
||||
|
|
@ -5258,7 +5258,7 @@ int linphone_call_decline(LinphoneCall * call, LinphoneReason reason) {
|
|||
}
|
||||
|
||||
|
||||
int linphone_call_decline_with_error(LinphoneCall * call, const LinphoneErrorInfo *ei) {
|
||||
int linphone_call_decline_with_error_info(LinphoneCall * call, const LinphoneErrorInfo *ei) {
|
||||
SalErrorInfo sei;
|
||||
sal_error_info_init_to_null(&sei);
|
||||
SalErrorInfo sub_sei;
|
||||
|
|
|
|||
|
|
@ -412,7 +412,7 @@ LINPHONE_PUBLIC int linphone_call_decline(LinphoneCall * call, LinphoneReason re
|
|||
* @param[in] ei LinphoneErrorInfo containing more information on the call rejection.
|
||||
* @return 0 on success, -1 on failure
|
||||
*/
|
||||
LINPHONE_PUBLIC int linphone_call_decline_with_error(LinphoneCall * call, const LinphoneErrorInfo *ei);
|
||||
LINPHONE_PUBLIC int linphone_call_decline_with_error_info(LinphoneCall * call, const LinphoneErrorInfo *ei);
|
||||
|
||||
/**
|
||||
* Accept an incoming call.
|
||||
|
|
|
|||
|
|
@ -1215,7 +1215,7 @@ static void call_declined_with_error(void) {
|
|||
BC_ASSERT_PTR_NOT_NULL(in_call=linphone_core_get_current_call(callee_mgr->lc));
|
||||
if (in_call) {
|
||||
linphone_call_ref(in_call);
|
||||
linphone_call_decline_with_error(in_call, ei);
|
||||
linphone_call_decline_with_error_info(in_call, ei);
|
||||
|
||||
BC_ASSERT_TRUE(wait_for(caller_mgr->lc,callee_mgr->lc,&callee_mgr->stat.number_of_LinphoneCallEnd,1));
|
||||
BC_ASSERT_TRUE(wait_for(callee_mgr->lc,caller_mgr->lc,&caller_mgr->stat.number_of_LinphoneCallEnd,1));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue