Merged revisions 107161 via svnmerge from
commit4668b423ca47e850be1ebaa3240ff0187977b0b3
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 10 Mar 2008 20:17:37 +0000 (10 20:17 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 10 Mar 2008 20:17:37 +0000 (10 20:17 +0000)
treeaca211362dc5f6120223644e345ee200b057e642
parentafd4a7c627560ac1c206b00adb3dffb15c47958c
Merged revisions 107161 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107161 | russell | 2008-03-10 15:17:11 -0500 (Mon, 10 Mar 2008) | 8 lines

Fix another bug specifically related to asynchronous call origination.  Once the
PBX is started on the channel using ast_pbx_start(), then the ownership of the
channel has been passed on to another thread.  We can no longer access it in this
code.  If the channel gets hung up very quickly, it is possible that we could
access a channel that has been free'd.

(inspired by BE-386)

........

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@107162 614ede4d-c843-0410-af14-a771ab80d22e
main/pbx.c