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

Найти конфликт в конфигурации

Предложения услуг, поиск исполнителей, покупка/продажа оборудования

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

Ответить
judchin
Сообщения: 2
Зарегистрирован: 08 апр 2023, 20:22

Найти конфликт в конфигурации

Сообщение judchin »

Добрый день!
Нужна помощь в т.ч. на возмездной основе.
Есть система для открытия шлагбаума на IP-телефонии:
Пользователь совершает дозвон на номер (провайдер zadarma.com) -> asterisk проверяет номер в БД MySQL, если такой есть, то совершается дозвон на сотовый номер шлагбаума.
Система была поднята примерно 2 года назад и вполне успешно работала (раз в несколько месяцев asterisk подвисал, и я просто перезапускал службу). Потом зависания становились чаще, а сейчас раз в несколько дней (но может и два раза в день).
Система:
-провайдер: zadarma
-VPS сервер: Linux siptrasteugen 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux

Попытался собрать статистику:
в ответе на команду иногда видел сообщение

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

 systemctl status asterisk.service
[color=#FF0000]rc_avpair_new: unknown attribute 1490026597[/color]
но чаще (см. скрин вложение):

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

asterisk[743]: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Также заметил, что когда asterisk повисает в ответе на команду

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

 systemctl status asterisk.service
статус Active (exited) (см. вложение)

В логах /var/log/asterisk/messages часто вижу сообщение:
[Apr 8 20:11:14] NOTICE[14004][C-000000f4] chan_sip.c: Call from '' (140.99.194.130:55377) to extension '4814955803330' rejected because extension not found in context 'default'.
[Apr 8 20:11:46] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 820442737-1543839679-363618113 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
также привожу фрагменты логов cat /var/log/asterisk/syslog | grep asterisk (не получилось прикрепить во вложение отдельным текстовым файлом)
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
/var/log$ sudo cat ./syslog | grep asterisk
Apr 8 00:45:19 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 01:35:05 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 05:37:41 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 05:37:56 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 06:45:11 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 06:45:20 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 08:05:50 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 08:05:59 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 08:47:57 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 10:05:34 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 10:10:59 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 11:00:52 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 11:17:22 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 11:25:59 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 11:32:01 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 11:37:38 siptrasteugen asterisk[11353]: Stopping Asterisk PBX: asterisk.
Apr 8 11:37:38 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 11:37:38 siptrasteugen systemd[1]: asterisk.service: Found left-over process 19183 (asterisk) in control group while starting unit. Ignoring.
Apr 8 11:37:38 siptrasteugen asterisk[11360]: Starting Asterisk PBX: asterisk/usr/sbin/asterisk already running.
Apr 8 11:37:38 siptrasteugen asterisk[11360]: .
Apr 8 12:27:32 siptrasteugen asterisk[12051]: Stopping Asterisk PBX: asteriskNo /usr/sbin/asterisk found running; none killed.
Apr 8 12:27:32 siptrasteugen asterisk[12051]: .
Apr 8 12:27:32 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 12:27:32 siptrasteugen asterisk[12058]: Starting Asterisk PBX: asterisk.
Apr 8 12:28:03 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:28:43 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:28:46 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:29:20 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:29:27 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:30:02 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:34:54 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:53:10 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:54:45 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 12:54:49 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 13:49:03 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 14:47:42 siptrasteugen asterisk[12811]: Stopping Asterisk PBX: asterisk.
Apr 8 14:47:42 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 14:47:42 siptrasteugen systemd[1]: asterisk.service: Found left-over process 12070 (asterisk) in control group while starting unit. Ignoring.
Apr 8 14:47:42 siptrasteugen asterisk[12818]: Starting Asterisk PBX: asterisk.
Apr 8 14:47:56 siptrasteugen asterisk[12913]: Stopping Asterisk PBX: asterisk.
Apr 8 14:47:56 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 14:47:56 siptrasteugen systemd[1]: asterisk.service: Found left-over process 12831 (asterisk) in control group while starting unit. Ignoring.
Apr 8 14:47:57 siptrasteugen asterisk[12920]: Starting Asterisk PBX: asterisk.
Apr 8 15:13:27 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 15:50:38 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 15:50:47 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 15:51:03 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 15:51:41 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 15:51:51 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:20:39 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:21:47 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:22:59 siptrasteugen asterisk[13422]: Stopping Asterisk PBX: asterisk.
Apr 8 16:22:59 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 16:22:59 siptrasteugen systemd[1]: asterisk.service: Found left-over process 12932 (asterisk) in control group while starting unit. Ignoring.
Apr 8 16:22:59 siptrasteugen asterisk[13429]: Starting Asterisk PBX: asterisk.
Apr 8 16:42:53 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:42:58 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:45:06 siptrasteugen asterisk[13791]: Stopping Asterisk PBX: asterisk.
Apr 8 16:45:06 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 16:45:06 siptrasteugen systemd[1]: asterisk.service: Found left-over process 13442 (asterisk) in control group while starting unit. Ignoring.
Apr 8 16:45:06 siptrasteugen asterisk[13798]: Starting Asterisk PBX: asterisk.
Apr 8 16:45:57 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:46:07 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:46:21 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 16:47:09 siptrasteugen asterisk[13927]: Stopping Asterisk PBX: asterisk.
Apr 8 16:47:09 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 16:47:09 siptrasteugen systemd[1]: asterisk.service: Found left-over process 13811 (asterisk) in control group while starting unit. Ignoring.
Apr 8 16:47:09 siptrasteugen asterisk[13934]: Starting Asterisk PBX: asterisk.
Apr 8 16:57:46 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 17:04:05 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 17:50:20 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 19:03:14 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 19:26:17 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 19:26:28 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 19:26:42 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 19:54:04 siptrasteugen asterisk: radcli: rc_avpair_new: rc_avpair_new: no attribute 22736/101 in dictionary
Apr 8 20:20:15 siptrasteugen asterisk[15666]: Stopping Asterisk PBX: asterisk.
Apr 8 20:20:15 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 20:20:15 siptrasteugen systemd[1]: asterisk.service: Found left-over process 13946 (asterisk) in control group while starting unit. Ignoring.
Apr 8 20:20:15 siptrasteugen asterisk[15673]: Starting Asterisk PBX: asterisk.
Apr 8 20:31:42 siptrasteugen asterisk[15894]: Stopping Asterisk PBX: asterisk.
Apr 8 20:31:42 siptrasteugen systemd[1]: asterisk.service: Succeeded.
Apr 8 20:31:42 siptrasteugen systemd[1]: asterisk.service: Found left-over process 15686 (asterisk) in control group while starting unit. Ignoring.
Apr 8 20:31:42 siptrasteugen asterisk[15901]: Starting Asterisk PBX: asterisk.
и
tail -n120 /var/log/asterisk/messages
PRIME_BBCODE_SPOILER_SHOW PRIME_BBCODE_SPOILER:
:/var/log/asterisk$ tail -n120 ./messages
[Apr 8 20:03:25] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 208155140-288763201-1266535492 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:05:01] NOTICE[14004][C-000000f1] chan_sip.c: Call from '' (140.99.194.130:62151) to extension '884955803330' rejected because extension not found in context 'default'.
[Apr 8 20:05:33] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 614181634-646447107-1092154263 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:05:45] NOTICE[14004][C-000000f2] chan_sip.c: Call from '' (140.99.194.130:59624) to extension '4994955803330' rejected because extension not found in context 'default'.
[Apr 8 20:06:17] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 819316266-600395967-655481996 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:08:20] NOTICE[14004][C-000000f3] chan_sip.c: Call from '' (140.99.194.130:55724) to extension '4914955803330' rejected because extension not found in context 'default'.
[Apr 8 20:08:52] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 832737366-1042345948-2037690955 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:11:14] NOTICE[14004][C-000000f4] chan_sip.c: Call from '' (140.99.194.130:55377) to extension '4814955803330' rejected because extension not found in context 'default'.
[Apr 8 20:11:46] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 820442737-1543839679-363618113 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:13:39] NOTICE[14004][C-000000f5] chan_sip.c: Call from '' (140.99.194.130:63654) to extension '4714955803330' rejected because extension not found in context 'default'.
[Apr 8 20:14:11] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 1137410822-1156678868-1523544790 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:16:19] NOTICE[14004][C-000000f6] chan_sip.c: Call from '' (140.99.194.130:51049) to extension '4614955803330' rejected because extension not found in context 'default'.
[Apr 8 20:16:51] WARNING[14004] chan_sip.c: Retransmission timeout reached on transmission 1704934267-193798377-1240066467 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:20:15] Asterisk 16.10.0 built by root @ siptrasteugen on a x86_64 running Linux on 2020-05-01 11:51:06 UTC
[Apr 8 20:20:15] NOTICE[15686] loader.c: 307 modules will be loaded.
[Apr 8 20:20:15] WARNING[15686] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'. See res_odbc.conf.sample.
[Apr 8 20:20:15] WARNING[15686] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'. See res_odbc.conf.sample.
[Apr 8 20:20:15] NOTICE[15686] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MariaDB-asteriskcdrdb]
[Apr 8 20:20:15] NOTICE[15686] res_config_ldap.c: No directory user found, anonymous binding as default.
[Apr 8 20:20:15] ERROR[15686] res_config_ldap.c: No directory URL or host found.
[Apr 8 20:20:15] ERROR[15686] res_config_ldap.c: Cannot load LDAP RealTime driver.
[Apr 8 20:20:15] ERROR[15686] res_config_pgsql.c: PostgreSQL RealTime: Failed to connect database asterisk on 127.0.0.1:
[Apr 8 20:20:15] WARNING[15686] res_config_pgsql.c: PostgreSQL RealTime: Couldn't establish connection. Check debug.
[Apr 8 20:20:15] NOTICE[15686] cdr.c: CDR simple logging enabled.
[Apr 8 20:20:15] NOTICE[15686] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Apr 8 20:20:15] WARNING[15686] res_phoneprov.c: Unable to find a valid server address or name.
[Apr 8 20:20:15] WARNING[15686] chan_sip.c: !!! PLEASE NOTE: Setting 'nat' for a peer/user that differs from the global setting can make
[Apr 8 20:20:15] WARNING[15686] chan_sip.c: !!! the name of that peer/user discoverable by an attacker. Replies for non-existent peers/users
[Apr 8 20:20:15] WARNING[15686] chan_sip.c: !!! will be sent to a different port than replies for an existing peer/user. If at all possible,
[Apr 8 20:20:15] WARNING[15686] chan_sip.c: !!! use the global 'nat' setting and do not set 'nat' per peer/user.
[Apr 8 20:20:15] WARNING[15686] chan_sip.c: !!! (config category='722431' global force_rport='No' peer/user force_rport='Yes')
[Apr 8 20:20:15] ERROR[15686] ari/config.c: No configured users for ARI
[Apr 8 20:20:15] NOTICE[15686] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[Apr 8 20:20:15] NOTICE[15744] chan_sip.c: Peer '722431' is now Reachable. (40ms / 2000ms)
[Apr 8 20:20:15] NOTICE[15686] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Apr 8 20:20:15] NOTICE[15686] cel_tds.c: cel_tds has no global category, nothing to configure.
[Apr 8 20:20:15] WARNING[15686] cel_tds.c: cel_tds module had config problems; declining load
[Apr 8 20:20:15] WARNING[15686] cel_pgsql.c: CEL pgsql config file missing global section.
[Apr 8 20:20:15] WARNING[15686] pbx_config.c: Context 'demo' already included in 'page' context on include at line 676 of extensions.conf
[Apr 8 20:20:15] ERROR[15686] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[Apr 8 20:20:15] WARNING[15686] loader.c: Some non-required modules failed to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: Failed to resolve dependencies for res_config_curl
[Apr 8 20:20:15] ERROR[15686] loader.c: res_config_curl declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: res_timing_dahdi declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: res_pjsip_transport_websocket declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: cdr_sqlite3_custom declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: cel_sqlite3_custom declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: cel_tds declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: cdr_tds declined to load.
[Apr 8 20:20:15] ERROR[15686] loader.c: Failed to resolve dependencies for func_aes
[Apr 8 20:20:15] ERROR[15686] loader.c: func_aes declined to load.
[Apr 8 20:21:04] NOTICE[15744][C-00000001] chan_sip.c: Call from '' (140.99.194.130:54522) to extension '4514955803330' rejected because extension not found in context 'default'.
[Apr 8 20:21:36] WARNING[15744] chan_sip.c: Retransmission timeout reached on transmission 2104478449-592643984-38918207 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:24:28] NOTICE[15744][C-00000002] chan_sip.c: Call from '' (140.99.194.130:52795) to extension '4414955803330' rejected because extension not found in context 'default'.
[Apr 8 20:25:00] WARNING[15744] chan_sip.c: Retransmission timeout reached on transmission 1939264635-628714653-578575931 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:25:04] NOTICE[15744][C-00000003] chan_sip.c: Call from '' (140.99.194.130:58334) to extension '784955803330' rejected because extension not found in context 'default'.
[Apr 8 20:25:36] WARNING[15744] chan_sip.c: Retransmission timeout reached on transmission 650579747-219581334-727994162 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:26:53] NOTICE[15744][C-00000004] chan_sip.c: Call from '' (140.99.194.130:57514) to extension '4314955803330' rejected because extension not found in context 'default'.
[Apr 8 20:27:25] WARNING[15744] chan_sip.c: Retransmission timeout reached on transmission 2143736640-727010231-1631982981 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
[Apr 8 20:29:42] NOTICE[15744][C-00000005] chan_sip.c: Call from '' (140.99.194.130:55865) to extension '4214955803330' rejected because extension not found in context 'default'.
[Apr 8 20:30:14] WARNING[15744] chan_sip.c: Retransmission timeout reached on transmission 1902129427-953271461-2005177559 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:30:15] NOTICE[15744][C-00000006] chan_sip.c: Call from '' (140.99.194.130:60670) to extension '74955803330' rejected because extension not found in context 'default'.
[Apr 8 20:30:47] WARNING[15744] chan_sip.c: Retransmission timeout reached on transmission 139961768-415217521-1716270571 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:31:42] Asterisk 16.10.0 built by root @ siptrasteugen on a x86_64 running Linux on 2020-05-01 11:51:06 UTC
[Apr 8 20:31:42] NOTICE[15913] loader.c: 307 modules will be loaded.
[Apr 8 20:31:42] WARNING[15913] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'. See res_odbc.conf.sample.
[Apr 8 20:31:42] WARNING[15913] res_odbc.c: The 'pooling', 'shared_connections', 'limit', and 'idlecheck' options were replaced by 'max_connections'. See res_odbc.conf.sample.
[Apr 8 20:31:42] NOTICE[15913] res_odbc.c: Registered ODBC class 'asteriskcdrdb' dsn->[MariaDB-asteriskcdrdb]
[Apr 8 20:31:42] NOTICE[15913] res_config_ldap.c: No directory user found, anonymous binding as default.
[Apr 8 20:31:42] ERROR[15913] res_config_ldap.c: No directory URL or host found.
[Apr 8 20:31:42] ERROR[15913] res_config_ldap.c: Cannot load LDAP RealTime driver.
[Apr 8 20:31:42] ERROR[15913] res_config_pgsql.c: PostgreSQL RealTime: Failed to connect database asterisk on 127.0.0.1:
[Apr 8 20:31:42] WARNING[15913] res_config_pgsql.c: PostgreSQL RealTime: Couldn't establish connection. Check debug.
[Apr 8 20:31:42] NOTICE[15913] cdr.c: CDR simple logging enabled.
[Apr 8 20:31:42] NOTICE[15913] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Apr 8 20:31:42] WARNING[15913] res_phoneprov.c: Unable to find a valid server address or name.
[Apr 8 20:31:42] WARNING[15913] chan_sip.c: !!! PLEASE NOTE: Setting 'nat' for a peer/user that differs from the global setting can make
[Apr 8 20:31:42] WARNING[15913] chan_sip.c: !!! the name of that peer/user discoverable by an attacker. Replies for non-existent peers/users
[Apr 8 20:31:42] WARNING[15913] chan_sip.c: !!! will be sent to a different port than replies for an existing peer/user. If at all possible,
[Apr 8 20:31:42] WARNING[15913] chan_sip.c: !!! use the global 'nat' setting and do not set 'nat' per peer/user.
[Apr 8 20:31:42] WARNING[15913] chan_sip.c: !!! (config category='722431' global force_rport='No' peer/user force_rport='Yes')
[Apr 8 20:31:42] NOTICE[15971] chan_sip.c: Peer '722431' is now Reachable. (1ms / 2000ms)
[Apr 8 20:31:42] ERROR[15913] ari/config.c: No configured users for ARI
[Apr 8 20:31:42] NOTICE[15913] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[Apr 8 20:31:42] NOTICE[15913] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Apr 8 20:31:42] NOTICE[15913] cel_tds.c: cel_tds has no global category, nothing to configure.
[Apr 8 20:31:42] WARNING[15913] cel_tds.c: cel_tds module had config problems; declining load
[Apr 8 20:31:42] WARNING[15913] cel_pgsql.c: CEL pgsql config file missing global section.
[Apr 8 20:31:42] WARNING[15913] pbx_config.c: Context 'demo' already included in 'page' context on include at line 676 of extensions.conf
[Apr 8 20:31:42] ERROR[15913] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[Apr 8 20:31:42] WARNING[15913] loader.c: Some non-required modules failed to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: Failed to resolve dependencies for res_config_curl
[Apr 8 20:31:42] ERROR[15913] loader.c: res_config_curl declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: res_timing_dahdi declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: res_pjsip_transport_websocket declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: cdr_sqlite3_custom declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: cel_sqlite3_custom declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: cel_tds declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: cdr_tds declined to load.
[Apr 8 20:31:42] ERROR[15913] loader.c: Failed to resolve dependencies for func_aes
[Apr 8 20:31:42] ERROR[15913] loader.c: func_aes declined to load.
[Apr 8 20:31:56] NOTICE[15971][C-00000001] chan_sip.c: Call from '' (140.99.194.130:57938) to extension '4114955803330' rejected because extension not found in context 'default'.
[Apr 8 20:32:28] WARNING[15971] chan_sip.c: Retransmission timeout reached on transmission 2038160006-1081092936-1730463305 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 32000ms with no response
[Apr 8 20:33:02] NOTICE[15971][C-00000002] chan_sip.c: Call from '' (140.99.194.130:49964) to extension '4955803330' rejected because extension not found in context 'default'.
[Apr 8 20:33:34] WARNING[15971] chan_sip.c: Retransmission timeout reached on transmission 903762349-906947299-2118047643 for seqno 1 (Critical Response) -- See https://wiki.asterisk.org/wiki/display/ ... nsmissions
Packet timed out after 31999ms with no response
Связь со мной:
тел: +7 922 795 92 46 (голос, viber, телерамм)
judchin @ rambler. ru
Возможен доступ на сервер по SSH
Вложения
photo_2023-04-08_22-25-11.jpg
Screenshot_6.png
Аватара пользователя
Zavr2008
Сообщения: 2211
Зарегистрирован: 27 янв 2011, 00:35
Контактная информация:

