How does the PSTN work?
When you dial a phone number, the PSTN connects the call in two layers that run side by side. Signaling messages pass from switch to switch to locate the number and ring it. A voice path then opens between the two phones and stays active until someone hangs up. On older parts of the network, that path is a reserved 64 kbit/s circuit. On newer parts it is a stream of IP packets, and gateways convert between the two where a call passes from one kind of network to the other.
How the dialed number routes a call
The PSTN is not run by a single company; it is the combined networks of many telephone carriers, connected so that a number you dial on one carrier can reach a number on any other. We define the network's scope in what the PSTN is.
When you place a call, each switch along the path reads the dialed number to choose the next hop. Under ITU-T Q.7001, the called party number in the first setup message routes the call to its destination, using numbers formatted under E.164, the international numbering plan.
In the traditional two-tier switch layout, a Class 5 switch operates at the local telephone company's central office and directly serves subscribers. Class 4 switches, also called tandems, connect those central offices to each other, so a call to someone on a different Class 5 switch passes through one or more Class 4 switches on the way.
Those Class 4 and Class 5 tiers are network roles rather than fixed hardware, because many carriers replaced dedicated circuit switches years ago with software platforms running on standard servers, such as Atlantech Online's BroadSoft softswitch2.
Signaling sets up the call before anyone speaks
Telephone switches exchange control messages on a channel separate from the one transmitting voice. In ITU-T Q.700, this arrangement is called common channel signaling: one channel transmits labeled messages about many voice circuits at once. That system is Signaling System No. 7, or SS7, and its messages travel over signaling links between switches, sometimes through relay nodes called signal transfer points.
The part of SS7 that controls telephone calls is the ISDN User Part, or ISUP. Under RFC 33983, the IETF standard for translating between ISUP and SIP (the protocol used in IP telephony), five ISUP messages handle an ordinary call from setup to hang-up.
The five messages in an ordinary call
| Message | When it is sent | What it does |
|---|---|---|
| Initial Address Message (IAM) | The caller's side starts the call | Sends the called number to the next switch and begins setup |
| Address Complete Message (ACM) | The far switch has enough of the number | Confirms the call can be set up. Ringing typically follows |
| Answer Message (ANM) | The called party picks up | Marks the call as answered, with audio established both ways if it wasn't already |
| Release (REL) | Either side hangs up | Asks to clear the call |
| Release Complete (RLC) | In reply to the release | Confirms the circuit is ready for another call |
The voice path: a reserved circuit or a stream of packets
On the traditional circuit-switched network, the voice path is a dedicated circuit reserved while the call is being set up. ITU-T G.7114, the telephone network's basic voice coding standard, samples speech 8,000 times a second and uses eight binary digits for each sample, which requires 64,000 bits per second in each direction.
Carriers bundle those 64 kbit/s channels onto trunks. A business PRI line on a North American T-1 illustrates that layout at small scale: 23 voice channels, each supporting one call at a time, plus one data channel for call-related signaling such as caller ID. Each voice channel stays reserved for one call until it ends, and capacity on a T-1 PRI is provisioned in fixed 23-channel blocks. We compare that handoff with IP trunks in SIP trunking versus PRI.
On IP voice networks, your speech is still digitized, but it travels across a data network in small packets while SIP messages handle the call setup that ISUP handles on the circuit side. No fixed time slot on a trunk is reserved for the length of the call, though your carrier can still limit how many simultaneous calls you run. We cover that contrast in how VoIP is different from a landline.
Where circuits and packets meet
Today's PSTN mixes both methods: in its 2025 notice on IP interconnection5, the FCC notes that IP voice networks route calls end to end over managed IP cores and session border controllers, and hand a call off "via a media gateway to TDM at the network edge" whenever it must cross a circuit-switched network. TDM, short for time-division multiplexing, is the 64 kbit/s circuit technology used on legacy trunks.
Legacy telephone lines, business T-1 and PRI circuits, alarm and elevator lines, and 911 services may still be provisioned on TDM. We cover which devices face disruption as carriers retire copper circuits in which legacy devices are at risk when PSTN/POTS lines are retired.
At the boundary between IP and TDM, a gateway performs two translations defined in RFC 3398. A media gateway controller, also called a softswitch, translates the signaling: a SIP INVITE becomes an ISUP IAM on the way out, and the returning ANM becomes a SIP 200 response. A media gateway converts the audio, using T1 or E1 trunk interfaces on the telephone side and IP interfaces on the other. We cover the customer-premises version of that device in what a PSTN gateway does.
Signaling can also cross transport types: RFC 3398 notes that ISUP typically runs over SS7's own transport layer, "although it can also run over IP." That means a call can follow the ISUP message sequence above even while those messages travel over an IP network.
IP interconnection also changes where carriers exchange traffic: on TDM networks, carriers typically interconnect at many local central offices and tandems, whereas IP voice networks span larger regions and exchange traffic at fewer locations, such as carrier hotels and internet exchanges.
How a business phone system connects
Your business reaches the PSTN through a carrier, which can deliver that connection in four common forms. Carriers such as Atlantech Online6 offer a hosted cloud PBX, or carrier delivery to your own PBX over SIP, PRI, or analog lines. Analog lines and PRIs are circuit handoffs, while a SIP trunk is an IP handoff, which we explain in how SIP trunking works. A cloud PBX runs the phone system itself inside the carrier's network.
If you use Microsoft Teams for external calling, Microsoft's PSTN connectivity options7 follow the same carrier handoff model. Under Operator Connect, calls travel from Teams through Microsoft Operator Connect to a participating carrier and out to the PSTN, with the carrier managing the session border controllers8 and supplying your phone numbers. Under Direct Routing9, you supply your own certified session border controller, which requires "one or more PSTN trunks connected to the SBC."
One call across both kinds of network
Suppose you work at a company using Microsoft Teams with an Operator Connect carrier, and you dial the landline of a small insurance office that still uses an analog line from its local telephone company.
The call starts on IP and crosses into a circuit-switched network on the way to the landline. Teams passes the call to Microsoft's platform, which hands it to the Operator Connect carrier as IP traffic. That carrier routes the call toward the network serving the dialed number. Suppose one carrier along the way connects over TDM. A gateway there turns the SIP INVITE into an IAM and reserves a 64 kbit/s channel on a trunk. The far switch returns an ACM once it has the full number, and the line rings. When someone picks up, the ANM comes back and the gateway answers the SIP side. You and the person at the insurance office can now talk.
Your voice leaves your laptop as IP packets and arrives at the desk phone as an analog signal. When either side hangs up, the release messages clear the trunk channel and the gateway ends the SIP session. Because every conversion happens inside the carriers' networks, both sides hear an ordinary phone call.
Sources
- ITU-T Recommendation Q.700: Introduction to CCITT Signalling System No. 7International Telecommunication Union (ITU-T)
- Atlantech Online's Voice Switch: What You Should KnowAtlantech Online
- RFC 3398: Integrated Services Digital Network (ISDN) User Part (ISUP) to Session Initiation Protocol (SIP) MappingInternet Engineering Task Force (IETF)
- ITU-T G.711: Pulse code modulation (PCM) of voice frequenciesInternational Telecommunication Union (ITU-T)
- Advancing IP Interconnection (2025 Notice)Federal Communications Commission via Federal Register
- Business Phone ServiceAtlantech Online
- Microsoft - PSTN connectivity optionsMicrosoft Learn
- How Does Operator Connect Actually Connect My Phone Numbers to Teams?Atlantech Online
- Plan Direct Routing - Microsoft TeamsMicrosoft Learn
Published by AnswerStack
