add ExtenSpy variant of ChanSpy

implement whisper mode for ExtenSpy/ChanSpy



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-07-28 23:36:06 +00:00
parent 99f9d827c1
commit 4bc6613648
3 changed files with 229 additions and 62 deletions

View File

@@ -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