PDA

Voir la version complète : Insallation carte Quadbri Junghanns sur asterisk@home 1.5


alex
17/11/2005, 13h10
Bonjour,

Même si ce sujet à déja été partielement traité, je me permet ce poste car depuis une semaine je ne peut installer ma carte sur asterisk@home 1.5
(elle a fonctionner sous debian sarge 3.1 = donc la partie hardware est bonne)

voici ma procédure d' installation (2 installations faites pour le meme résultat= - une avec les mises a jour en premier #yum update ou #yum -y update - et l' autre après)

c' est parti:

#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-RC8o.tar.gz
#tar -zxvf bristuff-0.2.0-RC8j.tar.gz
"cd bristuff-0.2.0-RC8o
#./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
l#n -s /usr/src/linux-2.4.21-32.EL /usr/src/linux-2.4(32 ou 37 selon,pour moi 37,,)
#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<-------

#vim /etc/rc.d/rc.local

ajouter:

modprobe zaptel
insmod /usr/src/bristuff-0.2.0-RC8j/zaphfc/zaphfc.o

JE N AI PAS DE zaphfc.o MAIS zaphfc.h et zaphfc.c SEULEMENT ?????
ztcfg -vv

#vim /etc/asterisk/zapata.conf

mon 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

________________________________________

#cd /usr/src/bristuff-0.2.0-RC8j/asterisk-1.0.9
#make clean
#make
#make install


#/etc/asterisk/modules.conf
and add a line to the section [modules]:
load => chan_capi.so
and to the [global] section:
chan_capi.so=yes


reboot...

voila j' espere que quelqu' un voir calir dans la manip et sera a même de m' aider

D' avance Merci
Cordialement Alex

litbos
17/11/2005, 14h07
Tu as déjà vu ce site :

j'ai essayé avec un billion chipset HFC et cela marche

http://dondisperato.blogspot.com/

alex
18/11/2005, 06h48
Bonjour,

Merci libtos

ma procédure vient de ce site aussi
http://dondisperato.blogspot.com/

je tourne en rond :roll:

Cordialement
ALEX

litbos
18/11/2005, 07h34
tu as recompilé Asterisk ?

alex
18/11/2005, 07h55
Bonjour,

recompiler consiste a faire
#cd /usr/src/bristuff..../asterisk1.2
#make clean
#make && make install
?

alors oui

litbos
18/11/2005, 09h43
Re-bonjour,

tu as essayé avec une version 1.0.9 ? , c'est peu être un imcompatibilité avec la version 1.2 , je dis cela car je sais plus trop quoi faire :(

alex
18/11/2005, 09h45
merci

j' avais essayer avec la 1.09
en vain

je sens qu' avec asterisk@home2.0BETA 5 ca va se faire....

si jamais j' ai des log ou des erreurs parlantes je vous en parle

et merci encore

Cordialement
Alex

alex
18/11/2005, 09h50
RE,

J' ai cru comprendre que asterisk@home2.0Beta5 comprenant un noyau 2.6.9.22 et les pilotes zaptels necessaires d' office

je test ...
et vous en informerai

Par contre je ne sais jamais si le #yum update ce fait avant l' installation d' éventuel drivers ou apres ??

la différence entre #yum update et yum -y update c' est que le -u met a jour la base de yum aussi c' est ca ??

A bientôt

Cordialement
Alex

litbos
18/11/2005, 09h54
Si tu fais un yum update , il peu changer de noyau etc ... , donc les drivers ne seront peu être plus compatibles , donc moi je fais le yum update et je recompile le tout on ne sait jamais ;)

alex
18/11/2005, 09h57
Re,

Merci de ta rapidité libtos

Question con je suppose mais...:

Comment recompile tu le tout sous asterisk@home (qui comprends évidement
déja asterisk) ??

:oops:

alex
21/11/2005, 08h39
Bonjour,

J' ai vraiment besoin d' aide :

j' ai toujours des difficultés (ca fait plus d' une semaine)
a installer la carte quadbri de chez junghanns

voici ce que ca donne :

#/usr/src/bristuff-0.2.0-RC8o# ./install.sh
************************************************** **
LIBPRI installed.
Press <Enter> to continue, or <CTRL> + <C> to abort.
************************************************** **

rm -f qozap.o *.ko *.mod.c *.mod.o .*o.cmd *~
rm -rf .tmp_versions
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff-0.2.0-RC8o/qozap ZAP=-I/usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2 modules
make[1]: Entering directory `/usr/src/linux-2.6'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.6'
make: *** [linux26] Error 2
install -D -m 644 qozap.ko /lib/modules/`uname -r`/misc/qozap.ko
install: cannot stat `qozap.ko': No such file or directory
make: *** [installlinux26] Error 1

[root@asterisk1 ~]# ztcfg -vv

Zaptel Configuration
======================

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 399-533 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)
Channel 04: Clear channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: Clear channel (Default) (Slaves: 08)
Channel 09: D-channel (Default) (Slaves: 09)
Channel 10: Clear channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: D-channel (Default) (Slaves: 12)

12 channels configured.

ZT_SPANCONFIG failed on span 1: Invalid argument (22)

