Поиск по моему блогу

Installing FreePBXv3 in Elastix-2.0 RC3 - Установка FreePBXv3 в Elastix-2.0 RC3

Yes it’s surprisingly easy, and yes you too can have it today!

This is still very much a work-in-progress, as we’re merging two unfinished products and I’ve not had enough of a chance to test it thoroughly either so I’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’d be cool to see Elastix-2.0 support FreePBXv3 officially.

I have however tested Ext’s registering happily, calling each other, so I know that FreePBXv3 is tied in correctly.

Anyway, I’ve tar’d up a slightly older version of FreePBXv3, as they’re undergoing some design changes right at the moment which mean that the current version doesn’t install. So, we’ll be using this.

Total installation should only take about 5 minutes, so this How-To will be nice and short!

So what you’re going to do is start by installing the latest Elastix-2.0 RC3. In my case I used i386.

Once it’s installed, ssh into the server and run:
 cd /var/www/html
wget http://c2s.co.nz/dumpfiles/freepbxv3.tar.bz2
tar xvjf freepbxv3.tar.bz2
cd freepbxv3
sh preinstall.sh
It’s 8.5MB, and this is the snapshot of FreePBXv3 that we’re going to be using.

I’ve already modified the preinstall.sh so it uses the user “asterisk” instead of “nobody”, keeping in line with how Elastix does things.

You’re going to then run the following commands to upgrade PHP:
 yum install yum-priorities
cd /etc/yum.repos.d/
wget http://dev.centos.org/centos/5/CentOS-Testing.repo
yum --enablerepo=c5-testing install php
/etc/init.d/httpd restart
We need PHP-5.2 because of one of the FreePBX dependencies (Kohana) and Elastix only comes with PHP-5.1

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:


Agree, hit Next.

You will be prompted with a pre-flight checklist. It should pass the lot. Again, hit Next.


Now, on the next screen, you’re going to see the database details.

Set the database to freepbxv3, the username to “root” and put in the default Elastix root MySQL password: eLaStIx.2oo7

You might also want to adjust your timezone.



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’ll create the account based off this, so remember the address / password you use. Don’t worry, this account is unique to your Elastix / FreePBXv3 installation.


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 “elastix456″


The next screen will complain a little about a few bits n pieces relating to Media Management. We’re going to ignore this for now simply because I’m lazy. Scroll right the way down and hit “Next”, as the default selections suit us fine.


It will then go through and do the installation of everything:


When that’s done you’ll be taken to your newly installed FreePBXv3 system!

One thing I’ve found is that the default passwords didn’t seem to work until I modified the password on the accounts. You can do this under Destinations –> Devices


Select Device 1 and choose Edit. Adjust the password and then hit Save.

You should now be able to take a phone and register it using the Username “sip1″.

I then did the same for Device 2, registered with “sip2″ after changing the password, and was able to make calls freely between them.

Granted there’s a lot more to be tested, but that should be enough to get you pointed in the right direction. I’d love to hear from some people how they get on with this, and the blog will be updated in-future.

This has also been cross-posted at http://www.c2s.co.nz/blog/?p=380
____________________________________

ПЕРЕВОД по РУССКОМУ
____________________________________

Установка FreePBXv3 в Elastix-2.0 RC3
Да, это удивительно легко, да и вы тоже можете иметь уже сегодня!

Это еще очень много работы-в-прогресс, как мы слияния двух незавершенного производства и я не имел достаточно шансов, чтобы проверить это тщательно либо поэтому я надеюсь, для некоторых ответ от сообщества на этом. Я думаю, это вполне возможно, первый случай, когда FreePBXv3 был привязан к основной дистрибутив, и я думаю, это было бы здорово видеть Elastix-2.0 FreePBXv3 официально.

Я однако испытания Ext-регистрации счастливо, называя друг друга, так что я знаю, что FreePBXv3 связана правильно.

