Answer the question
In order to leave comments, you need to log in
Why don't events come to 1C from FreePBX via AMI (Asterisk)?
I am doing a bunch of 1C and Asterisk (FreePBX). I'm trying 2 components: BROM-Asterisk-Native and Asterisk.NET.dll (via COM). Both successfully connected to AMI, it turned out to make a call. But I just can't figure out why I can't receive events from Asteriska when I call. At the same time, if I connect via putty to port 5038, events are poured during the call.
Windows Server 2008 R2, 1C version 8.3.10.2580 (tried both 64-bit and 32-bit versions), FreePBX 14.0.3.2 are used.
I test the same components, the same processing and configurations in a different environment - everything works.
Second environment: Windows Server 2012, 1C version 8.3.10.2650 (32 bits), FreePBX 2.11.0.43.
Here is the configuration 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
Answer the question
In order to leave comments, you need to log in
Take a pcap dump (tcpdump on Linux or Wireshark on windows) and see if data is being transferred or not.
In general, is there a connection? See if there is a connection from 1C with the manager show connected command.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question