Skip to content
CLIRoutes

Free tool

CLI format checker

Paste a caller ID or a full SIP From or P-Asserted-Identity header. The checker reads the number, checks it against the numbering plan and the rules of the country you are calling, and gives you the value to send to the trunk.

A number in any format, or a full From / P-Asserted-Identity header.

For numbers without a country code.

1 fail · 2 warning

Send to trunk as442079460018
  • Pass: Valid number

    +442079460018 is a valid United Kingdom fixed line number.

  • Warning: Trunk format

    Send 442079460018. Strip the + before the call leaves your switch.

  • Pass: Number type

    Fixed line numbers are accepted as CLI on most routes.

  • Fail: Looks like a real number

    The number contains an Ofcom range reserved for TV and film. Operators filter these as spoofed.

  • Pass: Matches destination

    Domestic United Kingdom CLI on a call to United Kingdom, which usually lifts answer rates.

  • Note: United Kingdom rules

    Ofcom CLI guidance requires a valid, dialable number the caller is entitled to use.

  • Warning: Route type

    UK networks block calls from abroad that present a UK number. The call must enter the UK network as a domestic call.

  • Note: Authorisation

    This tool checks format only. You must own the number or be authorised to present it, and it must be listed on your account.

Why CLI format matters

On a CLI route the caller ID you send is the number the person sees. If it is malformed, the terminating network either replaces it, shows it as unknown, or rejects the call. Each of these lowers your answer rate, and on some destinations repeated bad CLIs get the traffic flagged as spoofed. What is a CLI route explains how caller ID travels end to end.

Your dialerFrom: +442071234567CLIRoutesCLI checkedDirect partnerPAI preservedHandset+44 20 7123 4567Grey transitre-routedHandsetUnknown / wrongCLI stripped or rewritten
The caller ID you set leaves your switch and must survive every hop to the handset.

What the checker looks at

  • Presence. Withheld values such as anonymous or restricted fail. CLI routes need a real number.
  • Validity. The number must match a range and length in its national numbering plan.
  • Trunk format. We expect country code plus number with no + or 00. The checker shows the corrected value.
  • Number type. Premium-rate numbers fail. Toll-free numbers warn, because many networks reject them as CLI and they often cannot be called back from abroad.
  • Placeholder patterns. Long runs of the same digit, sequences such as 1234567, and ranges reserved for TV and film are rejected as obviously fake.
  • Destination rules. Domestic and international CLI are treated differently, and some countries have specific rules.

Reading SIP headers

Caller ID can appear in the From header, in P-Asserted-Identity (PAI), or both. Many carriers, including us, use PAI when it is present and fall back to From. Paste either header and the checker takes the user part of the URI.

Headers the checker understands
From: "Sales" <sip:[email protected]>;tag=8f2a
P-Asserted-Identity: <sip:[email protected]>
P-Asserted-Identity: <tel:+4930901820>

If From and PAI carry different numbers, the call can be shown differently on different networks. Set both to the same value unless your carrier asks for something else.

Country rules that catch people out

Some countries block calls from abroad that present a domestic number, because that is what spoofed scam calls look like. The UK and Germany both do this. A CLI route avoids the problem by handing the call over inside the country, so it arrives as a domestic call. Brazil requires a 0303 number for telemarketing. In the US and Canada, STIR/SHAKEN attestation affects how the call is labelled. CLI rules by country has the full table.

Before a campaign

Check every caller ID in your dialer campaign settings, not just one. Confirm the dialer sends the value the checker suggests: place a test call and read the From and PAI headers in a SIP trace. Then follow the route acceptance test plan to confirm the number reaches the handset unchanged.

Last reviewed by the CLIRoutes routing team. Spotted a numbering change? Tell us.

FAQ

CLI format checker questions

Can’t find what you need? Our routing team answers within the hour, around the clock.

Should the caller ID include a plus sign?

For CLIRoutes trunks, send country code plus number with no + or 00. Some other carriers accept a + in E.164; check their interop guide.

Which header carries the caller ID, From or PAI?

We read P-Asserted-Identity first and From if PAI is missing. Set both to the same number to avoid surprises on other networks.

Can I use a toll-free number as caller ID?

It is risky. Many networks reject toll-free CLIs and they usually cannot be called back from abroad. A geographic or mobile number is safer.

Why would a valid UK number fail on a UK call?

UK networks block calls from abroad that present a UK number. The call has to enter the UK network as a domestic call, which is what a UK CLI route does.

Does passing the check mean my calls will show the number?

Not on its own. The number must also be authorised on your account and the route must support CLI for that destination.