]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Race condition when ISDN CallRerouting/CallDeflection invoked.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 18 Mar 2011 02:59:05 +0000 (02:59 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 18 Mar 2011 02:59:05 +0000 (02:59 +0000)
commit4f3cf039f48df0763d07e6824b704dbf889f8c3b
tree189a70c0176350726395e6cb9d0602c9558cd1cc
parent93601856b6728bb68a5680a70d45f95315e9f2b3
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/branches/1.8@311297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/sig_pri.c