Asterisk install

From sailpbx
Revision as of 19:42, 10 April 2012 by Adminwiki (talk | contribs) (Created page with "===Installing_Asterisk using Digium supplied RPMS=== To install the Digium rpms you must first define the Digium repos to SME Server. At the linux command prompt type the follow…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Installing_Asterisk using Digium supplied RPMS

To install the Digium rpms you must first define the Digium repos to SME Server. At the linux command prompt type the following (it's probably best to cut and paste the two multi-line commands):-

/sbin/e-smith/db yum_repositories set asterisk-current repository \ Name 'CentOS-$releasever - Asterisk - Current' \ BaseURL 'http://packages.asterisk.org/centos/$releasever/current/$basearch/' \ EnableGroups no \ GPGCheck no \ GPGKey <a target="_top" href="http://packages.asterisk.org/RPM-GPG-KEY-Digium">http://packages.asterisk.org/RPM-GPG-KEY-Digium</a> \ Visible no \ Exclude freetype,htop,iptraf,rsync,syslinux \ status disabled

/sbin/e-smith/db yum_repositories set digium-current repository \ Name 'CentOS-$releasever - Digium - Current' \ BaseURL 'http://packages.digium.com/centos/$releasever/current/$basearch/' \ EnableGroups no \ GPGCheck no \ GPGKey <a target="_top" href="http://packages.digium.com/RPM-GPG-KEY-Digium">http://packages.digium.com/RPM-GPG-KEY-Digium</a> \ Visible no \ Exclude freetype,htop,iptraf,rsync,syslinux \ status disabled

signal-event yum-modify This should generate the necessary repos in /etc/yum.smerepos.d/sme-base.repo You can now go ahead and install asterisk with the following command... yum install asterisk14 asterisk14-configs asterisk14-voicemail dahdi-linux dahdi-tools asterisk-sounds-extra-en-ulaw asterisk-sounds-moh-opsound-ulaw --enablerepo=* This command will queue some 20 or so rpms for installation. It may also include a new kernel if your kernel is older than the one that Asterisk wants. If a new kernel is installed then you will ned to reboot your system to pick it up. This install sequence is also covered in the Digium install guide (the Digium guide installs Asterisk16, but everything else is much the same). You can find the guide at <a target="_top" href="http://www.asterisk.org/downloads/yum">http://www.asterisk.org/downloads/yum</a> If you wish to run mysql CDR records you may also wish to install the asterisk addons package... yum install asterisk14-addons-mysql --enablerepo=asterisk-current