diff options
author | Dwayne M. Hubbard <dwayne.hubbard@gmail.com> | 2007-09-27 23:18:09 +0000 |
---|---|---|
committer | Dwayne M. Hubbard <dwayne.hubbard@gmail.com> | 2007-09-27 23:18:09 +0000 |
commit | bd5b6cea68ba4f484c70455ef6363556976a3d3a (patch) | |
tree | 93e535ac6b969988cbf179ab054f2990c99b233a /include/asterisk/channel.h | |
parent | 077cd1721208d87f14afb3dafdc4af4515f68b52 (diff) |
Merged revisions 84018 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r84018 | dhubbard | 2007-09-27 18:12:25 -0500 (Thu, 27 Sep 2007) | 1 line
if an Agent is redirected, the base channel should actually be redirected. This was causing multiple issues, especially issue 7706 and BE-160
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r-- | include/asterisk/channel.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 95465dfd9..8e556d092 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -314,6 +314,12 @@ struct ast_channel_tech { /*! \brief Provide additional write items for CHANNEL() dialplan function */ int (* func_channel_write)(struct ast_channel *chan, const char *function, char *data, const char *value); + + /*! \brief Retrieve base channel (agent and local) */ + struct ast_channel* (* get_base_channel)(struct ast_channel *chan); + + /*! \brief Set base channel (agent and local) */ + int (* set_base_channel)(struct ast_channel *chan, struct ast_channel *base); }; struct ast_epoll_data; |