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

Не приходят события в 1С от FreePBX по AMI

Раздел для разработчиков для обсуждения программных и аппаратных продуктов и их реализации.

Модератор: april22

Не приходят события в 1С от FreePBX по AMI

Сообщение poteh » 12 июн 2018, 20:51

Делаю связку 1C и Asterisk (FreePBX). Пробую 2 компоненты: BROM-Asterisk-Native и Asterisk.NET.dll (через COM). Обеими успешно подключился к AMI, получилось сделать вызов. Но никак не могу понять почему не могу получить события от Asteriska при звонке. При этом если подключаюсь через putty на порт 5038 - события при звонке сыпятся.
Используются Windows Server 2008 R2, 1С версии 8.3.10.2580 (пробовал и 64 битную версию, и 32), FreePBX 14.0.3.2.
Тестирую эти же компоненты, эти же обработки и конфигурации в другой среде - все работает.
Вторая среда: Windows Server 2012, 1C версии 8.3.10.2650 (32 бита), FreePBX 2.11.0.43.
Привожу конфигурацию manager.conf
Код: выделить все
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+
allowmultiplelogin=yes
httptimeout=60
[mappings]
recordingfile=>recordingfile
linkedid=>linkedid
[test]
secret = test
deny=0.0.0.0/0.0.0.0
permit=192.168.0.0/255.255.255.0
read = call,user,originate
write = call,user,originate
writetimeout = 100


Никак не могу понять где же косяк. Со стороны 1С вроде всё хорошо, т.к. этот же код успешно отрабатывает на другом сервере. Со стороны Asterisk вроде тоже всё хорошо, т.к. через консоль вижу все события, по идее они должны приходить в 1С.
Что ещё может быть? Куда ещё копнуть?
poteh
 
Сообщений: 3
Зарегистрирован: 12 июн 2018, 20:47

Re: Не приходят события в 1С от FreePBX по AMI

Сообщение ded » 13 июн 2018, 13:00

tcpdump port 5038 and host (ip_addr_of Windows Server 2008 R2)
ded
 
Сообщений: 13286
Зарегистрирован: 26 авг 2010, 19:00

Re: Не приходят события в 1С от FreePBX по AMI

Сообщение poteh » 13 июн 2018, 14:46

