{"id":57,"date":"2008-01-22T22:03:30","date_gmt":"2008-01-22T14:03:30","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/general-asterisk-installation-instructions\/"},"modified":"2008-04-21T08:38:18","modified_gmt":"2008-04-21T00:38:18","slug":"general-asterisk-installation-instructions","status":"publish","type":"post","link":"http:\/\/www.sysadmindayph.com\/blog\/general-asterisk-installation-instructions\/","title":{"rendered":"General Asterisk Installation Instructions"},"content":{"rendered":"<p>After reading the <a href=\"http:\/\/www.sysadmindayph.com\/blog\/asterisk-overview-an-open-source-voip-application\/\">Asterisk Overview<\/a> a few post back, let&#8217;s continue with our adventure in the world of Asterisk &#8211; the open source telephone toolkit.<\/p>\n<p>We need to do two things (that is, two steps) in order install Asterisk on our vmware powered Red hat enterprise server:<\/p>\n<ol>\n<li>Get the source code<\/li>\n<li>Compile to produce the binaries<\/li>\n<\/ol>\n<p>http:\/\/www.asteriskguru.com\/tutorials\/general_asterisk_installation_compilation.html<\/p>\n<p><strong>Get the Source Code<\/strong><\/p>\n<p>Click the links below to get a copy of Asterisk<\/p>\n<p class=\"tab\">\n<p class=\"tab\">Asterisk 1.2.4<br \/>\nZaptel 1.2.4<br \/>\nLibpri 1.2.2<\/p>\n<p>Asterisk-sounds 1.2.1 &#8211; Additional sound prompts<br \/>\nAsterisk-addons 1.2.1 &#8211; Additional modules<br \/>\nOr to get the latest version with the latest update, get the source of Asterisk from the CVS server:<\/p>\n<p>To get a fresh copy from the CVS server use these commands:<\/p>\n<p># cd \/usr\/src<br \/>\n#mkdir asterisk<br \/>\n# export CVSROOT=:pserver:anoncvs@cvs.digium.com:\/usr\/cvsroot<br \/>\n# cvs login<\/p>\n<p><strong>Compiling Asterisk<br \/>\n<\/strong><\/p>\n<p>To install Asterisk, we need to update (if you <a href=\"http:\/\/elizar.palad.info\/blog\/how-to-search-and-donwload-mp3-for-free\/\" target=\"_self\">donwloaded<\/a> the source) and change to that asterisk directory. Example:<\/p>\n<p>#cd \/usr\/src\/asterisk<\/p>\n<p>You can then start the compiling process&#8230;<br \/>\nFollow this installation order: libpri, zaptel, asterisk<\/p>\n<p>-Installing libpri<\/p>\n<p>#cd \/usr\/src\/asterisk\/libpri<br \/>\n#make clean<br \/>\n#make<br \/>\n#make install<\/p>\n<p>-Installing zaptel<\/p>\n<p>#cd \/usr\/src\/asterisk\/zaptel<br \/>\n#make clean<\/p>\n<p>Note: If you are using kernel 2.6 enter the following command &#8216;#make linux26&#8217;, before doing &#8216;#make install&#8217;.<\/p>\n<p>#make install<\/p>\n<p>-Installing asterisk<\/p>\n<p>#cd \/usr\/src\/asterisk\/asterisk<br \/>\n#make clean<\/p>\n<p>Note: If you want to use a mp3 files for music-on-hold enter the following command &#8216;#make mpg123&#8217;, before doing &#8216;#make install&#8217;.<\/p>\n<p>#make install<\/p>\n<p>If this is your first installation perform &#8216;make samples&#8217; to install sample configuration files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After reading the Asterisk Overview a few post back, let&#8217;s continue with our adventure in the world of Asterisk &#8211; the open source telephone toolkit. We need to do two things (that is, two steps) &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-voip"],"_links":{"self":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}