Book description
Build high-speed and highly scalable telephony systems using OpenSIPS
About This Book
- Install and configure OpenSIPS to authenticate, route, bill, and monitor VoIP calls
- Gain a competitive edge using the most scalable VoIP technology
- Discover the latest features of OpenSIPS with practical examples and case studies
Who This Book Is For
If you want to understand how to build a SIP provider from scratch using OpenSIPS, then this book is ideal for you. It is beneficial for VoIP providers, large enterprises, and universities. This book will also help readers who were using OpenSER but are now confused with the new OpenSIPS.
Telephony and Linux experience will be helpful to get the most out of this book but is not essential. Prior knowledge of OpenSIPS is not assumed.
What You Will Learn
- Learn to prepare and configure a Linux system for OpenSIPS
- Familiarise yourself with the installation and configuration of OpenSIPS
- Understand how to set a domain and create users/extensions
- Configure SIP endpoints and make calls between them
- Make calls to and from the PSTN and create access control lists to authorize calls
- Install a graphical user interface to simplify the task of provisioning user and system information
- Implement an effective billing system with OpenSIPS
- Monitor and troubleshoot OpenSIPS to keep it running smoothly
In Detail
OpenSIPS is a multifunctional, multipurpose signalling SIP server. SIP (Session Initiation Protocol) is nowadays the most important VoIP protocol and OpenSIPS is the open source leader in VoIP platforms based on SIP. OpenSIPS is used to set up SIP Proxy servers. The purpose of these servers is to receive, examine, and classify SIP requests. The whole telecommunication industry is changing to an IP environment, and telephony as we know it today will completely change in less than ten years. SIP is the protocol leading this disruptive revolution and it is one of the main protocols on next generation networks. While a VoIP provider is not the only kind of SIP infrastructure created using OpenSIPS, it is certainly one of the most difficult to implement.
This book will give you a competitive edge by helping you to create a SIP infrastructure capable of handling tens of thousands of subscribers.
Starting with an introduction to SIP and OpenSIPS, you will begin by installing and configuring OpenSIPS. You will be introduced to OpenSIPS Scripting language and OpenSIPS Routing concepts, followed by comprehensive coverage of Subscriber Management. Next, you will learn to install, configure, and customize the OpenSIPS control panel and explore dialplans and routing. You will discover how to manage the dialog module, accounting, NATTraversal, and other new SIP services. The final chapters of the book are dedicated to troubleshooting tools, SIP security, and advanced scenarios including TCP/TLS support, load balancing, asynchronous processing, and more.
A fictional VoIP provider is used to explain OpenSIPS and by the end of the book, you will have a simple but complete system to run a VoIP provider.
Style and approach
This book is a step-by-step guide based on the example of a VoIP provider. You will start with OpenSIPS installation and gradually, your knowledge depth will increase.
Table of contents
-
Building Telephony Systems with OpenSIPS Second Edition
- Table of Contents
- Building Telephony Systems with OpenSIPS Second Edition
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
-
1. Introduction to SIP
- Understanding the SIP architecture
- The SIP registration process
- Types of SIP servers
- SIP request messages
- The SIP dialog flow
- SIP transactions and dialogs
- Locating the SIP servers
- SIP services
- The SIP identity
- The RTP protocol
- Session Description Protocol
- The SIP protocol and OSI model
- The VoIP provider's big picture
- Additional references
- Summary
- 2. Introducing OpenSIPS
- 3. Installing OpenSIPS
- 4. OpenSIPS Language and Routing Concepts
-
5. Subscriber Management
- Modules
- The AUTH_DB module
- The REGISTER authentication sequence
- The INVITE authentication sequence
- Digest authentication
- Plaintext or prehashed passwords
- Installing MySQL support
- Analysis of the opensips.cfg file
- The opensipsctl shell script
- Using aliases
- Handling the CANCEL requests and retransmissions
- Lab – multidomain support
- Lab – using aliases
- IP authentication
- Summary
-
6. OpenSIPS Control Panel
- The OpenSIPS control panel
- Installation of OpenSIPS-CP
- Configuring administrators
- Adding and removing domains
- Manage the access control lists or groups
- Managing aliases
- Managing subscribers
- Managing permissions and IP authentication
- Sending commands to the management interface
- A generic table viewer
- Summary
- 7. Dialplan and Routing
-
8. Managing Dialogs
- Enabling the dialog module
- Creating a dialog
- Dialog matching
- Dialog states
- Dialog timeout and call disconnection
- Dialog variables and flags
- Profiling a dialog
- Disconnecting calls
- Topology hiding
- Validating a dialog and fixing broken dialogs
- Displaying the dialog statistics
- SIP session timers
- Summary
- 9. Accounting
- 10. SIP NAT Traversal
- 11. Implementing SIP Services
- 12. Monitoring Tools
- 13. OpenSIPS Security
- 14. Advanced Topics with OpenSIPS 2.1
- Index
Product information
- Title: Building Telephony Systems with OpenSIPS - Second Edition
- Author(s):
- Release date: January 2016
- Publisher(s): Packt Publishing
- ISBN: 9781785280610
You might also like
book
Practical Guide to LTE-A, VoLTE and IoT
Essential reference providing best practice of LTE-A, VoLTE, and IoT Design/deployment/Performance and evolution towards 5G This …
book
Hacking VoIP
Voice over Internet Protocol (VoIP) networks have freed users from the tyranny of big telecom, allowing …
book
VoIP and Unified Communications: Internet Telephony and the Future Voice Network
Translates technical jargon into practical business communications solutions This book takes readers from traditional voice, fax, …
book
RTP: Audio and Video for the Internet
The Real-time Transport Protocol (RTP) provides a framework for delivery of audio and video across IP …