Did a little digging around.
xtables is the way to go but you have upgrade both the kernel and iptables.
Best setup is kernel 2.6.30 + iptables 1.4.4 + xtables-addons 1.17.
xtables requires iptables >= 1.4.3
Those versions are not yet released for Centos. I loaded up a Fedora server, installed the RPM's and off we go. Don't know what else will break because of it though.
Ubuntu is currently at kernel 2.6.28, iptables 1.4.1 so even it is behind the curve. Personally I think it is too early to adopt this bit of technology.
I will also play devils advocate on this. I think it is a bad idea. One of the advantages of SIP is the ability to place calls to and from anywhere in the world. If someone wants to block that access then they are better of just placing a filter in their router to only allow inbound from their provider. This solution is like using a sledge hammer to swat a fly.
Feel free to change my mind
