aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/app.h
diff options
context:
space:
mode:
authoranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-07 20:39:14 +0000
committeranthm <anthm@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-07 20:39:14 +0000
commitc1457252403f367fda151cf89728711629176a09 (patch)
tree033ebcd77785f0886ef673f19d830339fee527e1 /include/asterisk/app.h
parente090e8c65cb14bc5fd1a5b2e5a33a646c4280d6c (diff)
Created API call ast_dtmf_stream
int ast_dtmf_stream(struct ast_channel *chan,struct ast_channel *peer,char *digits,int between) changed app_senddtmf.c to use this new call added D() parameter to app_dial to allow post connect dtmf stream to be sent using above call -Tony git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2918 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/app.h')
-rwxr-xr-xinclude/asterisk/app.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/app.h b/include/asterisk/app.h
index d32575be9..efdf77068 100755
--- a/include/asterisk/app.h
+++ b/include/asterisk/app.h
@@ -48,6 +48,9 @@ extern 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);
+// send DTMF to chan (optionally entertain peer)
+int ast_dtmf_stream(struct ast_channel *chan,struct ast_channel *peer,char *digits,int between);
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif