28
1 The Public Switched Telephone System

System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

Embed Size (px)

Citation preview

Page 1: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

1

The Public Switched TelephoneSystem

Page 2: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

2

Historical perspective

1876 invention of telephone

1915 first transcontinental telephone (NY–SF)

1920’s first automatic switches

1956 TAT-1 transatlantic cable (35 lines)

1962 digital transmission (T1)

1965 1ESS analog switch

1974 Internet packet voice

1977 4ESS digital switch

1980s Signaling System #7 (out-of-band)

1990s Advanced Intelligent Network (AIN)

1992 Mbone packet audio

Page 3: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

3

Telephone service in the U.S.

lines per 100 inhabitants

total lines

% households with telephone service

1930 1940 1950 1960 1970 1980 1990 20000

10

20

30

40

50

60

70

80

90

100

frac

tion,

line

s/10

0

Year19201910

Lin

es

100

120

140

160

180

80

60

40

20

01900

Page 4: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

4

Price of phone calls (NY – London)

0.1

1

10

100

1000

1920 1930 1940 1950 1960 1970 1980 1990 2000

Pric

e

Year

price

1999 equ. price

Page 5: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

5

Transatlantic cable systems

System 19xx cost circuits $/circuit $/minute

TAT-1 56 C $49.6M 40 213,996 2.443

TAT-2 59 C 42.7M 44 167,308 1.910

TAT-3 63 C 50.6M 79 111,027 1.267

TAT-4 65 C 50.4M 62 140,238 1.601

TAT-5 70 C 70.4M 648 18,773 0.214

TAT-6 76 C 197.0M 3,200 10,638 0.121

TAT-7 83 C 180.0M 3,821 8,139 0.093

TAT-8 88 F 360.0M 6,048 10,285 0.117

TAT-9 92 F 406.0M 10,584 6,628 0.076

TAT-10 92 F 300.0M 18,144 2,857 0.033

TAT-11 93 F 280.0M 18,144 2,667 0.030

TAT-12 96 F 378.0M 60,480 1,080 0.012

TAT-13 96 F 378.0M 60,480 1,080 0.012

Gemini 98 F 520.0M 214,920 371 0.004

AC-1 98 F 850.0M 483,840 304 0.003

TAT-14 00 F 1500.0M 4x2.5M <75 0.001

Page 6: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

6

Overview of telephone system

� analog narrowband circuits to “central office”

� 64 kb/s continuous transmission, with compression across oceans

� �-law: 12-bit linear range�! 8-bit bytes

� everything clocked a multiple of 125�s

� clock synchronization$ framing errors

� AT&T: 136 “toll”switches in U.S.

� interconnected by T1 and T3 digital circuits�! SONET rings (AT&T:� 50)

� call establishment “out-of-band” using packet-switchedsignalingsystem (SS7)

Page 7: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

7

The basic analog telephone

switchhook

ringer

microphone

A B

receiver

C

balancenetwork

loop

equ

aliz

er c

ircu

it

L1

L2 pulse dialer

Page 8: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

8

Telephone load measurements

� 0.1 erlang = busy 10% of the time

� CCS = hundred call seconds/hour➠ 36 CCS = 1 Erlang

� signaling: BHCA = busy hour call attempts

Page 9: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

9

Telephone load variation

time in hours

perc

enta

ge o

f pea

k tr

affic

load

24 6 12 18 24 6 12 18 24

020

4060

8010

0

oooooooooooooooooo

o

oo

oo

ooooooo

o

o

oo

oo

oo

o

o

o

o

o

oooo

o

Sunday Monday

switched voice volumebusiness vs. residential

The Internet and other networks: Utilization rates and their implications, A. M. Odlyzko. Sept. 1998

Page 10: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

10

Call load as a function of weekday

total: 43.3%

total: 56.7%

6

7

8

9

10

11

12

13

% o

f cal

l min

utes

7pm - 7am

Monday Tuesday Wednesday Thursday Friday Saturday Sunday

7am - 7pm

5

4

Page 11: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

11

Call duration

� functional vs. social calls

� local call: 2.4 minutes

� business call: 3.5 minutes

� residential toll: avg. = 8.9 minutes, with a median of 3 minutes

� international calls: 5.1 minutes (U.S.-originated are longer)

Page 12: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

12

Telephone call duration

10

20

30

40

50

60

70

80

90

100

0 10 20 30 40 50 60

% le

ss th

an

Call duration (minutes)

dataexponential

Page 13: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

13

Residential toll call distribution and duration as a function ofdistance

distance (mi) % calls duration (min.)

1 – 10 5.1 4.6

11 – 22 20.2 5.1

23 – 55 23.2 5.9

56 – 124 13.3 7.7

125 – 292 12.1 9.4

293 – 430 4.6 10.4

431 – 925 9.7 11.9

926 – 1910 8.5 11.9

> 1910 3.2 11.2

average 310 mi. 7.8

median 60 mi. 3.0

Page 14: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

14

Telephone call attempts

completed (70.7%)

did not answer (12.7%)

busy (10.1%)

customer error (1.6%)

equipment failure (1.9%)

no response (2.6%)

number invalid (0.4%)

Page 15: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

15

Call setup duration

off-hook

