Presentation is loading. Please wait.

Presentation is loading. Please wait.

The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University.

Similar presentations


Presentation on theme: "The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University."— Presentation transcript:

1 The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University

2 The Telephone Network

3

4

5

6 Circuit Switch Voice Message Path STP Call Establishment Circuit Switch Circuit 22 Circuit 7 DPC 246-1-2 OPC 246-1-1 CIC= 22 Initial Address Called # Calling # DPC 246-1-3 OPC 246-1-2 CIC= 7 Initial Address Called # Calling # DPC 246-1-2 OPC 246-1-1 CIC= 22 Initial Address Called # Calling # DPC 246-1-3 OPC 246-1-2 CIC= 7 Initial Address Called # Calling #

7 San Francisco Chicago NY Virginia ISP Carrier POP Carrier POP Carrier POP Carrier POP ISP Managed Private/ Peer Network

8 Access to the Telephone Network

9

10 Broadband Access to the Telephone Network

11

12

13 Creating Paths for IP Packets Across the Telephone Network

14 Creating a Path for Calls and Packets

15 The Standard Telephone Protocols

16 Video Equipment Audio Equipment User and System Data Applications System Control H.245 Control H.225 Call Control H.225 RAS Control T.120 and H.225 Data Transfer Video Codec H.261 and H.263 Audio Codec G.711, G.722, G.723, G.728 G.729 Multimedia Protocols

17 Standard Bodies 1.ITU – telephone standards supports the H.323 local network and conference standard. 2.IETF- Internet group supports the browser-like approach endorsed by the telephone companies.

18 CHARACTERISTICS OF VOICE AND IP TRAFFIC

19 Voice requires a Call-Setup Message to be transmitted first to notify the receiver and an Acknowledgement Message returned. Voice requires a regularity (minimum delay) of transmission. Voice only needs 8 Kbps bandwidth for each call.

20

21

22 Packet Switching LANS and Router-based networks are sized based upon the clustering of a sum of independent packets submitted in a bursty fashion. More efficient usage of trunk bandwidth is accomplished by sharing rather than determining the correct number and speed of links and ports. The trade-off is higher delay and delay variation due to queuing, blocking and congestion against a strategy of over-provisioning facilities.

23 64kb WAN ~214ms Serialization Delay 10mbps Ethernet Voice Packet 60 bytes Every 20ms Voice1500 bytes of DataVoice Voice Packet 60 bytes >214ms Every >214ms Voice Packet 60 bytes >214ms Every >214ms Voice1500 bytes of DataVoice 1500 bytes of DataVoice Large packets can cause buffer filling irregularities resulting in voice degradation Buffers to adjust for Jitter can accommodate some delay and delay variation The Problem of Mixing Data Packets with Voice Large Packets “Freeze Out” Voice

24 TYPE BYTE COUNT PACKET COUNT E-mail 300B- 1500B 1 Client request 200B 1 File transfer 50,000-500,000 30 - 300 Print submit 2,500- 25,000 2 - 18 Internet request 60 B 1 COMMON PACKET VOLUMES

25 Result 1.Use small packets to set up a voice transfer path. 2.Use small packets to transfer voice content (73 Bytes). 3.Prioritize voice over data.

26 Some Standards used by VoIP

27

28

29 BASICS FOR TRANSMITTING VOICE IN IP PACKETS

30

31

32 KEY PARAMETERS FOR AN ACCEPTABLE VOICE NETWORK

33 (1) the maximum amount of delay experienced, (2) the amount of packets that are lost, and (3) the amount of variation or jitter in the arrival rates.

34 Inter-site Voice Connection Alternatives

35 VOIP OVERHEAD AND ITS EFFECTS Packet and cell-based networks require an overhead for addressing and other indicators which adds to each packet and comprises up to 10% of the total packet size.

36 General VoIP Connection Model

37 General Home Connection Model

38

39

40 ASSIGNING IP TELEPHONE ADDRESSES – DHCP

41

42 VOICE OVER INTERNET PROTOCOL MODELS FOR CONNECTION

