add AGI 'RECEIVE TEXT' command (bug #4525)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-06-21 01:16:18 +00:00
parent 4e6d610317
commit 767f019264
3 changed files with 68 additions and 1 deletions

View File

@@ -737,6 +737,15 @@ int ast_senddigit(struct ast_channel *chan, char digit);
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