Merged revisions 311297 via svnmerge from
authorRichard Mudgett <rmudgett@digium.com>
Fri, 18 Mar 2011 03:00:39 +0000 (03:00 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 18 Mar 2011 03:00:39 +0000 (03:00 +0000)
commitd000b76ebc240f10d8640b6db1202bb55f645ebb
tree09ced1f80290ab4e8db9fed6f347e3ba7c53918b
parent4a8c77976cd31656f7871309590eb2e103340830
Merged revisions 311297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r311297 | rmudgett | 2011-03-17 21:59:05 -0500 (Thu, 17 Mar 2011) | 12 lines

  Race condition when ISDN CallRerouting/CallDeflection invoked.

  The queued AST_CONTROL_BUSY could sometimes be processed before the
  call_forward dial string is recognized.

  * Moved setting the call_forwarding dial string after sending a response
  to the initiator and just queue an empty frame to wake up the media thread
  instead of an AST_CONTROL_BUSY.

  * Added check for empty rerouting/deflection number and respond with an
  error.
........

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