From 2d88bea805bc1241db31feeeb4656b125733fd0d Mon Sep 17 00:00:00 2001 From: bweschke Date: Fri, 5 May 2006 20:44:53 +0000 Subject: Voicemail fixes along with an API change approved by russellb to fix the bug(s). (jcollie and supczinskib) #7064 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@25014 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/app.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/asterisk/app.h b/include/asterisk/app.h index 38b1fdb73..972314c57 100644 --- a/include/asterisk/app.h +++ b/include/asterisk/app.h @@ -130,6 +130,8 @@ int ast_control_streamfile(struct ast_channel *chan, const char *file, const cha /*! Play a stream and wait for a digit, returning the digit that was pressed */ int ast_play_and_wait(struct ast_channel *chan, const char *fn); +int ast_play_and_record_full(struct ast_channel *chan, const char *playfile, const char *recordfile, int maxtime_sec, const char *fmt, int *duration, int silencethreshold, int maxsilence_ms, const char *path, const char *acceptdtmf, const char *canceldtmf); + /*! Record a file for a max amount of time (in seconds), in a given list of formats separated by '|', outputting the duration of the recording, and with a maximum \n permitted silence time in milliseconds of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults. -- cgit v1.2.3