summaryrefslogtreecommitdiff
path: root/ztcfg.c
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-15 20:36:58 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-15 20:36:58 +0000
commit09fc565b03f37c66c2bb80ce96242c999cb07261 (patch)
treefec43f815c229819451db49244c4196778d34b68 /ztcfg.c
parentc91b2cd29653da525d1a37cf680f4a75b2d3b208 (diff)
This patch was not thought out well enough. Get rid of it for now (CAS signalling conflicts...)
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3039 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztcfg.c')
-rw-r--r--ztcfg.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/ztcfg.c b/ztcfg.c
index ae03547..e251f2a 100644
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -1281,16 +1281,6 @@ int main(int argc, char *argv[])
current_state.channo = cc[x].chan | ZT_GET_PARAMS_RETURN_MASTER;
if (ioctl(fd, ZT_GET_PARAMS, &current_state))
needupdate = 1;
- else if (current_state.chanpos == 16 &&
- (cc[x].sigtype & ZT_SIG_CLEAR) &&
- !(lc[current_state.spanno - 1].lineconfig &
- (ZT_CONFIG_D4|ZT_CONFIG_ESF|ZT_CONFIG_B8ZS|ZT_CONFIG_CCS))) {
- fprintf(stderr,
- "CAS signalling on span %u conflicts with %s on channel %u.\n",
- current_state.spanno,
- sigtype_to_str(cc[x].sigtype), x);
- exit(1);
- }
}
if (!needupdate) {