Morgan Kaufmann Internet Multimedia Communications Using SIP Including Java Practice Jan 2008 eBook- добавлено через 2 минуты Совсем новая книга, можно скачать в пдф. Очень полезна как студентам, так и разработчикам уже имеющим опыт. добавлено через 29 минут Содержание PART I FUNDAMENTALS 1 CHAPTER 1 Introduction ........................................3 1.1 IP Multimedia Communication Services ..................... 1.2 The Role of Signaling and Media 1.3 Type of Services Enabled by SIP ..............................................................10 1.4 Examples of SIP Applications ...................................................................13 1.5 The Internet Engineering Task Force (IETF) ............................................16 1.6 Summary ..................................................................................................20 CHAPTER 2 A Bit of History ..................................................................................21 2.1 The Third Revolution in the Internet .......................................................21 2.2 The Next Revolution in the Telecommunication Industry ......................23 2.3 A Brief History of Internet Multimedia ....................................................26 2.4 Summary ..................................................................................................29 CHAPTER 3 IP Multimedia Fundamentals ......................................................31 3.1 Internet Concepts ....................................................................................31 3.2 TCP/IP Protocol Architecture ..................................................................34 3.3 Architecture for Internet Multimedia Communications ..........................39 3.4 Summary ..................................................................................................42 CHAPTER 4 SIP Overview ......................................................................................43 4.1 What is SIP? ..............................................................................................43 4.2 SIP Addressing ..........................................................................................44 4.3 SIP Functions ...........................................................................................45 4.4 SIP Entities ...............................................................................................50 4.5 Summary ..................................................................................................58 CHAPTER 5 Multimedia-Service Creation Overview ..................................59 5.1 What are SIP Services? .............................................................................59 5.2 SIP Services and SIP Entities ....................................................................60 5.3 Terminal-Based or Network-Based SIP Services .......................................62 5.4 SIP Programming Interfaces .....................................................................64 5.5 Media-Programming APIs .........................................................................69 5.6 APIs Used in This Book ............................................................................70 5.7 Summary ..................................................................................................70 CHAPTER 6 SIP Protocol Operation .................................................................75 6.1 SIP Mode of Operation ...........................................................................75 6.2 SIP Message Format ................................................................................83 6.3 SIP Routing .............................................................................................95 6.4 SIP Detailed Call Flows .........................................................................103 6.5 Summary ...............................................................................................112 CHAPTER 7 SIP Protocol Structure ................................................................113 7.1 Protocol Structure Overview ................................................................113 7.2 SIP Core Sublayer ..................................................................................116 7.3 SIP Transaction Sublayer .......................................................................117 7.4 SIP Transport Sublayer ..........................................................................129 7.5 SIP Syntax and Encoding Function .......................................................132 7.6 SIP Dialogs ............................................................................................132 7.7 Summary ...............................................................................................136 CHAPTER 8 Practice with SIP ..........................................................................137 8.1 What Is JAIN SIP? ..................................................................................137 8.2 JAIN SIP Architecture ............................................................................140 8.3 The SipStack, SipProvider and ListeningPoint ......................................144 8.4 The SipListener .....................................................................................146 8.5 Other Factories: MessageFactory, HeaderFactory, AddressFactory .....................................................................................148 8.6 Programs and Practice ..........................................................................152 8.7 Summary ...............................................................................................174 CHAPTER 9 Session Description .....................................................................177 9.1 The Purpose of Session Description .....................................................177 9.2 The Session Description Protocol (SDP) ..............................................179 9.3 Example IP Communication Sessions Described with SDP .................184 9.4 The Offer/Answer Model with SDP ......................................................187 9.5 SDP Programming .................................................................................191 9.6 Summary ...............................................................................................199
CHAPTER 10 The Media Plane ...........................................................................201 10.1 Overview of the Media Plane ...............................................................201 10.2 Real-time Transport Protocol (RTP) ......................................................203 10.3 Messaging Service Relay Protocol (MSRP) ............................................209 10.4 Summary ...............................................................................................224 CHAPTER 11 Media Plane Programming .......................................................225 11.1 Overview ..............................................................................................225 11.2 JMF Entities ..........................................................................................228 11.3 JMF Operation ......................................................................................237 11.4 Putting It All Together: The VoiceTool ..................................................245 11.5 Putting It All Together: The VideoTool ..................................................248 11.6 Putting It All Together: The TonesTool ..................................................254 11.7 Using the Components. Example 6 ......................................................255 11.8 Summary ...............................................................................................256 CHAPTER 12 The SIP Soft-Phone ......................................................................257 12.1 Scope ....................................................................................................257 12.2 Architecture ..........................................................................................258 12.3 User Interface and Confi guration .........................................................263 12.4 State Model ...........................................................................................267 12.5 Implementation Aspects .......................................................................271 12.6 Summary ...............................................................................................281 CHAPTER 13 Sip Proxies ......................................................................................283 13.1 What Is a SIP Proxy? .............................................................................283 13.2 Transaction Stateful Proxies ..................................................................285 13.3 Stateful Proxy Behavior ........................................................................289 13.4 Transaction Stateless Proxies ................................................................293 13.5 Stateless Proxy Behavior .......................................................................293 13.6 Practice: SIP Server ...............................................................................294 13.7 Summary ...............................................................................................312 CHAPTER 14 Securing Multimedia Communications ...............................313 14.1 Review of Basic Encryption Concepts .................................................314 14.2 Attacks and Threat Models in SIP ..........................................................319 14.3 Security Services for SIP .......................................................................320 14.4 Security Mechanisms for SIP .................................................................320 14.5 Best Practices on SIP Security...............................................................327 14.6 Securing the Media Plane .....................................................................330 14.7 Summary ...............................................................................................334 PART III ADVANCED TOPICS 335 CHAPTER 15 Extending SIP ..................................................................................337 15.1 Defi ning New Extensions .....................................................................337 15.2 SIP Architectural Principles ..................................................................338 15.3 Extensibility and Compatibility ............................................................338 15.4 Reliability of Provisional Responses .....................................................344 15.5 UPDATE ................................................................................................347 15.6 SIP-specifi c Event Notifi cation ..............................................................348 15.7 History-Info ...........................................................................................355 15.8 Globally Routable User Agent URIs (GRUUs) .......................................356 15.9 Summary ...............................................................................................360 CHAPTER 16 Presence and Instant Messaging .......................................361 16.1 Overview of Presence and Instant Messaging ...................................361 16.2 The Presence Model ..........................................................................363 16.3 Presence with SIP ..............................................................................365 16.4 Presence
Information ........................................................................368 16.5 Address Resolution ............................................................................370 16.6 Resource Lists ....................................................................................370 16.7 XCAP ..................................................................................................372 16.8 Instant Messaging ..............................................................................372 16.9 IM Servers ..........................................................................................374 16.10 Practice: Softphone3 ..........................................................................375 16.11 Summary ............................................................................................379 CHAPTER 17 Call Control...................................................................................381 17.1 What Is Call Control? .........................................................................381 17.2 Peer-to-Peer Call Control....................................................................383 17.3 Third Party Call Control (3PCC) ........................................................389 17.4 Remote Call Control ..........................................................................390 17.5 Summary ............................................................................................394 CHAPTER 18 Interworking with PSTN/PLMN .............................................395 18.1 Motivation ..........................................................................................395 18.2 Architecture ........................................................................................396 18.3 Telephone Addressing: The TEL URI ..................................................400 18.4 ENUM: The E.164 to URI Dynamic Delegation Discovery System ..............................................................................401 18.5 Protocol Translation ............................................................................403 18.6 Protocol Encapsulation .......................................................................406 18.7 Translation or Encapsulation? .............................................................407 18.8 Summary .............................................................................................408 CHAPTER 19 Media Servers and Conferencing .......................................409 19.1 Basic Media Services ..........................................................................410 19.2 About KPML and the User Interaction Framework ............................417 19.3 Enhanced Conferencing .....................................................................418 19.4 Framework for Conferencing with SIP...............................................419 19.5 XCON Framework ..............................................................................423 19.6 Media Server Control .........................................................................429 19.7 Other Media Services .........................................................................435 19.8 Summary ............................................................................................436 CHAPTER 20 SIP Identity Aspects .................................................................437 20.1 Identity Management in SIP ...............................................................437 20.2 Basic Identity Management ................................................................439 20.3 Private Header for Network Asserted Identity ...................................441 20.4 Enhanced Identity Management ...........................................................444 20.5 Summary ..............................................................................................445 CHAPTER 21 Quality of Service .........................................................................447 21.1 Quality of Service in IP Networks ........................................................447 21.2 Mechanisms for QoS ............................................................................449 21.3 Policy-based Admission Control ...........................................................453 21.4 SIP Integration with Resource Reservation: The Preconditions framework ............................................................454 21.5 SIP Integration with Policy Control: Media and Qos Authorization ...............................................................................460 21.6 Summary ..............................................................................................465 CHAPTER 22 NAT Traversal .................................................................................467 22.1 NAT Overview ......................................................................................467 22.2 Behavior of NAT Devices .....................................................................470 22.3 SIP Traversal through NAT ....................................................................474 22.4 RTP Traversal through NAT ..................................................................479 22.5 Session Border Controllers ...................................................................485 22.6 NAT Traversal Using SBCs .....................................................................488 22.7 Summary ..............................................................................................493 CHAPTER 23 SIP Networks ..................................................................................495 23.1 The Role of the Network ......................................................................495 23.2 Mobility and Routing ............................................................................497 23.3 Authentication, Authorization, and Accounting ...................................497 23.4 Security ................................................................................................498 23.5 Interworking and Border Functions .....................................................498 23.6 Provision of Network-Based Services ...................................................499 23.7 Summary ..............................................................................................500 CHAPTER 24 The IMS ............................................................................................501 24.1 3GPP and IMS .......................................................................................501 24.2 High-Level IMS Requirements ..............................................................504 24.3 Overview of IMS Architecture ..............................................................510 24.4 IMS Concepts .......................................................................................520 24.5 New Requirements on SIP ...................................................................529 24.6 IMS Services .........................................................................................532 24.7 ETSI TISPAN NGN .................................................................................536 24.8 Next Trends in IMS ...............................................................................538 24.9 Summary ..............................................................................................539