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
mr3.8.1
Richard Fuchs 11 years ago
parent b2fa8213e3
commit 3cd0954515

@ -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;
}

Loading…
Cancel
Save