Call RoutingNovember 25, 20267 min read

Block Calls by State: When to Do It and How to Configure It

Yes, you can block calls by state. Here’s when it makes sense, how to set allowlists or denylists, and how to avoid losing real customers when area codes mislead.

CallFlow Engineering Team

Telecom engineering and support at CallFlow (ALERTSIO LLC)

Block Calls by State: When to Do It and How to Configure It – Call Routing article from the CallFlow blog

To block calls by state, set a state allowlist or denylist in your call router (the rules that decide where each call goes). Then choose where non-matching calls go. By the end of this guide, you’ll have a working filter with a clear fallback after a short setup and test run. You’ll also know when to screen rather than hard-block, so you don’t lose good leads.

What state-based blocking can and can’t do

State-based call blocking means your system routes a call based on the caller’s US state. It infers the state from the phone number (the area code and sometimes a carrier lookup). In practice, you can allow or deny certain states, or route by state to different targets. It’s common in territory protection, license or service coverage rules, and state-specific compliance.

We’ll use a running example: a home services pay-per-call campaign that only accepts calls from California and Nevada. If the call appears to be from CA or NV, it should ring the primary team. All other states should hear a clear message and then go to voicemail or a backup buyer (a client who takes and pays for qualified calls).

There is a hard limit here: area code does not always equal location. Number portability, people moving across states, roaming mobiles, and VoIP apps can all keep an out-of-state area code. So pure area-code filtering will sometimes misclassify a good caller. The safer default is an allowlist with a courteous message and a backup path, not a hard rejection that hangs up on the caller.

If you’re new to this concept, see the overview on geographic call routing and the deeper setup notes in route calls by state.

How to block calls by state (allowlist method)

CA+NV allowlist exampleDiagram of CA+NV allowlist example. Steps: Caller; Campaign number (Home services); State router (Allow CA,NV); Primary targets (Ring 20–25s); Out-of-area message; Voicemail. Connections: Caller to Campaign number; Campaign number to State router; State router to Primary targets (CA or NV); Primary targets to Voicemail (no answer); State router to Out-of-area message (other states); Out-of-area message to Voicemail (after msg).CA or NVno answerother statesafter msgCallerCampaign numberHome servicesState routerAllow CA,NVPrimary targetsRing 20–25sOut-of-area messageVoicemail
Illustrative exampleCA+NV allowlist example Calls from CA or NV ring the primary team; others hear a message or go to voicemail.Swipe sideways to see the whole diagram.

Goal: only CA and NV reach your primary targets. All other states hear a short message and then flow to voicemail or a backup route. This protects territory and keeps a record of missed opportunities.

  1. Add or pick the campaign number. This is the toll-free or local number your ads use. Confirm it rings somewhere for now so you can test reachability.

  2. Create a router with a state allowlist. In the router’s geographic or state filter, select California (CA) and Nevada (NV). This rule checks the caller’s number and passes only those states to the next step.

  3. Add your primary targets. Targets are the phones or SIP endpoints (softphones or desk phones registered over the internet) that will take allowed calls. Use a ring time of 20–25 seconds per target so a mobile has time to surface the call. If you have two agents, that gives you 40–50 seconds before overflow.

  4. Set the fallback for non-allowed states. Point the “other states” branch (the path a call takes) to a short audio message (“Thanks for calling. We only serve CA and NV today.”) and then to voicemail, or to an alternate buyer that accepts nationwide calls.

  5. Add a total timeout and overflow. If no primary target answers in 40–60 seconds, overflow to voicemail or a queue (a holding line that plays music while waiting). This keeps callers from hitting their own carrier voicemail.

  6. Record the calls if your client needs QA. Turn on call recording where it’s legal. If you record, add a brief IVR (an automated menu) disclosure to your greeting in all-party consent states. You can review consent rules here: state call recording for business.

  7. Test with known numbers. Call from a CA or NV number and from an out-of-state number. Confirm the correct branch in each case.

On platforms like CallFlow, you’ll see real-time logs for each test: the detected state, which branch matched, the ring time on each target, and the final outcome. Successful tests show CA/NV calls hitting the primary targets, and others going to your message then to voicemail or the backup buyer.

Set a denylist of states and route the rest

Use a denylist when you operate in most states but must exclude a few due to licensing or client rules. For example, you might block callers from Alaska and Hawaii, but accept the other 48 states.

Put the denylist branch first in the router, above your general routing. Add a “Match: AK, HI” branch that plays a message and routes to voicemail or a general information line. Then add a default branch that routes all remaining callers to your main targets. The order matters. If you place the general routing before the denylist, excluded states will slip through.

Verify the branch order with two quick test calls from denylist states. Check live logs to see the denylist branch hit before any general target is tried. If you must exclude by rule, avoid a hard block when you can offer voicemail or an alternate desk. A short explanation reduces complaint rates and can save a lead you later reassign.

Territory and compliance recipes you can copy

Exclusive territories with caps: Create one router per buyer or one shared router with state allowlists per buyer branch. For each buyer’s branch, set daily and concurrent caps per target. When a buyer hits their cap, overflow to a second buyer that also covers those states. This keeps coverage without spilling into prohibited areas.

Shared coverage across a region: For a group that shares CA and NV, route the allowed states to a target group with weighted or round-robin methods. Weighted routing helps when one desk wants 70% of volume and another 30%. Round-robin spreads calls evenly to keep handle time balanced.

