{"id":380,"date":"2010-07-06T22:56:22","date_gmt":"2010-07-06T10:56:22","guid":{"rendered":"http:\/\/www.c2s.co.nz\/blog\/?p=380"},"modified":"2010-07-06T22:56:22","modified_gmt":"2010-07-06T10:56:22","slug":"installing-freepbxv3-in-elastix-2-0-rc3","status":"publish","type":"post","link":"http:\/\/www.c2s.co.nz\/blog\/installing-freepbxv3-in-elastix-2-0-rc3\/","title":{"rendered":"Installing FreePBXv3 in Elastix-2.0 RC3"},"content":{"rendered":"<div class=\"8781ca4f97038dd0d58a1ad8af045721\" data-index=\"3\" style=\"float: none; margin:10px 0 10px 0; text-align:center;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-6411751809866006\";\r\n\/* BlogHorizontalSlim *\/\r\ngoogle_ad_slot = \"6442664612\";\r\ngoogle_ad_width = 468;\r\ngoogle_ad_height = 60;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>Yes it&#8217;s surprisingly easy, and yes you too can have it today!<\/p>\n<p>This is still very much a work-in-progress, as we&#8217;re merging two unfinished products and I&#8217;ve not had enough of a chance to test it thoroughly either so I&#8217;m hoping for some response from the community on this one. I think this is quite possibly the first time that FreePBXv3 has been tied into a major distro, and I reckon it&#8217;d be cool to see Elastix-2.0 support FreePBXv3 officially.<\/p>\n<p>I have however tested Ext&#8217;s registering happily, calling each other, so I know that FreePBXv3 is tied in correctly.<\/p>\n<p>Anyway, I&#8217;ve tar&#8217;d up a slightly older version of FreePBXv3, as they&#8217;re undergoing some design changes right at the moment which mean that the current version doesn&#8217;t install. So, we&#8217;ll be using this.<\/p>\n<p>Total installation should only take about 5 minutes, so this How-To will be nice and short!<\/p>\n<p><!--more-->So what you&#8217;re going to do is start by installing the latest Elastix-2.0 RC3. In my case I used i386.<\/p>\n<p>Once it&#8217;s installed, ssh into the server and run:<\/p>\n<pre>cd \/var\/www\/html\r\nwget http:\/\/c2s.co.nz\/dumpfiles\/freepbxv3.tar.bz2\r\ntar xvjf freepbxv3.tar.bz2\r\ncd freepbxv3\r\nsh preinstall.sh<\/pre>\n<p>It&#8217;s 8.5MB, and this is the snapshot of FreePBXv3 that we&#8217;re going to be using.<\/p>\n<p>I&#8217;ve already modified the preinstall.sh so it uses the user &#8220;asterisk&#8221; instead of &#8220;nobody&#8221;, keeping in line with how Elastix does things.<\/p>\n<p>You&#8217;re going to then run the following commands to upgrade PHP:<\/p>\n<pre>yum install yum-priorities\r\ncd \/etc\/yum.repos.d\/\r\nwget http:\/\/dev.centos.org\/centos\/5\/CentOS-Testing.repo\r\nyum --enablerepo=c5-testing install php\r\n\/etc\/init.d\/httpd restart<\/pre>\n<p>We need PHP-5.2 because of one of the FreePBX dependencies (Kohana) and Elastix only comes with PHP-5.1<\/p>\n<p>Now you need to fire up the Elastix WebUI, but instead of just going to the regular URL, add in \/freepbxv3\/ to the end and you should be greeted with the install window:<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv1-install01.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-381\" title=\"FreePBXv3 install\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv1-install01-300x106.jpg\" alt=\"\" width=\"300\" height=\"106\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv1-install01-300x106.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv1-install01.jpg 823w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Agree, hit Next.<\/p>\n<p>You will be prompted with a pre-flight checklist. It should pass the lot. Again, hit Next.<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-382\" title=\"FreePBXv3 Pre-flight checklist\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install02-300x202.jpg\" alt=\"\" width=\"300\" height=\"202\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install02-300x202.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install02.jpg 787w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now, on the next screen, you&#8217;re going to see the database details.<\/p>\n<p>Set the database to freepbxv3, the username to &#8220;root&#8221; and put in the default Elastix root MySQL password: eLaStIx.2oo7<\/p>\n<p>You might also want to adjust your timezone.<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-383\" title=\"FreePBXv3 database setup\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install03-300x288.jpg\" alt=\"\" width=\"300\" height=\"288\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install03-300x288.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install03.jpg 797w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Now, create a Username and a Password that you will use to access the system. Whatever you enter in here will be the email address used to log you in, it&#8217;ll create the account based off this, so remember the address \/ password you use. Don&#8217;t worry, this account is unique to your Elastix \/ FreePBXv3 installation.<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-384\" title=\"FreePBXv3 admin account\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install04-300x128.jpg\" alt=\"\" width=\"300\" height=\"128\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install04-300x128.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install04.jpg 794w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>On the next screen you need to change it from the FreeSWITCH driver to the Asterisk driver. All the other defaults are fine except the AMI admin password which needs to be changed to &#8220;elastix456&#8221;<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-385\" title=\"FreePBXv3 Telephony engine setup\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install05-300x201.jpg\" alt=\"\" width=\"300\" height=\"201\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install05-300x201.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install05.jpg 791w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The next screen will complain a little about a few bits n pieces relating to Media Management. We&#8217;re going to ignore this for now simply because I&#8217;m lazy. Scroll right the way down and hit &#8220;Next&#8221;, as the default selections suit us fine.<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install06.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-386\" title=\"FreePBXv3 Package selection\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install06-300x253.jpg\" alt=\"\" width=\"300\" height=\"253\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install06-300x253.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install06.jpg 793w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>It will then go through and do the installation of everything:<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install07.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-387\" title=\"FreePBXv3 Installing\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install07-300x118.jpg\" alt=\"\" width=\"300\" height=\"118\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install07-300x118.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install07.jpg 792w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>When that&#8217;s done you&#8217;ll be taken to your newly installed FreePBXv3 system!<\/p>\n<p>One thing I&#8217;ve found is that the default passwords didn&#8217;t seem to work until I modified the password on the accounts. You can do this under Destinations &#8211;&gt; Devices<\/p>\n<p><a href=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install08.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-388\" title=\"FreePBXv3 devices\" src=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install08-300x211.jpg\" alt=\"\" width=\"300\" height=\"211\" srcset=\"http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install08-300x211.jpg 300w, http:\/\/www.c2s.co.nz\/blog\/wp-content\/uploads\/2010\/07\/freepbxv3-install08.jpg 962w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Select Device 1 and choose Edit. Adjust the password and then hit Save.<\/p>\n<p>You should now be able to take a phone and register it using the Username &#8220;sip1&#8221;.<\/p>\n<p>I then did the same for Device 2, registered with &#8220;sip2&#8221; after changing the password, and was able to make calls freely between them.<\/p>\n<p>Granted there&#8217;s a lot more to be tested, but that should be enough to get you pointed in the right direction. I&#8217;d love to hear from some people how they get on with this, and the blog will be updated in-future.<br \/>\nThis has also been cross-posted at http:\/\/blogs.elastix.org\/en\/?p=385<\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Yes it&#8217;s surprisingly easy, and yes you too can have it today! This is still very much a work-in-progress, as we&#8217;re merging two unfinished products and I&#8217;ve not had enough of a chance to test it thoroughly either so I&#8217;m hoping for some response from the community on this one. I think this is quite [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3,4],"tags":[20,55,69],"class_list":["post-380","post","type-post","status-publish","format-standard","hentry","category-elastix-org-blog","category-how-tos-guides-tech-info","tag-asterisk","tag-elastix","tag-freepbxv3"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pWi3e-68","_links":{"self":[{"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":3,"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":391,"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/posts\/380\/revisions\/391"}],"wp:attachment":[{"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.c2s.co.nz\/blog\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}