[asterisk-users] Newbie in China: Red alaram in Zaptel for E1

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Jul 29 07:57:08 CDT 2008


On Tue, Jul 29, 2008 at 10:31:43PM +1000, Lee, John (Sydney) wrote:
> >>
> >> I tried the suggestion on
> >> http://www.voip-info.org/wiki/view/Asterisk+MFC+R2 <http://www.voip-info.org/wiki/view/Asterisk+MFC+R2>  but the red alarm is
> >> still on.
> 
> > An output of 'head -n 1 /proc/zaptel/*' after the fact might help us help
> > you. Did you re-run ztcfg after editing zaptel.conf ?
> 
> Thanks Tzafrir 
>  
> (zaptel.conf)
> span=1,1,0,cas,hdb3
> cas=1-15:1111
> cas=17-31:1111
> dchan=16
> 
> # service zaptel restart
> Unloading zaptel hardware drivers:ERROR: Module zaptel is in use
> .
> Loading zaptel framework:                                  [  OK  ]
> Waiting for zap to come online...OK
> Loading zaptel hardware modules: tor2.
>  wct4xxp.
>  wcte12xp.
>  wct1xxp.
>  wcte11xp.
>  wctdm24xxp.
>  wcfxo.
>  wctdm.
>  wcusb.
> Running ztcfg:                                             [  OK  ]
> 
> # head -n 1 /proc/zaptel/*
> ==> /proc/zaptel/1 <==
> Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ RED
> ==> /proc/zaptel/2 <==
> Span 2: TE4/0/2 "T4XXP (PCI) Card 0 Span 2"
> ==> /proc/zaptel/3 <==
> Span 3: TE4/0/3 "T4XXP (PCI) Card 0 Span 3"
> ==> /proc/zaptel/4 <==
> Span 4: TE4/0/4 "T4XXP (PCI) Card 0 Span 4"
> 
> # ztcfg -vvvvv
> Zaptel Version: 1.4.11
> Echo Canceller: MG2
> Configuration
> ======================
> SPAN 1: CAS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
> Channel map:
> Channel 01: CAS / User (Default) (Slaves: 01)
> Channel 02: CAS / User (Default) (Slaves: 02)
> [...]
> Channel 15: CAS / User (Default) (Slaves: 15)
> Channel 16: D-channel (Default) (Slaves: 16)
> Channel 17: CAS / User (Default) (Slaves: 17)
> [...]
> Channel 31: CAS / User (Default) (Slaves: 31)
> 31 channels to configure.
> 
> # cat /proc/zaptel/1
> Span 1: TE4/0/1 "T4XXP (PCI) Card 0 Span 1" (MASTER) HDB3/ RED
>            1 TE4/0/1/1 CAS RED
>            2 TE4/0/1/2 CAS RED
> [...]
>  
> Any thoughts?

Yes, to try port 4 again.

Backup the existing zaptel.conf and run genzaptelconf (no need to unload
/ reload any modules). What is the output of 'head -n 1 /proc/zaptel/*'
after that?

-- 
               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