Blocking out of country

I get how to block other country codes, but how can I block country codes that also share the 1-xxx-xxx-xxxx (NANP)? I’ve got no reason to contact any other country outside of the US with this application. My SIP provider has no long distance fees if inside the US. The per minute fee goes up quickly outside of the US.

Thanks.