EGERTON UNIVERSITY
Electrical & Communication Engineering Department

Design of a Private Branch Exchange (PBX) for a Client

An Extensive Tutorial for Client-Oriented PBX System Design
ECE 462 — Analog Communication Systems 4th Year Undergraduate • Engineering • Egerton University

Table of Contents

  1. Introduction: The Client Design Problem
  2. Step 1 — Client Needs Assessment
  3. PBX System Architecture
  4. Step 2 — Line Interface Design (BORSCHT)
  5. Step 3 — Trunk Interface Design
  6. Traffic Engineering & Erlang Theory
  7. Interactive Erlang B Calculator
  8. Step 4 — Sizing the PBX
  9. Power Supply & Backup Sizing
  10. Cabling, MDF/IDF & Distribution Design
  11. Signalling in the Analog PBX
  12. Worked Case Study: Designing a PBX for a Hotel Client
  13. Installation, Testing & Commissioning
  14. Costing & Client Quotation
  15. Design Checklist & Report Guidelines
  16. Self-Test Quiz (with post-test answers)
  17. Summary

1. Introduction: The Client Design Problem

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:

Central Office (PSTN Exchange) Client PBX Trunk Interface Cards Switching Matrix Control Processor Line Interface Cards Power Supply + Battery several trunk lines (to PSTN) Extension 1 Extension 2 Extension 3 Extension n extension lines touch the PBX (local loop pairs)
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

TypeTechnologyTypical client useDesign notes
Analog PBXSpace-division analog switching, DTMF/pulse signallingSmall offices, budget installationsFocus of ECE 462; every extension needs a physical copper pair
Digital PBX (PABX)Time-division switching (PCM/TDM), ISDN trunksHotels, hospitals, campusesE1/T1 trunks; still uses analog line cards for ordinary phones
Hybrid / IP-PBXVoIP over LAN, SIP trunks, gateways to PSTNModern enterprisesData network design (VLAN, QoS) becomes part of the job
Hosted / Cloud PBXService provider's softswitchSMEs without ICT staffDesign 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:

  1. 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.
  2. 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).
  3. Feature requirements — auto-attendant, voicemail, call forwarding, least-cost routing, conference, call accounting/billing (essential for hotels), hunt groups, direct-in-dial (DID) numbers.
  4. Trunk options at the site — how many analog CO lines can the telco provide? Is E1 (30 channels) available?
  5. Physical plant — location of the equipment room, cable routes, distances to farthest block (affects loop resistance and wire gauge), existing ducts/conduits.
  6. Power situation — mains reliability, generator availability; determines battery autonomy.
  7. Budget and growth policy — e.g., "size for 5-year growth with modular expansion".
Site Survey& interviews Traffic Datausers, erlangs Requirementsspecification Design InputsN, trunks, power
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:

  1. 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).
  2. 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.
  3. Trunk interface units (TIU) — connect to CO lines, E1, or SIP trunks; handle supervision and metering.
  4. Control unit — processor that runs call setup, digit analysis, routing, features and charging. Redundancy options (dual processors) matter for hospitals and hotels.
  5. Power plant — rectifiers/chargers, battery bank for autonomy, distribution and alarms (Section 9).
TRUNKS (to PSTN) Analog CO lines E1 digital trunk (30 ch) SIP trunks (IP) Trunk Interface Cards Supervision & metering DTMF / CAS / ISDN / SIP Codec (PCM 64 kbit/s) Echo control Switching Matrix Space-division (analog) or TDM time slots (digital) Conference & tones Line Interface Cards BORSCHT per extension 8–32 extensions per card SLIC / SLAC devices Control & Features Call processor / CPU Digit analysis & routing Billing, voicemail, AA Power Plant: Rectifiers + Battery Bank + Distribution + Alarms EXTENSIONS Phone 1 (pair 1) Phone 2 (pair 2) Phone n (pair n) pairs
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:

LetterFunctionWhat the designer must check
BBattery 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.
OOvervoltage protectionGas tubes / solid-state protectors against lightning and power-line contact; mandatory for external or aerial cable runs.
RRingingRing 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.
SSupervisionLoop-current detection for off-hook/answer/disconnect; ensures correct metering of chargeable calls.
CCodec (Coder/Decoder)PCM A-law 64 kbit/s conversion (digital PBX); analog PBX passes the voiceband directly.
HHybrid (2↔4 wire conversion)Separates transmit/receive to feed the 4-wire switch; must provide trans-hybrid loss > 30 dB to stop singing/echo.
TTestCard-level access for line tests: loop-back, longitudinal balance, foreign voltage detection.
Telephone (2-wire) T / R pair LINE INTERFACE CARD (per extension) Oprotection B−48 V feed Sloop sense R75 V ring Hhybrid Ccodec Ttest to matrix
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 typeCapacitySignallingBest for
Analog CO lines (FXO)1 call eachLoop start / ground start, DTMF dialling, 16/12 kHz metering or polarity reversal for chargingSmall clients (5–10 lines), fallback
E1 (2.048 Mbit/s, G.703)30 voice channels + 2 signalling (TS0 framing, TS16 CAS)ISDN PRI (Q.931) or R2/MFC CASHotels, hospitals, campuses (30 channels on one pair)
SIP trunksLimited by bandwidthSIP over IP; needs ≈ 85–100 kbit/s per call with headersModern offices with good fibre/leased line

Worked comparison for the case study (hotel, 120 extensions)

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

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 typeBusy-hour traffic per user (au)Notes
Ordinary office extension0.10 – 0.20 E~3–6 calls/hour, 3–4 min each; use 0.15 E for first design
Reception / front desk0.6 – 1.0 EEffectively needs its own trunk access
Hotel guest room0.03 – 0.06 ELow usage; billing software still essential
Call centre agent0.7 – 0.9 EErlang C (queueing) model applies instead
Fax / modem line0.5 EDedicated 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.

Offered traffic A (erlangs) → B N = 10 trunks N = 20 trunks GoS target 1%
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 NTraffic A at 1% (E)Trunks NTraffic A at 1% (E)
10.01125.88
20.15158.11
40.872012.0
61.912415.3
83.133020.3
104.4631 (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:

QuantityMethodExample (office, 200 extensions, 0.15 E/user, 65% external)
Total busy-hour trafficAtot = N × au200 × 0.15 = 30 E
External trafficAext = Atot × external fraction30 × 0.65 = 19.5 E
Required trunksErlang B at chosen GoS@1%: N = 30 (from table/recursion)
PBX capacityExtensions + 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

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).

Mains AC 415/230 V Rectifier/Charger e.g., 2 × 50 A modules Battery Bank 48 V, 300 Ah DC Distribution & −48 V Bus PBX shelves / Line & trunk cards Generator (optional): extends autonomy indefinitely; charger sized to recharge bank in ≤ 10 h Alarm contacts on rectifier, battery voltage and mains failure report to NOC/maintenance
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.

Equipment Room MDF jumpers PBX line/trunk cards Power 48 V + battery Protector panels on trunk side of MDF Floor 1 IDF 50-pair feeder + 40 outlets Floor 2 IDF 50-pair feeder + 36 outlets Block C IDF 100-pair feeder + 90 outlets 50-pair 50-pair 100-pair Horizontal wiring • Cat5e 4-pair, ≤ 90 m channel • One 2-pair drop per phone; spare   pairs for fax/PC (voice+data) Cable schedule • Log: pair #, MDF port, outlet ID • 20–30% spare pairs per feeder Earthing • Single earth bar ≤ 5 Ω to ground • Bond MDF, protectors, racks, PBX • Surge protection on all trunks
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

DTMF tone plan (ITU-T Q.23) 697 Hz 770 Hz 852 Hz 941 Hz 1 2 3 A 1209 Hz 4 5 6 B 1336 Hz low group → high group ↓ Ring cadence (1 s ON / 4 s OFF) 1 s 5 s cycle 75 V AC, 20/25 Hz
Figure 11.1 — DTMF encoding grid (left) and ring cadence timing (right).

11.2 Inter-register and trunk signalling

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

GroupUsersTraffic/userTotal (E)
Guest rooms1200.05 E6.0
Staff offices / admin400.15 E6.0
Front desk (3 positions)30.8 E2.4
Lobby / service phones70.10 E0.7
Total busy-hour traffic170 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:

12.3 PBX sizing

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

