Пол дня потратил пока собрал рабочий chan-dongle для Elastix. Ну если незапилят, то следующему который будет искать готовые файлы достанутся)
/etc/asterisk/dongle.conf
/etc/udev/rules.d/92-dongle.rules
/usr/lib/asterisk/modules/chan_dongle.so
Рестартнуть asterix и сделать и «udevcontrol reload_rules»
Для гугля и для потомков логи ошибок:
configure.in:10: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET ../../lib/autoconf/general.m4:1795: AC_CANONICAL_TARGET is expanded from... ../../lib/autoconf/general.m4:1819: AC_CANONICAL_SYSTEM is expanded from... configure.in:10: the top level
make
gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT app.o -MF .app.o.d -MP -o app.o -c app.c app.c: In function 'app_register': app.c:162:3: warning: passing argument 2 of 'ast_register_application2' from incompatible pointer type [enabled by default] In file included from app.c:20:0: /usr/include/asterisk/module.h:458:5: note: expected 'int (*)(struct ast_channel *, const char *)' but argument is of type 'int (*)(struct ast_channel *, void *)' gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_command.o -MF .at_command.o.d -MP -o at_command.o -c at_command.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_parse.o -MF .at_parse.o.d -MP -o at_parse.o -c at_parse.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_queue.o -MF .at_queue.o.d -MP -o at_queue.o -c at_queue.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_read.o -MF .at_read.o.d -MP -o at_read.o -c at_read.c gcc -g -O2 -O6 -I. -D_GNU_SOURCE -I/usr/include -I/usr/include -DHAVE_CONFIG_H -fvisibility=hidden -fPIC -Wall -Wextra -MD -MT at_response.o -MF .at_response.o.d -MP -o at_response.o -c at_response.c at_response.c: In function 'start_pbx': at_response.c:854:16: error: dereferencing pointer to incomplete type at_response.c:861:10: error: dereferencing pointer to incomplete type at_response.c: In function 'at_response_clcc': at_response.c:922:23: error: dereferencing pointer to incomplete type make: *** [at_response.o] Error 1
config.quess config.sub