SIP (Session Initiation Protocol) Technical Overview. Presentation by: Kevin M. Johnson VP Engineering & Ops



Similar documents
An Introduction to VoIP Protocols

Internet Technology Voice over IP

TECHNICAL CHALLENGES OF VoIP BYPASS

VIDEOCONFERENCING. Video class

SIP Trunking and Voice over IP

Introduction to VoIP Technology

EarthLink Business SIP Trunking. ININ IC3 IP PBX Customer Configuration Guide

Indepth Voice over IP and SIP Networking Course

Session Initiation Protocol (SIP) The Emerging System in IP Telephony

Curso de Telefonía IP para el MTC. Sesión 1 Introducción. Mg. Antonio Ocampo Zúñiga

EarthLink Business SIP Trunking. Toshiba IPedge Customer Configuration Guide

VoIP from A to Z. NAEO 2009 Conference Cancun, Mexico

5. DEPLOYMENT ISSUES Having described the fundamentals of VoIP and underlying IP infrastructure, let s address deployment issues.

SIP : Session Initiation Protocol

White paper. SIP An introduction

VoIP Bandwidth Considerations - design decisions

Requirements of Voice in an IP Internetwork

Voice over IP Basics for IT Technicians

EarthLink Business SIP Trunking. Asterisk 11.2 IP PBX Customer Configuration Guide

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

Encapsulating Voice in IP Packets

EarthLink Business SIP Trunking. Avaya IPO IP PBX Customer Configuration Guide

Internet Working 15th lecture (last but one) Chair of Communication Systems Department of Applied Sciences University of Freiburg 2005

VoIP with SIP. Session Initiation Protocol RFC-3261/RFC

EarthLink Business SIP Trunking. NEC SV8300 IP PBX Customer Configuration Guide

Clearing the Way for VoIP

Voice over IP (VoIP) Basics for IT Technicians

ACD: Average Call Duration is the average duration of the calls routed bya a VoIP provider. It is a quality parameter given by the VoIP providers.

Voice Over IP - Is your Network Ready?

Receiving the IP packets Decoding of the packets Digital-to-analog conversion which reproduces the original voice stream

SIP Trunking Manual Technical Support Web Site: (registration is required)

VoIP Analysis Fundamentals with Wireshark. Phill Shade (Forensic Engineer Merlion s Keep Consulting)

Voice over IP (VoIP) Overview. Introduction. David Feiner ACN Introduction VoIP & QoS H.323 SIP Comparison of H.323 and SIP Examples

Unit 23. RTP, VoIP. Shyam Parekh

B12 Troubleshooting & Analyzing VoIP

Applied Networks & Security

ZyXEL V100 Support Notes. ZyXEL V100. (V100 Softphone 1 Runtime License) Support Notes

SIP Trunking. Service Guide. Learn More: Call us at

SIP Trunking Quick Reference Document

EarthLink Business SIP Trunking. NEC SV8100 IP PBX Customer Configuration Guide

Can PowerConnect Switches Be Used in VoIP Deployments?

Combining Voice over IP with Policy-Based Quality of Service

Hands on VoIP. Content. Tel +44 (0) Introduction

Online course syllabus. MAB: Voice over IP

VegaStream Information Note Considerations for a VoIP installation

12 Quality of Service (QoS)

Voice over IP. Overview. What is VoIP and how it works. Reduction of voice quality. Quality of Service for VoIP

Curso de Telefonía IP para el MTC. Sesión 2 Requerimientos principales. Mg. Antonio Ocampo Zúñiga

Chapter 10 Session Initiation Protocol. Prof. Yuh-Shyan Chen Department of Computer Science and Information Engineering National Taipei University

Computer Networks. Voice over IP (VoIP) Professor Richard Harris School of Engineering and Advanced Technology (SEAT)

Frequently Asked Questions about Integrated Access

Implementation of Voice over IP and Audio over IP in the Studio environment

Glossary of Terms and Acronyms for Videoconferencing

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

802.1p An IEEE standard for providing QoS using three bits (defined in 802.1q) to allow switches to reorder packets based on priority level.

VoIP. Overview. Jakob Aleksander Libak Introduction Pros and cons Protocols Services Conclusion

Voice over IP (VoIP) for Telephony. Advantages of VoIP Migration for SMBs BLACK BOX blackbox.com

