mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
add API for searching active channels by context/exten
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -754,6 +754,9 @@ struct ast_channel *ast_get_channel_by_name_locked(const char *chan);
|
||||
/*! Get channel by name prefix (locks channel) */
|
||||
struct ast_channel *ast_get_channel_by_name_prefix_locked(const char *name, const int namelen);
|
||||
|
||||
/*--- ast_get_channel_by_exten_locked: 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);
|
||||
|
||||
/*! Waits for a digit */
|
||||
/*!
|
||||
* \param c channel to wait for a digit on
|
||||
|
Reference in New Issue
Block a user