mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 16:09:20 +00:00
fix bug in incoming call timeout implementation
This commit is contained in:
parent
e7123e495a
commit
5d60fae67e
1 changed files with 1 additions and 1 deletions
|
|
@ -1800,7 +1800,7 @@ void linphone_core_iterate(LinphoneCore *lc){
|
|||
/*start the call even if the OPTIONS reply did not arrive*/
|
||||
linphone_core_start_invite(lc,call,NULL);
|
||||
}
|
||||
if (call->dir==LinphoneCallIncoming && call->state==LinphoneCallOutgoingRinging){
|
||||
if (call->state==LinphoneCallIncomingReceived){
|
||||
elapsed=curtime-call->start_time;
|
||||
ms_message("incoming call ringing for %i seconds",elapsed);
|
||||
if (elapsed>lc->sip_conf.inc_timeout){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue