diff options
author | Mark Michelson <mmichelson@digium.com> | 2013-06-28 18:42:24 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2013-06-28 18:42:24 +0000 |
commit | 6d624eb008b82b1197cd6bb744073d5c6ef945d7 (patch) | |
tree | b3910d3d98c61c20dd198d8bca7f066ac620ad20 /include/asterisk/bridging.h | |
parent | ca61a05506c778e155f557c2ffefbf5707874473 (diff) |
Add stasis publications for blind and attended transfers.
This creates stasis messages that are sent during a blind or
attended transfer. The stasis messages also are converted to
AMI events.
Review: https://reviewboard.asterisk.org/r/2619
(closes issue ASTERISK-21337)
Reported by Matt Jordan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/bridging.h')
-rw-r--r-- | include/asterisk/bridging.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asterisk/bridging.h b/include/asterisk/bridging.h index eac4b499c..2fde0488b 100644 --- a/include/asterisk/bridging.h +++ b/include/asterisk/bridging.h @@ -1499,6 +1499,7 @@ typedef void (*transfer_channel_cb)(struct ast_channel *chan, void *user_data, * \note Absolutely _NO_ channel locks should be held before * calling this function. * + * \param is_external Indicates that transfer was initiated externally * \param transferer The channel performing the blind transfer * \param exten The dialplan extension to send the call to * \param context The dialplan context to send the call to @@ -1507,8 +1508,8 @@ typedef void (*transfer_channel_cb)(struct ast_channel *chan, void *user_data, * \param user_data Argument for new_channel_cb * \return The success or failure result of the blind transfer */ -enum ast_transfer_result ast_bridge_transfer_blind(struct ast_channel *transferer, - const char *exten, const char *context, +enum ast_transfer_result ast_bridge_transfer_blind(int is_external, + struct ast_channel *transferer, const char *exten, const char *context, transfer_channel_cb new_channel_cb, void *user_data); /*! |