lerg_tandem
Look up tandem routing information by NPA+NXX, switch CLLI, tandem CLLI, or carrier name pattern. Returns tandem switch, OCN, LATA, and routing path from LERG databases.
Instructions
Look up tandem routing information. Query by NPA+NXX, switch CLLI, tandem CLLI, or carrier name pattern. Returns tandem switch, OCN, LATA, and routing path via SQL JOINs across lerg_6, lerg_7_sha, and lerg_1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npa | No | 3-digit area code (NPA) — use with nxx | |
| nxx | No | 3-digit exchange code (NXX) — use with npa | |
| switch_clli | No | Switch CLLI code (e.g. DNVRCOMADS0) | |
| tandem | No | Tandem CLLI code — reverse lookup to find what subtends it | |
| name | No | Carrier name pattern with % wildcard (e.g. %VERIZON%). Case-insensitive. | |
| limit | No | Max results (default 100) | |
| offset | No | Pagination offset (default 0) |