Merged revisions 81367 via svnmerge from
authorChristian Richter <christian.richter@beronet.com>
Thu, 30 Aug 2007 08:50:44 +0000 (08:50 +0000)
committerChristian Richter <christian.richter@beronet.com>
Thu, 30 Aug 2007 08:50:44 +0000 (08:50 +0000)
commit16696af3dfe5b413cf0e94ace565da2cb70a1d57
treeefa272da1379adac0c1d378cbca75a3ff7ed46ae
parent639b4aacce1a617f8b724937ab3f7136a27d3b46
Merged revisions 81367 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r81367 | crichter | 2007-08-30 10:31:59 +0200 (Do, 30 Aug 2007) | 11 lines

Fixed a severe issue where a misdn_read would lock the channel, but read would
not return because it blocks. later chan_misdn would try to queue a frame like
a AST_CONTROL_ANSWER which could result in a deadlock situation. misdn_read
will now not block forever anymore, and we don't queue the ANSWER frame at all
when we already was called with misdn_answer -> answer would be called twice.

Also we don't explicitly send a RELEASE_COMPLETE on receiption of a RELEASE
anymore, because mISDN does that for us, this resulted in a problem on some
switches, which would block our port after some calls for a short while.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_misdn.c
channels/misdn/isdn_lib.c