[Asterisk-Users] ISDN BRI HFC-4s card, asterisk and telstra

Matthew Enger menger at xi.com.au
Fri Mar 19 19:23:59 MST 2004


Hello,

I am attempting to get a HFC-4s card working on a telstra isdn line. We
currently have 2 ISDN BRIs coming in which are set up with an indial
range. I can get the lines to work with isdn4linux and netjet cards as
well as AVM Frinz X and chan_capi without a problem.

Capi reports the lines as:
name             fritz-usb (FRITZ!X USB)
dev              2
type             A1
ver_driver       3.11-02
ver_cardtype     fritz-usb
protocol         DSS1
linetype         point to multipoint

I have done some research and Australia uses what cisco calls basic-net3
as the D Channel protocol, this is EuroISDN which is what the hfc-4s
driver supports.

I have the card in TE mode and have followed the instructions from
http://www.junghanns.net/asterisk and 
http://www.voip-info.org/wiki-zaptelBRI without success.

My configs:

/etc/zaptel.conf:
loadzone=au
defaultzone=au
                                                                                
bchan=1,2
dchan=3
bchan=4,5
dchan=6
bchan=7,8
dchan=9
bchan=10,11
dchan=12
                                                                                
span=1,1,3,ccs,ami
span=2,1,3,ccs,ami
span=3,1,3,ccs,ami
span=4,1,3,ccs,ami
                                                                                
fxoks=13-14

/etc/asterisk/zapata.conf:
[channels]
; Zaphfc-4s lines
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = local
group = 1
context=to-pstn
channel => 1-2
                                                                                
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = local
group = 1
context=to-pstn
channel => 4-5
                                                                                
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = local
group = 2
context=to-pstn
channel => 7-8
                                                                                
switchtype = euroisdn
signalling = bri_cpe_ptmp
pridialplan = local
group = 2
context=to-pstn
channel => 10-11
                                                                                
; Internal analogue lines (TDM400P with 2 analogue ports, this works)
signalling=fxo_ks
context=directout
channel => 13-14
echocancel=yes
echotraining=yes


extensions.conf:
exten => _0XXXXXXXX,1,Ringing
;exten => _0XXXXXXXX,2,Dial(CAPI/@0397474000:${EXTEN:1})
exten => _0XXXXXXXX,2,Dial(Zap/g1:${EXTEN:1})
exten => _0XXXXXXXX,3,Congestion

I can switch to the capi line and it dials out correctly.

I was talking to Klaus-Peter Junghanns who sold us the card but he seems
to have disappeared. The last thing he said was to on the asterisk
console run: pri intense debug span 1

That produced output:
Sending TEI Request ri=11936
 
> [
> [fc
> [fc ff
> [fc ff 03
> [fc ff 03 0f
> [fc ff 03 0f 2e
> [fc ff 03 0f 2e a0
> [fc ff 03 0f 2e a0 01
> [fc ff 03 0f 2e a0 01 ff
> [fc ff 03 0f 2e a0 01 ff ]
> [fc ff 03 0f 2e a0 01 ff ]
> Unnumbered frame:
> SAPI: 63  C/R: 0 EA: 0
>  TEI: 127        EA: 1
>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> 5 bytes of data.

Dmesg has:
Zapata Telephony Interface Registered on major 196
qozap: start
qozap: quadBRI card configured at mem 0xe08f0000 IRQ 5 HZ 100 CardID 0
S/T port 1 is in TE mode.
S/T port 2 is in TE mode.
S/T port 3 is in TE mode.
S/T port 4 is in TE mode.
qozap: registered zaptel span 1.
qozap: registered zaptel span 2.
qozap: registered zaptel span 3.
qozap: registered zaptel span 4.
card 1 span 1 state F0 (A_ST_RD_STA = 0x0)
card 1 span 2 state F0 (A_ST_RD_STA = 0x0)
card 1 span 3 state F0 (A_ST_RD_STA = 0x0)
card 1 span 4 state F0 (A_ST_RD_STA = 0x0)
qoztmp->cardno = 1
qozap: 1 multiBRI card(s) in this box, 4 BRI ports total.
Freshmaker version: 63
Freshmaker passed register test
Module 0: Installed -- AUTO
Module 1: Installed -- AUTO
Module 2: Not installed
Module 2: Not installed
Module 3: Not installed
Found a Wildcard FXS: Wildcard TDM400P REV E/F (4 modules)
Registered tone zone 1 (Australia)
qozap: starting card 1 span 1/0.
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
qozap: starting card 1 span 2/1.
card 1 span 2 state F3 (A_ST_RD_STA = 0x43)
qozap: starting card 1 span 3/2.
qozap: starting card 1 span 4/3.
card 1 span 3 state F4 (A_ST_RD_STA = 0x44)
card 1 span 4 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
Registered tone zone 1 (Australia)
CAPI-driver Rev 1.1.4.1: loaded
capifs: Rev 1.1.4.1
capi20: started up with major 68
kcapi: capi20 attached
capi20: Rev 1.1.4.2: started up with major 68 (middleware+capifs)
fxusb: AVM FRITZ!X USB/FRITZ!X ISDN driver, revision 0.4.2
fxusb: (fxusb built on Mar 12 2004 at 15:37:15)
fxusb: Loading...
kcapi: driver fxusb attached
usb.c: registered new driver fxusb
fxusb: Driver 'fxusb' attached to stack
fxusb: Stack version 3.11-02
kcapi: Controller 1: fritz-usb attached
kcapi: card 1 "fritz-usb" ready.
fxusb: Loaded.
kcapi: notify up contr 1
capi: controller 1 up
kcapi: appl 1 up
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
bad CRC for hdlc frame
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
bad CRC for hdlc frame
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F3 (A_ST_RD_STA = 0x43)
card 1 span 1 state F4 (A_ST_RD_STA = 0x44)
card 1 span 1 state F5 (A_ST_RD_STA = 0x5)
card 1 span 1 state F6 (A_ST_RD_STA = 0x16)
card 1 span 1 state F7 (A_ST_RD_STA = 0x17)


If anyone can help me to get this working it would be most appreciated.
My boss is getting a little annoyed as I convinced him to get this card
rather then an AVM multiport card as I felt asterisk got more out of it
and it isn't working.


Thanks,
	Matthew Enger
	m.enger at xi.com.au

-- 
Matthew Enger <menger at xi.com.au>
Xintegration




More information about the asterisk-users mailing list