diff options
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 |