A Private Branch Exchange (PBX) is a private telephone exchange located on a client's premises
that switches calls between internal users (extensions) on a local loop, and connects those internal users
to the public switched telephone network (PSTN) via one or more trunk lines. Before the year 2000 this
function was performed by analog, electromechanical and early electronic exchanges; today it is performed
by IP-PBX and hybrid systems — but the design methodology you learn in ECE 462, especially the
analog foundation of line interfacing, traffic engineering, and power budgeting, remains identical.
In this tutorial you act as a design engineer contracted by a client (a hotel, hospital, campus,
factory or office block). Your deliverables to the client are:
A requirements specification (users, traffic, features, budget, growth).
A system design (PBX capacity, line/trunk cards, signalling, power, cabling).
A bill of quantities (BOQ) and costed quotation.
An installation, testing and commissioning plan.
Figure 1.1 — The PBX sits between the client's internal extensions and the PSTN central office.
Why design matters to the client: an undersized PBX blocks calls and loses business
(poor grade of service); an oversized PBX wastes capital. The designer's job is to match capacity to
measured traffic plus engineered growth, at minimum lifecycle cost.
1.1 Types of PBX you may be asked to design with
Type
Technology
Typical client use
Design notes
Analog PBX
Space-division analog switching, DTMF/pulse signalling
Small offices, budget installations
Focus of ECE 462; every extension needs a physical copper pair
Digital PBX (PABX)
Time-division switching (PCM/TDM), ISDN trunks
Hotels, hospitals, campuses
E1/T1 trunks; still uses analog line cards for ordinary phones
Hybrid / IP-PBX
VoIP over LAN, SIP trunks, gateways to PSTN
Modern enterprises
Data network design (VLAN, QoS) becomes part of the job
Hosted / Cloud PBX
Service provider's softswitch
SMEs without ICT staff
Design reduces to cabling, LAN and endpoints
2. Step 1 — Client Needs Assessment
Never quote a client before a site survey. The needs assessment produces the numbers that drive
every later design decision. Record the following during your survey:
User count & categories — how many extensions now, and in 5 years? Categories: ordinary
staff phones, manager phones, reception, fax/modem lines, lift/emergency phones, POS terminals, lobby phones.
Call traffic — busiest-hour calls per user, average call duration, ratio of internal vs external calls.
If no measured data exists, use standard planning figures (Section 6.3).
Trunk options at the site — how many analog CO lines can the telco provide? Is E1 (30 channels) available?
Physical plant — location of the equipment room, cable routes, distances to farthest block (affects
loop resistance and wire gauge), existing ducts/conduits.
Power situation — mains reliability, generator availability; determines battery autonomy.
Budget and growth policy — e.g., "size for 5-year growth with modular expansion".
Figure 2.1 — The needs-assessment workflow. Everything downstream depends on these numbers.
Practical rule: always collect data on the busiest hour (usually 09:30–10:30 or
14:00–15:00 in offices). Design to the busy hour with headroom, not to the daily average.
3. PBX System Architecture
A PBX, however modern, contains five functional blocks. As the designer you must size and specify each:
Line interface units (LIU) — one per extension; provide battery feed, overvoltage protection,
ringing, signalling (loop detection), hybrid, and test access — the BORSCHT functions (Section 4).
Switching network (matrix) — connects any extension to any other, or to a trunk. Analog systems
use space-division crosspoints; digital systems use TDM time slots.
Trunk interface units (TIU) — connect to CO lines, E1, or SIP trunks; handle supervision and metering.
Control unit — processor that runs call setup, digit analysis, routing, features and charging.
Redundancy options (dual processors) matter for hospitals and hotels.
Power plant — rectifiers/chargers, battery bank for autonomy, distribution and alarms (Section 9).
Figure 3.1 — Functional block diagram of a PBX. Every block is an item on your bill of quantities.
Modularity: commercial systems expand in card slots (e.g., 8/16/32-extension line cards,
4/8-port trunk cards). When sizing, choose the chassis so the client can add one more line card without replacing
the switch — that is the "growth policy" requirement from Step 1.
4. Step 2 — Line Interface Design (the BORSCHT Functions)
Each extension connects over an unshielded twisted copper pair (the local loop). The line interface card
must perform seven functions, remembered by the mnemonic BORSCHT:
Letter
Function
What the designer must check
B
Battery feed
−48 V DC feed through a bridge to power the phone; typically 20–40 mA loop current; long loops may need a higher-current feed or thicker cable.
O
Overvoltage protection
Gas tubes / solid-state protectors against lightning and power-line contact; mandatory for external or aerial cable runs.
R
Ringing
Ring voltage ~75 V AC @ 20/25 Hz superimposed on −48 V DC; ring cadence (e.g., 1 s ON / 4 s OFF in Kenya). Generator loading: number of simultaneous ringers.
S
Supervision
Loop-current detection for off-hook/answer/disconnect; ensures correct metering of chargeable calls.
C
Codec (Coder/Decoder)
PCM A-law 64 kbit/s conversion (digital PBX); analog PBX passes the voiceband directly.
H
Hybrid (2↔4 wire conversion)
Separates transmit/receive to feed the 4-wire switch; must provide trans-hybrid loss > 30 dB to stop singing/echo.
T
Test
Card-level access for line tests: loop-back, longitudinal balance, foreign voltage detection.
Figure 4.1 — One extension's BORSCHT line circuit. Modern SLIC/SLAC chips integrate all seven functions.
Loop resistance check (design calculation)
The farthest telephone must still draw at least the minimum loop current when off-hook. For a copper
conductor of resistivity ρ and length L (loop length = 2× distance):
Rloop = 2 × L × ρ (CAT5e/0.5 mm copper: ρ ≈ 0.093 Ω/m)
Require Rloop + Rphone ≤ Vfeed / Imin. With −48 V, a 300 Ω phone and
18 mA minimum loop current, the maximum loop resistance is (48/0.018) − 300 ≈ 2 370 Ω, i.e. a maximum
one-way distance of about 12.7 km of 0.5 mm cable — rarely the limit indoors, but it matters for campus and factory sites
where some blocks are hundreds of metres away; also check voltage drop on the ringing signal.
Common design error: forgetting that ringers load the ring generator in parallel.
A 1 REN (Ringer Equivalence Number) per phone means the generator must deliver 75 V RMS at enough current
for all phones programmed to ring simultaneously (a hunt group). Check the card's REN budget.
5. Step 3 — Trunk Interface Design
Trunks carry traffic between the PBX and the outside world. The interface choice changes the whole design:
Trunk type
Capacity
Signalling
Best for
Analog CO lines (FXO)
1 call each
Loop start / ground start, DTMF dialling, 16/12 kHz metering or polarity reversal for charging
Hotels, hospitals, campuses (30 channels on one pair)
SIP trunks
Limited by bandwidth
SIP over IP; needs ≈ 85–100 kbit/s per call with headers
Modern offices with good fibre/leased line
Worked comparison for the case study (hotel, 120 extensions)
Analog trunks: traffic study (Section 8) shows 9.6 erlangs busy-hour external traffic. At 1 erlang
per trunk you'd need 10–12 analog lines — 12 copper pairs from the CO, 12 trunk cards, 12 lightning protectors.
E1 trunk: one E1 = 30 channels handles the traffic with 60% utilisation, leaves growth room,
gives caller ID and fast call setup via ISDN PRI, and needs only one coax/twinax pair.
Design decision rule: if required trunks ≥ 8–10 and E1 is available from the telco, choose E1:
lower cost per channel, far cleaner signalling, and easier growth.
Trunk-side functions the designer must specify
Supervision: detecting answer/disconnect. On analog trunks, disconnection is signalled by loop-open
or polarity reversal — the PBX must support the telco's standard (in Kenya, loop reversal on answer
is common on modern exchanges; ask the CO engineer).
Metering/charging: 12/16 kHz metering pulses on analog trunks; on E1, charging is time-based in the
PBX's call-accounting software.
Number presentation: caller ID (FSK) for the client's phones; ISDN PRI delivers it natively.
Protection & earthing: trunk lines leave the building — primary protectors and a bonded earth
bar at the MDF are mandatory.
6. Traffic Engineering & Erlang Theory
Traffic engineering converts "how busy is the client?" into "how many circuits are needed?". The unit of
telephone traffic intensity is the erlang (E): one erlang is one circuit continuously occupied for one hour.
A = C × T / 3600 [erlangs], where C = calls offered in the busy hour, T = mean holding time (s)
Equivalently, for a population of users: A = N × au, where N = number of users/extensions and
au = busy-hour traffic per user.
6.1 Grade of Service (GoS / blocking probability)
With finite trunks, some calls are lost during the busy hour. The grade of service B is the probability
that a call is blocked (Erlang B, lost-calls-cleared model):
B = (AN / N!) / Σk=0..N (Ak / k!)
Design targets: B = 0.01 (1%) for business clients, 0.005 for hospitals/emergency services, up to 0.05
for low-cost systems.
6.2 Standard planning figures (when no measurements exist)
User type
Busy-hour traffic per user (au)
Notes
Ordinary office extension
0.10 – 0.20 E
~3–6 calls/hour, 3–4 min each; use 0.15 E for first design
Reception / front desk
0.6 – 1.0 E
Effectively needs its own trunk access
Hotel guest room
0.03 – 0.06 E
Low usage; billing software still essential
Call centre agent
0.7 – 0.9 E
Erlang C (queueing) model applies instead
Fax / modem line
0.5 E
Dedicated line, not pooled
6.3 Internal vs external split
Only external traffic loads the trunks. Typical office split: 60–70% of busy-hour call attempts are
external. Example: 200 office extensions × 0.15 E = 30 E total; at 65% external ⇒ Aext ≈ 19.5 E.
Figure 6.1 — Blocking probability grows steeply with offered traffic. The designer reads the
largest A that keeps B at the target — or uses the calculator in Section 7.
6.4 Erlang B table (1% GoS extract)
Trunks N
Traffic A at 1% (E)
Trunks N
Traffic A at 1% (E)
1
0.01
12
5.88
2
0.15
15
8.11
4
0.87
20
12.0
6
1.91
24
15.3
8
3.13
30
20.3
10
4.46
31 (E1)
21.1
Notice: 10 analog trunks at 1% GoS carry only 4.46 E — ≈45% of capacity. Trunks get more
efficient as N grows, which is another reason E1 wins for larger clients.
7. Interactive Erlang B Calculator
Use this in your design exercises: enter the busy-hour offered traffic and the target grade of service, and
read off the required number of circuits (trunks). The computation evaluates the Erlang B recursion
EB(0)=1, EB(n) = A·EB(n−1) / (n + A·EB(n−1)) and finds
the smallest N with EB(N) ≤ GoS.
⚡ Erlang B Trunk Sizing Calculator
Result will appear here…
📱 Quick traffic estimator (A = C · T / 3600)
Result will appear here…
8. Step 4 — Sizing the PBX
Sizing is a four-quantity problem, all derived from Step 1 data:
Quantity
Method
Example (office, 200 extensions, 0.15 E/user, 65% external)
Total busy-hour traffic
Atot = N × au
200 × 0.15 = 30 E
External traffic
Aext = Atot × external fraction
30 × 0.65 = 19.5 E
Required trunks
Erlang B at chosen GoS
@1%: N = 30 (from table/recursion)
PBX capacity
Extensions + growth margin (e.g., 25%)
200 → install a 256-port chassis
Apply the growth policy everywhere: trunks sized for today's traffic will block within
two years in a growing firm. A common engineering practice is to compute N at the 5-year forecast traffic,
then round up to the card granularity (e.g., to a multiple of 8 analog ports or to one E1 = 30 channels).
8.1 Chassis configuration example
256-port chassis, one control card (order a redundant second processor for a hospital).
Line cards: 16 × 16-extension cards = 256 extension ports (32 spare after growth).
Trunk cards: 1 × E1/ISDN PRI (30 channels) covers 19.5 E with GoS ≈ 0.65% — near-perfect — plus 4 analog CO lines as
backup and for fax machines.
Ring generator: sum of RENs of all phones ≈ 200 × 1 REN but only hunt-group members ring together —
budget ≥ 24 simultaneous ringers.
9. Power Supply & Battery Backup Sizing
The PBX must survive mains failure for a specified autonomy (typically 4–8 hours for offices,
24 h+ for hospitals). Telecom plants use a −48 V DC bus: rectifiers float-charge the battery bank
and feed the load directly.
9.1 Load estimation
Pload = Next × pline + Pcontrol + Ptrunk + Pmisc
Typical figures: pline ≈ 2–5 W per extension (SLIC + associated matrix share),
Pcontrol ≈ 100–300 W, Ptrunk ≈ 5 W per E1 card plus line powering.
For the 256-port example with 2 spare cards: Pload ≈ 256×3 + 250 + 40 + 100 ≈ 1 120 W ≈ 1.1 kW.
9.2 Battery bank
CAh = Pload × t / (V × η × DOD)
with t = autonomy (h), V = 48 V bus, η ≈ 0.9 (converter + discharge efficiency), DOD ≈ 0.8
(avoid deep discharge to preserve battery life). For 8 h autonomy:
C = 1120 × 8 / (48 × 0.9 × 0.8) ≈ 260 Ah ⇒ choose 2 × 150 Ah 12 V batteries in a
4-series string (or a 24-cell 48 V plant: 4 strings of 12 V).
Figure 9.1 — −48 V DC power plant: rectifier floats the battery bank on the bus; the load is always DC-fed.
⚡ Battery Backup Sizing Calculator
Result will appear here…
10. Cabling, MDF/IDF & Distribution Design
Every extension needs a dedicated twisted pair from the PBX room to the desk. The design deliverables here are:
a cable schedule (pair count per route), a distribution frame layout, and the earthing/protection plan.
MDF (Main Distribution Frame) in the equipment room: PBX line-card side on one half (vertical),
external cables on the other; jumper wires connect them — never solder the PBX directly to building wiring.
IDFs on each floor/block: feeder cable (e.g., 50-pair or 100-pair) from MDF to IDF, then horizontal
4-pair Cat5e runs (≤ 90 m channel) to each outlet.
Pair budget: provide 20–30% spare pairs on every feeder; log pairs on a spreadsheet (number, origin, destination).
Trunk protection: gas-tube or solid-state primary protectors where any cable leaves the building; single-point earth bar bonded to the mains earth.
Figure 10.1 — Typical distribution: MDF in the equipment room, IDFs per floor/block, Cat5e drops to outlets.
11. Signalling in the Analog PBX
11.1 Subscriber loop signalling
Off-hook / on-hook: DC loop closure (drawing ≥ 18–20 mA) signals seizure; opening ends the call.
Dialling: DTMF — two simultaneous tones (one from the low group 697–941 Hz, one from the high group
1209–1633 Hz). The PBX decoder must meet ITU-T Q.24 twist, duration (≥ 40 ms) and interdigit (≥ 40 ms) specs.
Ringing: 75 V AC, 20/25 Hz; cadence 1 s ON / 4 s OFF (typical in Kenya); CLI (FSK) sent between first and second ring bursts.
Figure 11.1 — DTMF encoding grid (left) and ring cadence timing (right).
11.2 Inter-register and trunk signalling
MFC/R2: in-band multi-frequency compelled signalling used on E1 CAS trunks in many African networks —
the PBX must support the national variant (Kenya uses R2).
ISDN PRI (Q.931): out-of-band D-channel signalling on E1; faster setup, CLI, and 30 B-channels. Preferred where offered.
Metering: 12/16 kHz pulses on analog trunks — wire the PBX's metering input to the trunk card for accurate call accounting.
During the site survey, ask the CO engineer three things: (1) which metering/polarity standard the
exchange uses for disconnect supervision, (2) whether E1/ISDN PRI is available at the demarcation point, (3) whether
R2 or PRI is preferred for trunks — these answers fix the trunk card order.
12. Worked Case Study: Designing a PBX for the "Egerton View Hotel" Client
Client brief: a 3-star hotel with 120 guest rooms, front office, restaurant, kitchen, admin block and
20 staff offices; wishes to offer in-room dialling with billing, an auto-attendant, and lobby phones. Growth:
a 40-room wing planned in 3 years. Mains reliability: 4–6 h outages common; budget for 8 h autonomy.
12.1 Traffic calculation
Group
Users
Traffic/user
Total (E)
Guest rooms
120
0.05 E
6.0
Staff offices / admin
40
0.15 E
6.0
Front desk (3 positions)
3
0.8 E
2.4
Lobby / service phones
7
0.10 E
0.7
Total busy-hour traffic
170 ext
—
15.1 E
External fraction for a hotel ≈ 40% (most traffic is internal room-to-service): Aext = 15.1 × 0.40 ≈ 6.0 E.
12.2 Trunk sizing and technology choice
At 1% GoS, 6.0 E needs N = 13 circuits (Erlang B recursion; 12 would give 1.14% blocking). Options:
13 analog CO lines — needs 13 pairs from CO + 2 × 8-port trunk cards.
1 × E1/ISDN PRI — 30 channels on one pair; carries 6 E at ≈0% blocking (0.000000002%); supports CLI, DID
(direct room numbers), fast billing — chosen. Add 4 analog lines for fax and as fallback.
Applications: call-accounting/billing (mandatory for hotel), voicemail/auto-attendant, 12 conference ports.
Ringing: guest-room phones ring individually; budget ring generator for 8 simultaneous ringers.
12.4 Power
Pload = 224 × 3 + 200 + 50 + 80 ≈ 1 000 W. Battery for 8 h @ 48 V, DOD 0.8, η 0.9:
C = 1000 × 8 / (48 × 0.9 × 0.8) ≈ 231 Ah → install 300 Ah (4 × 12 V × 150 Ah strings)
+ 2 × 50 A rectifier modules (N+1).
12.5 Cabling
MDF in ground-floor equipment room; 3 IDFs: rooms tower A (80 outlets), tower B + wing (90), admin/restaurant (40).
Feeders: 2 × 50-pair to tower A, 1 × 100-pair to tower B, 1 × 50-pair to admin; all with 25% spare pairs.
E1 delivered by telco on coax/twinax to the trunk card; primary protectors + earth bar at MDF.
12.6 Deliverables handed to the client
Requirements specification + traffic study (this section's numbers).
System configuration & BOQ (Section 14 template).
Installation & test plan (Section 13 checklist).
Training plan for reception staff + 12-month maintenance agreement.
Exam tip: a complete client design answer always contains these four quantified blocks:
traffic → trunks (Erlang B) → capacity/cards → power & cabling. State your assumptions
(au, external fraction, GoS) explicitly — that is what earns the design marks.
13. Installation, Testing & Commissioning
13.1 Installation sequence
Prepare equipment room: racks anchored, 48 V bus wired, battery bank installed, earth bar ≤ 5 Ω.
Terminate MDF/IDF, verify every pair with a tone/continuity tester against the cable schedule; certify Cat5e runs (wiremap, length, NEXT).
Rack the PBX, insert line/trunk cards per configuration sheet; never power up with cards unseated.
Connect trunks; with the CO engineer, test each CO line: answer supervision, metering, CLI.
Power up in order: battery first, then rectifiers, then PBX; check alarms clear.
Load configuration: extension numbers, classes of service (e.g., rooms barred from international),
hunt groups (front desk ring-all), auto-attendant scripts, billing rates.
13.2 Test plan (acceptance criteria)
Test
Method
Pass criterion
Extension-to-extension
Call every extension from a test phone
Ring, speech both ways, correct number display
Outgoing/incoming
Peak-hour call attempts vs trunk count
GoS measured ≤ design target (e.g., ≤ 1%)
DTMF & CLI
Dial all digits; check caller ID on displays
No mis-decoded digits; CLI delivered
Billing accuracy
Timed test calls vs tariff table
Duration & cost within ±5 s / exact tariff
Mains-failure ride-through
Pull mains; run on battery
No call drop > hold time; autonomy ≥ spec; low-battery alarm works
Earthing/protection
Earth tester; inspect protectors
≤ 5 Ω; all trunks protected
Never skip the mains-failure test in the presence of the client's representative. In
regions with unreliable power this is the test clients remember — and the one most often faked by installers.
14. Costing & Client Quotation (BOQ Template)
Present the quotation as a Bill of Quantities: item, unit, quantity, unit cost, total; plus labour,
civil works, training and a maintenance line. Include a 10% contingency.
Installation, configuration, testing labour (man-days)
md
15
—
—
Training + documentation + 12-month maintenance
lot
1
—
—
Subtotal + 10% contingency = QUOTATION TOTAL
Two commercial safeguards: (1) quote trunk/E1 rental separately as a recurring client cost
owed to the telco; (2) state the growth path (cost of adding the 40-room wing's cards and licensing) so the client
sees you engineered for their plan.
15. Design Checklist & Report Guidelines
15.1 Design checklist (tick before submitting)
☐ Requirements spec signed by client (users, features, growth, budget, autonomy hours).
☐ Traffic study with explicit assumptions (au per group, external fraction, GoS).
☐ Erlang B trunk calculation (table or calculator output included).
☐ PBX capacity with growth margin; card count; redundant CPU for critical sites.
☐ Signalling compatibility confirmed with CO (metering/polarity, R2 vs PRI, CLI).
☐ BOQ + quotation with contingency; recurring costs listed separately.
☐ Installation & acceptance test plan; training and maintenance plan.
15.2 Suggested report structure (for the ECE 462 assignment)
Introduction & client profile 2. Site survey findings 3. Traffic analysis (tables + Erlang B)
4. System selection & configuration 5. Power and cabling design 6. BOQ & costing
7. Installation & test plan 8. Conclusion & references.
16. Self-Test Quiz (answers shown after submission)
Ten questions. Submit to see answers and explanations. This mirrors the "client design" reasoning of the tutorial.
17. Summary
Design flow: needs assessment → traffic study → Erlang B trunk sizing → PBX/cards → power & cabling → BOQ → install & test.
Core tools: A = C·T/3600; Erlang B at GoS 1%; battery Ah = P·t/(V·η·DOD); loop-resistance and REN checks.
Analog foundation still rules: every IP-PBX today still terminates analog extensions through SLICs doing BORSCHT, and trunk choices (FXO, E1/R2, SIP) still follow the same traffic and signalling logic.
Client-first engineering: state assumptions, engineer for the client's growth plan, and prove the system in the acceptance test — especially on battery.
Use the two calculators (Sections 7 and 9) while working the assignment; they implement exactly
the formulas your report must show by hand.