From b6be24372a79c5fe8568a831bab188db9ea98e8c Mon Sep 17 00:00:00 2001 From: matteo Date: Sun, 23 Feb 2003 06:00:11 +0000 Subject: Sun Feb 23 07:00:00 CET 2003 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@621 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/app.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/asterisk/app.h') diff --git a/include/asterisk/app.h b/include/asterisk/app.h index 44c4186d2..bcbccb726 100755 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -33,6 +33,9 @@ extern "C" { */ extern int ast_app_getdata(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout); +/* Full version with audiofd and controlfd. NOTE: returns '2' on ctrlfd available, not '1' like other full functions */ +extern int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout, int audiofd, int ctrlfd); + //! Record voice (after playing prompt if specified), waiting for silence (in ms) up to a given timeout (in s) or '#' int ast_app_getvoice(struct ast_channel *c, char *dest, char *dstfmt, char *prompt, int silence, int maxsec); -- cgit v1.2.3