diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-26 00:15:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-03-26 00:15:11 +0000 |
commit | 821fb99f76c2b0bcaeaac4ba2507706e327521e0 (patch) | |
tree | f4390ba612566a961f42a0de06234bc7b084a7d7 /include | |
parent | 18e59eea4122770c018c770213abc1c053ffdd0a (diff) |
Make SIP message notify send detail MWI info
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@688 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/app.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h index bcbccb726..ef7b05c27 100755 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -40,7 +40,10 @@ extern int ast_app_getdata_full(struct ast_channel *c, char *prompt, char *s, in 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); +extern int ast_app_has_voicemail(const char *mailbox); + +//! Determine number of new/old messages in a mailbox +extern int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs); #if defined(__cplusplus) || defined(c_plusplus) } |