Merged revisions 210575 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Wed, 5 Aug 2009 19:40:03 +0000 (19:40 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 5 Aug 2009 19:40:03 +0000 (19:40 +0000)
commit59c62be7f5dcc5b45130af12ed71a732b0bf3cb8
tree4bc2a90d3c052d0d2be1c49bdd2ebec779f28e6d
parentb8f1c9c4c37cd3e361a273dea77acdd6e23cc1b8
Merged revisions 210575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r210575 | rmudgett | 2009-08-05 14:18:56 -0500 (Wed, 05 Aug 2009) | 14 lines

  Dialplan starts execution before the channel setup is complete.

  *  Issue 15655: For the case where dialing is complete for an incoming
  call, dahdi_new() was asked to start the PBX and then the code set more
  channel variables.  If the dialplan hungup before these channel variables
  got set, asterisk would likely crash.
  *  Fixed potential for overlap incoming call to erroneously set channel
  variables as global dialplan variables if the ast_channel structure failed
  to get allocated.
  *  Added missing set of CALLINGSUBADDR in the dialing is complete case.

  (closes issue #15655)
  Reported by: alecdavis
........

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