An Introduction to Voice over IP Lance Parr Lead Systems Administrator VoIP Laboratory Manager Texas A&M University Colleg...
What is VoIP? <ul><li>VoIP ( V oice  o ver  I nternet  P rotocol), sometimes referred to as Internet telephony, is a metho...
Voice over IP - the basics  <ul><li>Most implementations use H.323 protocol </li></ul><ul><ul><li>Same protocol that is us...
VoIP Protocols <ul><li>H.323 Multimedia Standard </li></ul><ul><ul><li>H.225 RAS - Registration, Admission, Status </li></...
Here’s how it stacks up: Audio CODECS H.7XX Video CODECS H.26X Conferencing H.332 Circuit Switched Network Interop. H.246 ...
How they fit in:  The ISO Model ATM, FR, PPP, Ethernet Data Link IP – Non QOS Network RTP / UDP / TCP Transport H.323 & SI...
RTCP RTP UDP TCP Layer 3  IP Layer 2  Ethernet/ATM
Comparison of  Packet vs. Circuit Switching IPv4 & IPv6 NANP Addressing Shared Dedicated Communications Channel H.323 & SI...
H.323 <ul><li>Definition: a multimedia standard that provides a foundation to transport voice, video and data communicatio...
H.323 Entities <ul><li>Terminals (LAN Endpoints) </li></ul><ul><li>Gateways (Optional but really useful) </li></ul><ul><li...
H.323 Equipment <ul><li>Gateway </li></ul><ul><ul><li>Device that connects H.323 voice network to non-H.323 voice network ...
H.323 Equipment <ul><li>MCU (multipoint control unit) </li></ul><ul><ul><li>MC – multipoint controller </li></ul></ul><ul>...
H.323 Equipment <ul><li>Terminal </li></ul><ul><ul><li>An endpoint that supports 2-way streaming with another H.323 termin...
Call Setup using H.225 RAS <ul><li>Registration, Admission and Status (RAS), is responsible for registration, admission, a...
Call Setup using H.225 RAS <ul><li>Registration by terminals, Gateways & MCUs using H.323 ID or E.164 address </li></ul><u...
H.323 – H.225 RAS Messages <ul><li>LRQ – location request </li></ul><ul><ul><li>Gatekeeper A requests contact information ...
Signaling using Q.931 messages <ul><li>Q.931 is a signaling protocol used to setup, manage, and terminate H.323 connection...
H.323 – H.225 RAS Messages <ul><li>ARQ – admission request </li></ul><ul><ul><li>Gateway A requests admission to make a ca...
H.323 – H.225 RAS Messages <ul><li>Request in Progress </li></ul><ul><ul><li>RIP </li></ul></ul><ul><li>Bandwidth change <...
H.323 – H.225 RAS Messages <ul><li>Gatekeeper Discovery </li></ul><ul><ul><li>GRQ, CCF, GRJ </li></ul></ul><ul><li>Termina...
H.323 – H.225 RAS Messages <ul><li>Status Queries </li></ul><ul><ul><li>IRQ – info request </li></ul></ul><ul><ul><li>IRR ...
H.323 – Q.931 Messages <ul><li>Alerting </li></ul><ul><ul><li>Called user has been alerted, (phone is ringing) </li></ul><...
H.323 – Q.931 Messages <ul><li>Release Complete </li></ul><ul><ul><li>H.225 (Q.931) call has been released, signaling chan...
H.323 – H.245 <ul><li>Establishes logical channels for transmission of H.323 data  </li></ul><ul><li>Negotiates: </li></ul...
H.323 – H.245 Messages <ul><li>Master/Slave Determination </li></ul><ul><ul><li>Determines which terminal will be master w...
H.323 – H.245 Messages <ul><li>Request Mode </li></ul><ul><ul><li>Receive terminal requests type of transportation from a ...
H.323 – H.245 Messages <ul><li>Send Terminal Capacity Set </li></ul><ul><ul><li>Instructs far-end terminal to send transmi...
H.323 Call Setup via Gatekeepers
Directory and Tier 1  Gatekeeper Call Setup  6. Q.931 Call Setup 5. ACF 8. ACF 7. ARQ 1. ARQ 8. Q.931Call Proceed RTP Dire...
Gatekeeper Peering and Redundancy
Codec ITU G.711 <ul><li>G.711 is the international standard for encoding telephone audio on a 64 kbps channel. It is a pul...
Codec ITU G.711(cont) <ul><li>Features </li></ul><ul><li>Fully compliant with ITU-T G.711  </li></ul><ul><li>64 kbit/s exp...
Codec ITU G.722.1  <ul><li>G.722.1 is a low-bit-rate wideband coder, which codes speech at 24 kbps or 32 kbps. The quality...
Codec ITU G.722.1(cont) <ul><li>Supports all bit rates viz. 16/32 kbps at 16 khz sampling rate  </li></ul><ul><li>C callab...
Codec ITU G.723.1 <ul><li>G.723.1 is a speech compression algorithm standardized by ITU. G.723.1 has dual coding rates at ...
Codec ITU G.723.1 (cont) <ul><li>Features </li></ul><ul><li>Fully bit exact with ITU-T G.723.1  </li></ul><ul><li>5.3 and ...
Codec ITU G.726 <ul><li>ITU-T G.726 has speech compression and decompression at rates of 16, 24, 32 and 40 Kbps based on A...
Codec ITU G.726 (cont) <ul><li>Features </li></ul><ul><li>Fully bit exact with ITU-T G.726  </li></ul><ul><li>Sample-by-sa...
Codec ITU G.728 <ul><li>ITU-T recommendation G.728 Annex G is the fixed-point version of the coding of speech at 16kbps us...
Codec ITU G.728(cont) <ul><li>Features: </li></ul><ul><li>API functions for initialization, encoding and decoding of speec...
Codec ITU G.729 <ul><li>ITU-T recommendation G.729 codec belongs to the Code-Excited Linear-Prediction coding (CELP) model...
Codec ITU G.729 (cont) <ul><li>Features: </li></ul><ul><li>C-callable API functions for initialization, encoding and decod...
Codec ITU G.729A <ul><li>ITU-T recommendation G.729 annex A (referred as G.729A) is the reduced complexity version of G.72...
Codec ITU G.729A (cont) <ul><li>Features: </li></ul><ul><li>C-callable API functions for initialization, encoding and deco...
GIPS <ul><li>GIPS Enhanced G.711  - G.711 with GIPS developed enhancement providing superior packet loss robustness. GIPS ...
GIPS (cont) <ul><li>GIPS Enhanced G.711Quality: At parity with PSTN, even under severe packet loss conditions </li></ul><u...
Speech Codec Comparison  <ul><li>Codec  TypeRate  Algorithmic  Delay(ms) </li></ul><ul><li>G.711 A-Law / µ-Law  64 0 </li>...
Notes on Table <ul><li>All codecs are voice-band and run at an 8kHz sampling rate, except for G.722 which has a 7kHz bandw...
Matching PSTN Quality
Better Than PSTN Quality
VOIP Codecs - bandwidth vs. Quality <ul><li>The tradeoffs: </li></ul><ul><ul><li>How much do you need (quality)? </li></ul...
Issues with VoIP <ul><li>Firewalls </li></ul><ul><li>NAT </li></ul><ul><li>QoS </li></ul><ul><li>Network Testing </li></ul>
VoIP Issues – Firewalls  <ul><li>A set of security mechanisms than an organization implements to prevent unsecured access ...
VoIP Issues – NAT  <ul><li>Helps protect the intranet from exposure to unwanted traffic by providing one single external a...
Issues with Firewalls and NAT   <ul><li>H.323 requires the use of specific static ports for RAS messages, and a number of ...
H.323 Ports used by Cisco equipment <ul><li>Source: Call Manager Dest.: Gatekeeper </li></ul><ul><li>Description Type Dest...
H.323 Ports used by Cisco equipment <ul><li>Source: Gatekeeper Dest.: Gatekeeper </li></ul><ul><li>Description Type Destin...
H.323 Ports used by Cisco equipment <ul><li>Source: Terminal Dest.: Terminal </li></ul><ul><li>Description Type Destinatio...
Port Usage <ul><li>Cisco Call Manager -- Call Control for IP Phone </li></ul><ul><ul><li>2000 TCP </li></ul></ul><ul><li>C...
Voice Over IP - the reasons that we have all heard! <ul><li>Perception </li></ul><ul><ul><li>It is cheaper to run just one...
TCP/IP implementations <ul><li>Departmental VOIP PBX </li></ul><ul><li>Centralized VOIP PBX </li></ul><ul><li>Road warrior...
VOIP decisions <ul><li>Power for VOIP phones </li></ul><ul><li>E-911 mapping </li></ul><ul><li>Which Codec to use </li></ul>
Parameters the impact VOIP- How much is to much? <ul><li>Packet loss </li></ul><ul><li>Latency </li></ul><ul><li>Jitter </...
QoS issues <ul><li>QoS has been added to the H.245 OLC packets to allow endpoints to set QoS parameters for the media stre...
QoS options <ul><li>Prioritize by Application </li></ul><ul><li>Prioritize by Address - many applications </li></ul><ul><l...
 