Regulatory needs by state: If you don’t operate in certain states, steer those calls to a general message or to an info line. If you record calls for QA, include a short disclosure at the start of the call. Add a short IVR disclosure (“Press 1 to continue”) when recording in all-party consent states. Pair state filters with clear language so callers know their options.

After-hours handling: Tie state filters to per-target schedules. During office hours, route allowed states to agents. After hours, send allowed states to a queue or to voicemail. For non-allowed states, keep the same polite message at all hours. This avoids confusion when ads run late.

Area code vs true location: limits and safe workarounds

Area-code inference fails in common cases. People keep numbers when they move, businesses port numbers across states, and mobiles roam. VoIP apps also issue numbers with distant area codes. A caller who lives in Reno might use a 212 New York number. A strict allowlist would block them even though you serve their address.

Use practical workarounds for edge cases. A light screening IVR works well: “Press 1 if you need service in CA or NV.” Send “1” to the allowed branch even if the area code says otherwise. Send any other response to a person to screen the call. Keep the IVR short to avoid drop-offs. See examples in the screening IVR for pay-per-call guide.

There are times not to hard-block at all. National toll-free campaigns see a wide mix of area codes, and high-value inbound often deserves a short screen instead of a reject. You can also reduce junk without geography mistakes by using line-type lookup (tells you if a number is mobile, VoIP, or landline), VoIP-caller blocking, rate limits, and blocklists.

Test and monitor so you don’t lose good calls

Run controlled tests before you go live and any time you change rules. Place calls from an in-state number you control and an out-of-state number. Confirm each call takes the expected branch, rings for the configured time, and lands in the right mailbox or buyer if unanswered.

Watch real-time logs closely for the first hour after release. Look for short-call spikes, fast hangups, or a sudden rise in “message then voicemail” outcomes. These can signal an IVR prompt that’s too long or an allowlist that’s too strict.

Use scheduled email reports to review volume by state weekly. If you see many legitimate callers landing in the fallback, widen your allowlist or add a one-key IVR confirmation. Keep overflow and voicemail paths clean: current greeting, mailbox not full, and an inbox someone checks twice a day. Even rejected states should get a clear, polite explanation.

Outside the US: what filters you can use instead

Not all countries have state-level routing. In many markets you can filter by country or by area code ranges instead. Pair that with schedules and a simple IVR prompt that confirms service area in plain words.

If you operate in India, the Philippines, Thailand, Bangladesh, or Pakistan, test from local carriers and common mobile networks. Caller ID formats and number presentation can differ by route, and some networks mask or rewrite numbers. Keep your filter rules conservative, add an IVR confirmation for service area, and verify behavior with live test calls from each region.

What to do next

Set up your allowlist now and run two test calls, one from an allowed state and one from a non-allowed state. If you need help, start with a simple allowlist and one fallback. You can add IVR screening later if needed. Want this ready to run with real-time logs, schedules, IVR, and buyer caps on one screen? Create an account at /register or contact us.

Frequently asked questions

How do I block out-of-state calls without losing real customers?

Use an allowlist rather than a hard block, route non-matching calls to a short, polite message, then to voicemail or a backup buyer. Give allowed targets 20–25 seconds ring time per agent so mobiles can surface. Add a one-key IVR to let legitimate callers self-identify, test with known numbers, and watch live logs for false rejections so you can widen the allowlist quickly.

How accurate is blocking by state if the caller kept their old area code?

Not very reliable. Area codes can belong to numbers kept after a move, ported numbers, roaming mobiles, or VoIP services. State inference can be assisted by carrier/HLR or line-type lookups, but those don’t fix number portability. Assume some legitimate callers will be misclassified and design a fallback (message, voicemail, or screening IVR) rather than a silent hangup.

Can I allowlist area codes instead of states?

Yes, you can filter by area code as well as by inferred state, but the same caveats apply: area-code filtering will misclassify people who kept numbers from another state or who use VoIP. If you use area-code allowlists, add a short IVR to let callers confirm service area, route confirmed callers to the primary targets, and keep a tested fallback path for any that don’t match.

What happens to toll-free callers if their state can’t be inferred?

If the state can’t be determined, route the call to the router’s default branch you set: play a short message and send the call to voicemail or a backup buyer, or present a one-key IVR to confirm eligibility. Configure and test that default branch before going live, and monitor real-time logs so unknown-state toll-free traffic doesn’t get dropped unexpectedly.

Should I use an IVR to confirm the caller’s state before blocking?

Yes. A very short IVR like “Press 1 if you need service in CA or NV” safely lets callers override a misclassified area code. Send presses to the allowed branch and others to a human screener or voicemail. Keep the prompt under a few seconds, test for drop-offs, and add a recording disclosure when you enable call recording in states that require all-party consent.

From the team

CallFlow Engineering Team

Telecom engineering and support at CallFlow (ALERTSIO LLC)

The engineers and support staff who build and operate CallFlow's call-routing platform. We write from what we see running inbound routing for pay-per-call marketers, agencies and small businesses every day: routing rules, carrier behaviour, spam flags, and the configuration mistakes that quietly cost calls.

Ready to get started with CallFlow?

No subscription. Transparent usage billing. Per-number spam scores. Built for scale.

Create Free Account →