Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12593/include/asterisk

Modified Files:
        channel.h 
Log Message:
add API for searching active channels by context/exten


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- channel.h   8 Sep 2005 02:19:02 -0000       1.100
+++ channel.h   15 Sep 2005 16:34:39 -0000      1.101
@@ -754,6 +754,9 @@
 /*! 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

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to