Voip): SIP and Related Protocols Fall 2013, Period 1 Lecture Notes of G

Total Page:16

File Type:pdf, Size:1020Kb

Voip): SIP and Related Protocols Fall 2013, Period 1 Lecture Notes of G IK2554 Practical Voice Over IP (VoIP): SIP and related protocols Fall 2013, 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 KTH Information and Services with Session Initiation Protocol, 2nd Edition, Wiley, Communication Technology August 2006, ISBN: 0-471-77657-2. © 2004-2013 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: 2013.08.30:12:51 Maguire Cover.fm Total pages: 1 [email protected] 2013.08.30 Module 1: Introduction........................................................................... 35 Welcome to the course! .......................................................................... 36 Staff Associated with the Course............................................................ 37 Instructor (Kursansvarig) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 37 Goals, Scope and Method....................................................................... 38 Goals of the Course - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 38 Scope and Method - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 38 Learning Outcomes................................................................................. 39 Prerequisites............................................................................................ 41 Contents .................................................................................................. 42 Topics ..................................................................................................... 43 Examination requirements...................................................................... 44 Grades: A..F (ECTS grades)................................................................... 45 Project..................................................................................................... 47 Assignment Registration and Report...................................................... 48 Literature................................................................................................. 50 Observe proper academic ethics and properly cite your sources! .......... 51 Ethics, Rights, and Responsibilities ....................................................... 52 Maguire 2 of 34 [email protected] 2013.09.01 Practical Voice Over IP (VoIP): SIP and related protocols Lecture Plan............................................................................................ 53 Voice over IP (VoIP).............................................................................. 54 Potential Networks ................................................................................. 55 Internetworking....................................................................................... 56 VoIP a major market............................................................................... 57 Cumulative number of Cisco IP phones sold ......................................... 58 Handsets.................................................................................................. 59 VoIP Headsets ........................................................................................ 60 VoIP Chipsets ......................................................................................... 61 Deregulation ⇒ New operators ............................................................ 62 VoIP service providers ........................................................................... 63 Deregulation ⇒ New Suppliers............................................................ 64 Let them fail fast!.................................................................................... 65 Latency ................................................................................................... 66 VoIP Modes of Operation....................................................................... 67 IP based data+voice infrastructure ......................................................... 68 Voice Gateway........................................................................................ 69 Maguire 3 of 34 [email protected] 2013.09.01 Practical Voice Over IP (VoIP): SIP and related protocols Home Telephony Voice Gateway........................................................... 70 Voice over IP (VoIP) Gateways ............................................................. 71 Voice representation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 71 Signaling - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 72 Fax Support - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 72 Management- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 72 Compatibility - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 73 Cisco’s Voice Over IP ............................................................................ 74 Intranet Telephone System ..................................................................... 77 Wireless LANs........................................................................................ 78 Femto cell and UMA .............................................................................. 79 VoIP vs. traditional telephony ................................................................ 80 Economics .............................................................................................. 81 VoIP vs. traditional telephony ................................................................ 82 Patents..................................................................................................... 83 Deregulation ⇒ Trends ........................................................................ 85 Carriers offering VoIP ............................................................................ 86 MCI Connection ..................................................................................... 87 Previously - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 87 After convergence - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 87 Maguire 4 of 34 [email protected] 2013.09.01 Practical Voice Over IP (VoIP): SIP and related protocols Level 3 Communications Inc.................................................................. 88 TeliaSonera Bredbandstelefoni............................................................... 89 Emulating the PSTN............................................................................... 90 Calling and Called Features.................................................................... 92 Beyond the PSTN: Presence & Instant Messaging................................. 93 Presence-Enabled Services ..................................................................... 94 Three major alternatives for VoIP .......................................................... 95 Negatives ................................................................................................ 96 Deregulation ⇒ New Regulations........................................................ 97 Regulations in Sweden ........................................................................... 98 Programmable “phone” .......................................................................... 99 Conferences .......................................................................................... 100 Not with out problems .......................................................................... 101 VoIP PBXs ........................................................................................... 102 Auto-provisioning a VoIP user agent ................................................... 103 Seven Myths About Voice over IP[20] ................................................ 104 S adoption curve + shut-down .............................................................. 105 Maguire 5 of 34 [email protected] 2013.09.01 Practical Voice Over IP (VoIP): SIP and related protocols References and Further Reading........................................................... 106 Acknowledgements............................................................................... 113 Module 2: VoIP details......................................................................... 114 Traditional Telecom vs. Datacom......................................................... 115 VoIP details: Protocols and Packets ..................................................... 116 RTP and H.323 for IP Telephony ........................................................ 117 RTP, RTCP,
Recommended publications
  • A Telephone Domain Name System (T-DNS) for Internet Telephony Service at All IP Network
    A Telephone Domain Name System (T-DNS) for Internet Telephony Service at All IP Network oMi-Ryong Park, Chang-Min Park, and Jong-Hyup Lee Router Technology Department, Network Research Lab., ETRI 161 Kajong-Dong, Yusong-Gu, Taejon, 305-350, Korea Tel: +82-42-860-1211, Fax: +82-42-860-5213 Abstract: - Lately, Internet is generally accepted as a principle communication protocol for voice and data networks. Moreover data and voice is converging with one network over the Internet. Each node has its own IP address for existing packet data on the Internet. Even multi-media terminals including Internet phone, Internet fax, and Internet-enabled electric devices, are transferring variable-sized packets. There are several working groups for studying converged data and voice communication in Internet. Such converged network services especially for Internet telephony as Voice over IP (VoIP) or SoftSwitch have already been suggested. We believe that the VoIP service become a killer application on the Internet for the future. Many protocols such as Session Initiation Protocol (SIP), Media Gateway Control Protocol (MGCP), MEGACO, SIGTRAN of Internet Engineering Task Force (IETF) and H.323 series of International Telecommunication Unit (ITU-T), are accepted as standards required for the VOIP service. In this paper, we suggest a Telephone-Domain Name System (T-DNS) architecture for detecting simply the destination IP address at the converged network. T-DNS is based on a Client and Server and an original Internet Domain Name Service (DNS) model. But it expands the DNS architecture for detecting destination IP address by querying the Uniform Resource Locator (URL) of telephone numbers.
    [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]
  • Modeling and Analysis of Next Generation 9-1-1 Emergency Medical Dispatch Protocols
    MODELING AND ANALYSIS OF NEXT GENERATION 9-1-1 EMERGENCY MEDICAL DISPATCH PROTOCOLS Neeraj Kant Gupta, BE(EE), MBA, MS(CS) Dissertation Prepared for the Degree of DOCTOR OF PHILOSOPHY UNIVERSITY OF NORTH TEXAS August 2013 APPROVED: Ram Dantu, Major Professor Kathleen Swigger, Committe Member Paul Tarau, Committee Member Sam G Pitroda Committee Member Barrett Bryant, Chair of the Department of Computer Science and Engineering Costas Tsatsoulis, Dean of the College of Engineering Mark Wardell, Dean of the Toulouse Graduate School Gupta, Neeraj Kant. Modeling and Analysis of Next Generation 9-1-1 Emergency Medical Dispatch Protocols. Doctor of Philosophy (Computer Science), August 2013, 192 pp., 12 tables, 72 figures, bibliography, 196 titles. In this thesis I analyze and model the emergency medical dispatch protocols for Next Generation 9-1-1 (NG9-1-1) architecture. I have identified various technical aspects to improve the NG9-1-1 dispatch protocols. The specific contributions in this thesis include developing applications that use smartphone sensors. The CPR application uses the smartphone to help administer effective CPR even if the person is not trained. The application makes the CPR process closed loop, i.e., the person who administers the CPR as well as the 9-1-1 operator receive feedback and prompt from the application about the correctness of the CPR. The breathing application analyzes the quality of breathing of the affected person and automatically sends the information to the 9-1-1 operator. In order to improve the human computer interface at the caller and the operator end, I have analyzed Fitts law and extended it so that it can be used to improve the instructions given to a caller.
    [Show full text]
  • Software Analytics for Mobile Applications – Insights & Lessons Learned
    Software Analytics for Mobile Applications – Insights & Lessons Learned Roberto Minelli and Michele Lanza REVEAL @ Faculty of Informatics — University of Lugano, Switzerland Abstract—Mobile applications, known as apps, are software We present an in-depth investigation of a large corpus of systems running on handheld devices, such as smartphones and apps from a structural and historical perspective. Our analysis tablet PCs. The market of apps has rapidly expanded in the focuses on three factors: (1) source code, (2) usage of third- past few years into a multi-billion dollar business. Being a new phenomenon, it is unclear whether approaches to maintain and party Application Programming Interfaces (APIs), and (3) comprehend traditional software systems can be ported to the historical data. We want to answer questions such as: How context of apps. does an app differ from a traditional system in terms of size We present a novel approach to comprehend apps from a and complexity? Do apps make intensive use of third-party structural and historical perspective, leveraging three factors APIs? Does the source code of apps contain the usual code for the analysis: source code, usage of third-party APIs, and historical data. We implemented our approach in a web-based smells [10] or are there smells specific to apps? To support software analytics platform named SAMOA. our analysis, we developed a software analytics platform for We detail our approach and the supporting tool, and present apps: Samoa [11]. Samoa mines software repositories of apps a number of findings obtained while investigating a corpus and uses visualizations to present the data.
    [Show full text]
  • Mconf: an Open Source Multiconference System for Web and Mobile Devices
    10 Mconf: An Open Source Multiconference System for Web and Mobile Devices Valter Roesler1, Felipe Cecagno1, Leonardo Crauss Daronco1 and Fred Dixon2 1Federal University of Rio Grande do Sul, 2BigBlueButton Inc., 1Brazil 2Canada 1. Introduction Deployment of videoconference systems have been growing rapidly for the last years, and deployments nowadays are fairly common, avoiding thousands of trips daily. Video conferencing systems can be organized into four groups: Room, Telepresence, Desktop and Web. 1.1 Groups of videoconference systems Room videoconference systems are normally hardware based and located in meeting rooms or classrooms, as seen in Fig. 1, which shows examples of a Polycom1 equipment. Participants are expected to manually activate and call a remote number in order to begin interacting. Other solutions of room videoconference systems are Tandberg2 (which is now part of Cisco), Lifesize3 and Radvision (Scopia line)4. Telepresence videoconference systems are a variation of room systems in that the room environment and the equipments are set in order to produce the sensation that all participants are in the same room, as shown in Fig. 2, which shows the Cisco Telepresence System5. To accomplish the “presence sensation”, the main approaches are: a) adjust the camera to show the remote participant in real size; b) use speakers and microphones in a way that the remote sound comes from the participant position; c) use high definition video in order to show details of the participants; d) use a complementary environment, as the same types of chairs, same color in the rooms, and same type of table on the other sides.
    [Show full text]
  • Software De Comunicação Voip Com Canal Seguro Na
    UNIVERSIDADE REGIONAL DE BLUMENAU CENTRO DE CIÊNCIAS EXATAS E NATURAIS CURSO DE CIÊNCIA DA COMPUTAÇÃO – BACHARELADO SOFTWARE DE COMUNICAÇÃO VOIP COM CANAL SEGURO NA PLATAFORMA ANDROID ANDRÉ LUIZ LEHMANN BLUMENAU 2010 2010/2 ANDRÉ LUIZ LEHMANN SOFTWARE DE COMUNICAÇÃO VOIP COM CANAL SEGURO NA PLATAFORMA ANDROID Trabalho de Conclusão de Curso submetido à Universidade Regional de Blumenau para a obtenção dos créditos na disciplina de Trabalho de Conclusão de Curso II do curso de Ciência da Computação — Bacharelado. Prof. Paulo Fernando da Silva - Orientador BLUMENAU 2010 2010/2 SOFTWARE DE COMUNICAÇÃO VOIP COM CANAL SEGURO NA PLATAFORMA ANDROID Por ANDRÉ LUIZ LEHMANN Trabalho aprovado para obtenção dos créditos na disciplina de Trabalho de Conclusão de Curso II, pela banca examinadora formada por: ______________________________________________________ Presidente: Prof. Paulo Fernando da Silva, Mestre – Orientador, FURB ______________________________________________________ Membro: Prof. Francisco Adell Péricas, Mestre – FURB ______________________________________________________ Membro: Prof. Sérgio Stringari, Mestre – FURB Blumenau, 09 de Dezembro de 2010 Dedico este trabalho àqueles que não têm medo dos seus sonhos, e nem têm medo do gigante monstro de biscoito. AGRADECIMENTOS Agradeço inicialmente aos meus pais, que a 24 anos me aturam, me ensinam, me educam, me guiam e me incentivam a sempre perseguir os meus sonhos, mesmo que isso me leve para longe deles. Agradeço também a minha irmã, que além de me aturar por todos os seus 20 anos de vida, me traz alegria e leveza de ser. Agradeço também aos meus nobres amigos, que sempre estão dispostos a jogar uma boa partida de War, Monopoly ou mesmo um simples Uno, rir de nossas situações cotidianas, discutirmos sobre carreira profissional, carreira acadêmica, política, religião e todos os assuntos que causam intrigas (incluindo sistemas operacionais).
    [Show full text]
  • VŠB – Technická Univerzita Ostrava Fakulta Elektrotechniky a Informatiky Katedra Telekomunikační Techniky
    VŠB – Technická univerzita Ostrava Fakulta elektrotechniky a informatiky Katedra telekomunikační techniky Implementace IP telefonního SIP klienta na platformě Android s možností zabezpečené komunikace Implementation of the SIP IP Telephony Client on the Android Platform with Using Secure Communications 2017 Lukáš Palacký Poděkování Rád bych poděkoval panu Ing. Filipu Řezáčovi Ph.D. za odbornou pomoc a konzultaci při vytváření této diplomové práce. Dále pak kolegům Ing. Jakubu Jalowiczorovi a Ing. Miroslavovi Belešovi za pomoc při testování SIP klienta a za jejich zpětnou vazbu a mé přítelkyni Ing. Kristýně Nožičkové za kontrolu pravopisu a dlouhodobou podporu při řešení této diplomové práce. Abstrakt Cílem této práce je teoretické zhodnocení současné nabídky SIP klientů pro mobilní platformu Android a následná implementace vlastního klienta s možností podpory zabezpečené komunikace jak signalizačních, tak hovorových informací. Klient je tedy implementován v programovacím jazyce Java a jádro celé aplikace tvoří knihovna PJSIP. Klient obsahuje funkce jako správu více uživatelských účtů a kontaktů, notifikace a hlasovou komunikaci. Současné množství SIP klientů pro platformu Android, s možností zabezpečení signalizačních a zároveň hlasových dat, je omezené. Toto již omezené množství klientů slibuje plnou podporu zabezpečení, v praxi se bohužel setkáváme jen s částečným zabezpečením komunikace nebo se žádným. Hlavním bodem této práce je tedy vytvoření plnohodnotného klienta s funkčním zabezpečením komunikace za pomocí protokolů TLS pro šifrování signalizačních dat a SRTP pro zabezpečení dat hovorových. Klíčová slova Android, Aplikace, Java, Klient, PJSIP, SIP, RTP, SRTP, UDP, TCP, TLS, VoIP, Šifrování, Zabezpečení Abstract The aim of this work is theoretical evaluation of the current market supply of SIP clients for the Android mobile platform and the following implementation of my own client with support for secure communications both signaling and speech information.
    [Show full text]
  • ENUM: an Enabler for Voip and Next Generation Services
    ITU Workshop on “Origin Identification and Alternative Calling Procedures” (Geneva, Switzerland, 19-20(AM) 2012) ENUM: an Enabler for VoIP and Next Generation Services Steven D. Lind Senior Member of the Technical Staff, AT&T [email protected] Geneva, Switzerland, 19-20 March(AM) 2012 What is ENUM? Provides mapping from E.164 numbers to IP resources Telephone number as domain name Built on top of DNS Number “holder” needs to opt-in Example: +1-973-236-6787 Lookup 7.8.7.6.6.3.2.3.7.9.1.e164.arpa sip:[email protected] DNS sip: [email protected] mailto:[email protected] mailto:[email protected] Geneva, Switzerland, 19-20 March(AM) 2012 2 Assumption Use of standard telephone numbers (ITU-T Recommendation E.164) is not going away PSTN/analog terminals are going to be around IP phones will use 12-button keypad Globally unique identifier that has established familiarity with end users Geneva, Switzerland, 19-20 March(AM) 2012 3 Types of ENUM End-User ENUM used to discover IP endpoints where data is placed in a public ENUM tree by end-users (or their agents) Provider ENUM (aka Carrier or Infrastructure ENUM) used to discover IP-based points of interconnection where data is placed in a private ENUM tree by carriers of record Geneva, Switzerland, 19-20 March(AM) 2012 4 Why is ENUM Important? ENUM will enable VoIP interoperability E.164 addresses will be used as names in VoIP networks ENUM enables call routing between VoIP service providers E.164 addresses are not directly routable in an IP/VoIP network Use ENUM to map E.164 number to an Internet address that can be used to setup communication (e.g.
    [Show full text]
  • Annals of the University of North Carolina Wilmington Master of Science in Computer Science and Information Systems
    Annals of the University of North Carolina Wilmington Master of Science in Computer Science and Information Systems AN INVESTIGATION INTO AUDIO CONFERENCING ON SMART PHONES Jui Sun A Capstone Project Submitted to the University of North Carolina Wilmington in Partial Fulfillment of the Requirements for the Degree of Master of Science Department of Computer Science Department of Information Systems and Operations Management University of North Carolina Wilmington 2012 Approved by Advisory Committee ______________________________ ______________________________ Dr. Bryan Reinicke Dr. Laurie Patterson _______________________________ Dr. Ron Vetter, Chair 2 Abstract This paper describes an approach to building an audio conferencing application for Android smart phones. As the need for audio conferencing systems grow, the smart phone becomes a viable platform for developing conferencing applications. We have implemented a centralized audio conferencing model and developed a client application which was deployed on Android-based smart phones. Experiments for battery consumption and packet delay were designed and carried out to evaluate the usability of the application. The smart phones were not affected by the application under low traffic conditions; however, the application did consume twice as much battery life under heavy traffic conditions. The results for delay testing showed that increasing the number of participants, and thereby introducing multiple audio streams, resulted in longer packet average delays. Throughout the development process,
    [Show full text]
  • ENUM & DNS Principles for an Interoperator IP Backbone Network
    ETSI TS 184 010 V3.1.1 (2011-08) Technical Specification Telecommunications and Internet Converged Services and Protocols for Advanced Networks (TISPAN); ENUM & DNS Principles for an Interoperator IP backbone network 2 ETSI TS 184 010 V3.1.1 (2011-08) Reference DTS/TISPAN-04015-NGN-R3 Keywords DNS, ENUM ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N° 348 623 562 00017 - NAF 742 C Association à but non lucratif enregistrée à la Sous-Préfecture de Grasse (06) N° 7803/88 Important notice Individual copies of the present document can be downloaded from: http://www.etsi.org The present document may be made available in more than one electronic version or in print. In any case of existing or perceived difference in contents between such versions, the reference version is the Portable Document Format (PDF). In case of dispute, the reference shall be the printing on ETSI printers of the PDF version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http://portal.etsi.org/tb/status/status.asp If you find errors in the present document, please send your comment to one of the following services: http://portal.etsi.org/chaircor/ETSI_support.asp Copyright Notification No part may be reproduced except as authorized by written permission.
    [Show full text]
  • Itu-T Supplement to Rec. E.164 Operational and Administrative Issues Associated with National Implementations of the Enum Functi
    ITU-T SUPPLEMENT TO REC. E.164 (CLEAN VERSION) OPERATIONAL AND ADMINISTRATIVE ISSUES ASSOCIATED WITH NATIONAL IMPLEMENTATIONS OF THE ENUM FUNCTIONS DRAFT # 11.2 STATUS: REVISED DRAFT #11.2 UPDATED DURING THE 7-16 MAY 2002 STUDY GROUP 2 MEETING IMPORTANT NOTE on the STATUS of ITU-T SUPPLEMENTS: Supplements are only informative and are, therefore, not considered to be an integral part of any Recommendation(s). They do not imply any agreement on the part of the ITU-T (Recommendation A.13, 10/2000, Section 2.4) - 2 - ENUM supplement to ITU-T Rec. E.164 OPERATIONAL AND ADMINISTRATIVE ISSUES ASSOCIATED WITH NATIONAL IMPLEMENTATIONS OF THE ENUM FUNCTIONS Table of Contents 1 Introduction ............................................................................................................................... 2 2 Scope ........................................................................................................................................... 2 3 References .................................................................................................................................. 2 3.1 IETF .................................................................................................................................... 2 3.2 ITU ...................................................................................................................................... 2 4 Definitions .................................................................................................................................. 2 4.1 General
    [Show full text]
  • Applicazioni Voip Per Android: Analisi
    Alma Mater Studiorum UniversitadiBologna` · FACOLTA` DI SCIENZE MATEMATICHE, FISICHE E NATURALI Corso di Laurea Magistrale in Informatica Applicazioni Voip per Android: Analisi Tesi di Laurea in Architettura degli Elaboratori Relatore: Presentata da: Chiar.mo Prof. Di Lullo Giuseppe Ghini Vittorio Sessione I Anno Accademico 2011/2012 Indice 1 Introduzione 1 1.1 Voip ................................ 3 1.2 Il Protocollo SIP ......................... 5 1.2.1 Descrizione ........................ 6 1.2.2 I messaggi ......................... 9 1.2.3 Panoramica dell’operativit`a ............... 17 1.2.4 Architettura di Rete ................... 19 1.3 Gli altri protocolli interessati ................... 22 2 Applicazioni di riferimento 25 2.1 Sipdroid .............................. 25 2.1.1 MjSip ........................... 30 2.2 Linphone .............................. 33 2.2.1 Architettura ........................ 35 2.3 CSipSimple ............................ 39 2.3.1 PJSIP ........................... 41 3 Test e Analisi 45 3.1 Livelli di valutazione ....................... 49 3.2 Firewall e NAT .......................... 51 3.2.1 ABPS: Always Best Packet Switching .......... 55 4 Progettazione 59 4.1 La piattaforma Android ..................... 59 4.2 Android SDK ........................... 65 4.3 Ciclo di Vita di un Activity ................... 66 i ii INDICE 4.4 Compilazione ed Installazione di CSipSimple .......... 68 4.5 Creazione Rubrica ........................ 69 Conclusioni 76 Bibliografia 77 Elenco delle figure 1.1 Elementi terminali coinvolti nelle comunicazioni VoIP ..... 3 1.2 Esempio di impostazione di una sessione SIP con trapezio SIP 17 1.3 Esempio di messaggio SIP (INVITE) .............. 19 2.1 Sipdroid Main ........................... 27 2.2 Architettura MjSip ........................ 31 2.3 Architettura Linphone ...................... 37 2.4 Linphone Main .......................... 38 2.5 CSipSimple Main ......................... 40 2.6 Architettura PJSIP ........................ 42 3.1 Wizard Account CSipSimple .................
    [Show full text]