[Asterisk-cvs] asterisk/include/asterisk app.h,1.19,1.20
markster at lists.digium.com
markster at lists.digium.com
Thu Dec 30 20:16:55 CST 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv29770/include/asterisk
Modified Files:
app.h
Log Message:
Make voicemail registration apps register (bug #3034)
Index: app.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/app.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- app.h 29 Dec 2004 18:46:19 -0000 1.19
+++ app.h 31 Dec 2004 01:11:33 -0000 1.20
@@ -39,11 +39,16 @@
//! 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);
+void ast_install_vm_functions(int (*has_voicemail_func)(const char *mailbox, const char *folder),
+ int (*messagecount_func)(const char *mailbox, int *newmsgs, int *oldmsgs));
+
+void ast_uninstall_vm_functions(void);
+
//! Determine if a given mailbox has any voicemail
-extern int ast_app_has_voicemail(const char *mailbox, const char *folder);
+int ast_app_has_voicemail(const char *mailbox, const char *folder);
//! Determine number of new/old messages in a mailbox
-extern int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs);
+int ast_app_messagecount(const char *mailbox, int *newmsgs, int *oldmsgs);
//! Safely spawn an external program while closingn file descriptors
extern int ast_safe_system(const char *s);
More information about the svn-commits
mailing list