Clean-up on isle five for __ast_request_and_dial() and ast_call_forward().
authorRichard Mudgett <rmudgett@digium.com>
Fri, 16 Dec 2011 23:58:44 +0000 (23:58 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 16 Dec 2011 23:58:44 +0000 (23:58 +0000)
commitbe74e6f16ec133cad88776ee107125aee42ad58f
tree084dc50907d5d518dd795a9e4cf04852b6bce527
parent1b0741c7db397114602da1e422125ad51d598b5c
Clean-up on isle five for __ast_request_and_dial() and ast_call_forward().

* Add locking when a channel inherits variables and datastores in
__ast_request_and_dial() and ast_call_forward().  Note: The involved
channels are not active so there was minimal potential for problems.

* Remove calls to ast_set_callerid() in __ast_request_and_dial() and
ast_call_forward() because the set information is for the wrong direction.

* Don't use C++ keywords for variable names in ast_call_forward().

* Run the redirecting interception macro if defined when forwarding a call
in ast_call_forward().  Note: Currently will never execute because the
only callers that supply a calling channel supply a hungup or zombie
channel.

* Make feature_request_and_dial() put the transferee into autoservice when
it calls ast_call_forward() in case a redirection interception macro is
run.  Note: Currently will never happen because the caller channel (Party
B) is always hungup at this time.

* Make feature_request_and_dial() ignore the AST_CONTROL_PROCEEDING frame
to silence a log message.
........

Merged revisions 348464 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 348465 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@348466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c
main/features.c