Страница 1 из 3

3cx softphone не регистрируются в Asterisk 17

Добавлено: 04 дек 2019, 15:53
Muller7777
имеется ноут винда 10-я,с поддержкой Hyper-V
на него была поставлена Sentos 6.4 + Asterisk 11 по этой инструкции
https://disnetern.ru/wp-content/uploads ... cratch.pdf
все запустилось,все замечательно
попробовал запилить Sentos 8+Asterisk 17
https://disnetern.ru/wp-content/uploads ... cratch.pdf
все собралось,ошибок вроть-бы нету
но sip-fon не цепляется к астериску
как-будто сервака вообще нету
в логах asterisk пусто
думал.собрал не правильно
пересобрал на чистую Sentos 8+Asterisk 16
нету конекта
начал эксперементировать,Sentos 6.4 + Asterisk 11 работают сипфоны
Sentos 6.4 + Asterisk 11-13 работают
Sentos 6.4 + Asterisk 16-17 не работают
настройки все стандартные
[1001]
type=friend
regexten=1001
secret=1234
context=outcoling
host=dynamic
callerid="1001" <1001>
disallow=all
allow=alaw
allow=ulaw
language=ru
callgroup=1
pickupgroup=1
qualify=yes
canreinvite=yes
call-limit=4
nat=no
[1002]
type=friend
host=dynamic
insecure=invite
username=1002
secret=45678
context=outcoling
disallow=all
allow=alaw

[outcoling]
exten => _XXXX,1,Dial(SIP/${EXTEN},,m)

SELINUX=disabled
думал,может с ноутом не то,на другом компе поигрался,результат тот-же
может подскажете в какую сторону копать

спасибо

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 09:09
Muller7777
добавлю
все поднято на виртуалке

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 09:46
Muller7777
[Dec 5 10:11:23] Asterisk 11.16.0-rc1 built by root @ localhost.localdomain on a x86_64 running Linux on 2019-11-19 10:13:30 UTC
[Dec 5 10:11:23] NOTICE[1241] cdr.c: CDR simple logging enabled.
[Dec 5 10:11:23] NOTICE[1241] loader.c: 191 modules will be loaded.
[Dec 5 10:11:25] NOTICE[1241] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Dec 5 10:11:25] NOTICE[1241] config.c: Registered Config Engine sqlite3
[Dec 5 10:11:25] NOTICE[1241] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[Dec 5 10:11:25] NOTICE[1241] chan_skinny.c: Configuring skinny from skinny.conf
[Dec 5 10:11:25] NOTICE[1241] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: Starting AEL load process.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:12:58] NOTICE[1283] chan_sip.c: Peer '1001' is now Reachable. (123ms / 2000ms)
[Dec 5 10:12:59] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1001
[Dec 5 10:13:08] NOTICE[1283][C-00000000] chan_sip.c: Call from '1001' (10.115.212.155:60981) to extension 'm' rejected because extension not found in context 'outcoli
[Dec 5 10:15:54] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1002
[Dec 5 10:16:17] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1001
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'[Dec 5 10:11:23] NOTICE[1241] cdr.c: CDR simpl
[Dec 5 10:11:23] NOTICE[1241] loader.c: 191 modules will be loaded.
[Dec 5 10:11:25] NOTICE[1241] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Dec 5 10:11:25] NOTICE[1241] config.c: Registered Config Engine sqlite3
[Dec 5 10:11:25] NOTICE[1241] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[Dec 5 10:11:25] NOTICE[1241] chan_skinny.c: Configuring skinny from skinny.conf
[Dec 5 10:11:25] NOTICE[1241] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom CSVs.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: Starting AEL load process.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:11:26] NOTICE[1241] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Dec 5 10:12:58] NOTICE[1283] chan_sip.c: Peer '1001' is now Reachable. (123ms / 2000ms)
[Dec 5 10:12:59] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1001
[Dec 5 10:13:08] NOTICE[1283][C-00000000] chan_sip.c: Call from '1001' (10.115.212.155:60981) to extension 'm' rejected because extension not found in context 'outcoli
[Dec 5 10:15:54] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1002
[Dec 5 10:16:17] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1001
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
[Dec 5 10:18:23] NOTICE[1352][C-00000001] res_rtp_asterisk.c: Unknown RTP codec 126 received from '10.115.212.155:57182'
это с рабочего asteriska регистрация 1001 и 1002 ,и звонок между ними


[Dec 5 08:39:16] Asterisk 17.0.1 built by root @ localhost.localdomain on a x86_64 running Linux on 2019-1
[Dec 5 08:39:16] NOTICE[882] loader.c: 255 modules will be loaded.
[Dec 5 08:39:19] NOTICE[882] cdr.c: CDR simple logging enabled.
[Dec 5 08:39:20] NOTICE[882] confbridge/conf_config_parser.c: Adding default_menu menu to app_confbridge
[Dec 5 08:39:20] NOTICE[882] cel_custom.c: No mappings found in cel_custom.conf. Not logging CEL to custom
[Dec 5 08:39:20] WARNING[882] loader.c: Some non-required modules failed to load.
[Dec 5 08:39:20] ERROR[882] loader.c: Error loading module 'res_agi.so', missing dependency: res_speech
[Dec 5 08:39:20] ERROR[882] loader.c: Failed to resolve dependencies for func_aes
[Dec 5 08:39:20] ERROR[882] loader.c: func_aes declined to load.
[Dec 5 08:39:20] ERROR[882] loader.c: Failed to resolve dependencies for res_http_media_cache
[Dec 5 08:39:20] ERROR[882] loader.c: res_http_media_cache declined to load.
это с нерабочего asterisk
о попытке подключения нечего нету

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 10:32
april22
[Dec 5 10:12:58] NOTICE[1283] chan_sip.c: Peer '1001' is now Reachable. (123ms / 2000ms)

[Dec 5 10:13:08] NOTICE[1283][C-00000000] chan_sip.c: Call from '1001' (10.115.212.155:60981) to extension 'm' rejected because extension not found in context 'outcoli

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 10:39
Muller7777
первый лог с рабачего
второй с не рабочего
все на одном компе
две вертуалки

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 11:06
ded
Курсы технического английского. Переводы. Дорого. © zzuz

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 12:23
Muller7777
я понимаю,что переводы дорого
но стандартная установка с минимальными требованиями 11-13 версия работает
16-17 на отрез отказывается
что можно было в них,16-17,попилить,что изначально нельзя два тела связать
хотя инструкция пишет,ставиш,и работает
под рукой нету пустого компа,без виртуалки поднять
я х.з.

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 12:29
ded
Muller7777 писал(а):11-13 версия работает
16-17 на отрез отказывается
Врёте. От непонимания английского, что вам Аст5ериск объясняет:
Call from '1001' (10.115.212.155:60981) to extension 'm' rejected because extension not found in context 'outcoli

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 15:38
Muller7777
Dec 5 10:12:58] NOTICE[1283] chan_sip.c: Peer '1001' is now Reachable. (123ms / 2000ms)
[Dec 5 10:12:59] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1001
[Dec 5 10:13:08] NOTICE[1283][C-00000000] chan_sip.c: Call from '1001' (10.115.212.155:60981) to extension 'm' rejected because extension not found in context 'outcoli
[Dec 5 10:15:54] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1002
[Dec 5 10:16:17] NOTICE[1283] chan_sip.c: Received SIP subscribe for peer without mailbox: 1001
это лог с рабочего астериска
ниже лог с нерабочего
вообще пусто
телефоны как-будто чего-то блочит

Re: 3cx softphone не регистрируются в Asterisk 17

Добавлено: 05 дек 2019, 16:05
Muller7777
Connected to Asterisk 11.16.0-rc1 currently running on localhost (pid = 1240)
[Dec 5 17:00:44] NOTICE[1282]: chan_sip.c:27981 handle_request_subscribe: Recei ved SIP subscribe for peer without mailbox: 1002
[Dec 5 17:01:26] NOTICE[1282]: chan_sip.c:23681 handle_response_peerpoke: Peer '1001' is now Reachable. (50ms / 2000ms)
[Dec 5 17:01:39] NOTICE[1282]: chan_sip.c:27981 handle_request_subscribe: Recei ved SIP subscribe for peer without mailbox: 1001
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
[Dec 5 17:01:58] NOTICE[1508][C-00000002]: res_rtp_asterisk.c:4367 ast_rtp_read : Unknown RTP codec 126 received from '10.115.212.155:62128'
вот лог в самом астериске
звонок между 1001и 1002
все зер гуд
в 16-17 астериске там вообще все пусто