]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 219304 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Thu, 17 Sep 2009 22:04:56 +0000 (22:04 +0000)
committerDavid Vossel <dvossel@digium.com>
Thu, 17 Sep 2009 22:04:56 +0000 (22:04 +0000)
commit05332c17ce2ba6f7242583af0f7861940010d932
tree7269f77d44a0b3b7e9caabcd94a7811847d97442
parentcc03bc6c04b8176198ccf2896691da907e7ef2b3
Merged revisions 219304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r219304 | dvossel | 2009-09-17 16:59:21 -0500 (Thu, 17 Sep 2009) | 27 lines

  Merged revisions 219303 via svnmerge from
  https://origsvn.digium.com/svn/asterisk/branches/1.4

  ........
    r219303 | dvossel | 2009-09-17 16:29:37 -0500 (Thu, 17 Sep 2009) | 21 lines

    INVITE w/Replaces deadlock fix

    This patch cleans up the locking logic in chan_sip.c's
    handle_invite_replaces() function as well as making use
    of ast_do_masquerade() rather than forcing the masquerade
    on an ast_read().  The code had several redundant unlocks
    that would result in 'freed more times than we've locked!'
    errors. I cleaned these up as well as moving all the unlock
    logic to the end of the function.  This patch should also
    resolve the issue people were having with the replacecall
    channel never being unlocked with one legged calls.

    (closes issue #15151)
    Reported by: irroot
    Patches:
          invite_w_replaces_1.4.diff uploaded by dvossel (license 671)
    Tested by: irroot, dvossel

    Review: https://reviewboard.asterisk.org/r/371/
  ........
................

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