diff options
author | Mark Michelson <mmichelson@digium.com> | 2014-12-08 15:49:24 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2014-12-08 15:49:24 +0000 |
commit | 93b1df3bf6c6832053fc7444cd07640c273cb1df (patch) | |
tree | 53276d6b4595f86f337f95420acf1bd94bdb27cd /include | |
parent | 55c9a46abdec10fec5210622b4508ee5e7791a65 (diff) |
Add new AMI and ARI events for connected line changes on a channel.
The AMI event is called NewConnectedLine and the ARI event is called
ChannelConnectedLine.
ASTERISK-24554 #close
Reported by Matt Jordan
Review: https://reviewboard.asterisk.org/r/4231
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/stasis_channels.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asterisk/stasis_channels.h b/include/asterisk/stasis_channels.h index a252a2a90..6c6cd51f1 100644 --- a/include/asterisk/stasis_channels.h +++ b/include/asterisk/stasis_channels.h @@ -611,6 +611,20 @@ int ast_channel_snapshot_caller_id_equal( const struct ast_channel_snapshot *new_snapshot); /*! + * \brief Compares the connected line info of two snapshots. + * \since 13.1.0 + * + * \param old_snapshot Old snapshot + * \param new_snapshot New snapshot + * + * \return True (non-zero) if callerid are identical. + * \return False (zero) if callerid changed. + */ +int ast_channel_snapshot_connected_line_equal( + const struct ast_channel_snapshot *old_snapshot, + const struct ast_channel_snapshot *new_snapshot); + +/*! * \brief Initialize the stasis channel topic and message types * \return 0 on success * \return Non-zero on error |