Hi thanks for your reply. But now i have a new problem. I couldn’t receive calls anymore. I could only make calls. The logs mark this as ‘no_answer’. What ports is used to receive call? How can I troubleshoot this?
I’m pretty sure that No Answer is a higher level message than would be produced by a failure in the SIP communication. However, you need to enable the protocol logs (google: asterisk wiki debug, for details).
Also, the exact text of the error message, is normally very useful.
If you don’t want NO ANSWER in 20 seconds, remove the 20 from the Dial application call. Note that 20 seconds is shorter than the timeout that would apply at the SIP level, although, if it were timing out at that level, you would get subsequent messages about that.
Also logs are best presented as text,taken from the log files, rather than the screen.
I was troubleshooting my dev environment because i had asterisk on docker and it crashed because I opened a large range of port.
But now that was fine. I could make calls now, just couldn’t hear anything… There are no firewall rules that block rtp ports. Please suggest me what else I could do
# Generated by iptables-save v1.8.4 on Tue Feb 2 18:47:57 2021
*filter
:INPUT ACCEPT [1081:227733]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [772:186777]
:DOCKER - [0:0]
:DOCKER-ISOLATION-STAGE-1 - [0:0]
:DOCKER-ISOLATION-STAGE-2 - [0:0]
:DOCKER-USER - [0:0]
-A FORWARD -j DOCKER-USER
-A FORWARD -j DOCKER-ISOLATION-STAGE-1
-A FORWARD -o br-fb1c3d10d4b8 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o br-fb1c3d10d4b8 -j DOCKER
-A FORWARD -i br-fb1c3d10d4b8 ! -o br-fb1c3d10d4b8 -j ACCEPT
-A FORWARD -i br-fb1c3d10d4b8 -o br-fb1c3d10d4b8 -j ACCEPT
-A FORWARD -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -o docker0 -j DOCKER
-A FORWARD -i docker0 ! -o docker0 -j ACCEPT
-A FORWARD -i docker0 -o docker0 -j ACCEPT
-A DOCKER-ISOLATION-STAGE-1 -i br-fb1c3d10d4b8 ! -o br-fb1c3d10d4b8 -j DOCKER-ISOLATION-STAGE-2
-A DOCKER-ISOLATION-STAGE-1 -i docker0 ! -o docker0 -j DOCKER-ISOLATION-STAGE-2
-A DOCKER-ISOLATION-STAGE-1 -j RETURN
-A DOCKER-ISOLATION-STAGE-2 -o br-fb1c3d10d4b8 -j DROP
-A DOCKER-ISOLATION-STAGE-2 -o docker0 -j DROP
-A DOCKER-ISOLATION-STAGE-2 -j RETURN
-A DOCKER-USER -j RETURN
COMMIT
# Completed on Tue Feb 2 18:47:57 2021
# Generated by iptables-save v1.8.4 on Tue Feb 2 18:47:57 2021
*nat
:PREROUTING ACCEPT [484:62278]
:INPUT ACCEPT [52:4459]
:OUTPUT ACCEPT [9:584]
:POSTROUTING ACCEPT [9:584]
:DOCKER - [0:0]
-A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
-A OUTPUT ! -d 127.0.0.0/8 -m addrtype --dst-type LOCAL -j DOCKER
-A POSTROUTING -s 172.18.0.0/16 ! -o br-fb1c3d10d4b8 -j MASQUERADE
-A POSTROUTING -s 172.17.0.0/16 ! -o docker0 -j MASQUERADE
-A DOCKER -i br-fb1c3d10d4b8 -j RETURN
-A DOCKER -i docker0 -j RETURN
COMMIT
# Completed on Tue Feb 2 18:47:57 2021