12.6 Deliverables handed to the client

  1. Requirements specification + traffic study (this section's numbers).
  2. System configuration & BOQ (Section 14 template).
  3. Installation & test plan (Section 13 checklist).
  4. 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

  1. Prepare equipment room: racks anchored, 48 V bus wired, battery bank installed, earth bar ≤ 5 Ω.
  2. Terminate MDF/IDF, verify every pair with a tone/continuity tester against the cable schedule; certify Cat5e runs (wiremap, length, NEXT).
  3. Rack the PBX, insert line/trunk cards per configuration sheet; never power up with cards unseated.
  4. Connect trunks; with the CO engineer, test each CO line: answer supervision, metering, CLI.
  5. Power up in order: battery first, then rectifiers, then PBX; check alarms clear.
  6. 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)

TestMethodPass criterion
Extension-to-extensionCall every extension from a test phoneRing, speech both ways, correct number display
Outgoing/incomingPeak-hour call attempts vs trunk countGoS measured ≤ design target (e.g., ≤ 1%)
DTMF & CLIDial all digits; check caller ID on displaysNo mis-decoded digits; CLI delivered
Billing accuracyTimed test calls vs tariff tableDuration & cost within ±5 s / exact tariff
Mains-failure ride-throughPull mains; run on batteryNo call drop > hold time; autonomy ≥ spec; low-battery alarm works
Earthing/protectionEarth 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.

ItemUnitQtyUnit cost (KES)Total (KES)
256-port IP-PBX chassis + control (redundant CPU)lot1——
16-port analog line cardcard14——
E1/ISDN PRI trunk cardcard1——
8-port analog trunk/FXO cardcard1——
Billing/call-accounting + voicemail + auto-attendant licencelot1——
Rectifier module 50 A (N+1)unit2——
12 V 150 Ah AGM battery (48 V string ×4)unit8——
MDF 200-pair + protectors, IDF boxes 50-pair ×3lot1——
Feeder cable 50/100-pair + Cat5e, outlets, patch cordslot1——
Hotel-feature telephones (reception consoles, room sets)unit170——
Installation, configuration, testing labour (man-days)md15——
Training + documentation + 12-month maintenancelot1——
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)

15.2 Suggested report structure (for the ECE 462 assignment)

  1. 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.

Q1. A client has 50 busy-hour calls averaging 3 minutes. The offered traffic is:

A = C×T/3600 = 50×180/3600 = 2.5 E.

Q2. In the BORSCHT functions, "R" stands for:

R = Ringing: ~75 V AC at 20/25 Hz superimposed on the −48 V DC feed.

Q3. Traffic offered to the trunks is 9.6 E. At 1% GoS the minimum number of analog trunks is approximately:

Erlang B: 9.6 E @ 1% ⇒ N = 17 trunks (B = 0.96%); N = 16 would give 1.72%. Verify with the Section 7 calculator.

Q4. The main reason to choose an E1 trunk over 12 analog CO lines for a hotel is:

One E1 = 30 channels ≈ 20+ E at 1%; supports ISDN PRI (caller ID, DID, fast setup) — but it still needs protection, earthing and DC power like everything else.

Q5. A 48 V PBX load is 960 W with 0.9 efficiency and 0.8 DOD. Battery Ah for 8 h autonomy:

C = 960×8 / (48×0.9×0.8) = 7680 / 34.56 ≈ 222 Ah.

Q6. The purpose of the MDF is to:

The MDF is the flexible cross-connect point between building/telco cables and PBX cards, with overvoltage protection on the external side.

Q7. DTMF digit "5" is encoded as the simultaneous tones:

Row 2 (770 Hz) × column 2 (1336 Hz) = digit 5. See Figure 11.1.

Q8. A typical grade-of-service target for an ordinary business client's external trunks is:

B = 0.01 is the standard business design target; hospitals/emergency use 0.005; budget systems may accept 2–5%.

Q9. In traffic engineering, one erlang is:

1 E = 3600 s (one hour) of channel occupancy per hour — the unit of traffic intensity.

Q10. Before ordering trunk cards, the designer must confirm with the telco:

Trunk cards must match the CO's signalling (polarity reversal/metering, PRI vs R2/CAS) — this is a site-survey question, not a guess.

17. Summary

Use the two calculators (Sections 7 and 9) while working the assignment; they implement exactly the formulas your report must show by hand.