Optimizing Converged Cisco Networks (ONT)

NAT TCP SIP ALG Support

Overview of Voice Over Internet Protocol

Mixer/Translator VOIP/SIP. Translator. Mixer

Application Notes for Avaya IP Office 7.0 Integration with Skype Connect R2.0 Issue 1.0

VOICE OVER IP AND NETWORK CONVERGENCE

SIP: Ringing Timer Support for INVITE Client Transaction

Integrate VoIP with your existing network

The use of IP networks, namely the LAN and WAN, to carry voice. Voice was originally carried over circuit switched networks

Project Code: SPBX. Project Advisor : Aftab Alam. Project Team: Umair Ashraf (Team Lead) Imran Bashir Khadija Akram

Internet Services & Protocols Multimedia Applications, Voice over IP

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

IMPLEMENTING CISCO VOICE COMMUNICATIONS AND QOS Volume 1

Voice over IP. Presentation Outline. Objectives

ESI SIP Trunking Installation Guide

Voice Over IP Performance Assurance

Voice over IP Fundamentals

Network Considerations for IP Video

SIP Trunking Service Configuration Guide for Time Warner Cable Business Class

Implementing a Voice Over Internet (Voip) Telephony using SIP. Final Project report Presented by: Md. Manzoor Murshed

Bandwidth Security and QoS Considerations

Convergence Technologies Professional (CTP) Course 1: Data Networking

VoIP network planning guide

1. Public Switched Telephone Networks vs. Internet Protocol Networks

Course 4: IP Telephony and VoIP

Multimedia Communications Voice over IP

BroadCloud PBX Customer Minimum Requirements

White Paper: Voice Over IP Networks

Skype Connect Requirements Guide

Application Note How To Determine Bandwidth Requirements

Media Gateway Controller RTP

SIP Trunking Service Configuration Guide for Skype

VoIP QoS. Version 1.0. September 4, AdvancedVoIP.com. Phone:

SV9100 SIP Trunking Service Configuration Guide for Time Warner Cable Business Class

Hosted Voice. Best Practice Recommendations for VoIP Deployments

VoIP Overview for Operators. Gene Lew VP, Advanced Services NANOG 34 Seattle, Washington May 2005

ATA: An Analogue Telephone Adapter is used to connect a standard telephone to a high-speed modem to facilitate VoIP and/or calls over the Internet.

Application Note. Pre-Deployment and Network Readiness Assessment Is Essential. Types of VoIP Performance Problems. Contents

Internet Services & Protocols Multimedia Applications, Voice over IP

Simulation of SIP-Based VoIP for Mosul University Communication Network

Chapter 2 Voice over Internet Protocol

Transcription:

SIP (Session Initiation Protocol) Technical Overview Presentation by: Kevin M. Johnson VP Engineering & Ops Page 1

Who are we? Page 2

Who are we? Workforce Automation Software Developer Page 3

Who are we? Converged Solutions Provider SFO/ORD SJC/RFD NYC SJC-RFD-WAN WAN YYZ PSTN HNL1 T1 Links to Other Sites HNL2 DFW-CUPS DFW-SUB-3 DFW-2801GW Secure SIP DFW-3550-4 DFW-2851GW DFW-3745GW DFW-3550-2 DFW-3750-1 DFW-2691GW-1 RSVP Secure SIP SCCP SRST with RSVP DFW-2691GW-2 RDU HNL ATL DFW-PUB PIX DFW-SUB-1 PIX DFW-3550-3 DFW-WAN-2691 DFW-MPX DFW-SUB-4 DFW-TFTP-MOH DFW-3550-1 Secure SIP DFW-SUB-2 DFW-UNITY1, DFW-UNITY2 DFW-DCGC- EXCH DFW-EXCH2 SIP Video Page 4

Who am I? 25 Years in data and telecommunications 5 years as voting member of TIA 568 Committee [568A/B 4-Pair UTP Cabling Specification] Founding member of IEEE Fast Ethernet Working Group 4 years as voting member of IEEE 802.3u Committee [100BaseTX] 2 years as voting member of ANSI X3T9.5 Committee [FDDI over Copper] SIP? Page 5

VOIP BASICS 7/12/2007 vtechnologies, Inc. Page 6

