From 051ef64e46e2d8e501a6918d5e13daa51805ce7b Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 28 Jul 2006 23:36:06 +0000 Subject: add ExtenSpy variant of ChanSpy implement whisper mode for ExtenSpy/ChanSpy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38465 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/channel.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index f60738cc3..46c94ee30 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -881,6 +881,10 @@ struct ast_channel *ast_walk_channel_by_name_prefix_locked(const struct ast_chan /*! \brief Get channel by exten (and optionally context) and lock it */ struct ast_channel *ast_get_channel_by_exten_locked(const char *exten, const char *context); +/*! \brief Get next channel by exten (and optionally context) and lock it */ +struct ast_channel *ast_walk_channel_by_exten_locked(const struct ast_channel *chan, const char *exten, + const char *context); + /*! ! \brief Waits for a digit * \param c channel to wait for a digit on * \param ms how many milliseconds to wait -- cgit v1.2.3