diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-05 21:07:01 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-05 21:07:01 +0000 |
commit | f5c91609e55f936b081b63da469fce158b791e7a (patch) | |
tree | c766d5632d8dd3aab0b07eab73a3e85a960fb67a /include | |
parent | 70fec405ccca212eb35a9e32cead289f539ddc16 (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@25055 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/app.h | 2 |
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 \n permitted silence time in milliseconds of 'maxsilence' under 'silencethreshold' or use '-1' for either or both parameters for defaults. |