Building telephony systems with OpenSER : a step-by-step guide to building a high-performance telephony system /
This book teaches how to develop a fast and flexible Session Initiation Protocol (SIP) server using OpenSER and shows how OpenSER can be used to implement features not available in Asterisk PBX. This book is for readers who want to understand how to build a SIP provider from scratch using OpenSER. T...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Pub.,
©2008.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Table of Contents; Building Telephony Systems with OpenSER; Building Telephony Systems with OpenSER; Credits; About the Author; About the Reviewers; Preface; What This Book Covers; What You Need for This Book; Who This Book Is For; Conventions; Reader Feedback; Customer Support; Downloading the Example Code for the Book; Errata; Questions; 1. Introduction to SIP; SIP Basics; SIP Proxy in the Context of a VOIP Provider; SIP Operation Theory; SIP Registration Process; Server Operating as a SIP Proxy; Server Operating as a SIP Redirect; Basic Messages; SIP Dialog Flow.
- SIP Transactions and DialogsThe RTP Protocol; Codecs; DTMF-Relay; Real Time Control Protocol (RTCP); Session Description Protocol (SDP); The SIP Protocol and the OSI Model; The VoIP Provider Big Picture
- SIP Proxy; User, Administration, and Provisioning Portal; PSTN Gateway; Media Server; Media Proxy or RTP Proxy for Nat Traversal; RADIUS Accounting; CDRTool Rating; Monitoring Tools; Where You Can Find More Information; Summary; 2. The SIP Express Router; Where Are We?; What is the SIP Express Router?; What Software to Use, SER or OpenSER?; Usage Scenarios; OpenSER Architecture.
- Core and ModulesSections of the File openser.cfg; Sessions, Dialogs, and Transactions; openser.cfg Message Processing; SIP Proxy-Expected Behavior; Stateful Operation; Differences between Strict Routing and Loose Routing; Understanding SIP and RTP; Summary; 3. OpenSER Installation; Hardware Requirements; Software Requirements; Lab-Installing Linux for OpenSER; Downloading and Installing OpenSER v1.2; Lab-Running OpenSER at the Linux Boot; OpenSER v1.2 Directory Structure; Configuration Files (etc/openser); Modules (/lib/openser/modules); Binaries (/sbin); Log Files; Startup Options; Summary.
- 4. OpenSER Standard ConfigurationWhere Are We?; Analyzing the Standard Configuration; Using the Standard Configuration; Routing Basics; Transactions and Dialogs; Initial and Sequential Requests; Routing in a Context of a Transaction; Routing in the Context of a Dialog; Lab-Tracking a Complete Dialog; Lab-Running Stateless; Lab-Disabling record-route; Summary; 5. Adding Authentication with MySQL; Where Are We?; The AUTH_DB Module; The REGISTER Authentication Sequence; Register Sequence (Packets Captured by ngrep); Register Sequence Code Snippet; The INVITE Authentication Sequence.
- INVITE Sequence Packet CaptureDigest Authentication; WWW-Authenticate Response Header; The Authorization Request Header; QOP-Quality of Protection; Installing MySQL Support; openser.cfg File Analysis; The Openserctl Shell Script; Openserctl Resource File; Openserctlrc File; Using OpenSER with Authentication; Enhancing the Script; Managing Multiple Domains; Alternative Routes; Register Requests (route[2]); Non-Register Requests (route[3]); Managing Calls Coming from Our Domain; Inbound-to-Inbound-route[10]; Inbound-to-Outbound-route[11]; Outbound-to-Inbound-route[12].