[Asterisk-cvs] zaptel ztcfg.c,1.12,1.13
markster at lists.digium.com
markster at lists.digium.com
Tue Jan 13 11:19:45 CST 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv17999
Modified Files:
ztcfg.c
Log Message:
Allow you to use dchan=24,48 for example
Index: ztcfg.c
===================================================================
RCS file: /usr/cvsroot/zaptel/ztcfg.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- ztcfg.c 30 Oct 2003 23:17:02 -0000 1.12
+++ ztcfg.c 13 Jan 2004 17:11:34 -0000 1.13
@@ -469,7 +469,7 @@
cc[x].sigtype = ZT_SIG_HDLCNET;
master = x;
}
- } else if (!strcasecmp(keyword, "fcshdlc") || !strcasecmp(keyword, "dchan")) {
+ } else if (!strcasecmp(keyword, "fcshdlc")) {
sig[x] = "HDLC with FCS check";
if (master) {
cc[x].sigtype = ZT_SIG_SLAVE;
@@ -478,6 +478,9 @@
cc[x].sigtype = ZT_SIG_HDLCFCS;
master = x;
}
+ } else if (!strcasecmp(keyword, "dchan")) {
+ sig[x] = "D-channel";
+ cc[x].sigtype = ZT_SIG_HDLCFCS;
} else {
fprintf(stderr, "Huh? (%s)\n", keyword);
}
More information about the svn-commits
mailing list