[Asterisk-cvs] asterisk/include/asterisk vmodem.h,1.9,1.10
markster at lists.digium.com
markster at lists.digium.com
Tue Jun 22 10:31:20 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv19959/include/asterisk
Modified Files:
vmodem.h
Log Message:
Make DTMF mode configurable on ISDN
Index: vmodem.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/vmodem.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- vmodem.h 21 Jun 2004 04:29:50 -0000 1.9
+++ vmodem.h 22 Jun 2004 14:17:07 -0000 1.10
@@ -27,6 +27,10 @@
#define MODEM_DEV_SPKRPHONE 6
#define MODEM_DEV_HANDSET 9
+#define MODEM_DTMF_NONE (1 << 0)
+#define MODEM_DTMF_AST (1 << 1)
+#define MODEM_DTMF_I4L (1 << 2)
+
/* Thirty millisecond sections */
#define MODEM_MAX_LEN 30
#define MODEM_MAX_BUF MODEM_MAX_LEN * 16
@@ -115,6 +119,12 @@
unsigned int group;
/*! Caller ID if available */
char cid[AST_MAX_EXTENSION];
+ /*! DTMF-detection mode (i4l/asterisk) */
+ int dtmfmode;
+ /*! DTMF-generation mode (i4l (outband) / asterisk (inband) */
+ int dtmfmodegen;
+ /*! DSP for DTMF detection */
+ struct ast_dsp *dsp;
/*! Dialed Number if available */
char dnid[AST_MAX_EXTENSION];
/*! Modem initialization String */
More information about the svn-commits
mailing list