Voip): SIP and Related Protocols Fall 2013, Period 1 Lecture Notes of G
Total Page:16
File Type:pdf, Size:1020Kb
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,