forked from mirrors/linphone-iphone
Revert "Improve last commit."
This reverts commit 131201a7d6.
This commit was intended to remove deprecation warnings. That would have been great if it was specified in the original commit message...
This commit is contained in:
parent
3f4c8b6c22
commit
5b9c76ff31
1 changed files with 6 additions and 2 deletions
|
|
@ -3724,7 +3724,7 @@ static LinphoneCall * get_unique_call(LinphoneCore *lc) {
|
|||
return call;
|
||||
}
|
||||
|
||||
LinphoneStatus linphone_core_accept_call_with_params(LinphoneCore *lc, LinphoneCall *call, const LinphoneCallParams *params) {
|
||||
static LinphoneStatus _linphone_core_accept_call_with_params(LinphoneCore *lc, LinphoneCall *call, const LinphoneCallParams *params) {
|
||||
if (call == NULL) {
|
||||
call = get_unique_call(lc);
|
||||
if (call == NULL) {
|
||||
|
|
@ -3736,7 +3736,11 @@ LinphoneStatus linphone_core_accept_call_with_params(LinphoneCore *lc, LinphoneC
|
|||
}
|
||||
|
||||
LinphoneStatus linphone_core_accept_call(LinphoneCore *lc, LinphoneCall *call) {
|
||||
return linphone_core_accept_call_with_params(lc, call, NULL);
|
||||
return _linphone_core_accept_call_with_params(lc, call, NULL);
|
||||
}
|
||||
|
||||
LinphoneStatus linphone_core_accept_call_with_params(LinphoneCore *lc, LinphoneCall *call, const LinphoneCallParams *params) {
|
||||
return _linphone_core_accept_call_with_params(lc, call, params);
|
||||
}
|
||||
|
||||
LinphoneStatus linphone_core_redirect_call(LinphoneCore *lc, LinphoneCall *call, const char *redirect_uri) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue