Chapter 4: ISDN Interfaces — PRI and BRI for Digital Voice Signaling

Learning Objectives

Pre-Quiz — Partition A: ISDN Fundamentals & PRI

1. What is the primary purpose of the D-channel in an ISDN circuit?

A) To carry voice conversations between endpoints B) To provide backup bandwidth when B-channels are full C) To carry Q.931 signaling messages for call setup and teardown D) To encrypt voice traffic between the router and the PSTN

2. How many simultaneous voice calls can a single T1-PRI span support?

A) 24 B) 30 C) 23 D) 32

3. Which Q.931 message indicates that the called party has answered and a B-channel should be allocated?

A) SETUP B) ALERTING C) CALL PROCEEDING D) CONNECT

4. What advantage does the NIM-8CE1T1-PRI's integrated CSU/DSU provide?

A) It converts analog signals to digital B) It eliminates the need for an external CSU/DSU box at the demarc C) It provides Power over Ethernet to connected phones D) It performs SIP protocol conversion

5. An E1-PRI uses time slot 16 for the D-channel. What occupies time slot 0?

A) An additional B-channel for voice B) Framing and synchronization C) Encryption key exchange D) Network management telemetry

4.1 ISDN Fundamentals: The Digital Telephone Standard

Integrated Services Digital Network (ISDN) is a set of ITU-T standards for transmitting voice, video, and data simultaneously over the PSTN. Developed in the 1980s, ISDN replaced the analog "last mile" with end-to-end digital connectivity, delivering faster call setup, clearer audio, and the ability to carry data alongside voice on the same copper pair.

B-Channels vs. D-Channel

ISDN organizes bandwidth into two channel types:

Channel TypeBandwidthPurpose
B-channel (Bearer)64 KbpsCarries user traffic: voice calls, fax, or data
D-channel (Delta)16 Kbps (BRI) / 64 Kbps (PRI)Carries Q.931 call signaling and control messages

Each B-channel provides exactly one uncompressed G.711 voice call. The D-channel never carries voice — it is purely the control plane, using the Q.931 protocol to manage call setup, maintenance, and teardown.

Q.931 Call Setup Signaling

Q.931 manages the entire lifecycle of a call through a defined message sequence: SETUP (initiate call with called/calling number), CALL PROCEEDING (switch acknowledges), ALERTING (far end ringing), CONNECT (answered, B-channel allocated), DISCONNECT / RELEASE / RELEASE COMPLETE (teardown and B-channel freed).

Call setup typically completes in 1-3 seconds, compared to 5-15 seconds for analog lines using pulse/tone dialing.

Q.931 Call Setup and Teardown Sequence
Calling Router PSTN Switch Called Side SETUP CALL PROCEEDING SETUP ALERTING ALERTING CONNECT CONNECT B-Channel Allocated — Voice Active DISCONNECT RELEASE COMPLETE

ISDN vs. Analog

FeatureAnalog (FXO/FXS)ISDN
SignalingIn-band tones (DTMF, loop current)Out-of-band digital (Q.931)
Call setup time5-15 seconds1-3 seconds
Calls per circuit1 per pairUp to 23 (T1-PRI) or 30 (E1-PRI)
Audio qualitySubject to noise, crosstalkClean digital PCM, 64 Kbps
Caller IDLimited, unreliableBuilt into Q.931 SETUP message

Key Points — ISDN Fundamentals

4.2 PRI — Primary Rate Interface

T1-PRI: 23B+D (North America / Japan)

PRI rides on a T1 circuit at 1.544 Mbps, divided into 24 time slots of 64 Kbps: 23 B-channels for voice and 1 D-channel (time slot 24) for Q.931 signaling. A single T1-PRI supports 23 simultaneous calls.

In multi-PRI configurations, NFAS (Non-Facility Associated Signaling) allows the D-channel on one span to control B-channels on adjacent spans, freeing an extra B-channel per additional span.

E1-PRI: 30B+D (International)

Outside North America, E1 runs at 2.048 Mbps with 32 time slots: 30 B-channels, 1 D-channel (time slot 16), and 1 framing/sync channel (time slot 0). A single E1-PRI supports 30 simultaneous calls.

T1-PRI vs E1-PRI Time Slot Structure
T1-PRI 1.544 Mbps — 24 Time Slots E1-PRI 2.048 Mbps — 32 Time Slots 1 2 3 4 5 ... ... ... ... ... ... ... ... ... ... ... ... ... ... 21 22 23 D 23 B-channels (voice) + 1 D-channel (signaling) = 23 calls 0 1 2 3 ... ... ... ... ... ... ... ... ... ... 15 D 17 ... ... ... ... ... ... ... ... ... ... ... ... ... 31 1 Frame + 30 B-channels + 1 D-channel = 30 calls B-channel (voice) D-channel (signaling) Framing/sync

NIM-8CE1T1-PRI Module

The NIM-8CE1T1-PRI is Cisco's high-density channelized voice module for ISR 4000 and Catalyst 8000 routers. It provides 8 ports (RJ-48C), each independently configurable as T1 or E1. The integrated CSU/DSU eliminates external equipment. Maximum capacity: 240 calls (8 x 30 E1 B-channels) or 184 calls (8 x 23 T1 B-channels). Requires PVDM4 DSPs for codec transcoding.

Enterprise Use Cases

Key Points — PRI

Post-Quiz — Partition A: ISDN Fundamentals & PRI

1. What is the primary purpose of the D-channel in an ISDN circuit?

A) To carry voice conversations between endpoints B) To provide backup bandwidth when B-channels are full C) To carry Q.931 signaling messages for call setup and teardown D) To encrypt voice traffic between the router and the PSTN

2. How many simultaneous voice calls can a single T1-PRI span support?

A) 24 B) 30 C) 23 D) 32

3. Which Q.931 message indicates that the called party has answered and a B-channel should be allocated?

A) SETUP B) ALERTING C) CALL PROCEEDING D) CONNECT

4. What advantage does the NIM-8CE1T1-PRI's integrated CSU/DSU provide?

A) It converts analog signals to digital B) It eliminates the need for an external CSU/DSU box at the demarc C) It provides Power over Ethernet to connected phones D) It performs SIP protocol conversion

5. An E1-PRI uses time slot 16 for the D-channel. What occupies time slot 0?

A) An additional B-channel for voice B) Framing and synchronization C) Encryption key exchange D) Network management telemetry
Pre-Quiz — Partition B: BRI & ISDN-to-VoIP Conversion

1. In BRI, what does "NT mode" mean for the router?

A) The router acts as terminal equipment receiving service from the telco B) The router acts as the network side, providing clocking and Layer 1 activation C) The router disables ISDN and uses analog signaling instead D) The router operates in pass-through mode without processing calls

2. How many simultaneous voice calls can a single BRI line support?

A) 1 B) 2 C) 4 D) 23

3. What is the most common cause of ISDN Layer 2 failing to reach MULTIPLE_FRAME_ESTABLISHED?

A) A fiber cut between the CO and the customer premises B) A mismatched isdn switch-type configuration C) Insufficient PVDM4 DSP resources D) An incorrect codec configured on the dial peer

4. In an ISDN-to-VoIP media gateway, what role does the PVDM4 DSP module play?

A) It routes calls based on dial-peer matching B) It converts G.711 PCM audio to the negotiated VoIP codec and encapsulates in RTP C) It establishes the Q.931 D-channel data link D) It provides physical clocking for the T1/E1 circuit

5. Which type of dial peer points to a physical ISDN voice port on the router?

A) VoIP dial peer B) SIP dial peer C) POTS dial peer D) MGCP dial peer

4.3 BRI — Basic Rate Interface

BRI Structure: 2B+D

BRI provides 2 B-channels at 64 Kbps each and 1 D-channel at 16 Kbps, totaling 144 Kbps of user bandwidth (192 Kbps at the line rate including framing overhead). It supports 2 simultaneous calls. Both B-channels can be used independently or bonded via Multilink PPP for a 128 Kbps data link.

NT vs. TE Mode

NT (Network Termination) mode: the router behaves like the telephone company — it provides clocking, power (phantom feed), and Layer 1 activation. Use NT mode when connecting ISDN phones directly to the router.

TE (Terminal Equipment) mode: the router behaves like a telephone. It receives clocking from the network side. Use TE mode when connecting upstream to a telco ISDN line or NT1 device.

One side must be NT and the other TE. They cannot be the same on both ends.

ISDN BRI Reference Model

flowchart LR TE1["TE1\n(ISDN Phone)"] NT2["NT2\n(PBX)"] NT1["NT1\n(Line Termination)"] CO["Telco Central\nOffice"] TE1 -- "S interface\n(4-wire)" --> NT2 NT2 -- "T interface\n(4-wire)" --> NT1 NT1 -- "U interface\n(2-wire)" --> CO

NIM-2BRI-NT/TE Hardware

The NIM-2BRI-NT/TE provides 2 BRI ports (RJ-45), each independently configurable as NT or TE mode. Maximum: 4 concurrent calls (2 B-channels per port x 2 ports). Requires PVDM4 for voice transcoding. Supports SIP, H.323, and MGCP.

Use Cases

Key Points — BRI

4.4 ISDN-to-VoIP Conversion on the Router

Media Gateway Processing Pipeline

The Cisco ISR with a PRI or BRI NIM module acts as a media gateway — bridging circuit-switched ISDN and packet-switched IP. The conversion pipeline:

  1. Physical Layer: NIM receives T1/E1/BRI signal and recovers clocking.
  2. Layer 2 (Q.921/LAPD): D-channel data link established.
  3. Layer 3 (Q.931): SETUP message arrives with called number (DNIS) and calling number (ANI).
  4. Dial-Peer Matching: Router matches called number against configured dial peers.
  5. VoIP Call Setup: Router sends SIP INVITE to CUCM or SIP proxy.
  6. Media Transcoding: PVDM4 converts G.711 PCM to negotiated VoIP codec, encapsulates in RTP.
  7. Call Established: Bidirectional voice flows — ISDN PCM on one side, RTP/UDP/IP on the other.
ISDN-to-VoIP Media Gateway Conversion
PSTN / ISDN T1/E1/BRI Circuit Q.931 Signaling G.711 PCM Audio NIM Module Physical Layer Clock Recovery Q.921 (LAPD) Q.931 Processing Dial Peers POTS dial-peer (ISDN side) VoIP dial-peer (SIP side) PVDM4 DSP G.711 PCM → VoIP Codec RTP Encapsulation VoIP / SIP SIP INVITE to CUCM RTP/UDP/IP Audio Packet Network Bidirectional Voice: ISDN PCM ↔ RTP/UDP/IP

Dial-Peer Configuration

Cisco routers use dial peers to route voice calls. A POTS dial peer points to a physical voice port (ISDN interface). A VoIP dial peer points to an IP address or DNS name (SIP/H.323 destination).

! POTS dial peer — matches inbound ISDN calls
dial-peer voice 100 pots
 incoming called-number .
 direct-inward-dial
 port 0/1/0:23

! VoIP dial peer — routes calls to CUCM via SIP
dial-peer voice 200 voip
 destination-pattern 1...
 session protocol sipv2
 session target ipv4:10.1.1.100
 codec g711ulaw

ISDN Switch Types

The isdn switch-type command must match the telco's switch. A mismatch prevents the D-channel from activating. Common types:

Switch TypeCommandRegion
National ISDNprimary-niNorth America
Euro ISDN (NET5)primary-net5Europe / International
AT&T 5ESSprimary-5essNorth America (AT&T local)
DMS-100primary-dms100North America (Nortel)
NTTprimary-nttJapan

Monitoring with show isdn status

This command displays all three ISDN layers at a glance:

LayerHealthy StateMeaning
Layer 1ACTIVEPhysical link up, clocking and framing synchronized
Layer 2MULTIPLE_FRAME_ESTABLISHEDLAPD data link on D-channel is operational
Layer 3Shows active callsCall control operational; Free Channel Mask shows available B-channels

Troubleshooting tip: Layer 1 DEACTIVATED = physical/cabling problem. Layer 2 stuck at TEI_ASSIGNED = switch-type mismatch.

Key Points — ISDN-to-VoIP Conversion

Post-Quiz — Partition B: BRI & ISDN-to-VoIP Conversion

1. In BRI, what does "NT mode" mean for the router?

A) The router acts as terminal equipment receiving service from the telco B) The router acts as the network side, providing clocking and Layer 1 activation C) The router disables ISDN and uses analog signaling instead D) The router operates in pass-through mode without processing calls

2. How many simultaneous voice calls can a single BRI line support?

A) 1 B) 2 C) 4 D) 23

3. What is the most common cause of ISDN Layer 2 failing to reach MULTIPLE_FRAME_ESTABLISHED?

A) A fiber cut between the CO and the customer premises B) A mismatched isdn switch-type configuration C) Insufficient PVDM4 DSP resources D) An incorrect codec configured on the dial peer

4. In an ISDN-to-VoIP media gateway, what role does the PVDM4 DSP module play?

A) It routes calls based on dial-peer matching B) It converts G.711 PCM audio to the negotiated VoIP codec and encapsulates in RTP C) It establishes the Q.931 D-channel data link D) It provides physical clocking for the T1/E1 circuit

5. Which type of dial peer points to a physical ISDN voice port on the router?

A) VoIP dial peer B) SIP dial peer C) POTS dial peer D) MGCP dial peer

Your Progress

Answer Explanations