Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Phone numbers in E.164: the formatting bugs that break SMS and calls

AI disclosure: this article was written with the help of AI and checked by a human before publishing. Most "SMS not delivered" and "call failed" tickets I have seen were not network problems. They were phone numbers stored in a shape the carrier could not route. The fix is boring and it works: store every number in E.164 and convert at the edges. What E.164 is E.164 is the international numbering…

In the world of phone numbers, a common issue arises – numbers stored in an inconsistent format that can break SMS and calls. This problem stems from leaving behind dialling prefixes, adding duplicate country codes, importing CSV data incorrectly, or accepting duplicate user entries. To combat these formatting bugs, phone numbers must be stored in E.164 format, which includes a plus sign, country code, and national number without any spaces or punctuation.

A single function, such as the one provided using the libphonenumber library, can easily convert raw numbers into E.164 format, ensuring consistent storage and avoiding formatting issues. By implementing this normalization process, developers can prevent common mistakes like leaving in UK's leading zero, double country codes, or spreadsheet formatting mishaps, ultimately improving the reliability of SMS and voice APIs.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Preinstalled Android Malware Detected on Brand-New Devices Bought by Businesses

Keenadu and Triada were detected on new Android devices purchased for work. Malware embedded in firmware can compromise the protections that isolate app data.

  • Keenadu and Triada malware found in new Android devices
  • Malware compromises Android's sandbox, risks legitimate apps
  • Alldocube released firmware updates for Japanese devices on March 4

Writing the code took a week. Trusting it took months.

Anthropic published an engineering account this week that offers a rare, detailed look at what AI-assisted development actually costs.

  • Claude wrote core request path in one week
  • Verification process took months due to weak tests
  • Significant performance improvements achieved post-migration

A verifier that cannot measure is not a passing verifier

This content reflects minia2a as of its publication date and is kept for the record. Current model: x402 pay-per-call in USDC on Base only , 5 free trial calls per signed wallet , no credits and no…

  • Verifier must accurately measure system state or output
  • Exit codes 0 (clean), 1 (finding), 3 (cannot measure)
  • Three incidents on November 27, 2026 demonstrated flaw

More from Friday 27 November →