Merged revisions 221769 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Fri, 2 Oct 2009 01:09:31 +0000 (01:09 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 2 Oct 2009 01:09:31 +0000 (01:09 +0000)
commit3b83d2b414eac8ce057d38c476c6e59d1f009b3b
tree78ea4c9ce5a073a3cc6c94ff45d0b99d5530add8
parentbd7ca4b764c604b1e09de691a89687b444dc32e8
Merged revisions 221769 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r221769 | rmudgett | 2009-10-01 18:18:28 -0500 (Thu, 01 Oct 2009) | 26 lines

  Occasionally losing use of B channels in chan_misdn.

  I have not been able to reproduce the problem of losing channels.
  However, I have seen in the code a reentrancy problem that might give
  these symptoms.

  The reentrancy patch does several things:
  1) Guards B channel and B channel structure allocation.
  2) Makes the B channel structure find routines more precise in locating records.
  3) Never leave a B channel allocated if we received cause 44.

  The last item may cause temporary outgoing call problems, but they should
  clear when the line becomes idle.

  (closes issue #15490)
  Reported by: slutec18
  Patches:
        issue15490_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664)
  Tested by: rmudgett, slutec18

  (closes issue #15458)
  Reported by: FabienToune
  Patches:
        issue15458_channel_alloc_reentrancy.patch uploaded by rmudgett (license 664)
  Tested by: FabienToune, rmudgett, slutec18
........

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