summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-09-15 16:34:39 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-09-15 16:34:39 +0000
commit29bdd1b424f29147d8793e6684979148b4c54f2d (patch)
treeae6f36d1705475810e0460c47341accf55b68de8 /include/asterisk
parentb8f23573fa67c3e2d99b9a49aa85560902c60c6c (diff)
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
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/channel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index cf45406a4..4e9d2b39a 100755
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -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