From ae4b03f1dfd6ff4690e5b170536db2d9525b3c05 Mon Sep 17 00:00:00 2001 From: Guillaume Beraudo Date: Mon, 16 Jul 2012 11:17:43 +0200 Subject: [PATCH] Increase incoming timeout to 30s. --- coreapi/linphonecore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 97296ea6e..9c69fc88a 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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);