Asterisk compilieren: Unterschied zwischen den Versionen

Aus metasec wiki
Wechseln zu: Navigation, Suche
Zeile 17: Zeile 17:
 
tar xzf libpri-1.4.10.2.tar.gz
 
tar xzf libpri-1.4.10.2.tar.gz
 
</pre>
 
</pre>
 +
 +
=Sourcen anpassen=
  
 
=Compilieren=
 
=Compilieren=
Zeile 44: Zeile 46:
 
make install
 
make install
  
 +
=Zaptel/DAHDI anpassen=
 +
 +
/etc/modules
 +
 +
=Restart=
  
 
/etc/init.d/asterisk stop
 
/etc/init.d/asterisk stop
 
/etc/init.d/asterisk start
 
/etc/init.d/asterisk start

Version vom 16. November 2009, 21:04 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

Entpacken

tar azf 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 dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
tar xzf libpri-1.4.10.2.tar.gz

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