Download presentation
Presentation is loading. Please wait.
1
VoIP Lecture 8 Paul Flynn
2
2 Network Components CO - Central Office Trunk - Switch-switch connection Loop - Line from switch to phone Tandem switch - provides switch-switch interconnection IXC - interexchange carrier PBX - Private branch exchange CO IXC SJ SF RTP
3
3 SSP STP SCP SSP: Service Switching Point (Telephone Switch) STP: Signaling Transfer Point (Router) SCP: Service Control Point (Database, Logic) Trunk Signaling (Packet) Trunk SS7 Voice The PSTN: Separate Voice and Signaling Networks (TDM)
4
Local Loop 2 wire from phone to switch Tip and Ring - derived from old switchboard plugs 4 wire used at switch Conversion performed by hybrid 2 wire SwitchSwitch switchswitch SpeakerListener Talker Echo
5
Local Loop (cont.) Problems with Analog Transmission Several problems with analog Attenuation - loss of signal power Distortion - unequal loss at different frequencies Noise - induced into line which is amplified along with signal by network components Echo - due to 2/4 wire conversion Physical impairments - bad lines, bridge taps, load coils 2 wire HybridHybrid HybridHybrid SpeakerListener Talker Echo
6
6 Digitizing Voice Assumption is that human speech information is contained in the range of 300-3400 Hz Filter & use signal below 4 kHz to prevent aliasing Sample and quantize signal at 8kHz encoder produces 64 kbit/sec stream of data
7
Voice ENCODER Low Pass Filter BW = F max Low Pass Filter BW = F max Binary Encoder Binary Encoder Clock Pulse Detector Binary to Decimal Decoder Filter BW = F max Filter BW = F max Voice DeCODER Sampler 2 * F max Samples/Sec Sampler 2 * F max Samples/Sec Quantizer n Bits/Sample 2 n Levels Quantizer n Bits/Sample 2 n Levels Waveform Coders (codec)
8
Non- Linear Encoding Closely Follows Human Voice Characteristics High Amplitude Signals Have More Quantization Distortion (Both a- & - Law) Input Output Linear Encoding Relatively Easy to Analyze, Synthesize, and Regenerate All Amplitudes Have Roughly Equal Quantization Distortion Input Output Non-Linear vs. Linear Encoding Companding (a-law vs -law) Non-Linear vs. Linear Encoding Companding (a-law vs -law)
9
9 0001 0010 0011 0100 0101 0111 1000 1001 1010 1011 1100 1101 1110 1111 0001 0010 0011 0100 0101 0111 1000 1001 1010 1011 1100 1101 1110 1111 Linear Predictive Coding Source Coding 0001 0010 0011 0100 0101 0111 1000 1001 1010 1011 1100 1101 1110 1111 0001 0010 0011 0100 0101 0111 1000 1001 1010 1011 1100 1101 1110 1111 Actual Code Predicted Code 1001 1011 10 20 ms
10
Bandwidth Requirements Voice Band Traffic Encoding/Compression Result Bit Rate G.711 PCM A-Law/u-Law 64 kbps (DS0) G.726 ADPCM 16, 24, 32, 40 kbps G.729 CS-ACELP 8 kbps G.728 LD-CELP 16 kbps G.723.1 CELP 6.3/5.3 kbps Variable
11
Voice Quality Compression Method MOS Score Delay (msec) 64K PCM (G.711) 4.40.75 32K ADPCM (G.726) 4.21 16K LD-CELP (G.728) 8K CS-ACELP (G.729) 4.215 8K CS-ACELP (G.729a) 15 3–5 4.2 3.6 Anything Above an MOS of 4.0 Is “Toll” Quality
12
Voice Activity Detection Voice “Spurt” Silence Pink Noise Time Voice Activity (Power Level) SID Buffer SID Hang Timer No Voice Traffic Sent B/W Saved - 54 dbm - 31 dbm Voice “Spurt”
13
Rensselaer Polytechnic Institute 13 Applications of Speech Coding q Telephony, PBX q Wireless/Cellular Telephony q Internet Telephony q Speech Storage (Automated call-centers) q High-Fidelity recordings/voice q Speech Analysis/Synthesis q Text-to-speech (machine generated speech)
14
Different Types of Signaling (when you place a call) Supervisory - Determines state of line/trunk whether on/off-hook EM signal leads, loop open/closed Addressing - passes digit information for call routing DTMF, MF, DNIS Informational - indicates call progress Busy signal, dial tone, ring back
15
15 Summary Page CO IXC SJ SF RTP T1/ E1 DTMF/ MF CAS/ CCS Local Loop FXS/ FXO Loopstart/ Gndstart
16
16 Voice Transport Protocols
17
17 Voice Transport Protocol Overview PSTN PBX ATM, FR, HDLC IP Cisco Gateway Cisco Gateway T1/E1 CAS/CCS Encoder/ Decoder
18
Queuing Voice always given priority over data Real-time queue for voice and video Data queue serviced only if nothing in Real Time queue - (Exhaustive like priority queuing) Non-real time queue (Data) WFQ by default WFQ Disabled if Frame Relay Traffic Shaping Enabled Fancy queuing disabled if voice-encap set on interface
19
19
20
20 Protocols Used H.225.0 for Connection and Status –Q.931 ‘derived’ messages –‘RAS’ for Endpoint-GK signaling. H.245 for negotiating channel usage and capabilities Media transport –RTP/RTCP -- standard payloads (RFC1889/1890) –‘native’ uni/multicast support
21
Rensselaer Polytechnic Institute 21 VoIP Camps ISDN LAN conferencing IP H.323 I-multimedia WWW IP SIP Call Agent SIP & H.323 IP “Softswitch” BISDN, AIN H.xxx, SIP “any packet” BICC Conferencing Industry Netheads “IP over Everything” Circuit switch engineers “We over IP” “Convergence” ITU standards Our focus
22
Rensselaer Polytechnic Institute 22 Are true Internet hosts Choice of application Choice of server IP appliances Implementations 3Com (3) Columbia University MIC WorldCom (1) Mediatrix (1) Nortel (4) Siemens (5) 4 IP SIP Phones and Adaptors 1 3 Analog phone adaptor Palm control 2 54
23
Rensselaer Polytechnic Institute 23 PSTN to IP Call PBX PSTN External T1/CAS Regular phone (internal) Call 9397134 1 SIP server sipd Ethernet 3 SQL database 4 7134 => bob sipc 5 Bob’s phone Gateway Internal T1/CAS (Ext:7130-7139) Call 7134 2
24
Rensselaer Polytechnic Institute 24 IP to PSTN Call Gateway (10.0.2.3) 3 SQL database 2 Use sip:85551212@10.0.2.3 Ethernet SIP server sipd sipc 1 Bob calls 5551212 PSTN External T1/CAS Call 5551212 5 5551212 PBX Internal T1/CAS Call 85551212 4 Regular phone (internal, 7054)
25
25 End-to-End Delay SenderReceiver Network Transit Delay t A A A A Network Last Bit Received First Bit Transmitted Processing Delay Processing Delay End-to-End Delay
26
Fixed Delay Components Propagation—six microseconds per kilometer Serialization Processing Coding/compression/decompression/decoding Packetization Processing Delay Propagation Delay Serialization Delay— Buffer to Serial Link
27
Variable Delay Components Queuing delay Dejitter buffers Variable packet sizes Dejitter Buffer Queuing Delay
28
28 Delay Variation—“Jitter” t t Sender Transmits Sink Receives A A B B C C A A B B C C D1D1 D 2 = D 1 SenderReceiver D 3 = D 2 Network 85
29
29 Network QoS Toolkit
30
30 Logical Connections Call Leg 3 Call Leg 1 IP Cloud Call Leg 2 Call Leg 4
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.