Fusionpbx – special config – block an IP

check if caller number match some preifx:

^+?1?(347|450|514|718|732|845|914|917|929)\d{7}$

LUA Script

https://freeswitch.org/confluence/display/FREESWITCH/Lua+Welcome+IVR+example

Paging. 2 feature code for 2 extension list

*724 page 20X, *725 page 10X
page 201 ~ 207
page 101 ~ 107

restrict outgoing calls to some specific numbers

^(2124141100|2124441100)$
dialplan -> dialplan manager-> add rule (order 90), should before other outgoing rule order

Block an IP :

iptables -A fail2ban-freeswitch-udp -s 198.0.28.220 -j DROP