Asterisk-Repository einbinden

Asterisk Logo

Im nächsten Schritt binden wir das Asterisk-Repository von http://www.asterisk.org ein. Mit Hilfe dieser Paketquelle erschlagen wir gleich zwei wesentliche Punkte.

  1. wir können die Programmpakete direkt via yum installieren und müssen die Progamme nicht selbst aus den Quellen übersetzen und installieren
  2. Sobald neue Versionen von Asterisk veröffentlich werden, können wir dies über den Updatemechanismus einfach installieren. (Wie immer Onkel Peer zu sagen pflegte: „Patches, die nicht eingespielt werden, nützen nichts“1) )

Wir wechseln als erstes in das Konfigurationsverzeichenis.

# cd /etc/yum.repos.d/

Nun legen wir die Repository-Konfigurationsdatei centos-asterisk.repo an.

# vim centos-asterisk.repo
[asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
priority=10
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
priority=10
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

Anschließend legen wir noch die Datei centos-digium.repo an.

# vim centos-digium.repo
[digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=0
gpgcheck=0
priority=10
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=1
gpgcheck=0
priority=10
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

Zum Schluss (durch)suchen wir die beiden Repositories nach den gewünschten Inhalten.

# yum search asterisk
# yum search asterisk mISDN
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
660 packages excluded due to repository priority protections
================================================= Matched: asterisk, mISDN ==================================================
asterisk14-misdn.i386 : mISDN channel driver for Asterisk
asterisk16-misdn.i386 : mISDN channel driver for Asterisk

===================================================== Matched: asterisk =====================================================
asterisk14-codec_g729a.i686 : codec_g729a module for Asterisk
asterisk14-codec_g729a.i386 : codec_g729a module for Asterisk
asterisk14-res_fax.i386 : res_fax module for Asterisk
asterisk14-res_fax_digium.i386 : res_fax_digium module for Asterisk
asterisk16-codec_g729a.i686 : codec_g729a module for Asterisk
asterisk16-codec_g729a.i386 : codec_g729a module for Asterisk
asterisk16-res_fax.i386 : res_fax module for Asterisk
asterisk16-res_fax_digium.i386 : res_fax_digium module for Asterisk
asterisk-addons.i386 : Addons package for Asterisk, The Open Source PBX
asterisk-addons-core.i386 : Asterisk-addons core package.
asterisk-addons-mysql.i386 : mysql modules for Asterisk
asterisk-addons-ooh323.i386 : chan_ooh323 module for Asterisk
asterisk-gui.noarch : Graphical User Interface (GUI) for Asterisk, The Open Source PBX
asterisk-sounds.noarch : Sound files for the Asterisk PBX and telephony application and toolkit
asterisk-sounds-core-en-alaw.noarch : Asterisk core sounds - en - alaw.
asterisk-sounds-core-en-gsm.noarch : Asterisk core sounds - en - gsm.
asterisk-sounds-core-en-ulaw.noarch : Asterisk core sounds - en - ulaw.
asterisk-sounds-core-es-alaw.noarch : Asterisk core sounds - es - alaw.
asterisk-sounds-core-es-gsm.noarch : Asterisk core sounds - es - gsm.
asterisk-sounds-core-es-ulaw.noarch : Asterisk core sounds - es - ulaw.
asterisk-sounds-core-fr-alaw.noarch : Asterisk core sounds - fr - alaw.
asterisk-sounds-core-fr-gsm.noarch : Asterisk core sounds - fr - gsm.
asterisk-sounds-core-fr-ulaw.noarch : Asterisk core sounds - fr - ulaw.
asterisk-sounds-extra-en-alaw.noarch : Asterisk extra sounds - en - alaw.
asterisk-sounds-extra-en-gsm.noarch : Asterisk extra sounds - en - gsm.
asterisk-sounds-extra-en-ulaw.noarch : Asterisk extra sounds - en - ulaw.
asterisk-sounds-moh-opsound-alaw.noarch : Asterisk Music on Hold - opsound - alaw.
asterisk-sounds-moh-opsound-ulaw.noarch : Asterisk Music on Hold - opsound - ulaw.
asterisk-sounds-moh-opsound-wav.noarch : Asterisk Music on Hold - opsound - wav.
asterisk14.i386 : Asterisk, The Open Source PBX
asterisk14-addons.i386 : Addons package for Asterisk, The Open Source PBX
asterisk14-addons-core.i386 : Asterisk-addons core package.
asterisk14-addons-mysql.i386 : mysql modules for Asterisk
asterisk14-addons-ooh323.i386 : chan_ooh323 module for Asterisk
asterisk14-alsa.i386 : Alsa channel driver for Asterisk
asterisk14-configs.i386 : Basic configuration files for Asterisk
asterisk14-core.i386 : Asterisk core package without any "extras".
asterisk14-curl.i386 : cURL application module for Asterisk
asterisk14-dahdi.i386 : DAHDI channel driver for Asterisk
asterisk14-devel.i386 : Static libraries and header files for Asterisk development
asterisk14-doc.i386 : Documentation files for Asterisk
asterisk14-odbc.i386 : Open Database Connectivity (ODBC) drivers for Asterisk
asterisk14-ogg.i386 : Ogg-Vorbis codec module for Asterisk
asterisk14-pgsql.i386 : Postgresql modules for Asterisk
asterisk14-skypeforasterisk.i386 : SkypeForAsterisk module for Asterisk
asterisk14-snmp.i386 : snmp resource module for Asterisk
asterisk14-tds.i386 : tds modules for Asterisk
asterisk14-voicemail.i386 : Voicemail with file storage module for Asterisk
asterisk14-voicemail-imapstorage.i386 : Voicemail with IMAP storage module for Asterisk
asterisk14-voicemail-odbcstorage.i386 : Voicemail with ODBC storage module for Asterisk
asterisk16.i386 : Asterisk, The Open Source PBX
asterisk16-addons.i386 : Addons package for Asterisk, The Open Source PBX
asterisk16-addons-bluetooth.i386 : bluetooth modules for Asterisk
asterisk16-addons-core.i386 : Asterisk-addons core package.
asterisk16-addons-mysql.i386 : mysql modules for Asterisk
asterisk16-addons-ooh323.i386 : chan_ooh323 module for Asterisk
asterisk16-alsa.i386 : Alsa channel driver for Asterisk
asterisk16-configs.i386 : Basic configuration files for Asterisk
asterisk16-core.i386 : Asterisk core package without any "extras".
asterisk16-curl.i386 : cURL application module for Asterisk
asterisk16-dahdi.i386 : DAHDI channel driver for Asterisk
asterisk16-devel.i386 : Static libraries and header files for Asterisk development
asterisk16-doc.i386 : Documentation files for Asterisk
asterisk16-odbc.i386 : Open Database Connectivity (ODBC) drivers for Asterisk
asterisk16-ogg.i386 : Ogg-Vorbis codec module for Asterisk
asterisk16-pgsql.i386 : Postgresql modules for Asterisk
asterisk16-resample.i386 : resampling codec module for Asterisk
asterisk16-skypeforasterisk.i386 : SkypeForAsterisk module for Asterisk
asterisk16-snmp.i386 : snmp resource module for Asterisk
asterisk16-sqlite3.i386 : sqlite3 drivers for Asterisk
asterisk16-tds.i386 : tds modules for Asterisk
asterisk16-voicemail.i386 : Voicemail with file storage module for Asterisk
asterisk16-voicemail-imapstorage.i386 : Voicemail with IMAP storage module for Asterisk
asterisk16-voicemail-odbcstorage.i386 : Voicemail with ODBC storage module for Asterisk
asterisknow-version.noarch : AsteriskNOW version and repository files
benchfax.i386 : Digium Fax For Asterisk benchmark utility
codec_g729a.i386 : codec_g729a module for Asterisk
dahdi-firmware.noarch : Firmware files for DAHDI
dahdi-firmware-oct6114-064.noarch : Firmware for oct6114-064
dahdi-firmware-oct6114-128.noarch : Firmware for oct6114-128
dahdi-firmware-tc400m.noarch : Firmware for tc400m
dahdi-firmware-vpmadt032.noarch : Firmware for vpmadt032
dahdi-linux.i386 : The DAHDI project
dahdi-linux-devel.i386 : DAHDI libraries and header files for development
dahdi-linux-hpec-kmod-base.i686 : The DAHDI project - HPEC echocan module
dahdi-linux-kmod-base.i686 : The DAHDI project
dahdi-tools.i386 : The DAHDI project
dahdi-tools-doc.i386 : Documentation files for DAHDI
kmod-dahdi-linux.i686 : dahdi-linux kernel module(s)
kmod-dahdi-linux-PAE.i686 : dahdi-linux kernel module(s)
kmod-dahdi-linux-fwload-vpmadt032.i686 : dahdi-linux-fwload-vpmadt032 kernel module(s)
kmod-dahdi-linux-fwload-vpmadt032-PAE.i686 : dahdi-linux-fwload-vpmadt032 kernel module(s)
kmod-dahdi-linux-fwload-vpmadt032-xen.i686 : dahdi-linux-fwload-vpmadt032 kernel module(s)
kmod-dahdi-linux-hpec.i686 : dahdi-linux-hpec kernel module(s)
kmod-dahdi-linux-hpec-PAE.i686 : dahdi-linux-hpec kernel module(s)
kmod-dahdi-linux-hpec-xen.i686 : dahdi-linux-hpec kernel module(s)
kmod-dahdi-linux-xen.i686 : dahdi-linux kernel module(s)
kmod-r8101.i686 : r8101 kernel module(s)
kmod-r8101-PAE.i686 : r8101 kernel module(s)
kmod-r8168.i686 : r8168 kernel module(s)
kmod-r8168-PAE.i686 : r8168 kernel module(s)
kmod-r8168-xen.i686 : r8168 kernel module(s)
libpri.i386 : Implementation of the Primary Rate ISDN specification
libpri-devel.i386 : Header files and development libraries for libpri
libresample.i386 : libresample, Real-time library interface by Dominic Mazzoni
libresample-devel.i386 : libresample development packages
libss7.i386 : Libss7, an open source implementation of Signalling System 7 (SS7)
libss7-devel.i386 : Libss7 libraries and header files for libss7 development
libtonezone.i386 : Libtonezone, from the open source DAHDI project
libtonezone-devel.i386 : Libtonezone libraries and header files for libtonezone development
r8101-kmod-base.i686 : Realtek 8101E/8102E/8103E-GR kernel module
r8168-kmod-base.i686 : Realtek 8168x/8111x kernel module
udhcp.i386 : udhcp, for autoprovisioning
yum-repos-asterisk.noarch : Asterisk yum repository files

====================================================== Matched: mISDN =======================================================
kmod-mISDN.i686 : mISDN kernel module(s)
kmod-mISDN-PAE.i686 : mISDN kernel module(s)
kmod-mISDN-xen.i686 : mISDN kernel module(s)
mISDN.i386 : The mISDN project
mISDN.i686 : The mISDN project
mISDN-devel.i386 : mISDN libraries and header files for development
mISDN-devel.i686 : mISDN libraries and header files for development
mISDN-kmod-base.i686 : mISDN
mISDNuser.i386 : The mISDNuser project
mISDNuser-devel.i386 : Libraries and header files for mISDNuser development
1)
Zitat aus:
Das Postfix-Buch
ISBN 987-3-937514-50-5 Kapitel 19.7

… und wo er Recht hat, hat er Recht