From 92af76d7b7ef1f7963cedf17656f8b2573eadeca Mon Sep 17 00:00:00 2001 From: markster Date: Tue, 24 Jun 2003 05:09:55 +0000 Subject: Add digital monitoring mode git-svn-id: http://svn.digium.com/svn/zaptel/trunk@201 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zaptel.h') 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 */ -- cgit v1.2.3