Ensure entering T.38 passthrough does not cause an infinite loop
authorKinsey Moore <kmoore@digium.com>
Thu, 2 Feb 2012 22:28:36 +0000 (22:28 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 2 Feb 2012 22:28:36 +0000 (22:28 +0000)
commit29318afc154b0880aeed2a668786e69260eede26
tree320d0382ae45060dd8c81ba070deae5da23cd808
parent63c5eaee4331d55e87b44f532f4c132e46bd7f5e
Ensure entering T.38 passthrough does not cause an infinite loop

After R340970 Asterisk was still polling the RTCP file descriptor after RTCP is
shut down and removed. If the descriptor happened to have data ready when the
removal occured then Asterisk would go into an infinite loop trying to read
data that it can never actually access. This change disables the audio RTCP
file descriptor for the duration of the T.38 transaction.

(closes issue ASTERISK-18951)
Reported-by: Kristijan Vrban
........

Merged revisions 353915 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 353916 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c