43 IP PBX PSTN Public Internet Gateway VOIP Router IP Phone Private Internet ENTERPRISE CONNECTION OVER PUBLIC AND PRIVATE NETWORKS

44 Two-Site Enterprise VOIP

45 Multi-Site Enterprise VOIP

46 Residence Dial over RBOC Supplied VOIP Service

47 Residence DSL VOIP

48 Residence Cable VOIP

49 VOICE OVER IP TERMINALS SIP Phones H.323 Phones

50 VOICE OVER IP USING THE H.323 PROTOCOL

51 The H.323 family of protocols covers the functions of: 1. call signaling 2. transport of the various media types 3. system control 4. special specifications for conferencing including both point-to-point and multipoint conferencing.

52 To perform these functions, the family of H.323 specifications include: (a) the control specifications of H.245 and H.225 for signaling and control of transmission, (b) the video specifications including those for video compression H.261 and H.263 which are performed by a video codec and are required due to the large volume that would be transmitted if left in a raw form, and (c) the data specification of T.120. However, the most crucial H.323 specifications for employment with voice transmission under a VoIP process are those regarding the compression of audio G.711, 722, 723,728, and 729. This compression is performed as a function of the IP handset and is termed the audio codec.

53

54 The Multi-layered Header of an H.323 Packet

55 Dialing, Compression, and Header Addressing Layers of H.323

56 H.323 AUDIO CODING AND COMPRESSION

57 H.323 CALL SETUP SIGNALING AND MESSAGE FLOW

58

59 OPERATION OF GATEWAYS AND GATEKEEPERS IN H.323 NETWORK

60 Admission-to-the-network-requests (ARQ), admission confirmation (ARC) or admission rejection (ARJ)

61 H.323 Call Setup and Transfer Messages through Gateway and Gatekeeper

62 Three Zones Communicating by Means of Regional Area Gatekeepers

63 REAL TIME TRANSFER PROTOCOL

64

65 RTP provides timing and sequencing benefits, but at the cost of adding to the considerable UDP/IP header overhead To assist UDP for reliability enhancement purposes, RTP provides an additional 8-byte header to accompany the UDP 12-byte header which has already been added to the 20-byte IP header An additional algorithm, the RTP Compression (CRTP) algorithm, is sometimes employed to drop the total header to 2 bytes instead of the uncompressed 40 bytes..

66

67 RTP added to H.323’s Q.931 Signaling Sequence

68 VoIP Gateways and Gatekeepers Exchanging Info with the WAN

69 Universal Scheme for Connecting VoIP Traffic to Multiple Nets

70 SESSION INITIATION PROTOCOL (SIP) FOR VOIP TRANSMISSION

71 Basic SIP Overall Network and Services Architecture

72 SIP MESSAGES

73 Messages exchanged by client phones with servers &destination phones 1. Register- Each phone must register its existence, its parameters, and it’s burned-in MAC address (likely an Ethernet address). It is then assigned a telephone number and an IP address. 2. Invite- Each phone invites another phone to join a session and to exchange a conversation. 3. Acknowledge- Each phone receives back an acknowledgement when a calling session has been established and the destination device agrees to converse. 4. Bye- Each device issues a Bye message to hang-up and takes down the conversation session. 5. Cancel- Bother servers and user devices can issue a cancellation message to stop a request in progress

74 Sequence Issuance of Messages between Source and Destination Agents

75 SIP has four headers - one used for Requests, one for Responses, plus an Entity Header and a General Header. - the Request header field modifies the request command. - the Response header field enables servers to send response information back to the requester. - the Entity header field indicates information about the message in the body of the transmitted request/response message

76 Transmitted Frame with SIP, TCP, UDP and IP Headers

77

