конечная задача к которой стремлюсь: СМС приходящее на симкарту должно сразу отправляться на Email + какой-нибудь мессенжер или мой SIP на этом же астериске. Всё это должно работать на 256-512 оперативки. Если иду неправильным путем - прошу перенаправить.
я полный нуб. о FreeBSD & Asterisk узнал 3 месяца назад, с тех пор читаю мануалы.
поставил Asterisk 1.8.32 + FreeBSD 10.1 на VMWare
пытаюсь добавить chan_dongle для подключения модема E1550 но получаю ошибку.
Ошибка при попытке установить chan_dongle:
| Код: |
| fetch https://asterisk-chan-dongle.googlecode.com/files/chan_dongle-1.1.r14.tgz tar zxvf chan_dongle-1.1.r14.tgz cd chan_dongle-1.1.r14 ./configure |
checking build system type... i386-unknown-freebsd10.1
checking host system type... i386-unknown-freebsd10.1
checking target system type... i386-unknown-freebsd10.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cl... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for strip... strip
checking for rm... rm
checking for library containing iconv... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether asterisk.h in ../include... no
checking whether asterisk.h in /usr/include... no
checking whether asterisk.h in /usr/local/include... yes
checking asterisk.h usability... yes
checking asterisk.h presence... yes
checking for asterisk.h... yes
checking whether iconv.h in /usr/include... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv use const inbuf... no
checking for iconv_t in iconv.h... yes
checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking whether CC supports -fvisibility=hidden... yes
checking whether CC supports -fPIC... yes
checking whether CC supports -Wall... yes
checking whether CC supports -Wextra... yes
checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes
checking whether DESTDIR is /usr/lib/asterisk/modules... no
checking whether DESTDIR is /usr/local/lib/asterisk/modules... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for memmem... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
checking host system type... i386-unknown-freebsd10.1
checking target system type... i386-unknown-freebsd10.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cl... no
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... none
checking how to run the C preprocessor... cc -E
checking for strip... strip
checking for rm... rm
checking for library containing iconv... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking whether asterisk.h in ../include... no
checking whether asterisk.h in /usr/include... no
checking whether asterisk.h in /usr/local/include... yes
checking asterisk.h usability... yes
checking asterisk.h presence... yes
checking for asterisk.h... yes
checking whether iconv.h in /usr/include... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv use const inbuf... no
checking for iconv_t in iconv.h... yes
checking for AST_CONTROL_SRCCHANGE in asterisk/frame.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for uint64_t... yes
checking whether CC supports -fvisibility=hidden... yes
checking whether CC supports -fPIC... yes
checking whether CC supports -Wall... yes
checking whether CC supports -Wextra... yes
checking whether CC supports -MD -MT conftest.o -MF /dev/null -MP... yes
checking whether DESTDIR is /usr/lib/asterisk/modules... no
checking whether DESTDIR is /usr/local/lib/asterisk/modules... yes
checking for working memcmp... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for memmem... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for realpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
| Код: |
| gmake install |
Много вывода, который заканчивается:
Makefile:57: recipe for target 'chan_dongle.so' failed
gmake: *** [chan_dongle.so] Error 1
Естественно
asterisk -r
CLI> dongle show devices ==> No such command 'dongle show devices' (type 'core show help dongle show' for other possible commands)
Подскажите пожалуйста куда рыть?
| Код: |
| поставил Asterisk 1.8.32 + FreeBSD 10.1 на VMWare |
А-а-а-а! "Пингвины-извращенцы терроризируют Палестину!"
_________________
P4 3.0 + 1Gb CentOS 5.8 Aster 1.8.16
Не люблю gui-сборки: натуральный продукт вкуснее.
И еще: я ПРОФИ так как НЕ ЛЕНЮСЬ читать литературу.
Подскажите, пожалуйста, на данном форуме только юмористы остались, или есть надежда на дельный ответ специалиста?
есть рекомендуемые платформы для работы asterisk
и FreeBSD в них точно не числится последнии 5 лет
Раз вы собираете на VM я вообще не вижу причину использовать FreeBSD
Сделайте отдельную машину только под телефонию
по ошибке все что могу сказать - приведите весь лог - возможно ошибка есть выше
_________________
платный суппорт по мере возможностей
Подскажите тогда, пожалуйста, что лучше собрать на VMWare для отправки SMS на Email с минимальными требованиями к оперативке. (модем E1550, E171)
Нужно для личного использования.
Лишний компьютер отсутствует.
Есть сервер, на котором уже работает 3 виртуальных машины, и оперативка заканчивается.
http://smstools3.kekekasvi.com/
Не хочу забывать про астериск только по причине того, что Chan_dongle не скомпилился. Уже почувствовав прелесть IP телефонии - (SIP давно настроил и не раз пользовался, да и звонки через модем совершал на эластиксе) - просто так сдаваться желания нет.
За подсказку спасибо - там даже под винду эту прогу прикрутить можно. Будет время - попробую обязательно.
всем спасибо.
_________________
платный суппорт по мере возможностей
Привожу кусок из "инструкция для себя"
| Код: |
| 9) установка chan_dongle 9.1) находим соответствующий версии астериска chan_dongle 9.2) сохраняем архив в "рабочую папку" (/home/user/Chan_dongle13/) 9.3) распаковываем #unzip asterisk-chan-dongle-asterisk13.zip 9.4) переходим в папку и запускаем #aclocal && autoconf && automake -a #./configure CC=gcc48 \\\\ после этого см.9.4.1 #gmake && gmake install 9.4.1) если после этого [asterisk -rvvvvvvvv == module load chan_dongle.so] выдаёт ошибку, то можно попробовать в файле Makefile в папке с исходниками модуля LIBS = /usr/local/lib/libiconv.so после чего снова #gmake && gmake install // на астериск13 у меня после этого астериск подхватил модуль. (перед этой манипуляцией я переустановил libiconv) |