summaryrefslogtreecommitdiff
path: root/ztcfg.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-06-17 11:34:55 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-06-17 11:34:55 +0000
commit4b6c592d23d4e7887af61b569fce9bd9c4b07630 (patch)
treef814cf2b60f425208ea019ca09910c5d3c670c83 /ztcfg.c
parent8eac1970e2483e1d07a8bd8e12744c6a383eebd8 (diff)
Update ztcfg to show Euro modes
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@196 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'ztcfg.c')
-rwxr-xr-xztcfg.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ztcfg.c b/ztcfg.c
index 41f890a..ce369bc 100755
--- a/ztcfg.c
+++ b/ztcfg.c
@@ -518,8 +518,12 @@ static void printconfig()
"======================\n\n");
for (x=0;x<spans;x++)
printf("SPAN %d: %3s/%4s Build-out: %s\n",
- x+1, ( lc[x].lineconfig & ZT_CONFIG_ESF ? "ESF" : "D4"),
- (lc[x].lineconfig & ZT_CONFIG_B8ZS ? "B8ZS" : "AMI"),
+ x+1, ( lc[x].lineconfig & ZT_CONFIG_D4 ? "D4" :
+ lc[x].lineconfig & ZT_CONFIG_ESF ? "ESF" :
+ lc[x].lineconfig & ZT_CONFIG_CCS ? "CCS" : "CAS" ),
+ ( lc[x].lineconfig & ZT_CONFIG_AMI ? "AMI" :
+ lc[x].lineconfig & ZT_CONFIG_B8ZS ? "B8ZS" :
+ lc[x].lineconfig & ZT_CONFIG_HDB3 ? "HDB3" : "???" ),
lbostr[lc[x].lbo]);
for (x=0;x<numdynamic;x++) {
printf("Dynamic span %d: driver %s, addr %s, channels %d, timing %d\n",