Problems with zaphfc


#1

Hi,

what I want to do is to set up an VOIP-Gateway for my ISDN phones. My hardware consists of one AVM FritzCard USB and a HFC-chipset based ISDN card. The HFC card is connected to a NTBA with “crossed ISDN - wire”. The telephone is connected to the same NTBA with normal wire. If I pick-up at the phone I get an Installation-error on its display. Trying to call the phone using asterisk shows this:

*CLI> Dial 47756385 *CLI> -- Executing Dial("ALSA/default", "Zap/g1/47756385") in new stack -- Requested transfer capability: 0x00 - SPEECH -- Called g1/47756385 -- Channel 0/1, span 1 got hangup, cause 42

…but the telephone isn’t ringing… Any help apreciated! Thanks Michael

here is my config:

extensions.conf:

[test] exten => 47756385,1,Dial(Zap/g1/${EXTEN}) exten => s,1,Playtones(500/200,0/500)

zapata.conf

[code][channels]
switchtype = euroisdn

signalling = bri_net_ptmp

pridialplan = local
prilocaldialplan = local

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

callprogress = yes
busydetect = yes

usecallerid = yes
usecallingpres = yes
immediate=no

context=test
group = 1
channe[/code]

zaptel.conf:

[code]# hfc-s pci a span definition

most of the values should be bogus because we are not really zaptel

loadzone=nl
defaultzone=nl

span=1,1,3,ccs,ami
bchan=1-2
dchan=3
[/code]

cat /proc/zaptel/1

[code]Span 1: ZTHFC1 “HFC-S PCI A ISDN card 1 [NT]” AMI/CCS

       1 ZTHFC1/0/1 Clear
       2 ZTHFC1/0/2 Clear
       3 ZTHFC1/0/3 HDLCFCS

[/code]

lsmod | grep zap

zaphfc 12052 0 zaptel 187908 1 zaphfc crc_ccitt 2176 1 zaptel

system log while loading module zaphfc

Mar 13 20:20:59 server kernel: zaphfc: module not supported by Novell, setting U taint flag. Mar 13 20:20:59 server kernel: PCI: Enabling device 0000:02:08.0 (0000 -> 0003) Mar 13 20:20:59 server kernel: ACPI: PCI Interrupt 0000:02:08.0[A] -> Link [LNK3] -> GSI 11 (level, low) -> IRQ 11 Mar 13 20:20:59 server kernel: zaphfc: CCD/Billion/Asuscom 2BD0 configured at mem 0xe0cbc000 fifo 0xc6458000(0x6458000) IRQ 11 HZ 250 Mar 13 20:20:59 server kernel: zaphfc: Card 0 configured for NT mode Mar 13 20:20:59 server kernel: zaphfc: hfc busy. Mar 13 20:20:59 server kernel: zaphfc: 1 hfc-pci card(s) in this box. Mar 13 20:20:59 server kernel: Registered tone zone 3 (Netherlands)