Merged revisions 317283 via svnmerge from
authorJonathan Rose <jrose@digium.com>
Thu, 5 May 2011 19:33:11 +0000 (19:33 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 5 May 2011 19:33:11 +0000 (19:33 +0000)
commit932e34ee62e0caede5127223fb0cd6efce6505ce
treee40605b6c4b7dbdd6813d6faff58591f4e2fc6f4
parent4d612d126ba7cc4fd0eb0d56e5fe3bd08ed6c2c8
Merged revisions 317283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r317283 | jrose | 2011-05-05 14:09:13 -0500 (Thu, 05 May 2011) | 10 lines

  Resolves a deadlock that occurs during sip_new

  This is based on an uncommitted patch by jpeeler for the issue.  Instead of
  relocking and then unlocking the channel though, we keep the lock on the channel
  until we are finished doing what we need to the channel.

  (closes issue #18441)
  Reported by: Alric
........

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