diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-12-26 19:38:27 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-12-26 19:38:27 +0000 |
commit | 1285380bcc5c43ef77ed82c4fddd61d04c331c6c (patch) | |
tree | 4efd4ab47390e740057c67f93a475808406dc747 /include/asterisk/app.h | |
parent | 8751a1d5673b0c577fbca9277e6c5c5f7a84930b (diff) |
Version 0.3.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@572 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-x | include/asterisk/app.h | 6 |
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 |