The problem. When a phone fails to attach to a 5G network, the answer is in the packet capture: thousands of messages across several interfaces, encoded in 3GPP specifications that run to hundreds of pages. Experienced engineers read them by hand. Everyone else waits for an experienced engineer.

What I built. TelcoLadder is a command-line tool and local web UI. You give it a capture; it follows each subscriber across every interface and draws the call flow as a ladder diagram. Every failure is explained with its cause code, the specification clause, and the most common field causes.

A failure, explained

Here is the kind of failure TelcoLadder is built for: the SIM rejects the network’s challenge, and the network recovers. Hover or tap each message. This simplified demo shows specification numbers only; TelcoLadder itself cites the exact clause, for example 3GPP TS 24.501 §9.11.3.2.

Sequence diagram: a 5G registration where authentication fails with a synch failure and recoversUEgNBAMFAUSFRegistration RequestAuthentication Request✕ Authentication Failure (#21)Nausf_UEAuthentication (resync)Authentication RequestAuthentication ResponseRegistration Accept
01UE → AMF

Registration Request

The phone asks to register. The base station only relays it.

3GPP TS 24.501

The rule I would not break: nothing generated. It is tempting to let a language model “explain” a failure. In this domain a confident wrong explanation is worse than none, because an engineer will act on it. So TelcoLadder explains failures only from a cause table, and every entry in that table is checked against Wireshark’s own decoder (tshark) in continuous integration, on two tshark versions. When the table had been built against one tshark version and CI ran another, seven checks failed. The fix was to make tshark itself the reference the tests compare against, not to loosen the checks until they passed.

Result.

  • 775 3GPP cause codes, each verified against tshark.
  • Runs 100% locally: captures never leave the machine, which matters for operator data.
  • Published on PyPI and as a standalone Windows zip (no install required); source-available under a noncommercial licence.

What it says about how I work. I trust tools that can show their work. I would rather ship a narrower tool that is always right than a broader one that is sometimes convincing.

→ github.com/gollumw/TelcoLadder