mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 00:00:09 +00:00
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 ........ Merged revisions 429064 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@429084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -610,6 +610,20 @@ int ast_channel_snapshot_caller_id_equal(
|
||||
const struct ast_channel_snapshot *old_snapshot,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user