From a6d9c78780227632a79ca0d7b92befce13f2b22f Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 22 May 2015 08:47:13 -0400 Subject: [PATCH] MT#13067 fix premature call timeout for un-answered calls don't apply the regular RTP timeout to call legs which haven't been "filled" yet, instead use the silent-timeout --- daemon/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call.c b/daemon/call.c index a4c67fd77..33ceced0a 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1151,7 +1151,7 @@ no_sfd: check = cm->conf.timeout; tmp_t_reason = 1; - if (!MEDIA_ISSET(ps->media, RECV) || !sfd) { + if (!MEDIA_ISSET(ps->media, RECV) || !sfd || !PS_ISSET(ps, FILLED)) { check = cm->conf.silent_timeout; tmp_t_reason = 2; }