aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-06 21:52:30 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-06 21:52:30 +0000
commite8820a04915e9c541e5330eef7435d68c6215327 (patch)
treeb89adfb31308894d6ab44ad8b7232a763dfee84f /include/asterisk/app.h
parent6f3cf2396f0d88b7a9dcba22aa39b969b107da2c (diff)
Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@78278 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/app.h')
-rw-r--r--include/asterisk/app.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index 1d3fcdfb5..4bee632b9 100644
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -157,8 +157,9 @@ void ast_unreplace_sigchld(void);
\param between This is the number of milliseconds to wait in between each
DTMF digit. If zero milliseconds is specified, then the
default value of 100 will be used.
+ \param duration This is the duration that each DTMF digit should have.
*/
-int ast_dtmf_stream(struct ast_channel *chan, struct ast_channel *peer, const char *digits, int between);
+int ast_dtmf_stream(struct ast_channel *chan, struct ast_channel *peer, const char *digits, int between, unsigned int duration);
/*! Stream a filename (or file descriptor) as a generator. */
int ast_linear_stream(struct ast_channel *chan, const char *filename, int fd, int allowoverride);