VIDEOCHAT  ::   FAQ  ::   Поиск  ::   Регистрация  ::   Вход

не проходит авторизация

Проблемы Asterisk без вэб-оболочек и их решения

Модераторы: april22, Zavr2008

Ответить
den_kedr
Сообщения: 7
Зарегистрирован: 01 авг 2021, 20:13

не проходит авторизация

Сообщение den_kedr »

Добрый день, астрикс начал выдавать ошибку

ERROR[1898]: config.c:1290 process_text_line: The file '/opt/asterisk/sip/*.conf' was listed as a #include but it does not exist.

не могу понять что с ним делать, файл поменял с бэкапа, но все равно ему не нравится
den_kedr
Сообщения: 7
Зарегистрирован: 01 авг 2021, 20:13

Re: не проходит авторизация

Сообщение den_kedr »

Вот полный лог
если правильно понял, то ему не нравится chan_iax2.c но не могу понять где этот файл лежит

Код: Выделить всё

 == Adding single Free FAX For Asterisk license
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 299 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 302 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1563 pbx_load_config: No closing parenthesis found? '                                   Set(COUNT=$[${COUNT} + 1]' at line 326 of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '_99810XXXXX                                   XXXXXX' priority 1 in 'internal1', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 678 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 679 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 698 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 699 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 700 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 701 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 708 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 709 o                                   f extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '01' priorit                                   y 2 in 'eda', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '01' priorit                                   y 2 in 'endwork1', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '01' priorit                                   y 2 in 'endwork', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '01' priorit                                   y 2 in 'weekend', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '01' priorit                                   y 2 in 'otdel', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1502                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1503                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1506 pbx_load_config: Can't use 'next' priority on th                                   e first entry at line 1607 of extensions.conf!
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1642                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1643                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1702                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1704                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1706                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1805                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1806                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1819                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1820                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1821                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1823                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1824                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1825                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1826                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1930                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1979                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 1980                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '_XX' priori                                   ty 1 in 'ruslan', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx.c:8576 add_priority: Unable to register extension '_XX' priori                                   ty 1 in 'shkola', already in use
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2867                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1645 pbx_load_config: ==!!== Unknown directive: :exte                                   n at line 2875 of extensions.conf -- IGNORING!!!
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2882                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2890                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2891                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2892                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2893                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2894                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 2984                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 3026                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1578 pbx_load_config: The use of '_.' for an extensio                                   n is strongly discouraged and can have unexpected behavior.  Please use '_X.' instead at line 3027                                    of extensions.conf
[Aug 16 09:56:41] WARNING[2013]: pbx_config.c:1506 pbx_load_config: Can't use 'next' priority on th                                   e first entry at line 3088 of extensions.conf!
[Aug 16 09:56:41] ERROR[2013]: config.c:1290 process_text_line: The file '/opt/asterisk/sip/*.conf'                                    was listed as a #include but it does not exist.
[Aug 16 09:56:41] NOTICE[2013]: chan_skinny.c:7260 config_load: Configuring skinny from skinny.conf
[Aug 16 09:56:41] NOTICE[2013]: pbx_ael.c:164 pbx_load_module: Starting AEL load process.
[Aug 16 09:56:41] NOTICE[2013]: pbx_ael.c:177 pbx_load_module: AEL load process: parsed config file                                    name '/etc/asterisk/extensions.ael'.
[Aug 16 09:56:41] NOTICE[2013]: pbx_ael.c:180 pbx_load_module: AEL load process: checked config fil                                   e name '/etc/asterisk/extensions.ael'.
[Aug 16 09:56:41] NOTICE[2013]: pbx_ael.c:187 pbx_load_module: AEL load process: compiled config fi                                   le name '/etc/asterisk/extensions.ael'.
[Aug 16 09:56:41] NOTICE[2013]: pbx_ael.c:192 pbx_load_module: AEL load process: merged config file                                    name '/etc/asterisk/extensions.ael'.
[Aug 16 09:56:41] NOTICE[2013]: pbx_ael.c:195 pbx_load_module: AEL load process: verified config fi                                   le name '/etc/asterisk/extensions.ael'.
[Aug 16 09:56:41] NOTICE[2013]: app_queue.c:6766 reload_queue_rules: queuerules.conf has not change                                   d since it was last loaded. Not taking any action.
[Aug 16 09:59:12] NOTICE[1731]: chan_iax2.c:8010 register_verify: No registration for peer '5000' (                                   from 192.168.62.1)
[Aug 16 09:59:12] NOTICE[1732]: chan_iax2.c:8010 register_verify: No registration for peer '5000' (                                   from 192.168.62.1)
[Aug 16 10:04:07] NOTICE[1727]: chan_iax2.c:8010 register_verify: No registration for peer '5000' (from 192.168.62.1)
[Aug 16 10:04:07] NOTICE[1728]: chan_iax2.c:8010 register_verify: No registration for peer '5000' (from 192.168.62.1)
ded
Сообщения: 15623
Зарегистрирован: 26 авг 2010, 19:00

Re: не проходит авторизация

Сообщение ded »

Судя по расположению файлов не в штатном месте (/etc) а в /opt/asterisk/sip/*.conf' Астериск вам поставил умелец, который "Я сам знаю где мне всё расположить в системе".

Первое сообщение говорит о том, что не хватает файла, который указан как инклюд.
Обычно, чтобы разбить большую конфигурацию на отдельные файлы, делается основной файл, в котором есть строки типа
#include sip_custom.conf
на включение в него других файлов.
Вот этого файла и не хватает.

Во втором сообщении (много букв!) ссылка на chan_iax2.c - это файл исходника, у вас его и не было, сообщение об ошибке с указанием строк в исходнике, для разработчиков. Какой-то peer '5000' (from 192.168.62.1) пытается зарегистрироваться, но ввиду отсутствия файла (-ов) у него не получается.
Аватара пользователя
Zavr2008
Сообщения: 2211
Зарегистрирован: 27 янв 2011, 00:35
Контактная информация:

Re: не проходит авторизация

Сообщение Zavr2008 »

The file '/opt/asterisk/sip/*.conf' was listed as a #include but it does not exist
А сам каталог /opt/asterisk/sip/ есть? И есть ли у астера туда доступ?

И в самом начале портянки есть вот это:
WARNING[2013]: pbx_config.c:1563 pbx_load_config: No closing parenthesis found? ' Set(COUNT=$[${COUNT} + 1]' at line 326 of extensions.conf
Ошибка там..

Ну и судя по тому что много раз пытаетесь повторно назначать приоритеты диалплана для тех же паттернов - ветер в голове полный..
Российские E1 шлюзы Alvis. Модернизация УПАТС с E1,Подключение к ИС "Антифрод" E1 PRI/SS#7 УВР Телестор, Грифин и др..
Ответить
© 2008 — 2024 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH