by williamconley » Mon Jul 01, 2019 8:17 pm
firewall doesn't make them "REACHABLE". Firewall allows them to send you packets even if you haven't sent them packets first. The stock firewall allows returning packets from someone you've sent a packet to. None of that is related to "REACHABLE" directly. REACHABLE is achieved when they receive your qualify packet and respond to it and you receive the response. But since the built in firewall specifically allows responses, nothing we are doing here was related to REACHABLE in the first place.
However: externip=SERVER_PUBLIC_IP in /etc/asterisk/sip.conf is directly related to REACHABLE, as are other firewall settings (if you have modified the standard opensuse firewall, that is). Additionally, NAT (if your server is on a private IP instead of directly on a public IP) is also related. And of course the carrier has to send you that return packet.
Return packet is not something you can control from This Side: that you can test by turning OFF the firewall for a minute, if the sip account is still UNREACHABLE the firewall is not involved directly as "the problem". (Perhaps A problem, but not The problem. lol) So you'd have to get REACHABLE resolved first, then turn on the firewall and see if the firewall breaks it again and adjust the firewall. However: Stock Vicidial has no problem with outbound calls, as a rule, since it's designed to allow the server to communicate with any IP to which it reaches out. But an outside IP initiating the connection requires authorization (definition of whitelisting).
Of course, you can always change qualify=no but then there will be no verification of a connection. I've only seen one or two carriers in ten years that don't respond to qualify packets but do allow calling.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294