[asterisk-users] Red Alarm TE420 with E1s - R2

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 4 03:57:48 CST 2007


On Tue, Dec 04, 2007 at 07:06:14AM -0200, Roger C. Beraldi Martins wrote:
> 2007/12/4, Tzafrir Cohen <tzafrir.cohen at xorcom.com>:
> > On Mon, Dec 03, 2007 at 10:51:43PM +0100, Philipp Kempgen wrote:
> > > Richard Lyman wrote:
> > >
> > > > I have never noticed, does the output of ztcfg change is it set to E1?
> > >
> > > Yes. More channels. :)
> >
> > No. The channels listed in ztcfg -vv are the channels you wrote in
> > zaptel.conf . By the time they are printed, there is still no guarantee
> > that they actually exist on the system.
> >
> > Just try:
> >
> > ztcfg -vv -c <(echo fxsks=1-200)
> >
> > This should print the list of channels (but fail later) just as long as
> > you have zaptel loaded.
> >
> 
> Yes, I see the output for the ztcfg is de same after I put de jumpers closed.
> 
> >
> > To see the difference, look at /proc/zaptel/1 . You'll now see there 31
> > channels instead of 24 (33 lines instead of 26).
> >
> 
> 
> Now I can see de all channels for de E1 operation mode:
> 
> [root at asterisk1 ~]# cat /proc/zaptel/1
> Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" HDB3/ RED
> 
>            1 TE4/0/1/1 CAS
>             ...
>           16 TE4/0/1/16

You use CAS. So you don't need special handling of the D channel. Just
define it like any other channel.

>           17 TE4/0/1/17 CAS
>            ...
>           31 TE4/0/1/31 CAS
> 
> All outputs for /proc/zaptel/* look like this. I don't know why don't
> appear any more "(In use)" in the end of each line. The 4th span is
> unused.

You get "(In Use)" when Asterisk or anybody else opens the channel for
reading. Note that in your case it will be chan_unicall rather than
chan_zap.

See http://rapid.tzafrir.org.il/docs/README.html#toc20 (the /proc
interface). This is the README file from the Zaptel distribution.

> 
> The red alert still showing... and it's not good to me... :(

Jsut a dumb question: are all four ports connected to the telco? If not:
which of them is?

> 
> Now I'm talking with Technical support from teleco operator (Brasil
> Telecom) to confirm de cable standard.
> 
> 
> This is the output on dmesg when zaptel comes up:
> 
> Dec  4 16:14:30 asterisk1 kernel: Zapata Telephony Interface
> Registered on major 196
> Dec  4 16:14:30 asterisk1 kernel: Zaptel Version: 1.4.4
> Dec  4 16:14:30 asterisk1 kernel: Zaptel Echo Canceller: MG2
> Dec  4 16:14:31 asterisk1 kernel: Found TE4XXP at base address
> 48100000, remapped to f884a000
> Dec  4 16:14:31 asterisk1 kernel: TE4XXP version c01a016a, burst ON,
> slip debug: OFF
> Dec  4 16:14:31 asterisk1 kernel: Octasic optimized!
> Dec  4 16:14:31 asterisk1 kernel: FALC version: 00000005, Board ID: 00
> Dec  4 16:14:31 asterisk1 kernel: Reg 0: 0x31299400
> Dec  4 16:14:31 asterisk1 kernel: Reg 1: 0x31299000
> Dec  4 16:14:31 asterisk1 kernel: Reg 2: 0xffffffff
> Dec  4 16:14:31 asterisk1 kernel: Reg 3: 0x00000000
> Dec  4 16:14:31 asterisk1 kernel: Reg 4: 0x00000001
> Dec  4 16:14:31 asterisk1 kernel: Reg 5: 0x00000000
> Dec  4 16:14:31 asterisk1 kernel: Reg 6: 0xc01a016a
> Dec  4 16:14:31 asterisk1 kernel: Reg 7: 0x00001f00
> Dec  4 16:14:31 asterisk1 kernel: Reg 8: 0x010200ff
> Dec  4 16:14:31 asterisk1 kernel: Reg 9: 0x00fd0000
> Dec  4 16:14:31 asterisk1 kernel: Reg 10: 0x0000004a
> Dec  4 16:14:31 asterisk1 kernel: TE4XXP: Launching card: 0
> Dec  4 16:14:31 asterisk1 kernel: TE4XXP: Setting up global serial parameters
> Dec  4 16:14:31 asterisk1 kernel: Found a Wildcard: Wildcard TE420 (4th Gen)
> Dec  4 16:14:34 asterisk1 kernel: About to enter spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: Done with spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: About to enter spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: Done with spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: About to enter spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: Done with spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: About to enter spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: Done with spanconfig!
> Dec  4 16:14:34 asterisk1 kernel: Registered tone zone 20 (Brazil)
> Dec  4 16:14:34 asterisk1 kernel: About to enter startup!
> Dec  4 16:14:34 asterisk1 kernel: TE4XXP: Span 1 configured for CAS/HDB3
> Dec  4 16:14:34 asterisk1 kernel: timing source auto card 0!
> Dec  4 16:14:34 asterisk1 kernel: wct4xxp: Setting yellow alarm on span 1
> Dec  4 16:14:34 asterisk1 kernel: timing source auto card 0!
> Dec  4 16:14:34 asterisk1 kernel: SPAN 1: Primary Sync Source
> Dec  4 16:14:34 asterisk1 kernel: VPM400: Not Present
> Dec  4 16:14:34 asterisk1 kernel: VPM450: Not Present
> Dec  4 16:14:34 asterisk1 kernel: Completed startup!
> Dec  4 16:14:34 asterisk1 kernel: About to enter startup!
> Dec  4 16:14:34 asterisk1 kernel: TE4XXP: Span 2 configured for CAS/HDB3
> Dec  4 16:14:34 asterisk1 kernel: wct4xxp: Setting yellow alarm on span 2
> Dec  4 16:14:34 asterisk1 kernel: timing source auto card 0!
> Dec  4 16:14:34 asterisk1 kernel: VPM400: Not Present
> Dec  4 16:14:34 asterisk1 kernel: VPM450: Not Present
> Dec  4 16:14:34 asterisk1 kernel: Completed startup!
> Dec  4 16:14:34 asterisk1 kernel: About to enter startup!
> Dec  4 16:14:34 asterisk1 kernel: TE4XXP: Span 3 configured for CAS/HDB3
> Dec  4 16:14:34 asterisk1 kernel: wct4xxp: Setting yellow alarm on span 3
> Dec  4 16:14:34 asterisk1 kernel: timing source auto card 0!
> Dec  4 16:14:34 asterisk1 kernel: VPM400: Not Present
> Dec  4 16:14:34 asterisk1 kernel: VPM450: Not Present
> Dec  4 16:14:34 asterisk1 kernel: Completed startup!
> Dec  4 16:14:34 asterisk1 kernel: About to enter startup!
> Dec  4 16:14:34 asterisk1 kernel: TE4XXP: Span 4 configured for CAS/HDB3
> Dec  4 16:14:34 asterisk1 kernel: wct4xxp: Setting yellow alarm on span 4
> Dec  4 16:14:34 asterisk1 kernel: timing source auto card 0!
> Dec  4 16:14:34 asterisk1 kernel: VPM400: Not Present
> Dec  4 16:14:34 asterisk1 kernel: VPM450: Not Present
> Dec  4 16:14:34 asterisk1 kernel: Completed startup!

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list