diff options
author | Kinsey Moore <kmoore@digium.com> | 2013-06-25 13:03:17 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2013-06-25 13:03:17 +0000 |
commit | a1e219ef51dc37fbf570382d2d3861bd876414b2 (patch) | |
tree | 32ed3c62e66c358cd3d24554cbe0361f3e77d09d /include/asterisk/stasis_channels.h | |
parent | 13b470d704285b596caab33039fdf1b063bbcf9d (diff) |
CEL refactoring cleanup
This change removes AST_CEL_BRIDGE_UPDATE since it should no longer be
used because masquerade situations are now accounted for in other ways.
This also refactors usage of AST_CEL_FORWARD to be produced by a Dial
message which has been extended with a "forward" field.
(closes issue ASTERISK-21566)
Review: https://reviewboard.asterisk.org/r/2635/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/stasis_channels.h')
-rw-r--r-- | include/asterisk/stasis_channels.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asterisk/stasis_channels.h b/include/asterisk/stasis_channels.h index ca075ae69..24fe01cea 100644 --- a/include/asterisk/stasis_channels.h +++ b/include/asterisk/stasis_channels.h @@ -456,6 +456,24 @@ void ast_channel_publish_dial(struct ast_channel *caller, /*! * \since 12 + * \brief Publish in the \ref ast_channel_topic or \ref ast_channel_topic_all + * topics a stasis message for the channels involved in a dial operation that + * is forwarded. + * + * \param caller The channel performing the dial operation + * \param peer The channel being dialed + * \param dialstring The information passed to the dialing application when beginning a dial + * \param dialstatus The current status of the dial operation + * \param forward The call forward string provided by the dialed channel + */ +void ast_channel_publish_dial_forward(struct ast_channel *caller, + struct ast_channel *peer, + const char *dialstring, + const char *dialstatus, + const char *forward); + +/*! + * \since 12 * \brief Publish in the \ref ast_channel_topic a \ref ast_channel_snapshot * message indicating a change in channel state * |