[asterisk-users] Newbie in China: Red alaram in Zaptel for E1
Edwin Lam
edwin.lam at officegeneral.com
Tue Jul 29 17:01:40 CDT 2008
Lee, John (Sydney) wrote:
> This time, I am trying to remotely install Asterisk in China.
> I was told that an E1 line has been installed and so I plug it into port
> 1 of a TE412P.
i've installed several Asterisk systems in Shanghai & Beijing.
> On the box, first of all, I just installed Zaptel 1.4.10.1.
> # 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 ]
you might want to comment out all other modules in
/etc/default/zaptel except for wct4xxp (if that's
the only zaptel card you have).
> # vi zaptel.conf
> [...]
> span=1,1,0,ccs,hdb3,crc4
> bchan=1-15,17-31
> dchan=16
this looks right. however crc4 is optional. you have to
check with the phone company. sometime they do require
it other time they don't. it's not very consistent.
> *** However, I received a red alarm in zttool and the LED on the TE412P
> card is also red.
> *** I have made sure that the jumper is closed for port 1 on the TE412P
> card and so it could not be the jumper problem.
red alarm usually means there's no clocking signal.
check all your cables (crossover vs straight through)
if the cable's good. call phone company and complain.
in my experience 9 out of 10 time we have to call
phone company and complain.
> ### Because this is the first time I install Asterisk in China and I was
> wondering if their E1 is different from the Euro E1.
> ### However, I went into dmesg and I discovered the following.
> ### Could it really be a zaptel bug? I saw on a similar few on the
> digium bug list but I cannot be 100% sure.
>
> Any thoughts?
>
> About to enter spanconfig!
> Done with spanconfig!
> Registered tone zone 33 (China)
> About to enter startup!
> TE4XXP: Span 1 configured for CCS/HDB3/CRC4
> timing source auto card 0!
> wct4xxp: Setting yellow alarm on span 1
> timing source auto card 0!
> VPM400: Not Present
> VPM450: echo cancellation for 128 channels
> ********
> ********BUG: soft lockup - CPU#2 stuck for 16s! [ztcfg:4681]
> ********
> Pid: 4681, comm: ztcfg
> EIP: 0060:[<f8cba1df>] CPU: 2
> EIP is at init_vpm450m+0x32d/0x34a [wct4xxp]
> EFLAGS: 00000286 Tainted: G (2.6.18-92.1.6.el5 #1)
> EAX: 00000000 EBX: f76ae8f0 ECX: 00000019 EDX: 0000ffff
> ESI: f7997400 EDI: 00000286 EBP: f76838c0 DS: 007b ES: 007b
> CR0: 8005003b CR2: b7f01007 CR3: 37bc1000 CR4: 000006d0
> [<f8ca1b11>] t4_vpm450_init+0x18ce/0x198c [wct4xxp]
> [<f8ca5ee4>] t4_startup+0x4315/0x43c7 [wct4xxp]
> [<c042609c>] release_console_sem+0x17e/0x1b8
> [<c046d53a>] cache_alloc_refill+0x14b/0x450
> [<f8956f61>] zt_ioctl+0x273/0x144f [zaptel]
> [<c04d7d45>] generic_make_request+0x248/0x258
> [<c045ae3c>] __do_page_cache_readahead+0x69/0x1c6
> [<c0484a5b>] __d_lookup+0x98/0xdb
> [<c047c110>] do_lookup+0x53/0x166
> [<c047e7e4>] do_path_lookup+0x20e/0x25e
> [<c047c389>] permission+0xa2/0xb5
> [<c04e2d06>] kobject_get+0xf/0x13
> [<c046f7fa>] __dentry_open+0xea/0x1ab
> [<c046f91f>] nameidata_to_filp+0x19/0x28
> [<c046f959>] do_filp_open+0x2b/0x31
> [<c048029b>] do_ioctl+0x47/0x5d
> [<c04804fb>] vfs_ioctl+0x24a/0x25c
> [<c0471bbe>] __fput+0x13f/0x167
> [<c0480555>] sys_ioctl+0x48/0x5f
> [<c0404eff>] syscall_call+0x7/0xb
> =======================
> VPM450: hardware DTMF disabled.
> VPM450: Present and operational servicing 4 span(s)
> Completed startup!
i've seen that before. (forgot which version of zaptel). it
went away after i upgraded it.
--
Edwin Lam <edwin.lam at officegeneral.com>
Systems Engineer, Office General, Inc.
Ph: +1 415 439 4988 Fax: +1 415 283 3370
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xD6506D20
More information about the asterisk-users
mailing list