From bd810b29d310dd1152ca9906689f946ec612803e 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 d6de3f373..8c7635acd 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1133,7 +1133,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; }