The NUmber you have dialed is not in service please check the number and tried again

I keep getting this error randomly throughout the day. Twilio told me to add the extension list to the allow list on my firewall I have done this bit it still happens from time to time. Is there a place in FreePBX\Astrik to add the list below

-A INPUT -s 54.172.60.0/23 -j ACCEPT
-A INPUT -s 34.203.250.0/23 -j ACCEPT
-A INPUT -s 54.244.51.0/23 -j ACCEPT
-A INPUT -s 54.171.127.128/25 -j ACCEPT
-A INPUT -s 52.215.127.0/24 -j ACCEPT
-A INPUT -s 35.156.191.128/25 -j ACCEPT
-A INPUT -s 54.65.63.192/26 -j ACCEPT
-A INPUT -s 54.169.127.128/26 -j ACCEPT
-A INPUT -s 54.252.254.64/26 -j ACCEPT

I’m no firewall guy, but I think that if you have the FreePBX firewall enabled, it may overwrite manual changes by default. Those are pretty simple firewall rules, so you shouldn’t need to add them manually, assuming you are using the FreePBX Firewall module. You can find those settings in the Connectivity -> firewall section. Add those IPs to the trusted group under Networks.

https://wiki.freepbx.org/display/FPG/Firewall+Custom+Rules

I am really not familiar with Linux. any other link you can provide that will walk me on how to create the file.

Thanks

You cannnot have 54.169.127.128/25, 54.169.127.0/24, 54.169.127.25/26. Those subnets conflict with each other.

Also, if ypu are using Chan_SIP trunks you need one per IP

where can I check if I am using chan_sip. I am on the chan sip settings but I dont see a place to add ip addreses

Have you made any Trunks yet?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.