First time here? Check out the FAQ!

Пожалуйста, войдите здесь. Часто задаваемые вопросы О нас
Задайте Ваш вопрос

Подскажите где поправить ?

0

Try running ./install_amp --username=user --password=pass (using your own user and pass) все параметры указывал верно Делал по этому мануалу http://globalbt.ru/index.php/54

Опять затык

спросил Feb 19 '13

jr Gravatar jr
1 5 4

Comments

пакеты все установил?

romariosar (Feb 19 '13)edit
  1. Устанавливаем необходимые пакеты:

sudo apt-get update sudo apt-get install php5-mysql libapache2-mod-php5 mysql-server libmysqlclient15-dev php-db php5-gd php-pear sox curl g++ libncurses-dev libxml2-dev subversion libspandsp-dev

sudo -i

  1. Скачиваем исходники Asterisk и устанавливаем:

cd /tmp

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.14.1.tar.gz tar xvzf asterisk-1.8.14.1.tar.gz cd /tmp/asterisk-1.8.14.1 ./configure make install make config make samples

  1. Конфигурируем FreePBX для работы с Asterisk: Запускаем Астериск перед установкой Freepbx /etc/init.d/asterisk start

Скачиваем и устанавливаем freepbx 2.9.0:

cd /tmp wget http://mirror.freepbx.org/freepbx-2.9.0.tar.gz

tar zxvf freepbx-2.9.0.tar.gz cd /tmp/freepbx-2.9.0 ./startasterisk start ./installamp

Меняем только требуемые параметры (остальные оставляем по умолчанию):

Enter your PASSWORD to connect to the 'asterisk' database: [amp109] Pass # Pass - Ваш пароль для пользователя aster

jr (Feb 20 '13)edit

Enter a PASSWORD to connect to the Asterisk Manager interface: [amp111] Pass # Pass - Ваш пароль для пользователя asteriskuser в MySQL

Enter the path to use for your AMP web root: [/var/www/html] /var/www/freepbx # лучше каталог сделать с менее стандартным названием, если веб интерфейс будет торчать напрямую в Инет

Enter a PASSWORD to perform call transfers with the Flash Operator Panel: [passw0rd] Pass

После того выдало такую бяку

jr (Feb 20 '13)edit

root@ipatc:/tmp/freepbx-2.9.0# ./installamp Checking for PEAR DB..OK Checking for PEAR Console::Getopt..OK Checking user..OK Checking if Asterisk is running..running with PID: 27323..OK Checking for /etc/amportal.conf..OK Reading /etc/amportal.conf..OK Checking for /etc/asterisk/asterisk.conf..OK Reading /etc/asterisk/asterisk.conf..OK Using asterisk as PBX Engine Checking for Asterisk version..1.8.14.1 Checking for selinux..PHP Notice: Undefined offset: 0 in /tmp/freepbx-2.9.0/installamp on line 902 OK Connecting to database..OK Checking current version of AMP..2.9.0 Installing new FreePBX files..OK (759 files copied, 0 skipped) Configuring install for your environment..amportal..fpbx..freepbxengine..done apply username/password changes to conf files..done creating missing #include files..sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/manageradditional.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/manager_custom.conf sh: 1: sudo:

jr (Feb 20 '13)edit

Error code 127: trying to create empty file /etc/asterisk/meetmeadditional.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/musiconholdcustom.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/queuesgeneraladditional.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/queuescustomgeneral.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/queuescustom.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/queuesadditional.conf sh: 1: sudo: not found Error code 127: trying to create empty file /etc/asterisk/queuespostcustom.conf OK Setting permissions on files..OK Checking for upgrades..No upgrades found Creating or updating freepbx_conf settings....OK Generating AMP configs.. Generating Configurations.conf, (if Asterisk is not running, you will get an error In case of error, start Asterisk and hit the red bar in the GUI to generate

jr (Feb 20 '13)edit

В конце такое Note: It's possible that if you click the red 'Update Now' bar BEFORE * * updating your modules, your machine will start dropping calls. Ensure * * that all modules are up to date BEFORE YOU CLICK THE RED BAR. As long * * as this is observed, your machine will be fully functional whilst the * * upgrade is in progress.

jr (Feb 20 '13)edit

после установки астериска сделай "make samples", и запусти астериск. И сделай asterisk владельцем папки /etc/asterisk

romariosar (Feb 20 '13)edit

не помогло

jr (Feb 20 '13)edit

файлы все равно не находит

jr (Feb 20 '13)edit

удали /etc/amportal.conf И попробуй накатить FreePBX 2.10, возможно чтото с данной весией:)

romariosar (Feb 20 '13)edit

нифига тоже самое

jr (Feb 20 '13)edit

а что за система? версия php, apache?

romariosar (Feb 20 '13)edit

debian 7.0 beta 4 apache2 php5.3

jr (Feb 20 '13)edit

ставь centos

romariosar (Feb 20 '13)edit

1 Ответ

0

в генетическом коде Хоть немного информации дайте - аргументированно ответят что вводил, что ответило, в чем затык

ссылка удалить убрать флаг спам (1) редактировать

ответил Feb 19 '13

galserg Gravatar galserg
65 11 2 9

Ваш ответ

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[скрыть предварительный просмотр]

Закладки и информация

Добавить закладку

подписаться на rss ленту новостей

Статистика

Задан: Feb 19 '13

Просмотрен: 1,061 раз

Обновлен: Feb 19 '13

Похожие вопросы:

Проект компании "АТС Дизайн"
Asterisk® и Digium® являются зарегистрированными торговыми марками компании Digium, Inc., США.
IP АТС Asterisk распространяется под лицензией GNU GPL.