[root@asterisk1 ~]# lsmod
Module Size Used by
ztdummy 3924 0
wctdm 34240 0
wcfxo 13088 0
wcte11xp 27936 0
wct1xxp 19616 0
wct4xxp 63296 0
tor2 91936 0
zaptel 207748 7 ztdummy,wctdm,wcfxo,wcte11xp,wct1xxp,wct4xxp,tor2
crc_ccitt 2113 1 zaptel
md5 4033 1
ipv6 234881 14
autofs4 23237 0
i2c_dev 11329 0
i2c_core 22081 1 i2c_dev
sunrpc 159269 1
dm_mirror 27825 0
dm_mod 56661 1 dm_mirror
uhci_hcd 31065 0
tulip 45025 0
floppy 58481 0
ext3 116809 2
jbd 71385 1 ext3

litbos
21/11/2005, 08h47
tu es toujours avec ta version 2.0 beta 5. car je suis pas un expert des compilation de mosules , mais cela vient peu être du fait qu'il est pas compatible avec le noyaux 2.6 car pour la version 2.0 A@H est passer du 2.4 au 2.6 , parce que ton erreur est un problème de noyau, je pense
tu sais tester avec un version 1.5 ?

alex
21/11/2005, 08h53
Bonjour,

OK c' est reparti avec le asterisk@home1.5
je vous tiens informer...

Meric encore

Cordialement
ALEX

alex
21/11/2005, 12h24
Bonjour,


Il m' est acuellement impossible de charger le module qozap
sur asterisk@home1.5

soit avec bristuff-0.3.0-PRE-1
ou bristuff-0.2.0-RC8o

Une idée ??

zaptel pas de pbm
peut installer le module qozap en rpm ??

Cordialement

alex
21/11/2005, 14h19
RESOLU

il suffit de faire un lien symbolique :
ln -sf kernel-headers-2.6.8-2-686 linux-2.6
et pas un lien de headers dans linux-2.6 ! C'est pour cela que :

make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff-0.2.0-RC8o/qozap ZAP=-I/usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2 modules
make[1]: Entering directory `/usr/src/linux-2.6'
make[1]: *** No rule to make target `modules'. Stop.

Maintenant :
15:29 root@debian-asterisk /usr/src/bristuff-0.2.0-RC8o/qozap# make
make -C /usr/src/linux-2.6 SUBDIRS=/usr/src/bristuff-0.2.0-RC8o/qozap ZAP=-I/usr/src/bristuff-0.2.0-RC8o/zaptel-1.0.9.2 modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686'
CC [M] /usr/src/bristuff-0.2.0-RC8o/qozap/qozap.o
Building modules, stage 2.
MODPOST
*** Warning: "zt_ec_chunk" [/usr/src/bristuff-0.2.0-RC8o/qozap/qozap.ko] undefined!
*** Warning: "zt_register" [/usr/src/bristuff-0.2.0-RC8o/qozap/qozap.ko] undefined!
*** Warning: "zt_transmit" [/usr/src/bristuff-0.2.0-RC8o/qozap/qozap.ko] undefined!
*** Warning: "zt_receive" [/usr/src/bristuff-0.2.0-RC8o/qozap/qozap.ko] undefined!
*** Warning: "zt_unregister" [/usr/src/bristuff-0.2.0-RC8o/qozap/qozap.ko] undefined!
CC /usr/src/bristuff-0.2.0-RC8o/qozap/qozap.mod.o
LD [M] /usr/src/bristuff-0.2.0-RC8o/qozap/qozap.ko
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686'

Et voila le resultat :
Module Size Used by
agpgart 34664 1 intel_agp
analog 11968 0
ata_piix 8132 0
capability 4520 0
cdrom 40732 1 ide_cd
cfbcopyarea 3872 1 vesafb
cfbfillrect 3776 1 vesafb
cfbimgblt 3040 1 vesafb
commoncap 7232 1 capability
crc_ccitt 2144 1 zaptel
evdev 9600 0
ext3 127240 1
floppy 61200 0
font 8320 0
gameport 4704 1 analog
genrtc 9588 0
ide_cd 42656 0
ide_core 139940 4 ide_cd,ide_generic,piix,ide_disk
ide_disk 19296 3
ide_generic 1408 0
intel_agp 22816 1
ipv6 264740 12
jbd 62616 1 ext3
libata 41700 1 ata_piix
mbcache 9348 1 ext3
mousedev 10476 0
parport 41800 1 parport_pc
parport_pc 36900 0
pci_hotplug 34640 0
pcspkr 3592 0
piix 13440 1
psmouse 20360 0
qozap 17816 0
scsi_mod 125228 2 sd_mod,libata
sd_mod 21728 0
tsdev 7392 0
tulip 47168 0
uhci_hcd 33136 0
unix 28756 18
usbcore 119012 3 uhci_hcd
vesafb 6656 0
zaptel 230532 1 qozap

alex
25/11/2005, 12h26
Bonjour,

ca avance ...
le service asterisk marche sans erreur sous asterisk@home1.5.
la carte quadbri junghanns est activé
les appels en lan interne fonctionnent

j' ai sous le coude un how to pour l' installation de la carte BN4SO quadbri de chez junghanns
sur asterisk@home1.5
demander si vous le voulez (ou éventuellement à proposer ent tant que doc sur ce site....)

Maintenant je dois entré et sortir mes appels et j' avoue que le msidn.conf, zaptel et zapatta.conf m' apparaissent un peu flou.... :roll:
Pour ces entrer/sorites je passe par 1 ligne rnis net et 3 lignes FT avec 10 SDA à répartir sur les différents postes

j' ai essayer de la faire via l' interface AMP en vain..
Un petit coup de pouce sur ces entré/sortie serait très bienvenue (il me reste 1 semaine)
j' ai pas de message en mode *>cli lors de mes essais d' entrer/sortie

Cordialement
Alex