[Asterisk-Users] Zaptel BRI and HFC-S cards

Armand A. Verstappen armand at nl.envida.net
Tue Feb 17 13:07:11 MST 2004


Hi ,

On Tue, 2004-02-17 at 13:39, FastJack wrote:
> is there any documentation available how to run asterisk with a hfc-s based
> card in NT mode?

None to my knowledge, apart from the instructions in the package.

> does it need a special kind of wire, is a t1 (ntba) needed for termination /
> powersupply between the card and a phone?

Yes, unless you have a hfc-s based card that does power the line (I
don't think they exist) Just follow the documentation at
http://isdn.jolly.de/ to wire up your card, your NT1 and your phone
equipment.

To load the card(s) in nt1 mode you'll need to give a 'modes' option
when loading the driver:

insmod ./zaphfc.o modes=1
 (first card in NT mode)
or
insmod ./zaphfc.o modes=3
 (first and second card in NT mode)

Note that when using more than one card, the module will segfault when
unloading:

zaphfc: stop
zaphfc: shutting down card at e0962000.
unregistered from zaptel.
zaphfc: freed one card.
zaphfc: shutting down card at 00000000.
Unable to handle kernel NULL pointer dereference at virtual address
0000006c
 printing eip:
e095d086
*pde = 00000000
Oops: 0002
CPU:    0
EIP:    0010:[<e095d086>]    Tainted: P 
EFLAGS: 00010082
eax: 00000000   ebx: 00000282   ecx: dcc0a000   edx: dcc0bf7c
esi: d5d5d5d5   edi: 00000000   ebp: bfffea58   esp: df4e5f64
ds: 0018   es: 0018   ss: 0018
Process rmmod.modutils (pid: 26999, stackpage=df4e5000)
Stack: e095e660 00000000 d5d5d5d5 00000286 c15efa60 d5d5d5d5 d5d5d5d5
e095e58a 
       d5d5d5d5 e095d000 fffffff0 c011caea e095d000 e095d000 fffffff0
da4b9000 
       c011be8f e095d000 00000000 00001000 df4e4000 00000001 0806fb00
c01090df 
Call Trace:    [<e095e660>] [<e095e58a>] [<c011caea>] [<c011be8f>]
[<c01090df>]

Code: c6 40 6c 00 53 9d a1 30 ed 95 e0 89 44 24 04 8b 00 89 04 24 


... and you'll be stuck with a half removed module. The only cure I've
found thus far is rebooting.

When configuring zaptel, you'll need to load the zaphfc driver before
any wcfxs or wcfxo drivers, as the zaphfc channels are loaded as a span.

All in all, the driver is 'sort of' working, 'sometimes'. I have
dialtone disappearing from the ISDN phones regularly, only restart of
asterisk brings it back. To be fair, the configuration of this setup has
not had any real priority, and no real debugging has been done.

when picking up the handset on one of the phones, I allways get the
following message in the console:

Feb 17 21:02:07 WARNING[147466]: chan_zap.c:5954 zt_pri_error: PRI: XXX
Missing mandatory IE 24/Channel Identification XXX

grtz,

-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Vleutenseweg 86
armand at nl.envida.net       3532 HM  Utrecht
tel: +31 (0)30 299 2109    The Netherlands
fax: +31 (0)30 299 2108    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20040217/71c7ccfd/attachment.pgp


More information about the asterisk-users mailing list