summaryrefslogtreecommitdiff
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2002-12-26 19:38:27 +0000
committerMark Spencer <markster@digium.com>2002-12-26 19:38:27 +0000
commit32131f4c5376dd6ec93160bc929a8e5b4f13e5d6 (patch)
tree4efd4ab47390e740057c67f93a475808406dc747 /include/asterisk/app.h
parent60410e4b5db331a9056f098a74f50448c2ea88f3 (diff)
Version 0.3.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-xinclude/asterisk/app.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index bf9c5b0b4..44c4186d2 100755
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -33,6 +33,12 @@ extern "C" {
*/
extern int ast_app_getdata(struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout);
+//! 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);
+
+//! Determine if a given mailbox has any voicemail
+extern int ast_app_has_voicemail(char *mailbox);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif