[Asterisk-cvs] asterisk/include/asterisk file.h,1.24,1.25
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Mon Jul 11 21:25:51 CDT 2005
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12692/include/asterisk
Modified Files:
file.h
Log Message:
add 'exit context' and 'only stop on match' options to Background app (bug #4511)
Index: file.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/file.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- file.h 5 Jun 2005 15:04:43 -0000 1.24
+++ file.h 12 Jul 2005 01:34:06 -0000 1.25
@@ -124,6 +124,16 @@
*/
int ast_waitstream(struct ast_channel *c, const char *breakon);
+/*! Waits for a stream to stop or digit matching a valid one digit exten to be pressed */
+/*!
+ * \param c channel to waitstram on
+ * \param context string of context to match digits to break upon
+ * Begins playback of a stream...
+ * Wait for a stream to stop or for any one of a valid extension digit to arrive, Returns 0
+ * if the stream finishes, the character if it was interrupted, and -1 on error
+ */
+int ast_waitstream_exten(struct ast_channel *c, const char *context);
+
/*! Same as waitstream but allows stream to be forwarded or rewound */
/*!
* \param c channel to waitstram on
More information about the svn-commits
mailing list