Upcoming SlideShare
Loading in …5
×

Voice over IP Preparing your campus for convergence

468 views
422 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
468
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Voice over IP Preparing your campus for convergence

  1. 1. An Introduction to Voice over IP Lance Parr Lead Systems Administrator VoIP Laboratory Manager Texas A&M University College Station, Texas
  2. 2. What is VoIP? <ul><li>VoIP ( V oice o ver I nternet P rotocol), sometimes referred to as Internet telephony, is a method of digitizing voice, encapsulating the digitized voice into packets and transmitting those packets over a packet switched IP network. </li></ul>
  3. 3. Voice over IP - the basics <ul><li>Most implementations use H.323 protocol </li></ul><ul><ul><li>Same protocol that is used for IP video. </li></ul></ul><ul><ul><li>Uses TCP for call setup </li></ul></ul><ul><ul><li>Traffic is actually carried on RTP (Real Time Protocol) which runs on top of UDP. </li></ul></ul>
  4. 4. VoIP Protocols <ul><li>H.323 Multimedia Standard </li></ul><ul><ul><li>H.225 RAS - Registration, Admission, Status </li></ul></ul><ul><ul><li>Q.931 - Call Signaling (Setup & Termination) </li></ul></ul><ul><ul><li>H.245 - Call Control (Preferences, Flow Control, etc.) </li></ul></ul><ul><ul><li>Lots of G.7XX CODECS for audio </li></ul></ul><ul><li>SIP – Session Initialization Protocol </li></ul><ul><ul><li>Covered in next presentation </li></ul></ul>
  5. 5. Here’s how it stacks up: Audio CODECS H.7XX Video CODECS H.26X Conferencing H.332 Circuit Switched Network Interop. H.246 Other supplemental Services H.450 Call negotiation, capability exchange H.245 Security & Authentication H.235 Call setup & Control – RAS (Q.931) H.225 Multimedia Protocol H.323
  6. 6. How they fit in: The ISO Model ATM, FR, PPP, Ethernet Data Link IP – Non QOS Network RTP / UDP / TCP Transport H.323 & SIP Session Applications / CODECS Presentation Protocol or Standard ISO Model Layer
  7. 7. RTCP RTP UDP TCP Layer 3 IP Layer 2 Ethernet/ATM
  8. 8. Comparison of Packet vs. Circuit Switching IPv4 & IPv6 NANP Addressing Shared Dedicated Communications Channel H.323 & SIP Database / SS 7 Overlay Call Setup Packet Circuit
  9. 9. H.323 <ul><li>Definition: a multimedia standard that provides a foundation to transport voice, video and data communications in an IP based non-QOS network. </li></ul><ul><li>H.323 Zone </li></ul><ul><ul><li>Collection of terminals, gateways, MCUs registered with a single gatekeeper. </li></ul></ul>
  10. 10. H.323 Entities <ul><li>Terminals (LAN Endpoints) </li></ul><ul><li>Gateways (Optional but really useful) </li></ul><ul><li>Gatekeepers (Also optional) </li></ul><ul><li>MCUs </li></ul>
  11. 11. H.323 Equipment <ul><li>Gateway </li></ul><ul><ul><li>Device that connects H.323 voice network to non-H.323 voice network (SIP or PSTN) </li></ul></ul><ul><ul><li>Allows H.323 terminals to communication with non-H.323 terminals </li></ul></ul><ul><li>Gatekeeper </li></ul><ul><ul><li>Provides address translation (H.323 & E.164 to IP) </li></ul></ul><ul><ul><li>Admission control for H.323 terminals and gateways </li></ul></ul><ul><ul><li>Manage bandwidth allocation </li></ul></ul><ul><ul><li>Other optional services </li></ul></ul>
  12. 12. H.323 Equipment <ul><li>MCU (multipoint control unit) </li></ul><ul><ul><li>MC – multipoint controller </li></ul></ul><ul><ul><ul><li>Routes call and control signaling to ensure endpoint compatibility </li></ul></ul></ul><ul><ul><li>MP – multipoint processor </li></ul></ul><ul><ul><ul><li>Switches, mixes and processes vice and video streams to conferencing equipment </li></ul></ul></ul>
  13. 13. H.323 Equipment <ul><li>Terminal </li></ul><ul><ul><li>An endpoint that supports 2-way streaming with another H.323 terminal or gateway </li></ul></ul><ul><ul><li>Originates and terminates calls </li></ul></ul><ul><ul><li>Includes videoconferencing stations, hard phones, & soft phones </li></ul></ul>
  14. 14. Call Setup using H.225 RAS <ul><li>Registration, Admission and Status (RAS), is responsible for registration, admission, and disengaging procedures between H.323 Gatekeeper and Gateway. </li></ul><ul><li>Discovery: GRQ, GCF, GCR </li></ul><ul><ul><li>Unicast Discovery using UDP port 1718. Endpoint knows GK IP & register directly </li></ul></ul><ul><ul><li>Multicast using UPD multicast address 224.0.1.41 – non static, less admin overhead </li></ul></ul>
  15. 15. Call Setup using H.225 RAS <ul><li>Registration by terminals, Gateways & MCUs using H.323 ID or E.164 address </li></ul><ul><ul><li>RRQ Registration Request </li></ul></ul><ul><ul><li>RCF Registration Confirm </li></ul></ul><ul><ul><li>RRJ Registration Reject </li></ul></ul><ul><ul><li>URQ Un-registration Request </li></ul></ul><ul><ul><li>URF Un-registration Confirm </li></ul></ul><ul><ul><li>URJ Un-registration Confirm </li></ul></ul>
  16. 16. H.323 – H.225 RAS Messages <ul><li>LRQ – location request </li></ul><ul><ul><li>Gatekeeper A requests contact information from directory gatekeeper. </li></ul></ul><ul><li>LCF – location confirm </li></ul><ul><ul><li>Gatekeeper B returns IP address of destination gateway to gatekeeper A. </li></ul></ul>
  17. 17. Signaling using Q.931 messages <ul><li>Q.931 is a signaling protocol used to setup, manage, and terminate H.323 connections between endpoints. </li></ul><ul><ul><li>ARQ, ACF, ARJ Admission messages </li></ul></ul><ul><ul><li>LRQ, LCF, LRJ Location Request messages </li></ul></ul><ul><ul><li>IRQ, IRR, IACK, INAK Status messages </li></ul></ul><ul><ul><li>BRQ, BCF, BRJ, RAI, RAC Bandwdith messages </li></ul></ul>
  18. 18. H.323 – H.225 RAS Messages <ul><li>ARQ – admission request </li></ul><ul><ul><li>Gateway A requests admission to make a call. </li></ul></ul><ul><li>ACF – admission confirm </li></ul><ul><ul><li>Gatekeeper A responds with IP address of destination gateway. </li></ul></ul>
  19. 19. H.323 – H.225 RAS Messages <ul><li>Request in Progress </li></ul><ul><ul><li>RIP </li></ul></ul><ul><li>Bandwidth change </li></ul><ul><ul><li>BRQ, BCF, BRJ </li></ul></ul><ul><li>Resource Availability </li></ul><ul><ul><li>RAI (Indicator) </li></ul></ul><ul><ul><li>RAC (Confirm) </li></ul></ul>
  20. 20. H.323 – H.225 RAS Messages <ul><li>Gatekeeper Discovery </li></ul><ul><ul><li>GRQ, CCF, GRJ </li></ul></ul><ul><li>Terminal/Gateway Registration </li></ul><ul><ul><li>RRQ, RCF, RRJ </li></ul></ul><ul><li>Terminal/Gateway Registration </li></ul><ul><ul><li>URQ, UCF, URJ </li></ul></ul><ul><li>Disengage </li></ul><ul><ul><li>DRQ, DCF, DRJ </li></ul></ul>
  21. 21. H.323 – H.225 RAS Messages <ul><li>Status Queries </li></ul><ul><ul><li>IRQ – info request </li></ul></ul><ul><ul><li>IRR – info request response </li></ul></ul><ul><ul><li>IACK – info request ACK </li></ul></ul><ul><ul><li>INACK - info request NACK </li></ul></ul>
  22. 22. H.323 – Q.931 Messages <ul><li>Alerting </li></ul><ul><ul><li>Called user has been alerted, (phone is ringing) </li></ul></ul><ul><li>Call Proceeding </li></ul><ul><ul><li>Call has been established, no more call establishment information will be accepted </li></ul></ul><ul><li>Connect </li></ul><ul><ul><li>Acceptance of call by called party </li></ul></ul><ul><li>Setup </li></ul><ul><ul><li>Indicates H.323 party wants to setup a connection to called party </li></ul></ul>
  23. 23. H.323 – Q.931 Messages <ul><li>Release Complete </li></ul><ul><ul><li>H.225 (Q.931) call has been released, signaling channel is now open </li></ul></ul><ul><li>Status </li></ul><ul><ul><li>Sent when unknown call signaling message or a status inquiry message is received </li></ul></ul><ul><li>Status Inquiry </li></ul><ul><ul><li>Requests a call’s status </li></ul></ul>
  24. 24. H.323 – H.245 <ul><li>Establishes logical channels for transmission of H.323 data </li></ul><ul><li>Negotiates: </li></ul><ul><ul><li>channel usage </li></ul></ul><ul><ul><li>master/slave configuration </li></ul></ul><ul><ul><li>flow control </li></ul></ul><ul><ul><li>Codec used </li></ul></ul><ul><li>H.245 ports </li></ul><ul><ul><li>1024-5000 TCP in Cisco implementation </li></ul></ul>
  25. 25. H.323 – H.245 Messages <ul><li>Master/Slave Determination </li></ul><ul><ul><li>Determines which terminal will be master which will be slave in the call </li></ul></ul><ul><li>Terminal Capability Set </li></ul><ul><ul><li>Contains information on a terminal’s ability to send and receive multimedia streams </li></ul></ul><ul><li>Open Logical Channel </li></ul><ul><ul><li>Opens logical channel for transport of multimedia data </li></ul></ul><ul><li>Close Logic Channel </li></ul><ul><ul><li>Closes the logical channel between two endpoints </li></ul></ul>
  26. 26. H.323 – H.245 Messages <ul><li>Request Mode </li></ul><ul><ul><li>Receive terminal requests type of transportation from a transmit terminal </li></ul></ul><ul><ul><li>Types of Modes: </li></ul></ul><ul><ul><ul><li>Video </li></ul></ul></ul><ul><ul><ul><li>Audio </li></ul></ul></ul><ul><ul><ul><li>Data </li></ul></ul></ul><ul><ul><ul><li>Encryption </li></ul></ul></ul>
  27. 27. H.323 – H.245 Messages <ul><li>Send Terminal Capacity Set </li></ul><ul><ul><li>Instructs far-end terminal to send transmit and receive capabilities </li></ul></ul><ul><li>End Session Command </li></ul><ul><ul><li>Indicates the end of the H.245 session </li></ul></ul>
  28. 28. H.323 Call Setup via Gatekeepers
  29. 29. Directory and Tier 1 Gatekeeper Call Setup 6. Q.931 Call Setup 5. ACF 8. ACF 7. ARQ 1. ARQ 8. Q.931Call Proceed RTP Directory Gatekeeper VoIP PBX VoIP PBX IP Phone IP Phone H.245 Tier 1 Gatekeeper Tier 1 Gatekeeper 3. LRQ 4. LCF 2. RIP 2. LRQ
  30. 30. Gatekeeper Peering and Redundancy
  31. 31. Codec ITU G.711 <ul><li>G.711 is the international standard for encoding telephone audio on a 64 kbps channel. It is a pulse code modulation (PCM) scheme operating at a 8 kHz sample rate, with 8 bits per sample, fully meeting ITU-T recommendations. The module is designed and tested on the TI TMS320C54x platform but can be ported to other DSP and RISC platforms, as well as MS Windows. </li></ul><ul><li>Information from http://www.spiritcorp.com/ </li></ul>
  32. 32. Codec ITU G.711(cont) <ul><li>Features </li></ul><ul><li>Fully compliant with ITU-T G.711 </li></ul><ul><li>64 kbit/s expander input rate </li></ul><ul><li>104 or 112 kbit/s expander output rate </li></ul><ul><li>A-law or mu-law expander input </li></ul><ul><li>Uniform PCM expander output </li></ul><ul><li>104 or 112 kbit/s compressor input rate </li></ul><ul><li>64 kbit/s compressor output rate </li></ul><ul><li>Uniform PCM compressor input </li></ul><ul><li>A-law or mu-law compressor output </li></ul><ul><li>Selectable frame/buffer memory size according to the system needs </li></ul><ul><li>Very simple application interface </li></ul><ul><li>Compliant with TI's eXpressDSP standard. Code is reentrant, supports multithreading and dynamic memory allocation. At the same time allows direct (non-eXpressDSP) interface to enable static memory allocation </li></ul><ul><li>Can be easily ported to any DSP or RISC platform </li></ul>
  33. 33. Codec ITU G.722.1 <ul><li>G.722.1 is a low-bit-rate wideband coder, which codes speech at 24 kbps or 32 kbps. The quality at 32 kbps is the same as that of G.722 SB-ADPCM at 64 kbps. It uses a transform-coding scheme called Modulated Lapped Transform (MLT), with a 20 ms frame size. The algorithmic delay is 40 ms (20 ms frame size + 20 ms look-ahead). </li></ul>
  34. 34. Codec ITU G.722.1(cont) <ul><li>Supports all bit rates viz. 16/32 kbps at 16 khz sampling rate </li></ul><ul><li>C callable API for initialization, encoding and decoding of speech data </li></ul><ul><li>Supports Multi-channel capability </li></ul><ul><li>Optimized implementation </li></ul><ul><li>Bit Compliant with ITU-T test vectors </li></ul><ul><li>Information found at http://www.ittiam.com/pages/products/g722-1.htm </li></ul>
  35. 35. Codec ITU G.723.1 <ul><li>G.723.1 is a speech compression algorithm standardized by ITU. G.723.1 has dual coding rates at 5.3 and 6.3 kbps. The vocoders process signals with 30 ms frames and have a 7.5 ms look-ahead and low distortion while passing DTMF tones through. The input/output of this algorithm is 16 bit linear PCM samples. </li></ul><ul><li>Middle bit rate G.723.1 vocoder delivers one of the highest compression ratios of any of the current ITU standards without compromising speech quality. This vocoder can perform full duplex compression and decompression functions for multimedia, visual telephony, wireless telephony, and videoconferencing products. </li></ul>
  36. 36. Codec ITU G.723.1 (cont) <ul><li>Features </li></ul><ul><li>Fully bit exact with ITU-T G.723.1 </li></ul><ul><li>5.3 and 6.3 Kbps encoded bit stream rates </li></ul><ul><li>Discontinuous transmission support (DTX) using Voice Activity Detection (VAD) and Comfort Noise Generation (CNG) </li></ul><ul><li>Includes optional High Pass Filter and optional Post Filter </li></ul><ul><li>Direct interface with PCM 8KHz sampled data. Both sample-by-sample and block based processing supported </li></ul><ul><li>Very simple application interface </li></ul><ul><li>Can be easily ported to any platform. </li></ul>
  37. 37. Codec ITU G.726 <ul><li>ITU-T G.726 has speech compression and decompression at rates of 16, 24, 32 and 40 Kbps based on Adaptive Differential Pulse Code Modulation (ADPCM). It can be effectively used for speech compression in such applications as speech storing, digital circuit multiplication and telephony applications. </li></ul>
  38. 38. Codec ITU G.726 (cont) <ul><li>Features </li></ul><ul><li>Fully bit exact with ITU-T G.726 </li></ul><ul><li>Sample-by-sample or block based analog input </li></ul><ul><li>16, 24, 32 or 40 Kbps bit stream rate </li></ul><ul><li>A-law, mu-law and 14-bit uniform 8 kHz PCM input/output </li></ul><ul><li>Direct interface with PCM 8KHz sampled data. Both sample-by-sample and block based processing supported </li></ul><ul><li>Very simple application interface </li></ul><ul><li>Can be easily ported to any DSP or RISC platform </li></ul>
  39. 39. Codec ITU G.728 <ul><li>ITU-T recommendation G.728 Annex G is the fixed-point version of the coding of speech at 16kbps using Low Delay Code Excited Linear Prediction (LD-CELP). It uses backward adaptation of predictors and gain to achieve an algorithmic delay of 0.625 ms. Under error-free transmission conditions the perceived quality of a 16 kbit/s LD-CELP codec is equivalent to that of a codec conforming to 32 kbit/s ADPCM. The codec is suitable for applications such as VoIP. </li></ul>
  40. 40. Codec ITU G.728(cont) <ul><li>Features: </li></ul><ul><li>API functions for initialization, encoding and decoding of speech data </li></ul><ul><li>Supports Multi-channel operation </li></ul><ul><li>Information from http://www. hellosoft .com </li></ul>
  41. 41. Codec ITU G.729 <ul><li>ITU-T recommendation G.729 codec belongs to the Code-Excited Linear-Prediction coding (CELP) model speech coders and uses Conjugate-Structure Algebraic-Code-Excited Linear-Prediction (CS_ACELP) for coding speech signals at 8 kbits/sec. The coder operates on speech frames of 10 ms corresponding to 80 samples at a sampling rate of 8000 samples per second and the total algorithmic delay is 15 milliseconds. The encoder functionality includes Voice Activity Detection and Comfort Noise Generation (VAD/CNG) and the decoder is capable of accepting silence frames. G.729 provides near toll quality performance under clean channel conditions and is the default codec as prescribed by the Frame Relay Forum and is also suitable for voice over network (VoIP) applications. </li></ul>
  42. 42. Codec ITU G.729 (cont) <ul><li>Features: </li></ul><ul><li>C-callable API functions for initialization, encoding and decoding of speech data </li></ul><ul><li>Voice Activity Detection and Comfort Noise Generation </li></ul><ul><li>Supports Multi-channel operation and Reentrancy </li></ul><ul><li>Code passes all test vectors specified by ITU-T </li></ul><ul><li>Optimized implementation </li></ul>
  43. 43. Codec ITU G.729A <ul><li>ITU-T recommendation G.729 annex A (referred as G.729A) is the reduced complexity version of G.729 recommendation and operates at 8 kbits/sec. This version is developed mainly for multimedia simultaneous voice and data applications, although the use of the codec is not limited to these applications. This version is bit stream interoperable with the full version (G729). The coder operates on speech frames of 10 ms corresponding to 80 samples at a sampling rate of 8000 samples per second and the total algorithmic delay is 15 milliseconds. The encoder functionality includes Voice Activity Detection and Comfort Noise Generation (VAD/CNG) and the decoder is capable of accepting silence frames. The performance of this codec may not be as good as the G729 in certain circumstances. The codec is suitable for voice over network (VoIP) applications </li></ul>
  44. 44. Codec ITU G.729A (cont) <ul><li>Features: </li></ul><ul><li>C-callable API functions for initialization, encoding and decoding of speech data </li></ul><ul><li>Voice Activity Detection and Comfort Noise Generation </li></ul><ul><li>Supports Multi-channel operation and Reentrancy </li></ul><ul><li>Code passes all test vectors specified by ITU-T </li></ul><ul><li>Optimized implementation </li></ul>
  45. 45. GIPS <ul><li>GIPS Enhanced G.711 - G.711 with GIPS developed enhancement providing superior packet loss robustness. GIPS Enhanced G.711 consists of the G.711 codec combined with an enhancement to provide packet loss robustness. Call setup is done with G.711 and the enhancement is detected and activated after call setup if both end points have the enhancement. The enhancement unit works similarly to an encryption method. The packets are transcoded to provide packet loss robustness instead of privacy. A SoundWare solution with GIPS Enhanced G.711 in combination with NetEQ™ provides a PSTN speech quality level at packet loss/delay rates up to 10%. This is achieved without increasing the bit rate, and without significant increases in latency and complexity. </li></ul><ul><li>Information provided by http://www.globalipsound.com </li></ul>
  46. 46. GIPS (cont) <ul><li>GIPS Enhanced G.711Quality: At parity with PSTN, even under severe packet loss conditions </li></ul><ul><li>SAMPLING RATE: 8 kHz </li></ul><ul><li>BITRATE: Variable, in average equal to G.711 COMPLEXITY: Very low PACKET LOSS ROBUSTNESS: Very high ALGORITHMIC DELAY: Equal to G.711 </li></ul><ul><li>VOICE ACTIVITY DETECTION: Available </li></ul><ul><li>COMPATIBILITY: Transparent with G.711 at the end-points and is only activated if the both end-points are improved with a GIPS codec DTMF, </li></ul><ul><li>FAX AND MODEM COMPATIBLE: Yes </li></ul>
  47. 47. Speech Codec Comparison <ul><li>Codec TypeRate Algorithmic Delay(ms) </li></ul><ul><li>G.711 A-Law / µ-Law 64 0 </li></ul><ul><li>G.722 SB-ADPCM 64/ 56/ 48 0 </li></ul><ul><li>G.723.1/ AMP-MLQ/ACELP* 6.3/ 5.3 37.5 </li></ul><ul><li>G.726 ADPCM 16/ 24/ 32/ 40 0 </li></ul><ul><li>G.727 Embedded ADPCM 16/ 24/ 32/ 40 0 </li></ul><ul><li>G.728 LD-CELP 16 < 2 </li></ul><ul><li>G.729 CS-ACELP 8 15 </li></ul><ul><li>G.729 ACS-ACELP 8 15 </li></ul><ul><li>G.729 BCS-ACELP* 8 15 </li></ul><ul><li>G.729 ABCS-ACELP* 8 15 </li></ul>
  48. 48. Notes on Table <ul><li>All codecs are voice-band and run at an 8kHz sampling rate, except for G.722 which has a 7kHz bandwidth and 16kHz sample rate </li></ul><ul><li>* These rates are nominal due to utilization of silence compression schemes </li></ul><ul><li>G.711 and G.722 are provided free of charge with G.728 if required for H.320 </li></ul><ul><li>Algorithmic delay of &quot;non-predictive&quot; codecs is effectively zero </li></ul><ul><li>Information from http://www.spa.com.au/faqs/codecs.html </li></ul>
  49. 49. Matching PSTN Quality
  50. 50. Better Than PSTN Quality
  51. 51. VOIP Codecs - bandwidth vs. Quality <ul><li>The tradeoffs: </li></ul><ul><ul><li>How much do you need (quality)? </li></ul></ul><ul><ul><li>How much can you afford? </li></ul></ul><ul><ul><li>How much coding delay can you tolerate? </li></ul></ul><ul><ul><li>Do you have special needs? </li></ul></ul>
  52. 52. Issues with VoIP <ul><li>Firewalls </li></ul><ul><li>NAT </li></ul><ul><li>QoS </li></ul><ul><li>Network Testing </li></ul>
  53. 53. VoIP Issues – Firewalls <ul><li>A set of security mechanisms than an organization implements to prevent unsecured access from the outside world to its internal network. </li></ul><ul><li>Typically work by blocking access of certain network protocols to specific ports. </li></ul>
  54. 54. VoIP Issues – NAT <ul><li>Helps protect the intranet from exposure to unwanted traffic by providing one single external address to remote users. </li></ul><ul><li>Translates local intranet addresses into an external address. </li></ul><ul><li>Remote users connect to this external address to connect to the local user, without actually knowing its local address. </li></ul>
  55. 55. Issues with Firewalls and NAT <ul><li>H.323 requires the use of specific static ports for RAS messages, and a number of dynamic ports for RTP. </li></ul><ul><li>SIP has one port (5060) for SIP messages, as well as dynamic ports for RTP. </li></ul><ul><li>For these protocols to pass the firewall, the specific static and the range of dynamic ports must be opened for all traffic. </li></ul>
  56. 56. H.323 Ports used by Cisco equipment <ul><li>Source: Call Manager Dest.: Gatekeeper </li></ul><ul><li>Description Type Destination Port </li></ul><ul><li>H.225 RAS UDP 1719 </li></ul><ul><li>Source: Call Manager Dest.: Call Manager </li></ul><ul><li>Description Type Destination Port </li></ul><ul><li>H.225 Call Setup TCP 1720 </li></ul><ul><li>H.245 Call Control TCP 1024-5000 </li></ul>
  57. 57. H.323 Ports used by Cisco equipment <ul><li>Source: Gatekeeper Dest.: Gatekeeper </li></ul><ul><li>Description Type Destination Port </li></ul><ul><li>H.225 RAS UDP 1719 </li></ul><ul><li>Source: Terminal Dest.: Call Manager </li></ul><ul><li>Description Type Destination Port </li></ul><ul><li>Skinny TCP 2000 </li></ul>
  58. 58. H.323 Ports used by Cisco equipment <ul><li>Source: Terminal Dest.: Terminal </li></ul><ul><li>Description Type Destination Port </li></ul><ul><li>RTP UDP 1024-65535 </li></ul><ul><li>RTCP UDP 1024-65535 </li></ul>
  59. 59. Port Usage <ul><li>Cisco Call Manager -- Call Control for IP Phone </li></ul><ul><ul><li>2000 TCP </li></ul></ul><ul><li>Cisco Call Manager -- H.225 Signaling </li></ul><ul><ul><li>1720 TCP </li></ul></ul><ul><li>Cisco IP Phone -- RTP Streaming </li></ul><ul><ul><li>16384-32766 UDP (dynamically allocated) </li></ul></ul><ul><li>Cisco IP Phone – TFTP, DNS </li></ul><ul><ul><li>49152-53247 TCP (dynamically allocated) </li></ul></ul><ul><li>Cisco IP Phone – Call Control </li></ul><ul><ul><li>49152-53247 TCP (dynamically allocated) </li></ul></ul>
  60. 60. Voice Over IP - the reasons that we have all heard! <ul><li>Perception </li></ul><ul><ul><li>It is cheaper to run just one network. </li></ul></ul><ul><ul><li>It is easier to integrate advanced technology when your phone is on the network (CTI). </li></ul></ul><ul><ul><li>If you don’t do it someone else will. </li></ul></ul><ul><li>Reality </li></ul><ul><ul><li>Convergence will occur some day so it is important that we build the required relationships now. </li></ul></ul>
  61. 61. TCP/IP implementations <ul><li>Departmental VOIP PBX </li></ul><ul><li>Centralized VOIP PBX </li></ul><ul><li>Road warriors </li></ul><ul><li>VOIP trunking </li></ul><ul><ul><li>Intranet </li></ul></ul><ul><ul><li>Internet </li></ul></ul>
  62. 62. VOIP decisions <ul><li>Power for VOIP phones </li></ul><ul><li>E-911 mapping </li></ul><ul><li>Which Codec to use </li></ul>
  63. 63. Parameters the impact VOIP- How much is to much? <ul><li>Packet loss </li></ul><ul><li>Latency </li></ul><ul><li>Jitter </li></ul>
  64. 64. QoS issues <ul><li>QoS has been added to the H.245 OLC packets to allow endpoints to set QoS parameters for the media streams, including RSVP parameters. H.323 only communicates QoS information between H.323 devices. Actual reservation and control of resources is outside the scope of the standard. </li></ul>
  65. 65. QoS options <ul><li>Prioritize by Application </li></ul><ul><li>Prioritize by Address - many applications </li></ul><ul><li>Create separate VLANs </li></ul>

×