VoIP Basics VoIP (Voice over Internet Protocol) is a generic description of any transmission of Voice OR Video using Real-Time IP networks. VoIP is NOT a standards specification! VoIP has become popular as a means for service providers (AT&T, Verizon etc.) to deliver voice services primarily because of its more efficient use of available bandwidth. Traditional telephone networks (ISDN) are far less efficient in their use of available bandwidth because they reserve a channel for each connected conversation. In data networks, everyone can use the available bandwidth to the maximum extent, which means that the line capacity is exploited efficiently. Page 7

VoIP Basics ISDN PRI 1.544 Mbs/sec. 23x64K B (Bearer) Channels / 1x64K D (Delta) Channel Supports 23 Simultaneous Full-Duplex Calls DS1 1.544 Mbs/sec. 1.544 Mbs/sec. Available Bandwidth G.729 Codec = 8K Bitstream G.711 Codec = 64K Bitstream Half-Duplex 7/12/2007 vtechnologies, Inc. Page 8

VoIP Basics VoIP CODECs Codec BR (Kbps) NEB (Kbps) MOS G.711 64 87.2 4.1 G.729 8 31.2 3.92 G.723.1 6.4 21.9 3.56 G.726 32 55.2 3.85 BR = NEB = MOS = Bit rate Nominal Ethernet Bandwidth (one direction) Mean Opinion Score of audio quality where 1 is worst and 5 is best 7/12/2007 vtechnologies, Inc. Page 9

VoIP Basics Common VoIP Transmission Methodologies Voice and signaling channels are strictly separated in VoIP implementations. Signaling sessions are typically administered by a server which provides control, establishes compression and other communication parameters. The voice stream is established between endpoints once the signaling session has been negotiated. UDP (User Datagram Protocol) is the preferred protocol for voice transmission over IP. Because UDP does not guarantee delivery or check for packet order, it is faster and more efficient. As well, because voice packets are time sensitive, lost packets are preferable to delayed packets. Page 10

VoIP Basics Common VoIP Transmission Methodologies (cont.) VoIP transmission requires a protocol that is responsible for voice encoding, jitter, sequence order and bandwidth usage. RTP (Real-time Transport Protocol) was developed by the IETF (Internet Engineering Task Force) to better support applications that require real-time packet delivery. RTP provides the following services: Payload-type identification: Indication of what kind of content is being carried typically voice or video. Sequence numbering: Tracking of packets for resequencing, if needed, at the receiver-side. Time stamping: Provides information to the receiver-side for synchronization and jitter calculations. Delivery monitoring: Provides information related to packet loss and packet delay. Page 11

VoIP Basics TYPICAL VoIP PACKET COMPOSITION IP UDP RTP DATA IP Header (Overhead) Voice Payload (Useful Data) 7/12/2007 vtechnologies, Inc. Page 12

VoIP Basics Quality of Service It is a common misconception that VoIP protocols incorporate some kind of Quality of Service mechanisms that provide for improved packet delivery. They do not! RTP and its associated protocols do not provide any mechanism for guaranteeing delivery or quality of service. They simply provide information to other applications or mechanisms that can provide appropriate service quality. Because IP networks are connectionless by nature, they are inherently unreliable (Best Effort) when compared to connectionoriented network protocols such as ISDN. Therefore, voice communication, which has traditionally relied on a predictable, reliable infrastructure for acceptable audio quality must have other mechanisms in place to provide acceptable voice quality in an IP network. Page 13

VoIP Basics Quality of Service (cont.) QoS is a function, not of protocols, but of the underlying IP networking infrastructure, i.e. the switching and routing equipment on the LAN/WAN. Quality of Service, which was established as a standard by the ITU in X.902, is a traffic engineering term that refers to resource reservation control mechanisms that can be implemented in an IP network. QoS mechanisms allow the marking of packets to prioritize their movement through the network and to allocate a fixed allocation of bandwidth. The current name for this marking and prioritization is Differentiated Services or DiffServ. At the IP layer, DiffServe uses DSCP (Differentiated Service Code Point) markings in the IP packet header to identify the queue to which that packet will be assigned. Page 14

