[Asterisk-Users] zaphfc error

enrico bernecich enrico1301 at yahoo.it
Sat May 21 15:05:11 MST 2005


I have problems to install zaphfc on system base on
knoppix 3.8.
with kernel update to  2.6.11.8 with
bristuff-0.2.0-RC8d-CVS

please help !!


ztcfg
ZT_SPANCONFIG failed on span 1: No such device or
address (6)

lspci 

0000:00:08.0 Network controller: Cologne Chip Designs
GmbH ISDN network controller [HFC-PCI] (rev 02)
0000:00:09.0 Network controller: Cologne Chip Designs
GmbH ISDN network controller [HFC-PCI] (rev 02)


download bristuff-0.2.0-RC8d-CVS

update: 
/usr/src/linux/include/asm/irq.h
In line 16 change: #include "irq-vectors.h" to:
#include
"mach-default/irq-vectors.h"

/usr/src/linux/include/asm/mpspec.h
In line 6 change: <mach_mpspec.h> to:
<asm/mach-default/mach_mpspec.h>

/usr/src/linux/include/asm/smp.h
In line 71 change: <mach_apicdef.h> to:
<asm/mach-default/mach_apicdef.h>

---------------------------------------------------------------------------------

cd zaptel
make linux26
make install
(no compile errors)


cd libpri
make
make install
(no compile errors)

cd zaphfc
make linux26
make -C /usr/src/linux-2.6
SUBDIRS=/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc
ZAP=-I/usr/src/bristuff-0.2.0-RC8d-CVS/zaptel modules
make[1]: Entering directory `/usr/src/linux-2.6.11.8'
  Building modules, stage 2.
  MODPOST
*** Warning: "zt_register"
[/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko]
undefined!
*** Warning: "zt_transmit"
[/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko]
undefined!
*** Warning: "zt_receive"
[/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko]
undefined!
*** Warning: "zt_ec_chunk"
[/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko]
undefined!
*** Warning: "zt_unregister"
[/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc/zaphfc.ko]
undefined!
make[1]: Leaving directory `/usr/src/linux-2.6.11.8'

root at vger:/usr/src/bristuff-0.2.0-RC8d-CVS/zaphfc#
make install
install -D -m 644 zaphfc.ko /lib/modules/`uname
-r`/misc/zaphfc.ko

my /etc/zaptel.conf
loadzone=it
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
span=2,1,3,ccs,ami
bchan=4-5
dchan=6

my /etc/Asterisk/zapata.conf

[channels]
language=en
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering
Plan Identifier to unknown.
pridialplan=unknown
prilocaldialplan=unknown

signalling = bri_net_ptmp

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes                                        
                                               
echocancel=yes                                        
                                               
echocancelwhenbridged=yes                             
                                               
rxgain=0.0                                            
                                               
txgain=0.0                                            
                                               
                                                      
                                               
language=en
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering
Plan Identifier to unknown.
pridialplan=unknown
prilocaldialplan=unknown

signalling = bri_net_ptmp

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
[channels]
language=en
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering
Plan Identifier to unknown.
pridialplan=unknown
prilocaldialplan=unknown

signalling = bri_net_ptmp

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=0.0
txgain=0.0

lsmod

Module                  Size  Used by
zaphfc                 15892  0 
zaptel                225284  1 zaphfc
crc_ccitt               5888  1 zaptel

-----------------------------------------------------------------------






		
___________________________________ 
Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! 
http://it.messenger.yahoo.it



More information about the asterisk-users mailing list