aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-27 23:12:25 +0000
committerdhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-27 23:12:25 +0000
commit53054e222d379cc07e349447b9bff55bcdd453c4 (patch)
treec5776c74d0d08493dbdbf62a46e45f0d5b711cc9 /include
parenta77c245d43c66fa36d15951796cc954826476d67 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@84018 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/channel.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index eaf50d42a..8f23fea11 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -264,6 +264,12 @@ struct ast_channel_tech {
/*! \brief Provide additional write items for CHANNEL() dialplan function */
int (* func_channel_write)(struct ast_channel *chan, 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_channel_spy_list;