-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasterisk13-centos5
90 lines (75 loc) · 3.9 KB
/
asterisk13-centos5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
40 #### asterisk --- ähnlich zu http://www.ipcomms.net/sample-device-configurations/41-asterisk/179-asterisk-13-on-centos
51 yum install -y epel-release dmidecode gcc-c++ ncurses-devel libxml2-devel make wget openssl-devel newt-devel kernel-devel sqlite-devel libuuid-devel gtk2-devel jansson-devel binutils-devel
52 yum -y install gcc gcc-c++ ncurses-devel uuid-devel
55 yum install svn
### mpg123 installation
58 yum -y install mpg123 (geht nicht)
65 yum install libtool-ltdl
66 rpm -ivh http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el5/en/x86_64/rpmforge/RPMS/mpg123-1.11.0-1.el5.rf.x86_64.rpm
75 yum -y upgrade
### wget geht nicht wegen TLSv1.0
### alias ghet nicht: (feste Pfade? in configure) alias wget='wget --no-check-certificate'
### wird gebraucht für https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.7.2/pjproject-2.7.2.tar.bz2
226 mv /usr/bin/wget /usr/bin/wget.bin
227 vi /usr/bin/wget
/usr/bin/wget.bin --no-check-certificate $*
228 chmod 755 /usr/bin/wget
### test
229 wget -O- https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.7.2/pjproject-2.7.2.tar.bz2 > /tmp/pjproject-2.7.2.tar.bz2
230 which wget
### janson installation per tar.gz
### git clone -> geht nicht wegen TLSv1.0
### zip von git geht nicht -> autoconf zu alt bei CentOS-5
250 cd /usr/src/
251 ls
252 wget http://www.digip.org/jansson/releases/jansson-1.3.tar.gz
253 wget http://www.digip.org/jansson/releases/
254 curl http://www.digip.org/jansson/releases/
255 wget http://www.digip.org/jansson/releases/jansson-2.4.tar.gz
256 tar xvfz jansson-2.4.tar.gz
257 cd jansson-2.4
258 history
259 ./configure -prefix=/usr/
260 make
261 make install
262 cd
263 cd asterisk-13.21.1
265 make
266 make install
/sbin/ldconfig
41 ## quelle holen
239 wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13.21.1.tar.gz
240 tar xvfz asterisk-13.21.1.tar.gz
241 cd asterisk-13.21.1
242 ./configure --prefix=/appl/asterisk --without-bluetooth --without-curses --without-dahdi --without-gtk2 --without-ical --without-iksemel --without-imap --without-inotify --without-iodbc --without-isdnnet --without-ldap --without-lua --without-misdn --without-mysqlclient --without-neon --without-neon29 --without-netsnmp -without-newt --without-openr2 --without-osptk --without-postgres --without-popt --without-pri --without-radius --without-ss7 --without-suppserv --without-tds --without-tonezone --without-unixodbc --without-vpb --without-x11 --with-pjproject-bundled
243 make menuconfig
244 ##### set callerid enabled
245 ##### steramplayr enapbled
246 contrib/scripts/get_mp3_source.sh
247 make
248 history
249 history -a
###jetzt nur configdateien
267 make basic-pbx
268 mkdir /appl/asterisk/etc/asterisk/basic-pbx
269 mv /appl/asterisk/etc/asterisk/* /appl/asterisk/etc/asterisk/basic-pbx
270 ls /appl/asterisk/etc/asterisk/
271 make samples
273 mkdir /appl/asterisk/etc/asterisk/beispiel
275 mv /appl/asterisk/etc/asterisk/* /appl/asterisk/etc/asterisk/beispiel
276 mv /appl/asterisk/etc/asterisk/beispiel/basic-pbx/ /appl/asterisk/etc/asterisk/
277 ls -al /appl/asterisk/etc/asterisk/beispiel/
278 ls -al /appl/asterisk/etc/asterisk/basic-pbx/
279 cat /appl/asterisk/etc/asterisk/basic-pbx/logger.conf
280 cat /appl/asterisk/etc/asterisk/basic-pbx/modules.conf
281 cat /appl/asterisk/etc/asterisk/basic-pbx/indications.conf
282 cat /appl/asterisk/etc/asterisk/basic-pbx/confbridge.conf
283 cat /appl/asterisk/etc/asterisk/basic-pbx/voicemail.conf
284 cat /appl/asterisk/etc/asterisk/basic-pbx/extensions.conf
285 cat /appl/asterisk/etc/asterisk/basic-pbx/pjsip.conf
287 make clean
299 ls /etc/init.d/asterisk
300 cat /etc/init.d/asterisk
301 history -a
303 history
[root@localhost asterisk-13.21.1]#