78 SIP spec covers the 3 core components of VoIP system. a) SIP first covers the application-level user agent and a server agent that can act on behalf or the user agent and receive and respond to the user agent requests. These agents exist in IP phones, IP servers, and gateway devices. b) SIP then specifies three types of network servers that act on behalf of clients to initiate, change, and terminate sessions. These are the Proxy servers, Redirecting servers, and Location and Registration servers c) SIP also provides for addressing in the traditional Internet URL fashion, such as with aliases of the fashion: abjones @bsu.edu or physical addresses such 55555555555@182.182.282.182

79 SIP ADDRESSING AND OPERATION

80 USER AGENTS USING SIP PROXY SERVERS

81 Initiating a SIP connection over an IP Network

82 Destination Agent Acknowledging a SIP connection over the IP Network

83 Two-way Communication with SIP connection over IP Network

84 FLOW USING PROXY AND REDIRECT SERVERS

85 SIP Signaling Sequence and Operation

86 Sequence of SIP steps performed: 1. Registering with the Registration Server, 2. Requesting with an “Invite” of the proxy Server 3. Which then the Proxy Server asks the Location Server where the desired individual is located. 4. The Redirect Server then informs the sending requester at which URL address the desired individual is now located. 5. The Proxy server can now make a connection to the destination user for the caller, substituting a national public IP address for the private local IP address used by many businesses.

87

88 GATEWAYS AND GATEKEEPER PROTOCOLS

89 For simple Voice over IP connections, H.323 or SIP protocols are satisfactory

90 MEDIA GATEWAY CONTROL PROTOCOL- MGCP

91 The MGCP protocol supports gateways between a variety of networks. Among these connections are: a)Gateways for trunk connections between telephone networks and IP networks. b) Gateways interconnecting telephone networks and ATM networks. c) Gateways from a standard PBX to a switch interface and further to a voice carrying IP network. d) Gateways from a home devices or home network to a connection to the Internet primarily through an Internet Service Provider (ISP). e) Gateway from a business or residence to the public Internet by means of an analog modem and a dial-up connection through the Public Switched Telephone Network (PSTN). f) MGCP provides connection, signaling, and call control over the PSTN. g) MGCP allows for a division of the functionality with part to be provided by the Media Gateway and other parts to be provided by a central Media Controller placed out in the network. h) MGCP defines a means of handling signaling and session management for multimedia (voice, video, and data) conferencing.

92 The principle components of a MGCP process include: 1. the originating IP phones, 2. the Media Gateway itself, 3. and the Call Agent as a centralized assistant placed out in the IP network.

93

94 Call Agent Signaling to IP or PSTN Network

95 Call Agent Signaling for Traditional Telephone Transmission through IP Network

96 THE MGCP COMMANDS The MGCP protocol implements a set of commands that control the interfaces for the media gateway. These commands are structured as a set of origination commands and a required response to each command.

97 A Notification Request which asks the Media Gateway to look for activity arriving on a specific port from a specific end user terminal (IP Phone). The Media Gateway sends a Notify response to the Call Agent that originally made the request to inform when one of those events occur. The Terminal’s Call Agent sends a CreateConnection command to connect to a specific port on the Media Gateway. The Terminal can subsequently change any of the parameters of that connection with the issuance of a ModifyConnection command. The DelectConnect can be issued either by the terminal or the Media Gateway when a connection is no longer necessary or can’t be maintained. The status of endpoints, connections, and existing calls can be monitored by the Call Agent by issuing AuditEndpoint or AuditConnect commands. The RestartinProgress is a notification message sent to the terminal’s Call Agent indicating that the Media Gateway or a set of connected end points are being restarted or reconnected.

98 The Architecture of a National IP-based SIP-VoIP Service Network

99 Carrier SIP Service Local PSTN Enterprise IP Network IP Telephone Standard Telephone Enterprise IP Network Standard Telephone IP Telephone National IP Network Enterprise IP Network Standard Telephone IP Telephone

100

101 Conclusion 1.Somebody has to pay. 2.Somebody has to pay taxes. 3.Somebody has to pay for equipment.


Download ppt "The Basics of Voice over the Internet Protocol Frank M. Groom, Ph.D. Professor of Information and Communication Sciences Ball State University."

Similar presentations


Ads by Google