[Asterisk-cvs] asterisk/include/asterisk app.h,1.6,1.7

anthm at lists.digium.com anthm at lists.digium.com
Fri May 7 16:30:07 CDT 2004


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17955/include/asterisk

Modified Files:
	app.h 
Log Message:
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



Index: app.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/app.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- app.h	21 Mar 2004 18:15:37 -0000	1.6
+++ app.h	7 May 2004 20:39:14 -0000	1.7
@@ -48,6 +48,9 @@
 //! 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




More information about the svn-commits mailing list