path: root/include
diff options
authorbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-05 20:44:53 +0000
committerbweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-05 20:44:53 +0000
commit2d88bea805bc1241db31feeeb4656b125733fd0d (patch)
tree5ab500776cebc76b0b3223d700e18e3ae8ba418a /include
parentb2ce10d4026d4444b8a5c78289c64709c3823476 (diff)
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
Diffstat (limited to 'include')
1 files changed, 2 insertions, 0 deletions
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
permitted silence time in milliseconds of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults.