Спасибо, помогло. Скажите, а где взять шаблоны других таблиц. Сейчас стал ругаться на Table 'asterisk.outbound_routes' doesn't exist.
ipvinner ( 2011-11-30 18:21:19 +0400 )редактироватьНе помогло. Все равно вот такая ошибка(
exit: 1
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking for /etc/amportal.conf ..OK
Bootstrapping /etc/amportal.conf ..OK
Parsing /etc/amportal.conf ..OK
Parsing /etc/asterisk/asterisk.conf ..OK
Connecting to database..OK
PHP Warning: Missing argument 1 for connectdirs::create(), called in /var/lib/asterisk/bin/retrieveconf on line 441 and defined in /var/lib/asterisk/bin/retrieveconf on line 13
Connecting to Asterisk manager interface..OK
Added to globals: ASTETCDIR = /etc/asterisk
Added to globals: ASTMODDIR = /usr/lib/asterisk/modules
Added to globals: ASTVARLIBDIR = /var/lib/asterisk
Added to globals: ASTAGIDIR = /var/lib/asterisk/agi-bin
Added to globals: ASTSPOOLDIR = /var/spool/asterisk
Added to globals: ASTRUNDIR = /var/run/asterisk
Added to globals: ASTLOGDIR = /var/log/asterisk
Added to globals: CWINUSEBUSY = true
Added to globals: AMPMGRUSER = admin
Added to globals: AMPMGRPASS = elastix456
Added to globals: AMPDBENGINE = mysql
Added to globals: AMPDBHOST = localhost
Added to globals: AMPDBNAME = asterisk
Added to globals: AMPDBUSER = asteriskuser
Added to globals: AMPDBPASS = gieB7Due6eit
[FATAL] SELECT a., b.seq FROM outbound_routes
a JOIN outbound_route_sequence
b ON a.route_id = b.route_id ORDER BY seq
[nativecode=1146 * Table 'asterisk.outboundroutesequence' doesn't exist]SQL -
SELECT a.*, b.seq FROM outbound_routes
a JOIN outbound_route_sequence
b ON a.routeid = b.routeid ORDER BY seq
1 error(s) occurred, you should view the notification log on the dashboard or main screen to check for more details.
ipvinner ( 2011-12-02 11:54:14 +0400 )редактироватьУ вас я так понимаю вообще таблиц нет, переустанавливайте FreePBX или залейте его шаблонную базу.
shakirov ( 2011-12-02 12:09:46 +0400 )редактироватьТаблица есть. Я ее руками через консоль mysql добавил. Но ошибка все равно. Переустановить - это я уже в последнюю очередь попробую.
ipvinner ( 2011-12-02 12:32:30 +0400 )редактировать