Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported by ivoc)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Joshua Colp 18 years ago
parent f95038d97e
commit a50bc6e3a8

@ -15176,7 +15176,8 @@ restartsearch:
/* Check RTP timeouts and kill calls if we have a timeout set and do not get RTP */
if (sip->rtp && sip->owner &&
(sip->owner->_state == AST_STATE_UP) &&
!sip->redirip.sin_addr.s_addr) {
!sip->redirip.sin_addr.s_addr &&
sip->t38.state != T38_ENABLED) {
if (sip->lastrtptx &&
ast_rtp_get_rtpkeepalive(sip->rtp) &&
(t > sip->lastrtptx + ast_rtp_get_rtpkeepalive(sip->rtp))) {

Loading…
Cancel
Save