[asterisk-users] cat /proc/zaptel/*

Russ Meyerriecks rmeyerriecks at digium.com
Tue Apr 13 09:45:22 CDT 2010


On Apr 13, 2010, at 7:53 AM, Jaap Winius wrote:

> Hi all,
> 
> On an Asterisk/Zaptel 1.4 system, one way to gather diagnostic info is:
> 
> ~# cat /proc/zaptel/*
> Span 1: ZTHFC1 "HFC-S PCI A Zaptel Driver card 0 [TE]" (MASTER) AMI/CCS
> 
> 	   1 ZTHFC1/0/1 Clear (In use)
> 	   2 ZTHFC1/0/2 Clear (In use)
> 	   3 ZTHFC1/0/3 HDLCFCS (In use)
> Span 2: ZTHFC2 "HFC-S PCI A Zaptel Driver card 1 [TE]" AMI/CCS
> 
> 	   4 ZTHFC2/0/1 Clear
> 	   5 ZTHFC2/0/2 Clear
> 	   6 ZTHFC2/0/3 HDLCFCS
> 
> These are two HFC-S PCI A cards. But, what exactly does all of this mean?
> In particular:
> 
> * Span - In telephony, what is the definition of this term?
> * MASTER - How is this relevant? Only for timing purposes?
> * Clear - Is this said because only B-channels use ISDN clear codes?
> * HDLCFCS - Why say this about D-channels? Why not just say HDLC?
> * (In use) - What does this mean and how is this state determined?
> * 1 ZTHFC1/0/1 Clear (In use) - What do each of these columns specify?
> 
> Thanks,
> 
> Jaap
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users


Hi Jaap,
  Most of these questions are covered in the README in the base of our DAHDI driver directory. The most up-to-date readme is maintained by Tzafrir at http://docs.tzafrir.org.il/dahdi-linux/README.html

1) A "span" is a physical plug. It can either be a single channel analog port or a T1/E1 port with lots of channels.
2) MASTER is zaptel/dahdi's current source of timing for the entire system. This is what Asterisk will use to time meetme conferences.
3) Clear means that there is no signaling or anything on that channel, so the data is provided and can be read "as is"
4) It's the specific type of hdlc your hardware is using? You could source dive for more info
5) This means that asterisk is currently using the channel, probably determined by a file lock

---
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer






More information about the asterisk-users mailing list