Общее·количество·просмотров·страницы

среда, 17 февраля 2016 г.

Unable to connect to remote asterisk, запуск Asterisk на VirtualBox

Решение проблемы запуска Asterisk на VirtualBox. При запуске asterisk выдает ошибку:


root@itec-rtc certified-asterisk-13.1-cert2]# rasterisk
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)
[root@itec-rtc certified-asterisk-13.1-cert2]# asterisk -cvvvvvvvv
Asterisk 13.1-cert2, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details

=========================================================================
[ Initializing Custom Configuration Options ]== Parsing '/etc/asterisk/extconfig.conf': Found Illegal instruction

Проблема устраняется перекомпиляцией asterisk с выключенным параметром, BUILD_NATIVE. Идем в папку с исходниками asterisk, menu select, выбираем параметры "Compiler Flags - Development" снимаем пометку с BUILD_NATIVE, make && make install

1 комментарий: