From: Joshua Colp Date: Mon, 18 Jun 2007 19:00:50 +0000 (+0000) Subject: Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported... X-Git-Tag: 1.4.6~90 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a50bc6e3a8843846aa706e9bf3f4033a59c87f8d;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e0a783a3fe..b9adb2aa84 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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))) {