Asterisk compilieren: Unterschied zwischen den Versionen

Aus metasec wiki
Wechseln zu: Navigation, Suche
Zeile 8: Zeile 8:
 
wget http://dl.metasec.de/zphone/agx-ast-addons.tar.gz
 
wget http://dl.metasec.de/zphone/agx-ast-addons.tar.gz
 
</pre>
 
</pre>
 +
 +
oder einfach:
 +
<pre>
 +
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.4.9.tar.gz \
 +
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.26.3.tar.gz \
 +
http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz  \
 +
http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz \
 +
http://dl.metasec.de/zphone/agx-ast-addons.tar.gz
 +
</pre>
 +
  
 
=Entpacken=
 
=Entpacken=
 
<pre>
 
<pre>
tar azf asterisk-1.4.26.3.tar.gz
 
 
tar xzf asterisk-1.4.26.3.tar.gz
 
tar xzf asterisk-1.4.26.3.tar.gz
 
tar xzf asterisk-addons-1.4.9.tar.gz
 
tar xzf asterisk-addons-1.4.9.tar.gz
Zeile 17: Zeile 26:
 
tar xzf libpri-1.4.10.2.tar.gz
 
tar xzf libpri-1.4.10.2.tar.gz
 
</pre>
 
</pre>
 +
 +
=Zusätzliche Software=
 +
 +
bitte benötigte Pakete wie folgt installieren -> [[Bristuff_compilieren]]
  
 
=Sourcen anpassen=
 
=Sourcen anpassen=
 +
 +
  
 
=Compilieren=
 
=Compilieren=

Version vom 23. November 2009, 11:14 Uhr

Download

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.4.9.tar.gz
wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.26.3.tar.gz
wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz  
wget http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz
wget http://dl.metasec.de/zphone/agx-ast-addons.tar.gz

oder einfach:

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addons-1.4.9.tar.gz \
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.26.3.tar.gz \
http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/releases/dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz  \
http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.2.tar.gz \
http://dl.metasec.de/zphone/agx-ast-addons.tar.gz


Entpacken

tar xzf asterisk-1.4.26.3.tar.gz
tar xzf asterisk-addons-1.4.9.tar.gz
tar xzf dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
tar xzf libpri-1.4.10.2.tar.gz

Zusätzliche Software

bitte benötigte Pakete wie folgt installieren -> Bristuff_compilieren

Sourcen anpassen

Compilieren

libpro

apt-get --reinstall install linux-kbuild-2.6.18

dahdi

asterisk + agx patches addon_version nach asterisk koperen apps kopieren + funcs kopieren

./configure make menu_config make

rm -rf /usr/lib/asterisk/modules/*

make install


asterisk-addon ./configure make make install

Zaptel/DAHDI anpassen

/etc/modules

Restart

/etc/init.d/asterisk stop /etc/init.d/asterisk start


more

libmysqlclient15-dev