Код: выделить все
[root@asterisk home]# tcpdump -i eth0 port 5038 and host 192.168.0.3
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
13:36:50.032221 IP srv.domain.local.56484 > asterisk.5038: Flags [F.], seq 1118985469, ack 803117043, win 255, length 0
13:36:50.032257 IP asterisk.5038 > srv.domain.local.56484: Flags [F.], seq 1, ack 1, win 229, length 0
13:36:50.032381 IP srv.domain.local.56484 > asterisk.5038: Flags [.], ack 2, win 255, length 0
13:36:55.032624 IP srv.domain.local.56486 > asterisk.5038: Flags [S], seq 18560177, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
13:36:55.032640 IP asterisk.5038 > srv.domain.local.56486: Flags [S.], seq 3002381636, ack 18560178, win 29200, options [mss 1460,nop,nop,sackOK,nop,wscale 7], length 0
13:36:55.032838 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 1, win 256, length 0
13:36:55.032970 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 1:31, ack 1, win 229, length 30
13:36:55.082279 IP srv.domain.local.56486 > asterisk.5038: Flags [P.], seq 1:37, ack 31, win 256, length 36
13:36:55.082286 IP asterisk.5038 > srv.domain.local.56486: Flags [.], ack 37, win 229, length 0
13:36:55.082356 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 31:50, ack 37, win 229, length 19
13:36:55.082429 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 50:74, ack 37, win 229, length 24
13:36:55.082613 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 74, win 256, length 0
13:36:55.132415 IP srv.domain.local.56486 > asterisk.5038: Flags [P.], seq 37:124, ack 74, win 256, length 87
13:36:55.132569 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 74:93, ack 124, win 229, length 19
13:36:55.132589 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 93:129, ack 124, win 229, length 36
13:36:55.132773 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 129, win 256, length 0
13:37:01.653724 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 129:209, ack 124, win 229, length 80
13:37:01.653893 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 209:545, ack 124, win 229, length 336
13:37:01.654047 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 545:702, ack 124, win 229, length 157
13:37:01.654066 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 545, win 254, length 0
13:37:01.654163 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 702:1036, ack 124, win 229, length 334
13:37:01.654412 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 1036, win 252, length 0
13:37:01.658032 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 1036:1456, ack 124, win 229, length 420
13:37:01.658134 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 1456:1845, ack 124, win 229, length 389
13:37:01.658179 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 1845:2245, ack 124, win 229, length 400
13:37:01.658398 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 1845, win 256, length 0
13:37:01.658596 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 2245:2637, ack 124, win 229, length 392
13:37:01.658614 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 2637:4240, ack 124, win 229, length 1603
13:37:01.658785 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 2637, win 253, length 0
13:37:01.658948 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 4240, win 256, length 0
13:37:01.659794 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 4240:4632, ack 124, win 229, length 392
13:37:01.659812 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 4632:6227, ack 124, win 229, length 1595
13:37:01.659831 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 6227:7824, ack 124, win 229, length 1597
13:37:01.659866 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 7824:12226, ack 124, win 229, length 4402
13:37:01.660080 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 6092, win 256, length 0
13:37:01.660219 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 7687, win 256, length 0
13:37:01.660224 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 12226:14988, ack 124, win 229, length 2762
13:37:01.660410 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 9284, win 256, length 0
13:37:01.660634 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 12204, win 256, length 0
13:37:01.660860 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 13686, win 256, length 0
13:37:01.666995 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 14988:15380, ack 124, win 229, length 392
13:37:01.667146 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 15380:15791, ack 124, win 229, length 411
13:37:01.667167 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 15791:16183, ack 124, win 229, length 392
13:37:01.667217 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 15380, win 256, length 0
13:37:01.667418 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 16183, win 253, length 0
13:37:01.668866 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 16183:16583, ack 124, win 229, length 400
13:37:01.668886 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 16583:18191, ack 124, win 229, length 1608
13:37:01.668904 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 18191:20149, ack 124, win 229, length 1958
13:37:01.668937 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 20149:24578, ack 124, win 229, length 4429
13:37:01.669133 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 18043, win 256, length 0
13:37:01.669393 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 19651, win 256, length 0
13:37:01.669401 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 24578:27838, ack 124, win 229, length 3260
13:37:01.669651 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 21609, win 256, length 0
13:37:01.669659 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 24529, win 256, length 0
13:37:01.669910 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 26038, win 256, length 0
13:37:01.669916 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 27838, win 256, length 0
13:37:01.672816 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 27838:28278, ack 124, win 229, length 440
13:37:01.672918 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 28278:28685, ack 124, win 229, length 407
13:37:01.672969 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 28685:29086, ack 124, win 229, length 401
13:37:01.673056 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 29086:29476, ack 124, win 229, length 390
13:37:01.673196 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 28685, win 253, length 0
13:37:01.673248 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 29476:29867, ack 124, win 229, length 391
13:37:01.673307 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 29867:30263, ack 124, win 229, length 396
13:37:01.673360 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 29476, win 256, length 0
13:37:01.673363 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 30263:30661, ack 124, win 229, length 398
13:37:01.673522 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 30661:31047, ack 124, win 229, length 386
13:37:01.673582 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 30263, win 253, length 0
13:37:01.673605 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 31047:31448, ack 124, win 229, length 401
13:37:01.673644 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 31448:31838, ack 124, win 229, length 390
13:37:01.673703 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 31838:32230, ack 124, win 229, length 392
13:37:01.673740 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 31047, win 256, length 0
13:37:01.673745 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 32230:32618, ack 124, win 229, length 388
13:37:01.673795 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 32618:33004, ack 124, win 229, length 386
13:37:01.673844 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 31838, win 253, length 0
13:37:01.673848 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 33004:33391, ack 124, win 229, length 387
13:37:01.673899 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 33391:33781, ack 124, win 229, length 390
13:37:01.673949 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 32618, win 256, length 0
13:37:01.673953 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 33781:34174, ack 124, win 229, length 393
13:37:01.674011 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 34174:34573, ack 124, win 229, length 399
13:37:01.674054 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 33391, win 253, length 0
13:37:01.674058 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 34573:34969, ack 124, win 229, length 396
13:37:01.674108 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 34969:35357, ack 124, win 229, length 388
13:37:01.674159 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 35357:35762, ack 124, win 229, length 405
13:37:01.674210 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 34174, win 256, length 0
13:37:01.674213 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 35762:36158, ack 124, win 229, length 396
13:37:01.674292 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 36158:36557, ack 124, win 229, length 399
13:37:01.674314 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 34969, win 253, length 0
13:37:01.674355 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 36557:36958, ack 124, win 229, length 401
13:37:01.674397 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 36958:37366, ack 124, win 229, length 408
13:37:01.674425 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 35762, win 256, length 0
13:37:01.674443 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 37366:37763, ack 124, win 229, length 397
13:37:01.674504 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 37763:38157, ack 124, win 229, length 394
13:37:01.674530 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 36557, win 253, length 0
13:37:01.674604 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 38157:38561, ack 124, win 229, length 404
13:37:01.674635 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 37366, win 256, length 0
13:37:01.674668 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 38561:38968, ack 124, win 229, length 407
13:37:01.674726 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 38968:39373, ack 124, win 229, length 405
13:37:01.674741 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 38157, win 253, length 0
13:37:01.674775 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 39373:39773, ack 124, win 229, length 400
13:37:01.674837 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 39773:40175, ack 124, win 229, length 402
13:37:01.674895 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 40175:40574, ack 124, win 229, length 399
13:37:01.674907 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 38968, win 256, length 0
13:37:01.674960 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 40574:40983, ack 124, win 229, length 409
13:37:01.674978 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 39773, win 253, length 0
13:37:01.675022 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 40983:41404, ack 124, win 229, length 421
13:37:01.675060 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 41404:41812, ack 124, win 229, length 408
13:37:01.675118 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 41812:42211, ack 124, win 229, length 399
13:37:01.675134 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 40574, win 256, length 0
13:37:01.675181 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 42211:42614, ack 124, win 229, length 403
13:37:01.675222 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 42614:43023, ack 124, win 229, length 409
13:37:01.675251 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 41404, win 253, length 0
13:37:01.675287 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 43023:43419, ack 124, win 229, length 396
13:37:01.675357 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 42211, win 256, length 0
13:37:01.675375 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 43419:43819, ack 124, win 229, length 400
13:37:01.675411 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 43819:44220, ack 124, win 229, length 401
13:37:01.675463 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 43023, win 253, length 0
13:37:01.675467 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 44220:44625, ack 124, win 229, length 405
13:37:01.675517 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 44625:45020, ack 124, win 229, length 395
13:37:01.675571 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 43819, win 256, length 0
13:37:01.675597 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 45020:45419, ack 124, win 229, length 399
13:37:01.675638 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 45419:45821, ack 124, win 229, length 402
13:37:01.675675 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 45821:46225, ack 124, win 229, length 404
13:37:01.675726 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 44625, win 253, length 0
13:37:01.675741 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 46225:46617, ack 124, win 229, length 392
13:37:01.675819 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 46617:47005, ack 124, win 229, length 388
13:37:01.676488 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 50240, win 256, length 0
13:37:01.676593 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 51036, win 253, length 0
13:37:01.748984 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 51448:51860, ack 124, win 229, length 412
13:37:01.749200 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 51860, win 256, length 0
13:37:01.749281 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 51860:52278, ack 124, win 229, length 418
13:37:01.749323 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 52278:52685, ack 124, win 229, length 407
13:37:01.749425 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 52685:53077, ack 124, win 229, length 392
13:37:01.749536 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 52685, win 253, length 0
13:37:01.749541 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 53077:53465, ack 124, win 229, length 388
13:37:01.749799 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 53465, win 256, length 0
13:37:01.752891 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 53465:53856, ack 124, win 229, length 391
13:37:01.752978 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 53856:54247, ack 124, win 229, length 391
13:37:01.753038 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 54247:54635, ack 124, win 229, length 388
13:37:01.753090 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 54635:55048, ack 124, win 229, length 413
13:37:01.753143 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 55048:55451, ack 124, win 229, length 403
13:37:01.753193 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 54247, win 253, length 0
13:37:01.753201 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 55451:56298, ack 124, win 229, length 847
13:37:01.753365 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 55048, win 256, length 0
13:37:01.753411 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 56298:56700, ack 124, win 229, length 402
13:37:01.753471 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 56700:57429, ack 124, win 229, length 729
13:37:01.753539 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 57429:57759, ack 124, win 229, length 330
13:37:01.753574 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 56298, win 251, length 0
13:37:01.753577 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 57759:58140, ack 124, win 229, length 381
13:37:01.753652 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 58140:58532, ack 124, win 229, length 392
13:37:01.753761 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 57429, win 256, length 0
13:37:01.753786 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 58532:58918, ack 124, win 229, length 386
13:37:01.753865 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 58140, win 253, length 0
13:37:01.753966 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 58918, win 256, length 0
13:37:01.753971 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 58918:59077, ack 124, win 229, length 159
13:37:01.754286 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 59077:59468, ack 124, win 229, length 391
13:37:01.754323 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 59468:59834, ack 124, win 229, length 366
13:37:01.754386 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 59834:60243, ack 124, win 229, length 409
13:37:01.754467 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 59468, win 254, length 0
13:37:01.754514 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 60243:60577, ack 124, win 229, length 334
13:37:01.754584 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 60243, win 251, length 0
13:37:01.754854 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 60577:60963, ack 124, win 229, length 386
13:37:01.754878 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 60963:61293, ack 124, win 229, length 330
13:37:01.754930 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 61293:61696, ack 124, win 229, length 403
13:37:01.754979 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 61696:62081, ack 124, win 229, length 385
13:37:01.755030 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 60963, win 256, length 0
13:37:01.755035 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 62081:62845, ack 124, win 229, length 764
13:37:01.755092 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 62845:63249, ack 124, win 229, length 404
13:37:01.755136 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 63249:63623, ack 124, win 229, length 374
13:37:01.755187 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 61696, win 253, length 0
13:37:01.755192 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 63623:63705, ack 124, win 229, length 82
13:37:01.755196 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 63705:64389, ack 124, win 229, length 684
13:37:01.755292 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 62845, win 256, length 0
13:37:01.755405 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 63623, win 253, length 0
13:37:01.755504 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 64389, win 256, length 0
13:37:01.822399 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 64389:64714, ack 124, win 229, length 325
13:37:01.822425 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 64714:65103, ack 124, win 229, length 389
13:37:01.822674 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 65103, win 253, length 0
13:37:03.713760 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 65103:65430, ack 124, win 229, length 327
13:37:03.713783 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 65430:65514, ack 124, win 229, length 84
13:37:03.713901 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 65514:65670, ack 124, win 229, length 156
13:37:03.714083 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 65514, win 252, length 0
13:37:03.714345 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 65670:66352, ack 124, win 229, length 682
13:37:03.714370 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 66352:66870, ack 124, win 229, length 518
13:37:03.714555 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 66352, win 256, length 0
13:37:03.714923 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 66870:66954, ack 124, win 229, length 84
13:37:03.714935 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 66954:67664, ack 124, win 229, length 710
13:37:03.715081 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 66954, win 254, length 0
13:37:03.715230 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 67664:68041, ack 124, win 229, length 377
13:37:03.715314 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 68041:68436, ack 124, win 229, length 395
13:37:03.715503 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 68041, win 256, length 0
13:37:03.715530 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 68436:68833, ack 124, win 229, length 397
13:37:03.715743 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 68833, win 253, length 0
13:37:03.718084 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 68833:69249, ack 124, win 229, length 416
13:37:03.740344 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 69249:69618, ack 124, win 229, length 369
13:37:03.740535 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 69618, win 256, length 0
13:37:03.740697 IP asterisk.5038 > srv.domain.local.56486: Flags [P.], seq 69618:69971, ack 124, win 229, length 353
13:37:03.936042 IP srv.domain.local.56486 > asterisk.5038: Flags [.], ack 69971, win 255, length 0
poteh
 
Сообщений: 3
Зарегистрирован: 12 июн 2018, 20:47

Re: Не приходят события в 1С от FreePBX по AMI

Сообщение poteh » 13 июн 2018, 15:13

Проблема решена. Проблема была в криво зарегистрированной библиотеке. Снял регистрацию, зарегистрировал заново и всё заработало.
Смутило то, что подключение и звонки проходят, только не поступают события. Спасибо всем.
poteh
 
Сообщений: 3
Зарегистрирован: 12 июн 2018, 20:47


Вернуться в Разработка

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2

© 2008 — 2018 Asterisk.ru
Digium, Asterisk and AsteriskNOW are registered trademarks of Digium, Inc.
Design and development by PostMet-Netzwerk GmbH