Merged revisions 59341 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 29 Mar 2007 16:56:35 +0000 (16:56 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 29 Mar 2007 16:56:35 +0000 (16:56 +0000)
commit5a1c6826cec0a5b91ea803af4813a3091c30ba03
tree9f220dd0f0ba504dbf6784b7e405e7852499a378
parent2ddc0ae2eda64343caf789df424569ad8284994d
Merged revisions 59341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r59341 | russell | 2007-03-29 11:55:39 -0500 (Thu, 29 Mar 2007) | 8 lines

When the IAX2 read callback gets called, return NULL instead of a "null frame".
This will cause Asterisk to hangup the call instead of keep trying whatever it
was doing.  Under normal conditions, this function would *never* be called.
However, the author of this patch says an error will occur that will cause it
to get called every 100 thousand calls or so.  When this does happen, it puts
the channel in a loop that eventually brings down the system.  So, hangup up
the call is certainly a better alternative.  (issue #8286, john)

........

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