start dialing

ringback

ringback

pick up

pick up

disconnect

no answer

no answer

disconnect

busy disc.

10.5 4.6

8.5

38.1

8.6

15.5 10.9

10.9

8.5

38.1

1.7

Page 16: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

16

Signaling System #7

C

AA

A

F

B

B

CC D

STP

STP

STP STP

STP

STP

SSP

SSP

SSP

SSP SSP

SSP

SSP

SSP

SCP

SCP

TCAP

ISUP

Page 17: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

17

Signaling System #7

SSP: service switching point = voice switch + adjunct

STP: signal transfer point� router

SCP: service control point = interface to databases

� call management service database

� line information database

� home location register

� visitor location register

� traditionally, 64 kb/s leased lines

� future: IP (! IETF Sigtran WG)

Page 18: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

18

ISDN protocol stack

ISDN = BRI (2B+D in 192 kb/s “raw”) or PRI (23B+D)

phys

ical

link

sign

alin

g

2B1Q

LAPD

Q.931

Page 19: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

19

SS7 protocol stack

MTP L1

MTP L2

MTP L3T

UP

ISU

P

BIS

UP

ASP

TCAP

SCCP

Level 4

Level 3

Level 2

Level 1

layer 7

layer 4,5,6

layer 3

layer 2

layer 1

OSI layers CCS7 levels

Page 20: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

20

ISUP MTP format

SIO: service information octet

flagchecksumSIFSIOLIFSNBSN

FSN: forward sequence number

transmission order

bits

BIB FIB

BIB: backward indicator bitFIB: forward indicator bitBSN: backward sequence number

16

SIF: service information field

8 7 7 6 8 variable 8

flag

Page 21: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

21

SS7 protocol stack

Level 1 (physical): DS0A = 56/64 kb/s in DS1 facility

Level 2 (data link): error detection/correction, link-by-link

Level 3 (network):

� routing

� message discrimination➠ “point codes”

� distribution

Level 4 (user parts):

� basic signaling: TUP�! ISUP

� Transaction Capabilities Application (TCAP)

� Operations, Maintenance, Administration (OMAP)

� Mobile Application Part (MAP)

Page 22: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

22

ISDN and SS7 call

hangs upcallee

Release Complete

Release Message

TE SSP SSP

calling user called userexchanges

ringback tone

phonerings

pick up

voice path cutthrough

phone call

Q.931

DISC

Q.931ISUP

(ACM)Address Complete Msg.

(IAM)Initial Address Message

Answer Message

(ANM)

(REL)

TE

(RLC)

CONN

Alert

Call Proceeding

SETUP

SETUP

Alert

CONN

RLSE

RLCOM

RLCOM

RLSE

DISC

Page 23: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

23

ISUP message format

5

4

3

10

9

8

7

6

2

1

0

depends on message type11...

OPC msb

OPC lsb DPC msb

OPC middle octet

DPC lsb

CIC msb

CIC (low-order octet)

subservice field service indicator

DPC member

DPC cluster

DPC network

OPC member

OPC cluster

OPC network

signaling link selection

CIC msb

message type

signaling link selection

message type

service indicatorsubservice field

CIC (low-order octet)

rout

ing

labe

l

1 0234567 6 5 4 3 2 017

Page 24: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

24

ISUP messages

! Initial Address Message (IAM): called numberen bloc

! Continuity Message (COT): loopback test successful

Address Complete Message (ACM):callee being rung

Call Progress Message (CPG):report call set-up event

Answer Message (ANM): callee has answered the phone

$ Release Message (REL):request release of connection, with cause

$ Release Complete Message (RLC):confirm REL

Page 25: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

25

ISUP messages

Suspend Message (SUS):suspend call, but keep connection

$ Resume (RES):resume suspended call

$ Forward Transfer Message (FOT): outgoing operator requests incoming operator

$ Information Request Message (INR): terminating exchange wants moreinformation

$ Information Message (INF): response to INR

$ Pass-along Message (PAM):tunnel another message

Page 26: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

26

Reliability: “Nines”

1 90% 36.5 days/year

2 99% 3.65 days/year

3 99.9% 8.8 hours/year good ISP?

4 99.99% 53 minutes/year

5 99.999% 5 minutes/year phone system

6 99.9999% 32 seconds/year

Page 27: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

27

Reliability indications

� FCC incidents:� 90,000 customers,� 30 minutes (972 between 1992 and 1997)

� FCC ARMIS (Automated Reporting Management Information System)

� ANSI T1A1: logarithmic outage index = f(duration, # affected, time, functions,. . . )

� call defects per million (e.g., AT&T 173 ppm)

Page 28: System - Educypediaeducypedia.karadimov.info/library/telephone1.pdf · 3 Telephone service in the U.S. lines per 100 inhabitants total lines % households with telephone service 1930

28

Outage Statistics

� median outage lasts 2.9 hours (natural disasters: 13.4 hours)

� causes: facilities (45%), local switches (18%), CCS (13%), CO power (7.3%)

� facility failures: dig-ups (“back-hoe fade”, 58%), cable electronics (8%)

� ARMIS example: Bell Atlantic 1998: 180 switches, combined downtime of 628minutes, or6:6 � 10�6