summaryrefslogtreecommitdiff
path: root/zaptel.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-06-24 05:09:55 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-06-24 05:09:55 +0000
commit92af76d7b7ef1f7963cedf17656f8b2573eadeca (patch)
treead80da2d9755f57c3be569848271a5d5cbfa23d1 /zaptel.h
parent16b7000c4d879521e99678148279debeaa18f22a (diff)
Add digital monitoring mode
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@201 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'zaptel.h')
-rwxr-xr-xzaptel.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zaptel.h b/zaptel.h
index f51f743..5ce9567 100755
--- a/zaptel.h
+++ b/zaptel.h
@@ -763,6 +763,7 @@ struct zt_tone_def { /* Structure for zone programming */
#define ZT_CONF_CONFMON 6 /* conference monitor mode */
#define ZT_CONF_CONFANNMON 7 /* conference announce/monitor mode */
#define ZT_CONF_REALANDPSEUDO 8 /* real and pseudo port both on conf */
+#define ZT_CONF_DIGITALMON 9 /* Do not decode or interpret */
#define ZT_CONF_FLAG_MASK 0xff00 /* mask for flags */
#define ZT_CONF_LISTENER 0x100 /* is a listener on the conference */
#define ZT_CONF_TALKER 0x200 /* is a talker on the conference */
@@ -977,8 +978,10 @@ struct zt_chan {
struct confq confout;
short getlin[ZT_MAX_CHUNKSIZE]; /* Last transmitted samples */
+ unsigned char getraw[ZT_MAX_CHUNKSIZE]; /* Last received raw data */
short getlin_lastchunk[ZT_MAX_CHUNKSIZE]; /* Last transmitted samples from last chunk */
short putlin[ZT_MAX_CHUNKSIZE]; /* Last received samples */
+ unsigned char putraw[ZT_MAX_CHUNKSIZE]; /* Last received raw data */
short conflast[ZT_MAX_CHUNKSIZE]; /* Last conference sample -- base part of channel */
short conflast1[ZT_MAX_CHUNKSIZE]; /* Last conference sample -- pseudo part of channel */
short conflast2[ZT_MAX_CHUNKSIZE]; /* Previous last conference sample -- pseudo part of channel */