]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported...
authorJoshua Colp <jcolp@digium.com>
Mon, 18 Jun 2007 19:00:50 +0000 (19:00 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 18 Jun 2007 19:00:50 +0000 (19:00 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69794 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e0a783a3fe53ece6a2bac093998629220b1eb95a..b9adb2aa8481c90e88f64cc3bb3ae634e652ae5f 100644 (file)
@@ -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))) {