Во всяком случае, я tar'd до чуть более старая версия FreePBXv3, так как они проходят некоторые конструктивные изменения в тот момент, который означает, что текущая версия не устанавливается. Таким образом, мы будем использовать это.

Всего установка займет всего 5 минут, так что это How-To будет красиво и короткий!

Итак, что вы собираетесь сделать, это начать с установки последней Elastix-2.0 RC3. В моем случае я использовал i386.

Как только это установлено, SSH на сервер и запустите:
 кд / VAR / WWW / HTML
Wget http://c2s.co.nz/dumpfiles/freepbxv3.tar.bz2
смолы xvjf freepbxv3.tar.bz2
кд freepbxv3
ш preinstall.sh
Это 8.5MB, и это снимок FreePBXv3, что мы собираемся использовать.

Я уже изменил preinstall.sh поэтому он использует пользователь "Звездочка" вместо "никто", держа в соответствии с тем, как Elastix делает вещи.

Вы собираетесь запустить следующие команды для обновления PHP:
 ням ням-установить приоритеты
кд / и т.д. / yum.repos.d /
Wget http://dev.centos.org/centos/5/CentOS-Testing.repo
ням - enablerepo = с5-тестирование установки PHP
/ И т.д. / init.d / HTTPD перезагрузить
Нам нужны PHP-5.2 по одной из FreePBX зависимости (Кохана) и Elastix приходит только с PHP-5.1

Теперь вам нужно запустить Elastix WebUI, но вместо того, только собираюсь регулярные URL, добавьте в / freepbxv3 / до конца, и вы должны увидеть окно программы установки:


Согласитесь, нажмите Далее.

Вам будет предложено с предполетной перечень. Он должен пройти много. Опять же, нажмите Далее.


Теперь, на следующем экране вы увидите базу данных деталей.

Установить базу данных для freepbxv3, имя пользователя в "корень" и положить в корень по умолчанию Elastix MySQL пароль: eLaStIx.2oo7

Вы также можете настроить ваш часовой пояс.


Теперь создайте Имя пользователя и пароль, которые вы будете использовать для доступа к системе. Что бы вы вступить в здесь будет адрес электронной почты, используемый для входа вас, она будет создавать счетов в зависимости от этого, так что помните адрес / пароль который вы используете. Не волнуйтесь, этот счет является уникальным для вашего Elastix / FreePBXv3 установки.


На следующем экране вы должны изменить его у водителя FreeSWITCH к Asterisk водителя. Все остальные значения по умолчанию отлично, за исключением пароля AMI администратора, который должен быть изменен на "elastix456"


На следующем экране будет жаловаться немного о нескольких бит н частей, относящаяся к управлению медиа. Мы собираемся игнорировать это сейчас просто потому, что я ленивый. Прокрутка вправо вниз и нажмите кнопку "Далее", а выбор по умолчанию нас устраивают штраф.


Он будет затем пройти и сделать установку все:


Когда это будет сделано, вы попадете на вновь установленные FreePBXv3 системы!

Одна вещь, я обнаружил, что пароли по умолчанию, казалось, не работать, пока я изменил пароль на счетах. Вы можете сделать это под Направления -> Устройства


Выбор устройства 1 и выберите Изменить. Отрегулируйте пароль, а затем нажмите Сохранить.

Теперь вы должны быть в состоянии взять телефон и зарегистрировать его, используя Имя пользователя "SIP1".

Затем я сделал то же самое для устройств 2, зарегистрированное "sip2" после изменения пароля, и был в состоянии свободно совершать звонки между ними.

Конечно есть намного больше, чтобы быть проверены, но это должно быть достаточно, чтобы вы указали в правильном направлении. Я хотел бы услышать от некоторых людей, как они уживаются с этим, и блог будет обновляться в будущем.

Источник http://blogs.elastix.org/en/2010/07/installing-freepbxv3-in-elastix-2-0-rc3/

Комментариев нет:

Реклама от BigBN