diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-10-30 23:17:02 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-10-30 23:17:02 +0000 |
commit | 5de5efa71b183106b059157e4024d1e7bb434857 (patch) | |
tree | f7206ab483b5077b0f9faca16c017e0cd2eab18c /zaptel.h | |
parent | 3e29b66d03ecccd8ce6c4f95d75a47afc603aa23 (diff) |
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
Diffstat (limited to 'zaptel.h')
-rwxr-xr-x | zaptel.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |