CentOS 7 + asterisk 13 + FreePBX 13 is installed on the VirtualBox virtual machine, Microsip softphones connect to the asterisk, they are online and the asterisk sees them, but when I try to call one to another, I get an error 408. I can’t understand why and how to fix it. Already did :

  1. Turned off FireWalld
  2. Turned off iptables
  3. Anyway, just in case, opened the ports iptables.

tcpdump prints the following:

IP 192.168.1.31.59472> 192.168.1.52.sip: SIP, leight: 980

IP 192.168.1.52> 192.168.1.31: ICMP 192.168.1.52 udp port sip unreachable, leight 556

Asterisk address: -.-. 1.52

Phone Address: -.-. 1.31

What could be wrong?

  • I found out that there is a problem with port 5060, but why? I set it in iptables: iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT - slake
  • It is possible that the firewall on the machine with a softphone pushes incoming traffic on port 5060. - user194374
  • On a machine with a softphone, Win7 is installed, ports 5060 are also opened there. - slake

1 answer 1

Trite, but the asterisk itself is running? Is the port listening on the server?

Run to check netstat -nlpu | grep ':5060' netstat -nlpu | grep ':5060'

Also check the firewall in FreePBX 13