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
pull/136/head
Richard Fuchs 11 years ago
parent 1e4d67a10d
commit a6d9c78780

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

Loading…
Cancel
Save