> ## Documentation Index
> Fetch the complete documentation index at: https://docs.get2dial.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Route inbound calls by caller ID

> Send calls from a specific caller number to a different destination than the number's normal routing rule.

Override where a call goes based on who's calling, before it reaches the phone number's normal
routing rule.

<Note>
  This controls **inbound** routing only — which destination an incoming call reaches based on
  the caller's number. It doesn't affect the caller ID Get2Dial presents on outbound calls;
  that's set per carrier (see [Connect a SIP carrier](/voice/connect-a-carrier)) and per lead
  list (see [Import a lead list](/outbound/leads/import-a-lead-list)).
</Note>

## Before you start

* You need a destination to route matching calls to — most commonly a
  [queue](/inbound/queues/create-a-queue).
* Understand [routing rules](/inbound/route-an-inbound-number) first — caller ID rules are
  evaluated before them, not instead of them.

## Steps

<Steps>
  <Step title="Go to Caller routing">
    In the left navigation, select **Caller routing**, then select **New caller rule**.
  </Step>

  <Step title="Name the rule">
    Enter a **Name** you'll recognize, such as "VIP customers to priority queue".
  </Step>

  <Step title="Scope it to a number, or leave it open">
    Leave **DID** blank to apply this rule to calls to any of your phone numbers, or select
    one to scope it to that number only.
  </Step>

  <Step title="Choose how it matches the caller">
    Set **Match type** to **Prefix** to match the start of the caller's number, or **Regex**
    for a pattern.
  </Step>

  <Step title="Choose the destination">
    Set **Destination type** to **Queue**, **Ring group**, **IVR menu**, **Voicemail**, or
    **Extension**, then pick the specific one.
  </Step>

  <Step title="Set the priority">
    Enter a **Priority** if you have more than one caller rule that could match the same
    call — lower numbers are evaluated first.
  </Step>

  <Step title="Save the rule">
    Confirm **Active** is **Yes**, then select **Save**.
  </Step>
</Steps>

## Verify

<Check>
  Call one of your phone numbers from a number that matches the rule. It reaches the rule's
  destination instead of the number's normal routing rule.
</Check>

## Common problems

* **The rule doesn't seem to apply.** A more specific rule (lower priority number) might be
  matching first, or the call might not match your prefix or pattern exactly.
* **You wanted this for outbound caller ID, not inbound routing.** See
  [Connect a SIP carrier](/voice/connect-a-carrier) for your default outbound caller ID,
  [Caller ID policies](/outbound/campaigns/caller-id-policies) for rule-driven selection
  (pooled, geographic, or DID-based) applied per campaign, or
  [Import a lead list](/outbound/leads/import-a-lead-list) for a per-list static override.

## Next steps

<CardGroup cols={2}>
  <Card title="Route an inbound number" href="/inbound/route-an-inbound-number" />

  <Card title="Create a queue" href="/inbound/queues/create-a-queue" />
</CardGroup>
