mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 12:08:11 +00:00
Increase incoming timeout to 30s.
This commit is contained in:
parent
57d9f33e25
commit
ae4b03f1df
1 changed files with 2 additions and 1 deletions
|
|
@ -570,7 +570,7 @@ static void sip_config_read(LinphoneCore *lc)
|
|||
linphone_core_set_guess_hostname(lc,tmp);
|
||||
|
||||
|
||||
tmp=lp_config_get_int(lc->config,"sip","inc_timeout",15);
|
||||
tmp=lp_config_get_int(lc->config,"sip","inc_timeout",30);
|
||||
linphone_core_set_inc_timeout(lc,tmp);
|
||||
|
||||
/* get proxies config */
|
||||
|
|
@ -1855,6 +1855,7 @@ void linphone_core_iterate(LinphoneCore *lc){
|
|||
elapsed=curtime-call->start_time;
|
||||
ms_message("incoming call ringing for %i seconds",elapsed);
|
||||
if (elapsed>lc->sip_conf.inc_timeout){
|
||||
ms_message("incoming call timeout (%i)",lc->sip_conf.inc_timeout);
|
||||
call->log->status=LinphoneCallMissed;
|
||||
call->reason=LinphoneReasonNotAnswered;
|
||||
linphone_core_terminate_call(lc,call);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue