mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-20 10:57:18 -07:00
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/branches/1.4@84018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user