Re: Найти конфликт в конфигурации

Сообщение Zavr2008 »

раз в несколько месяцев asterisk подвисал, и я просто перезапускал службу
Т.е. вместо настройки просто ребутали..
Отрывать руки однозначно.

У Вас chan_sip и всё смахивает на типичную проблему DNS.

Вторая проблема возможная - "asterisk проверяет номер в БД MySQL", внешний скрипт надеюсь.

Свяжитесь со мной в личке если интересно.
Российские E1 шлюзы Alvis. Модернизация УПАТС с E1,Подключение к ИС "Антифрод" E1 PRI/SS#7 УВР Телестор, Грифин и др..
judchin
Сообщения: 2
Зарегистрирован: 08 апр 2023, 20:22

Re: Найти конфликт в конфигурации

Сообщение judchin »

Свяжитесь со мной в личке если интересно.
Не могу отправить личное сообщение.
В решении вопроса заинтересован.
Zavr2008, Можете связаться со мной?
Аватара пользователя
Zavr2008
Сообщения: 2211
Зарегистрирован: 27 янв 2011, 00:35
Контактная информация:

Re: Найти конфликт в конфигурации

Сообщение Zavr2008 »

Была проблема с DNS, установил локальный кеширующий, форвардеры Yandex DNS поставил, гугл стали блочить у нас.
Еще была проблема стоял allowguest=yes, хотя динамических пиров не было, но долбали основательно сервак нехристи.
Установил allowguest=no, alwaysauthreject=yes. Поставил fail2ban.
Стояло nat у пиров, хотя на белом IP - поправил.
Российские E1 шлюзы Alvis. Модернизация УПАТС с E1,Подключение к ИС "Антифрод" E1 PRI/SS#7 УВР Телестор, Грифин и др..
Аватара пользователя
Zavr2008
Сообщения: 2211
Зарегистрирован: 27 янв 2011, 00:35
Контактная информация:

Re: Найти конфликт в конфигурации

Сообщение Zavr2008 »

Заметки на полях:

Если кому нужно чтобы на Задарме до поднятия трубки в Early media проигрывалось что-то и дальше отбой сделать, делайте вот что:

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

exten=>_X.,1,playback(silence/1,noanswer)
same=>n,playback(greetings,noanswer)
same=>n,Hangup(17)
Hangup(17) завершает по BUSY - мы не хотим снимать трубку для избежания тарификации, иначе сервис пытается повторно дозваниваться.
Спасибо за помощь ТП.
Российские 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