Merged revisions 324364 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Tue, 21 Jun 2011 20:15:41 +0000 (20:15 +0000)
committerDavid Vossel <dvossel@digium.com>
Tue, 21 Jun 2011 20:15:41 +0000 (20:15 +0000)
commit09a359449e79ac75385d816e51e50c29293dc78b
tree2104c883bc8bf48a63ca7b7ced2b91764ba59be4
parent1573ad78d2bfc8cd31d1002b3b4d588ba964bc49
Merged revisions 324364 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r324364 | dvossel | 2011-06-21 15:11:52 -0500 (Tue, 21 Jun 2011) | 10 lines

  Fixes locking inversion issue in ast_async_goto()

  During this function we can not hold the "chan" lock while
  doing the masquerade, the explicit goto on the tmp chan, or
  the channel alloc.  Instead we need to get the channel lock,
  store off information about the channel that we need, and
  then let the channel lock go for the remainder of the function.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@324365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/pbx.h
main/pbx.c