martedì, luglio 19, 2005

Asterisk@home hfc isdn dondisperato

A@h 1.3 - 1.5
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.2.0-RC8j.tar.gz
tar -zxvf bristuff-0.2.0-RC8j.tar.gz
cd bristuff-0.2.0-RC8j
./download.sh
cd zaphfc
wget http://zaphfc.florz.dyndns.org/zaphfc_0.2.0-RC8j_florz-8.diff.gz
gunzip -v zaphfc_0.2.0-RC8j_florz-8.diff.gz
patch < zaphfc_0.2.0-RC8j_florz-8.diff
ln -s /usr/src/linux-2.4.21-32.EL /usr/src/linux-2.4
ln -s /usr/src/linux-2.4.21-32.EL /usr/src/linux
cd ..
cd zaptel-1.0.9
make clean
make
make install
cd ..
cd libpri-1.0.9
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.2.0-RC8j/zaphfc/zaphfc.o
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.2.0-RC8j/asterisk-1.0.9
make clean
make
make install

reboot...
________________________________________


that's all
donDisperato








Support donDisperato

I'm searching equipment voip / sip / h323 / isdn / gsm for testing..... if you can contribute contact me at disperato at gmail.com

Donations:
50€ Takahiro Inui
50€ Matteo Maggiani
30€ Marco Cipriani


p.s. this help work correctly for TE or NT mode...

for NT mode read the correct signalling type in www.voip-info.org...

for disconnect problem whit isdn phone and iax/sip provider please read at http://sourceforge.net/forum/forum.php?thread_id=1371545&forum_id=420324
many thanks at G.Veloce ;-)

This page is powered by Blogger. Isn't yours?