Voip): SIP and Related Protocols Fall 2008, Period 1 Communicationslecture Notesusing of SIP:G

Total Page:16

File Type:pdf, Size:1020Kb

Voip): SIP and Related Protocols Fall 2008, Period 1 Communicationslecture Notesusing of SIP:G IK2554 Practical Voice Over IP (VoIP): SIP and related protocols Fall 2008, Period 1 Lecture notes of G. Q. Maguire Jr. For use in conjunction with : • Henry Sinnreich and Alan B. Johnston, Internet Communications Using SIP: Delivering VoIP and Multimedia Services with Session Initiation Protocol, KTH Information and Communication Technology 2nd Edition, Wiley, August 2006, ISBN: 0-471-77657-2. © 2004, 2005, 2006, 2007, 2008 G.Q.Maguire Jr. All rights reserved. No part of this course may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission of the author. Last modified: 2008.09.02:13:22 Maguire Cover.fm Total pages: 1 [email protected] 2008.09.02 Module 1: Introduction........................................................................... 24 Welcome to the course! .......................................................................... 25 Staff Associated with the Course............................................................ 26 Instructor (Kursansvarig) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 Administrative Assistant: recording of grades, registration, etc. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 26 Goals, Scope and Method....................................................................... 27 Goals of the Course - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 27 Scope and Method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 27 Learning Outcomes................................................................................. 28 Prerequisites............................................................................................ 30 Contents .................................................................................................. 31 Topics ..................................................................................................... 32 Examination requirements...................................................................... 33 Grades: A..F (ECTS grades)................................................................... 34 Project..................................................................................................... 36 Assignment Registration and Report...................................................... 37 Literature................................................................................................. 39 Observe proper academic ethics and properly cite your sources! .......... 40 Ethics, Rights, and Responsibilities ....................................................... 41 Maguire 2 of 23 [email protected] 2008.09.03 Practical Voice Over IP (VoIP): SIP and related protocols Lecture Plan............................................................................................ 42 Voice over IP (VoIP).............................................................................. 43 Potential Networks ................................................................................. 44 Internetworking....................................................................................... 45 VoIP a major market............................................................................... 46 Handsets.................................................................................................. 47 VoIP Chipsets ......................................................................................... 48 Deregulation ⇒ New operators ............................................................ 49 Deregulation ⇒ New Suppliers............................................................ 50 Let them fail fast!.................................................................................... 51 Latency ................................................................................................... 52 VOIP Modes of Operation...................................................................... 53 IP based data+voice infrastructure ......................................................... 54 Voice Gateway........................................................................................ 55 Voice over IP (VOIP) Gateways ............................................................ 56 Voice representation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 56 Signaling - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 57 Fax Support - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 57 Management- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 57 Maguire 3 of 23 [email protected] 2008.09.03 Practical Voice Over IP (VoIP): SIP and related protocols Compatibility - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 58 Cisco’s Voice Over IP ............................................................................ 59 Intranet Telephone System ..................................................................... 62 Wireless LANs........................................................................................ 63 Telia’s HomeRun.................................................................................... 64 Ericsson’s "GSM on the Net"................................................................. 65 VOIP vs. traditional telephony ............................................................... 66 Economics .............................................................................................. 67 VoIP vs. traditional telephony ................................................................ 68 Patents..................................................................................................... 69 Deregulation ⇒ Trends ........................................................................ 71 Carriers offering VOIP ........................................................................... 72 MCI (formerly WorldCom) Connection................................................. 73 Previously - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 73 Today - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 73 Level 3 Communications Inc.................................................................. 74 TeliaSonera Bredbandstelefoni............................................................... 75 Emulating the PSTN............................................................................... 76 Maguire 4 of 23 [email protected] 2008.09.03 Practical Voice Over IP (VoIP): SIP and related protocols Calling and Called Features.................................................................... 78 Beyond the PSTN: Presence & Instant Messaging................................. 79 Presence-Enabled Services ..................................................................... 80 Three major alternatives for VoIP .......................................................... 81 Negatives ................................................................................................ 82 Deregulation ⇒ New Regulations........................................................ 83 Regulations in Sweden ........................................................................... 84 Programmable “phone” .......................................................................... 85 Conferences ............................................................................................ 86 Not with out problems ............................................................................ 87 References and Further Reading............................................................. 88 Acknowledgements................................................................................. 92 Module 2: VoIP details........................................................................... 93 Traditional Telecom vs. Datacom........................................................... 94 VoIP details: Protocols and Packets ....................................................... 95 RTP and H.323 for IP Telephony .......................................................... 96 RTP, RTCP, and RTSP........................................................................... 97 Maguire 5 of 23 [email protected] 2008.09.03 Practical Voice Over IP (VoIP): SIP and related protocols Real-Time Delivery ................................................................................ 98 Packet delay............................................................................................ 99 Dealing with Delay jitter ...................................................................... 100 Delay and delay variance (jitter)........................................................... 101
Recommended publications
  • VOIP – Voice Over IP Overview
    VOIP – Voice over IP Overview Introduction Voice over IP (VOIP), otherwise known as IP telephony, is the delivery of voice information over Internet Protocol (IP) packet switched networks. This means sending voice information in digital form in discrete packets rather than in the traditional circuit-committed protocols of the public switched telephone network (PSTN). A major advantage of VOIP is that it can avoid the tolls charged by ordinary telephone service by utilising fixed charge IP network services such as broadband. Recent development with SIP (see below) technology and hardware supporting this standard has resulted in the production of a number of commercially marketed SIP handsets, both wired and wireless networks, removing the need for a PC or laptop running a software handset, or “softphone”, to connect to VOIP services. A subscription to a local server from a SIP handset or softphone provides you with all the normal telephony features including voice and fax, as well as text and even video services. SIP (Session initiation protocol) is an Internet standard specified by the Internet Engineering Task Force (IETF) in RFC 2543. SIP is used to initiate, manage, and terminate interactive sessions between one or more users on the Internet. SIP, which borrows heavily from HTTP and the e-mail protocol SMTP, provides scalability, extensibility, flexibility, and capabilities for creation of new services. SIP is increasingly used for Internet telephony signalling, in gateways, PC phones, softswitches, and softphones, but it is not limited to Internet telephony and can be used to initiate and manage any type of session, including video, interactive games, and text chat.
    [Show full text]
  • Integration of Voice Over IP Services Over Ipv6 Networks
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by UCL Discovery Kirstein, P; Lambrinos, L; (2007) Integrating Voice over IP Services in IPv4 and IPv6 Networks. In: Proceedings of the International Multi-Conference on Computing in the Global Information Technology. IEEE ARTICLE Integrating Voice over IP services in IPv4 and IPv6 networks Lambros Lambrinos Dept.of Communication and Internet studies Cyprus University of Technology Limassol 3603, Cyprus [email protected] Peter Kirstein Department of Computer Science University College London (UCL) Gower Street, London, WC1E 6BT, UK [email protected] Abstract The transition from the current IPv4 network addressing model to the next generation IPv6 network addressing model has always been deemed as a lengthy process. As the deployment of IPv6 infrastructures evolves, interaction with the existing IPv4 networks is unavoidable. This interaction may occur at the network level (simple data pass-through) or at the application level (between IPv6 and IPv4 endpoints). In this paper we concentrate on application level interoperability and select an increasingly popular application: Voice Over IP (VoIP). The use of VoIP technologies is becoming more widespread as end-users and network providers recognise the potential benefits that the usage of the application provides. It is important to provide an environment where IPv4 and IPv6 networks and applications / devices can interoperate in the context of VoIP. This environment is based on an architecture that integrates all the components together (whether they support IPv4 or IPv6 or both) thereby providing ubiquitous access to IP telephony services based on the SIP signaling protocol.
    [Show full text]
  • A Survey of Open Source Products for Building a SIP Communication Platform
    Hindawi Publishing Corporation Advances in Multimedia Volume 2011, Article ID 372591, 21 pages doi:10.1155/2011/372591 Research Article A Survey of Open Source Products for Building a SIP Communication Platform Pavel Segec and Tatiana Kovacikova Department of InfoCom Networks, University of Zilina, Univerzitna 8215/1, 010 26 Zilina, Slovakia Correspondence should be addressed to Tatiana Kovacikova, [email protected] Received 29 July 2011; Revised 31 October 2011; Accepted 15 November 2011 Academic Editor: T. Turletti Copyright © 2011 P. Segec and T. Kovacikova. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Session Initiation Protocol (SIP) is a multimedia signalling protocol that has evolved into a widely adopted communication standard. The integration of SIP into existing IP networks has fostered IP networks becoming a convergence platform for both real- time and non-real-time multimedia communications. This converged platform integrates data, voice, video, presence, messaging, and conference services into a single network that offers new communication experiences for users. The open source community has contributed to SIP adoption through the development of open source software for both SIP clients and servers. In this paper, we provide a survey on open SIP systems that can be built using publically available software. We identify SIP features for service deve- lopment and programming, services and applications of a SIP-converged platform, and the most important technologies support- ing SIP functionalities. We propose an advanced converged IP communication platform that uses SIP for service delivery.
    [Show full text]
  • Integration of Voice Over IP Services Over Ipv6 Networks
    Kirstein, P; Lambrinos, L; (2007) Integrating Voice over IP Services in IPv4 and IPv6 Networks. In: Proceedings of the International Multi-Conference on Computing in the Global Information Technology. IEEE ARTICLE Integrating Voice over IP services in IPv4 and IPv6 networks Lambros Lambrinos Dept.of Communication and Internet studies Cyprus University of Technology Limassol 3603, Cyprus [email protected] Peter Kirstein Department of Computer Science University College London (UCL) Gower Street, London, WC1E 6BT, UK [email protected] Abstract The transition from the current IPv4 network addressing model to the next generation IPv6 network addressing model has always been deemed as a lengthy process. As the deployment of IPv6 infrastructures evolves, interaction with the existing IPv4 networks is unavoidable. This interaction may occur at the network level (simple data pass-through) or at the application level (between IPv6 and IPv4 endpoints). In this paper we concentrate on application level interoperability and select an increasingly popular application: Voice Over IP (VoIP). The use of VoIP technologies is becoming more widespread as end-users and network providers recognise the potential benefits that the usage of the application provides. It is important to provide an environment where IPv4 and IPv6 networks and applications / devices can interoperate in the context of VoIP. This environment is based on an architecture that integrates all the components together (whether they support IPv4 or IPv6 or both) thereby providing ubiquitous access to IP telephony services based on the SIP signaling protocol. We present our experiences from realising the proposed architecture. 1. Introduction The IPv6 network addressing protocol is considered the flagship protocol in the next- generation internet.
    [Show full text]
  • Institutional Repository - Research Portal Dépôt Institutionnel - Portail De La Recherche
    Institutional Repository - Research Portal Dépôt Institutionnel - Portail de la Recherche University of Namurresearchportal.unamur.be THESIS / THÈSE MASTER IN COMPUTER SCIENCE Implementation of a presence and instant messaging system using SIP with mobility support Author(s) - Auteur(s) : Le Kim, David Award date: 2005 Supervisor - Co-Supervisor / Promoteur - Co-Promoteur : Link to publication Publication date - Date de publication : Permanent link - Permalien : Rights / License - Licence de droit d’auteur : General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal ? Take down policy If you believe that this document breaches copyright please contact us providing details, and we will remove access to the work immediately and investigate your claim. Bibliothèque Universitaire Moretus Plantin Download date: 05. oct.. 2021 Facult´es Universitaires Notre-Dame de la Paix, Namur Institut d’Informatique Ann´ee Acad´emique 2004 - 2005 Implementation of a presence and instant messaging system using SIP with mobility support David Le Kim M´emoire pr´esent´een vue de l’obtention du grade de Maˆıtre en Informatique Abstract This master thesis proposes an implementation of a SIP client offering pres- ence and instant messaging functions, under the assumption that SIP prox- ies are not presence-enabled.
    [Show full text]
  • IP Telephony Cookbook
    IP Telephony Cookbook Dr. Margit Brandl, Dimitris Daskopoulos, Erik Dobbelsteijn, Dr. Rosario Giuseppe Garroppo, Jan Janak, Jiri Kuthan, Saverio Niccolini, Dr. Jorg¨ Ott, Stefan Prelle, Dr. Sven Ubik, Egon Verharen March 9, 2004 Contents 1 Introduction 11 1.1 Goal . 11 1.2 Reasons for writing this document . 11 1.3 Contents . 11 1.4 How to read this document . 12 1.5 Techno-economic aspect of moving from classic telephony to VoIP . 12 2 Technology Background 15 2.1 Components . 15 2.1.1 Terminal . 15 2.1.2 Server . 15 2.1.3 Gateway . 15 2.1.4 Conference Bridge . 16 2.1.5 Addressing . 16 2.2 Protocols . 16 2.2.1 H.323 . 16 2.2.1.1 Scope . 17 2.2.1.2 Signaling protocols . 18 2.2.1.3 Gatekeeper Discovery and Registration . 20 2.2.1.4 Signaling models . 21 2.2.1.5 Communication Phases . 24 2.2.1.6 Locating zone external targets . 28 2.2.1.7 Sample Call Scenario . 29 2.2.1.8 Additional (Call) Services . 29 2.2.1.9 H.235 Security . 30 2.2.1.10 Protocol Profiles . 31 2.2.2 SIP . 31 2.2.2.1 Purpose of SIP . 31 2.2.2.2 SIP Network Elements . 32 2.2.2.3 SIP Messages . 34 2.2.2.4 SIP Transactions . 38 2.2.2.5 SIP Dialogs . 38 2.2.2.6 Typical SIP Scenarios . 40 2.2.3 Media Gateway Control Protocols . 43 2.2.4 Proprietary Signaling Protocols . 45 2.2.5 Real Time Protocol (RTP) and Real Time Control Protocol (RTCP) .
    [Show full text]
  • January, 2007. Communigate
    OUTLINE I. Introduction .................................................................................................. 4 A. Purpose and Market Overview ........................................................................ 4 B. Key Differentiators ........................................................................................ 5 II. What is the CommuniGate Pro Internet Communications Platform? ................ 6 A. Total Solution ............................................................................................... 7 B. SIP Farm...................................................................................................... 7 C. Reliability with Portability ............................................................................. 9 D. Client and Protocol Overview........................................................................ 10 III. New Features in CommuniGate Pro v5.1 ...................................................... 11 A. Pronto! Flash-based Interface for WebMail, IM, and Calendaring ................. 11 B. VoIP Infrastructure and Applications ........................................................... 12 IV. Overview of CommuniGate Pro..................................................................... 15 A. Identity Management ................................................................................... 15 B. Storage Management................................................................................... 15 C. Mail Transfer .............................................................................................
    [Show full text]
  • Voip SERVICE PROVIDER Internet Telephony Service Provider Using SIP Protocol
    Royal Institute of Technology Department of Microelectronics and Information Technology VoIP SERVICE PROVIDER Internet Telephony Service Provider using SIP Protocol. Amos Muhunda Nungu Stockholm, Sweden 2005. Master of Science Thesis in Telecommunication [IMIT/TSLab-2005-05] Supervisor: Hans Eriksson Examiner: Prof. Björn Pehrson VoIP Service Provider Amos M. Nungu Abstract Although Voice over IP (VoIP) also known as IP Telephony (IPT) has been in existence for many years, it has only recently begun to take off as a viable alternative to traditional public switched telephone networks (PSTN). Interest and acceptance has been driven by the attractive cost efficiencies that organizations can achieve by leveraging a single IP network to support both data and voice over their Internet or intranet. The thesis explains the fundamentals of a VoIP Service Provider (based on SIP protocol), focusing on the functions and components that make a VoIP solution. Additional requirements for providing VoIP solution in organizational environment or as a business company, offering services to others. The thesis will answer the following questions: what is required for an organization or a company to deploy VoIP? What makes a VoIP system and how can one take advantage of it? Once a general understanding of VoIP is achieved, the 'Service Providers' are better prepared to tackle the more complex issues in the Internet protocol that go into deploying a secure, reliable and high performance VoIP network. During the thesis work, I have created a package known as “ITSP-SIP” which aims at easy setup of VoIP covering the basic services. The package will be an open source, ongoing project hosted by IMIT-KTH.
    [Show full text]
  • Voice Over IP Security
    Voice over IP security Studienarbeit: Studienarbeit Voice over IP Security Hochschule Rapperswil SS 05, 21.03.2005 –04.07.2005 Betreuer: Prof. Dr. Andreas Steffen Projektteam: Christian Höhn Silvan Geser Dokumentname: Voice Over IP Security.Doc Druckdatum: 16.01.2007 Studienarbeit Voice over IP Security Abstract 2 / 68 Voice over IP security I Abstract Im Rahmen dieser Studienarbeit galt es, den populären Voice over IP Client „KPhone“ für Linux „sicher“ zu machen. Konkret musste KPhone so erweitert werden, dass die Voice Daten, effi- zient verschlüsselt über das Netzwerk übertragen werden können. Um dies zu realisieren, wurde auf ein bereits vorhandenes Softwarekonstrukt, die Verschlüsse- lungs-Bibliothek ’libsrtp’, zurückgegriffen. KPhone wurde so erweitert, dass die von der Library zur Verfügung gestellten Funktionen zur Verschlüsselung verwendet werden können. KPhone ist nun mit dieser Erweiterung in der Lage, alle versendeten Voice Pakete symmetrisch, mit dem modernen AES Algorithmus zu verschlüsseln. Zusätzlich wird mittels einer verschlüssel- ten Prüfsumme für jedes einzelne Paket sichergestellt, dass es nicht verändert worden ist und der Sender tatsächlich im Besitzt des richtigen Schlüssel ist. Die beiden Kommunikationspartner müssen sich vorgängig auf anderem Wege (Telefon, Email etc.) auf einen gemeinsamen Schlüssel einigen. Dieser Schlüssel kann nun vom Benutzer in der grafischen Oberfläche von KPhone eingegeben werden. Dort kann die Verschlüsselung zudem an- und abgestellt werden. Dank der übersichtlichen grafischen Oberfläche ist die Bedienung von KPhone einfach und für Jedermann gut verständlich. Die Benutzung von KPhone ist auf allen gängigen Linux Distributionen möglich. Die verwendete Verschlüsselungs-Bibliothek, sowie der Voice over IP Client, sind beide im Internet kostenlos erhältlich. Nach dem Abschluss dieser Studienarbeit, wird diese SRTP Erweiterung höchstwahrscheinlich in das KPhone Projekt aufgenommen werden.
    [Show full text]
  • 1 Voice Over Internet Protocol (Voip) 2 Principles of Voip
    1 Voice over Internet Protocol (VoIP) 1.1 Introduction to VoIP VoIP (Voice over Internet Protocol) is a method of voice transport per Internet Protocol used in packet oriented networks. VoIP is defined in the recommendations ITU-T H.32x and RFC 2443. VoIP can use accelerating hardware to achieve this purpose and can also be used in a PC environment. 2 Principles of VoIP VoIP works like that. First the A/DC (Analog to Digital Converter) to convert analog voice to digital signals. Now the bits have to be compressed in a good format for transmission. Then we have to insert our voice packets in data packets using a real-time protocol (RTP over UDP over IP). For signaling between customers terminal unit we need a signaling protocol ITU-T H.323 or SIP(Session Initiate Protocol). At Rx site we have to disassemble packets, extract data, then convert them to analog voice signals and send them to sound card (or phone). All that must be done in a real time fashion cause we cannot waiting for too long a vocal answer. On voice transport via packet oriented network could be respect requirements of QoS (Quality of Service) See below article 3. 2.1 Analog to digital conversion For conversion analog voice to digital signal is very popular use standard PC soundcards or similar A/D converters. This cards sampling with 16bit a band of 22,050 kHz with sampling freq 44,100 kHz like that throughput of 2 bytes * 44100 (samples per second) = 88200 Bytes/s, 176.4 kBytes/s for stereo stream.
    [Show full text]
  • Research Article a Survey of Open Source Products for Building a SIP Communication Platform
    Hindawi Publishing Corporation Advances in Multimedia Volume 2011, Article ID 372591, 21 pages doi:10.1155/2011/372591 Research Article A Survey of Open Source Products for Building a SIP Communication Platform Pavel Segec and Tatiana Kovacikova Department of InfoCom Networks, University of Zilina, Univerzitna 8215/1, 010 26 Zilina, Slovakia Correspondence should be addressed to Tatiana Kovacikova, [email protected] Received 29 July 2011; Revised 31 October 2011; Accepted 15 November 2011 Academic Editor: T. Turletti Copyright © 2011 P. Segec and T. Kovacikova. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Session Initiation Protocol (SIP) is a multimedia signalling protocol that has evolved into a widely adopted communication standard. The integration of SIP into existing IP networks has fostered IP networks becoming a convergence platform for both real- time and non-real-time multimedia communications. This converged platform integrates data, voice, video, presence, messaging, and conference services into a single network that offers new communication experiences for users. The open source community has contributed to SIP adoption through the development of open source software for both SIP clients and servers. In this paper, we provide a survey on open SIP systems that can be built using publically available software. We identify SIP features for service deve- lopment and programming, services and applications of a SIP-converged platform, and the most important technologies support- ing SIP functionalities. We propose an advanced converged IP communication platform that uses SIP for service delivery.
    [Show full text]
  • Introduction to Linux [Pdf]
    Introduction to Linux A Hands on Guide Machtelt Garrels Garrels.be <tille wants no spam _at_ garrels dot be> 1.27 Edition Copyright © 2002, 2003, 2004, 2005, 2006, 2007, 2008 Machtelt Garrels 20080606 Introduction to Linux Table of Contents Introduction.........................................................................................................................................................1 1. Why this guide?...................................................................................................................................1 2. Who should read this book?.................................................................................................................1 3. New versions and availability..............................................................................................................1 4. Revision History..................................................................................................................................2 5. Contributions.......................................................................................................................................3 6. Feedback..............................................................................................................................................3 7. Copyright information.........................................................................................................................3 8. What do you need?...............................................................................................................................4
    [Show full text]