VoIP Basics Priority Level Traffic Type 0 Best Effort 1 Background 2 Standard (Spare) Lowest Priority - 3 Excellent Load (Business Critical) QoS Priority Levels 4 5 Controlled Load (Streaming Multimedia) Video (Interactive Media) [Less than 100ms latency and jitter] 6 Voice (Interactive Voice) [Less than 10ms latency and jitter] 7 Network Control Reserved Traffic [Lowest latency and jitter] + Highest Priority 7/12/2007 vtechnologies, Inc. Page 15

VoIP Basics Quality of Service (cont.) QoS Limitations QoS, as it currently exists, is NOT implemented on the internet and won t be implemented in Internet 2 because it can t scale for large networks. Although QoS functions well on LAN-only traffic, it only functions one-way on internet connected endpoints. To compensate for this limitation, inbound traffic must be throttled to approximate QoS functionality. QoS Traffic Engineering CISCO IP PHONE 7960 1 2 ABC 4 5 GHI JKL 3 DEF 6 MNO messages directories i services settings Throttling of HTTP/FTP/ Streaming Media, etc. 7 8 PQRS TUV 9 WXYZ * 0 OPER # Page 16

VoIP Basics Quality of Service (cont.) QoS Requirements Latency: Maximum Roundtrip delay of 250ms; Maximum one-way latency of 150ms [LAN Local ISP Backbone Provider] Jitter: Maximum 2ms delay Packet Loss: Less than 1% packet loss for a G.711 Codec Far less than 1% packet loss for a G.729 Codec Page 17

SIP 7/12/2007 vtechnologies, Inc. Page 18

SIP Basics What is SIP? The IETF SIP RFC 3261 Describes SIP as: an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences. SIP does not define the underlying communications protocols, but uses existing protocol standards for transmission of the voice payload. SIP is a request-response protocol that functions at the application-layer of the OSI model (not the IP layer) and works much like HTTP, even using URL-like addressing to identify the endpoint that is being called. SIP uses UTF-8 (8-bit UCS/Unicode Transformation Format) encoding which is compatible with the ASCII character set. Page 19

SIP Basics SIP IP Ethernet 7/12/2007 vtechnologies, Inc. Page 20

SIP Basics SIP Components UA (User Agent) SIP network terminal (SIP telephone) that contains the UAC and UAS. UAC (User Agent Client) Element in terminal that initiates calls. UAS (User Agent Server) Element in terminal that answers calls from other UACs. The UAC and UAS allow peer-to-peer calls to be made using a client-server protocol. Proxy Server Server that receives connection requests from the UA and transfers them to another proxy server if the particular station is not in its sphere of administration. Redirect server receives connection requests and sends them back to the requester including destination data instead of sending them to the calling party Location Server receives registration requests from the UA and updates the terminal database with them. Page 21

SIP Basics SIP Request Messaging INVITE Indicates a client is being invited to participate in a call session. ACK Confirms that the client has received a final response to an INVITE request. BYE Terminates a call and can be sent by either the caller or the callee. CANCEL Cancels any pending searches but does not terminate an already accepted call. REGISTER Registers the address listed in the To header field with a SIP server. OPTIONS Queries the capabilities of servers. Page 22

SIP Basics SIP Response Messaging: A response to a SIP request always consists of a 3-digit integer result code and a short textual description. PROVISIONAL (1xx) Request received, continuing to process the request. A server sends a 1xx (100 Trying, 180 Ringing) response if it expects to take more than 200 ms to obtain a final response. SUCCESS (2xx) The action was successfully received, understood, and accepted (200 OK). REDIRECTION (3xx) Further action needs to be taken in order to complete the request (301/2 Moved) CLIENT_ERROR (4xx) The request contains bad syntax or cannot be fulfilled Most common = 404 Not Found. SERVER_ERROR (5xx) The server failed to fulfill an apparently valid request (503 Service Unavailable, 513 Message Too Large). GLOBAL_ERROR (6xx) The request cannot be fulfilled at any server rare to see 6xx errors. Page 23

SIP Basics SIP Request/Response Diagram sip:user1@where.com 200 OK INVITE (2) ACK (2) SIP Stateless Proxy INVITE (2) 200 OK SIP Stateful Proxy B 200 OK ACK (2) INVITE (2) FINAL IN-CALL SIGNALING PATH SIP Stateful Proxy A INVITE (1) MEDIA (RTP) PATH INVITE (1) 200 OK ACK (2) 302 ACK (1) MOVED SIP Redirect Server sip:user1@when.com 7/12/2007 vtechnologies, Inc. Page 24

