diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-18 19:00:50 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-06-18 19:00:50 +0000 |
commit | 9cf566b31d315298034317ac520243bea89e8d58 (patch) | |
tree | 0e88bfdc7d004a993c276a130d77c04275bfcd65 /channels | |
parent | f1e974eb52299530e28c449914937022a4a87d8b (diff) |
Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported by ivoc)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@69794 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index e0a783a3f..b9adb2aa8 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))) { |