aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-15 16:34:39 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-09-15 16:34:39 +0000
commite9898b3d7f406cfd313e0b23af8de6e1214c01f0 (patch)
treeae6f36d1705475810e0460c47341accf55b68de8 /include/asterisk/channel.h
parentf89c44df03e93ece4abe3b54451c3a203f03f53a (diff)
add API for searching active channels by context/exten
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6619 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-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