[Asterisk-Users] amportal doesn't start with brestuff(ISDN)HFC-PCI
Shenen Shenen
shenenx at gmail.com
Sat May 27 03:03:48 MST 2006
Hi!I've installed Asterisk at home and I have a ISDN card,(Cologne Chip Design
GmbH ISDN network
controller [HFC-PCI](rev 0.2)
This is how I installed bristuff:
how to install hfc card
after unload asterisk and amportal whit
amportal stop
type "setup"
unselect zaptel in system service...
and set the lan
--->reboot<---
cd /usr/src
wget http://www.junghanns.net/downloads/bristuff-0.3.0-PRE-1l.tar.gz
tar -zxvf bristuff-0.3.0-PRE-1l.tar.gz
cd bristuff-0.3.0-PRE-1l
./download.sh
ln -s /usr/src/2.6.9-22.EL /usr/src/linux-2.6
cd zaptel-1.2.3
make clean
make
make install
cd ..
cd libpri-1.2.2
make clean
make
make install
cd ..
cd zaphfc
make clean
make
cp zaptel.conf /etc/zaptel.conf
------>yes<-------
nano /etc/rc.d/rc.local
at first add this line:
modprobe zaptel
insmod /usr/src/bristuff-0.3.0-PRE-1l/zaphfc/zaphfc.ko
sleep 10
ztcfg -vv
nano /etc/asterisk/zapata.conf
this is my zapata:
[channels]
language=it
switchtype=euroisdn
;If you connect to a hicom PBX set your ISDN Numbering Plan Identifier to
unknown.
pridialplan=local
prilocaldialplan=local
signalling = bri_cpe_ptmp
;signalling = fxs_ks
rxwink=300
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
nationalprefix = 0
internationalprefix = 00
faxdetect=incoming
group=0
callgroup=1
pickupgroup=1
immediate=yes
context=from-pstn
channel => 1-2
________________________________________
now you can recompile asterisk
cd /usr/src/bristuff-0.3.0-PRE-1l/asterisk-1.2.4
make clean
make
make install
reboot...
when I reboot amportal doesn't start and I've the following error:
[root at asterisk12 ~]# tail /var/log/asterisk/full
May 26 08:45:59 WARNING[15240] pbx.c: Context 'ext-local' tries includes
nonexistent context
'ext-local-custom'
May 26 08:45:59 VERBOSE[15240] logger.c: [skipping chan_oss.so]
May 26 08:45:59 VERBOSE[15240] logger.c: [chan_zap.so]May 26 08:45:59
VERBOSE[15240]
logger.c: [chan_zap.so] => (Zapata Telephony w/PRI)
May 26 08:45:59 VERBOSE[15240] logger.c: == Parsing
'/etc/asterisk/zapata.conf': May 26
08:45:59 VERBOSE[15240] logger.c: == Parsing '/etc/asterisk/zapata.conf':
Found
May 26 08:45:59 WARNING[15240] chan_zap.c: Unable to specify channel 1:
Device or resource
busy
May 26 08:45:59 ERROR[15240] chan_zap.c: Unable to open channel 1: Device or
resource busy
here = 0, tmp->channel = 1, channel = 1
May 26 08:45:59 ERROR[15240] chan_zap.c: Unable to register channel '1-2'
May 26 08:45:59 WARNING[15240] loader.c: chan_zap.so: load_module failed,
returning -1
May 26 08:45:59 WARNING[15240] loader.c: Loading module chan_zap.so failed!
and amportal start doesn't start....and when I rebott before that coming the
loggin and
password answer this is the message on the monitor:
zaphfc:no version for "zt-receive" found:kernel tainted
Zaptel configuration
- - - - - - - - - - - -
- - - - - - - - - - - -
SPAN 1:CCS/ AMI Build.out: 339 -533 feet (DSX-1)
(FXO and FXS are ok)
10000000000000 thanks!
Ciao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060527/7c77be13/attachment.htm
More information about the asterisk-users
mailing list