summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnthony Minessale II <anthmct@yahoo.com>2004-05-07 20:39:14 +0000
committerAnthony Minessale II <anthmct@yahoo.com>2004-05-07 20:39:14 +0000
commit66b96f417c34f877ccba67e466cbb0fc7542c903 (patch)
tree033ebcd77785f0886ef673f19d830339fee527e1 /include
parentb974395573947aad276c9541eea23e3475f25291 (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: https://origsvn.digium.com/svn/asterisk/trunk@2918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-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