From 5de5efa71b183106b059157e4024d1e7bb434857 Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 30 Oct 2003 23:17:02 +0000 Subject: Add DACS functionality to zaptel for cross connecting channels git-svn-id: http://svn.digium.com/svn/zaptel/trunk@262 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- zaptel.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zaptel.h') diff --git a/zaptel.h b/zaptel.h index 936d213..c153171 100755 --- a/zaptel.h +++ b/zaptel.h @@ -93,6 +93,7 @@ #define ZT_SIG_SLAVE (1 << 11) /* Slave to another channel */ #define ZT_SIG_SF (1 << 14) /* Single Freq. tone only, no sig bits */ #define ZT_SIG_CAS (1 << 15) /* Just get bits */ +#define ZT_SIG_DACS ((1 << 16) | ZT_SIG_CLEAR) /* Cross connect */ /* tone flag values */ #define ZT_REVERSE_RXTONE 1 /* reverse polarity rx tone logic */ @@ -224,7 +225,8 @@ char name[40]; /* Name of channel to use */ int sigtype; /* Signal type */ int deflaw; /* Default law (ZT_LAW_DEFAULT, ZT_LAW_MULAW, or ZT_LAW_ALAW */ int master; /* Master channel if sigtype is ZT_SLAVE */ -int idlebits; /* Idle bits (if this is a CAS channel) */ +int idlebits; /* Idle bits (if this is a CAS channel) or + channel to monitor (if this is DACS channel) */ } ZT_CHANCONFIG; typedef struct zt_sfconfig -- cgit v1.2.3