Merged revisions 336978 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Tue, 20 Sep 2011 18:20:10 +0000 (18:20 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 20 Sep 2011 18:20:10 +0000 (18:20 +0000)
commitb3768f04c326606f75333695fb7ff4f44b523bed
treec82adc31ed5960644131e6b7d2b6a3ee35613b67
parent8493c463088657a9f00e54c9b9d7c06d3ad881a2
Merged revisions 336978 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

................
  r336978 | rmudgett | 2011-09-20 13:14:40 -0500 (Tue, 20 Sep 2011) | 28 lines

  Merged revisions 336977 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.8

  ........
    r336977 | rmudgett | 2011-09-20 13:12:17 -0500 (Tue, 20 Sep 2011) | 21 lines

    Fix deadlock from not releasing SS7 linkset lock.

    sig_ss7_hangup() failed to release the SS7 linkset lock if the call had
    the alreadyhungup flag set.

    * Made unlock the SS7 linkset lock in sig_ss7_hangup() if the
    alreadyhungup flag is set.

    * Made ss7_start_call() not hold any locks while creating the channel for
    an incoming call to prevent deadlock.

    * Made ss7_grab() a void function, since it could never fail, to simplify
    calling code.

    * Made obtain the channel lock to do softhangup in some places.

    Patches:
          jira_ast_668_v1.8.patch (license #5621) patch uploaded by rmudgett

    JIRA AST-668
  ........
................

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