[Asterisk-cvs] asterisk/include/asterisk channel.h,1.87,1.88

kpfleming at lists.digium.com kpfleming at lists.digium.com
Mon Jun 20 21:15:25 CDT 2005


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

Modified Files:
	channel.h 
Log Message:
add AGI 'RECEIVE TEXT' command (bug #4525)


Index: channel.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/channel.h,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- channel.h	6 Jun 2005 02:29:18 -0000	1.87
+++ channel.h	21 Jun 2005 01:16:18 -0000	1.88
@@ -737,6 +737,15 @@
 
 int ast_recvchar(struct ast_channel *chan, int timeout);
 
+/*! Receives a text string from a channel */
+/*! 
+ * \param chan channel to act upon
+ * \param timeout timeout in milliseconds (0 for infinite wait)
+ * \return the received text, or NULL to signify failure.
+ * Read a string of text from a channel
+ */
+char *ast_recvtext(struct ast_channel *chan, int timeout);
+
 /*! Browse channels in use */
 /*! 
  * \param prev where you want to start in the channel list




More information about the svn-commits mailing list