Nove funkcije #14962
ZatvorenJunghanns, duoBRI , bristuff instalacija Fuelboss Zenica - rc3b bjasko build
Dodano od Jasmin Beganović prije više od 16 godina. Izmjenjeno prije više od 16 godina.
100%
Opis
instalirati karticu, instalirati bristuff
Fajlovi
bristuff-0.4.0-RC3b.tar.gz (270 KB) bristuff-0.4.0-RC3b.tar.gz | Jasmin Beganović, 25.07.2008 09:12 |
Povezani tiketi 2 (0 otvoreno — 2 zatvorenih)
Izmjenjeno od Jasmin Beganović prije više od 16 godina
kartica instalirana u server , podignut i skunut zadnji bristuff
Izmjenjeno od Jasmin Beganović prije više od 16 godina
prekopiran na servrer
bjasko@n-book-bjasko-1:~/Desktop$ scp bristuff-0.4.0-RC3b.tar.gz root@192.168.66.1:/root root@192.168.66.1's password: bristuff-0.4.0-RC3b.tar.gz 100% 270KB 270.4KB/s 00:00
Izmjenjeno od Jasmin Beganović prije više od 16 godina
extractovan
root@m1:~# tar xfz bristuff-0.4.0-RC3b.tar.gz
root@m1:~/bristuff-0.4.0-RC3b# ls -l -h
total 132K -rwxrwxr-x 1 hernad users 436 2007-12-31 23:29 apply-patches.sh -rw-rw-r-- 1 hernad users 23K 2008-06-30 20:09 CHANGES -rwxrwxr-x 1 hernad users 2,8K 2008-06-16 13:25 compile.sh -rwxrwxr-x 1 hernad users 421 2007-06-20 23:03 config.sh drwxr-xr-x 2 hernad users 4,0K 2008-06-10 10:46 cwain -rwxrwxr-x 1 hernad users 2,6K 2008-06-30 20:12 download.sh -rw-rw-r-- 1 hernad users 12K 2007-12-31 23:29 INSTALL -rw-rw-r-- 1 hernad users 21K 2007-12-31 23:30 INSTALL.html -rwxrwxr-x 1 hernad users 46 2007-06-20 21:59 install.sh drwxrwxr-x 2 hernad users 4,0K 2007-12-31 23:30 ISDNguard drwxr-xr-x 2 hernad users 4,0K 2008-06-18 12:09 libgsmat-0.0.4 -rwxrwxr-x 1 hernad users 664 2007-06-28 15:21 pack.sh drwxrwxr-x 9 hernad users 4,0K 2007-12-31 23:30 patches -rwxrwxr-x 1 hernad users 4,1K 2007-10-21 17:45 prereq.sh drwxr-xr-x 2 hernad users 4,0K 2008-01-02 10:25 qozap -rwxrwxr-x 1 hernad users 224 2007-12-31 23:29 quilt.sh drwxrwxr-x 4 hernad users 4,0K 2007-12-31 23:30 SAMPLES drwxrwxr-x 3 hernad users 4,0K 2007-12-31 23:30 TESTING drwxrwxr-x 2 hernad users 4,0K 2007-12-31 23:30 zaphfc drwxr-xr-x 2 hernad users 4,0K 2008-01-02 10:25 ztgsm
root@m1:~/bristuff-0.4.0-RC3b# vi compile.sh
izmjenjeno sa bin/sh na bin/bash te pokrenut install
root@m1:~/bristuff-0.4.0-RC3b# ./install.sh
Izmjenjeno od Jasmin Beganović prije više od 16 godina
install završio bez greške
+---- Asterisk-Addons Build Complete ----+ + + + Addons has successfully been built . + + If you would like to install it : + + + + make install + +---------------------------------------------+ menuselect/menuselect --check-deps menuselect.makeopts Generating embedded module rules ... make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. +---- Asterisk-Addons Installation Complete ----+ + + + Addons has successfully been installed. + + If you would like to install the sample + + configuration files (overwriting any + + existing config files), run: + + + + make samples + +-----------------------------------------------+ **************************************************** Everything installed. BRIstuff Installation finished. ****************************************************
Izmjenjeno od Jasmin Beganović prije više od 16 godina
nakon ovga asterisk se pokreće
root@m1:~/bristuff-0.4.0-RC3b# asterisk -cvvvvvv
..OK
root@m1:~/bristuff-0.4.0-RC3b# genzaptelconf -svdM
/usr/sbin/genzaptelconf: line 1124: /etc/init.d/asterisk: No such file or directory Unloading zaptel modules: Temporarily moving zaptel.conf aside to work around broken modprobe.conf Test Loading modules: - wct4xxp - wcte12xp - wcte11xp - wct1xxp - wanpipe - tor2 - torisa ok qozap - vzaphfc - zaphfc - ztgsm - wctdm24xxp - wctdm - opvxa1200 - wcfxo - pciradio - wcusb - xpp_usb Updating Debian modules list /etc/modules. Generating '/etc/zaptel.conf and /etc/asterisk/zapata-channels.conf' grep: /etc/asterisk/zapata.conf: No such file or directory Note: generated /etc/asterisk/zapata-channels.conf not included in zapata.conf To fix: echo '#include zapata-channels.conf' >>/etc/asterisk/zapata.conf Reconfiguring identified channels Zaptel Version: 1.4.11 Echo Canceller: MG2 Configuration ====================== SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1) SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 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) 6 channels to configure. Changing signalling on channel 1 from Unused to Clear channel Changing signalling on channel 2 from Unused to Clear channel Changing signalling on channel 3 from Unused to HDLC with FCS check Changing signalling on channel 4 from Unused to Clear channel Changing signalling on channel 5 from Unused to Clear channel Changing signalling on channel 6 from Unused to HDLC with FCS check Checking channels configured in Asterisk: Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?)
ne kontam zašto nevidi asterisk
root@m1:~/bristuff-0.4.0-RC3b# cat /etc/zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit # Zaptel Configuration File # # This file is parsed by the Zaptel Configurator, ztcfg # # It must be in the module loading order # Span 1: ztqoz/1/1 "duoBRI PCI ISDN Card 1 Span 1 [TE]" (MASTER) span=1,1,0,ccs,ami # termtype: te bchan=1-2 dchan=3 # Span 2: ztqoz/1/2 "duoBRI PCI ISDN Card 1 Span 2 [TE]" span=2,2,0,ccs,ami # termtype: te bchan=4-5 dchan=6 # Global data loadzone = us defaultzone = us
ovo izgleda OK
Izmjenjeno od Jasmin Beganović prije više od 16 godina
root@m1:~/bristuff-0.4.0-RC3b/qozap# cp zapata.conf.duoBRI /etc/asterisk/zapata.conf
instaliram drivere
root@m1:~/bristuff-0.4.0-RC3b/qozap# modprobe qozap root@m1:~/bristuff-0.4.0-RC3b/qozap# ztcfg
Izmjenjeno od Jasmin Beganović prije više od 16 godina
prosvjetlile su lampice na karitici haman da su driveri OK
Izmjenjeno od Jasmin Beganović prije više od 16 godina
asterisk se pokreče ali nema zap kanala
root@m1:/etc/asterisk# asterisk -r
Asterisk 1.4.21.1-BRIstuffed-0.4.0-RC3b, Copyright (C) 1999 - 2008 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================= Connected to Asterisk 1.4.21.1-BRIstuffed-0.4.0-RC3b currently running on m1 (pid = 20616) m1*CLI>
Izmjenjeno od Jasmin Beganović prije više od 16 godina
resetovao sam server i onda prikiom pokretanja steriska vidio
Unable to open logger.conf: No such file or directory; default settings will be used. Asterisk Event Logger Started /var/log/asterisk/event_log [Jul 24 13:48:35] ERROR[14731]: asterisk.c:2985 main: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection. You have options: 1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support. 2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload zaptel modules if you don't need them. 3. If you need Zaptel services, you must correctly configure Zaptel. root@m1:~#
Izmjenjeno od Jasmin Beganović prije više od 16 godina
nema ovog modules.conf nije ni čudo što ne loadira module
Asterisk Dynamic Loader Starting: [Jul 24 14:12:47] WARNING[2550]: loader.c:770 load_modules: No 'modules.conf' found, no modules will be loaded. Asterisk Ready.
Izmjenjeno od Jasmin Beganović prije više od 16 godina
prekopirao modules.conf sa rmlh instalacije i onda je proferceralo
testirali poziv
147 modules loaded *CLI> -- Extension '0200271' in context 'from-pstn' from '061477105' does not exist. Rejecting call on channel 0/2, span 1
Izmjenjeno od Jasmin Beganović prije više od 16 godina
- Status promijenjeno iz Novo u Zatvoreno
- % završeno promijenjeno iz 0 u 100
Izmjenjeno od Jasmin Beganović prije više od 16 godina
- Fajl bristuff-0.4.0-RC3b.tar.gz bristuff-0.4.0-RC3b.tar.gz dodano
Izmjenjeno od Jasmin Beganović prije više od 16 godina
ali ima problem nakon restarta mora se ponovo odraditi genzaptelconf -svdM
kao da se moduli ne loadiraju ili pri boot-u ili u asterisk
Izmjenjeno od Jasmin Beganović prije više od 16 godina
root@m1:~# ztcfg -vv
Zaptel Version: 1.4.11 Echo Canceller: MG2 Configuration ====================== SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1) SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 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) 6 channels to configure.
nakon ovoga asterisk prihvati module ??? , moduli su inače ubačeni normalno u /etc/modules
Izmjenjeno od Jasmin Beganović prije više od 16 godina
što je najgore ovo gore samo odradi reload zaptel.conf-a pokušaću ubaciti reload u rc.local pa da vidimo
Izmjenjeno od Jasmin Beganović prije više od 16 godina
ubacio u rc.local
/sbin/ztcfg -vvvv & sleep 10 /etc/init.d/asterisk start &
Izmjenjeno od Jasmin Beganović prije više od 16 godina
iako moram reči da je instalacija ovih Junghanns pakiranih drivera i asteriska bezveze, po pokretanju se uopšte nema kontrole nad procesima niti error outputom osim ako instalacija pukne.
ne kreiraju se init skripte , inicijelna podešenja itd itd
Izmjenjeno od Ernad Husremović prije više od 16 godina
ovo treba biti na asterisk području
Izmjenjeno od Ernad Husremović prije više od 16 godina
- Naslov promijenjeno iz Junghanns, duoBRI , bristuff instalacija Fuelboss Zenica u Junghanns, duoBRI , bristuff instalacija Fuelboss Zenica - rc3b bjasko build
Izmjenjeno od Ernad Husremović prije više od 16 godina
Pregledom ovog ticketa uočio sam da se jasko nije uopšte vezao na predhodne aktivnosti (nije stavio vezane tickete)
da je pregledao po starim ticketima već bi našao da postoji #14534 otvoren ticket
Izmjenjeno od Ernad Husremović prije više od 16 godina
e sad na pomenutom ticketu se vidi da je moja namjera da se sve ovo stavi i odražava u git repos-u sve to je iznad vještina jaskovih pa sam zato ja i rekao da ako ovo ne završim da se ide na postojeći oprobani build iz rmlh
ali je moja greška opet što sam to usmeno rekao jasku ... uh po milioniti put se vidi da se ovakvi razgovori trebaju isključivo voditi preko ticketa ...
Izmjenjeno od Ernad Husremović prije više od 16 godina
međutim jesam napisao, #15009 - podrška, veza sa predhodnim događajima - lanac aktvinosti, ali se toga bjasko nije držao prilikom rada na ovom zadatku