SIP Basics NAT 7/12/2007 vtechnologies, Inc. Page 25

SIP Basics NAT Transit and STUN The good news is that SIP uses port 5060 and is therefore simple to configure for NAT transit. The bad news is that RTP uses a dynamic port range (8766 to 35000), so NAT transit and firewall configuration can be problematic for the audio payload. A SIP endpoint that is behind NAT will not be able to respond to the external SIP proxy with a recognized IP address because it only knows about its LAN-side (internal) IP address. STUN (Simple Traversal of UDP through NATs) is a client-server protocol that provides a method for a STUN client (on the SIP UA) to send a request to a STUN server which then reports back to the STUN client what the public IP address of the NAT router is, and what port was opened by the NAT to allow incoming traffic back in to the network. Page 26

SIP Basics Test I: Request echo from same address, same port received? no UDP blocked STUN SERVER ALGORITHM yes Public IP is link's IP? yes no NAT detected: Remember public IP Test I (Server #2): Request echo from same address, same port No NAT: Check for firewall Test II: Request echo from different address, different port Public IP is constant? yes no "Symmetric" NAT Test II: Request echo from different address, different port received? no Test III: Request echo from same address, different port yes received? no "Symmetric"Firewall "Full-cone"NAT received? no "Restricted port" NAT yes yes Open Internet 7/12/2007 "Restricted cone" NAT vtechnologies, Inc. Page 27

SIP Basics "Full Cone" NAT Client NAT Server 1 Server 2 All requests from the same internal IP address and port are mapped to the same external IP address and port. An external host can send a packet to the internal host, by sending a packet to the mapped external address. 7/12/2007 vtechnologies, Inc. Page 28

SIP Basics "Restricted Cone" NAT NAT Server 1 Client Server 2 All requests from the same internal IP address and port are mapped to the same external IP address and port. Unlike a full cone NAT, an external host can send a packet to the internal host only if the internal host had previously sent a packet to it. 7/12/2007 vtechnologies, Inc. Page 29

SIP Basics "Port Restricted Cone" NAT NAT Server 1 Client Server 2 Port restricted cone NAT is like restricted cone NAT, but the restriction includes port numbers. Specifically, an external host can send a packet to a particular port on the internal host only if the internal host had previously sent a packet from that port to the external host. 7/12/2007 vtechnologies, Inc. Page 30

SIP Basics "Symmetric" NAT Client NAT Server 1 Server 2 All requests from the same internal IP address and port to a specific destination IP address and port are mapped to a unique external source IP address and port. If the same internal host sends a packet with the same source address and port to a different destination, a different mapping is used. Only an external host that receives a packet can send a UDP packet back to the internal host. 7/12/2007 vtechnologies, Inc. Page 31

SIP Basics SIP Trunking: What is it & why would I use it? A SIP trunk is a VoIP trunk that uses SIP for session control. It enables a pure IP connection from the enterprise to the carrier and the carrier then provides the PSTN gateway to the public network. Because the VoIP trunk is now a SIP trunk, it can support voice & data as well as video, broadband & mobile traffic. Each SIP trunk will support one full-duplex voice session at either G.729 or G.711 compression. SIP trunks support DID (Direct Inward Dialing), CallerID & Location, 911, 800 inbound, LD Termination, Expanded Local Calling Areas (subject to provider s network presence), lower LD termination costs etc. Page 32

SIP Basics SIP Trunking: The Downside Implementations by SIP carriers can vary widely because of the abundance of IETF drafts and competition between carriers and manufacturers for early dominance. Fax support is hit and miss because it is dependent upon carrier implementation of ITU s T.38 (fax over IP) or some other method for fax support. QoS (?) Outbound only because we are still dealing with traffic engineering that can only be enforced on the outbound-side. Page 33

Internet Call Control SIP TRUNKING GATEWAY SIP Provider SIP Provider SIP Provider UA H323 Digital Analog SIP phone Wireless VoIP IP phone Digital phone Analog phone VoIP PBXs can act as SIP gateways that can support any type of endpoint Incoming calls are routed based on VoIP PBX s incoming call routes using DIDs to user extensions, hunt groups, auto attendants etc. SIP Trunks can be added one at a time as call volumes increase and can typically be turned-up in 24 to 48 hours. Page 34

Thank You