Chan_iax2.c: Max retries exceeded to host

WARNING[15635] chan_iax2.c: Max retries exceeded to host X.X.X.X on IAX2/ABCD-7727 (type = 6, subclass = 11, ts=2469928, seqno=121)

It tried to send a packet, it failed.

Getting voice Issues, blank calls, due to this, what will be the reason for this ?

Packet loss most likely, of which you could do packet captures and see.

How we can resolve this?

Use tcpdump and/or sngrep and check your network connectivity

I am getting this warning, and when this occurs calls did not connect

Max retries exceeded to host 10.X.X.X on IAX2/srv819-15204 (type = 6, subclass = 2, ts=126062, seqno=40)

The message just means no response has been received from the other endpoint, and the message has been retransmitted the allowed number of times.

If you control both ends, you could try dumping traffic at the egress and ingress routers, or the endpoints themselves, to see if the packets are received over the network connection. Should give an idea of how to proceed.

If you do not receive the packets, but they are transmitted, you have a network problem. If you do get the packets on the receiving end, or if they do not leave the network interface of the transmitting end, you have an endpoint problem.

Possible network problems:

  • Firewall rules
  • Overloaded network with no QoS
  • Overloaded network with QoS but too much traffic that needs to be prioritized.
  • Loose cables
  • Bad cables

Possible endpoint problems:

  • Invalid subnet mask (If both endpoints are supposed to be on the same network)
  • Traffic rules on the endpoints, eg. iptables.