AMI Bridge action: Get channel xfer config after we have found the second channel.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@392933 f38db490-d61c-443f-a65b-d21fe96a405b
Fix incorrect calls to ast_bridge_impart().

There was a misunderstanding about ast_bridge_impart()'s handling of the
imparted channel's reference.  The channel reference is passed by the
caller unless ast_bridge_impart() returns an error.

* Fixed a memory leak in conf_announce_channel_push() if the impart
failed.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@392934 f38db490-d61c-443f-a65b-d21fe96a405b