Building Telephony Systems with OpenSIPS 1.6

More Information


  • Identify how SIP transactions are routed including initial and sequential requests
  • Accelerate the processing of SIP sequential requests with the help of Loose Routing
  • Install OpenSIPS in a Linux platform and integrate a media server such as Asterisk
  • Acquire authentication and persistency by enabling a MySQL back-end for OpenSIPS
  • Administer the server with the help of graphical web interfaces such as OpenSIPS control panel and serMyAdmin
  • Connect to a PSTN gateway to send and receive calls
  • Enable dynamic dial plans and routing by using the DIALPLAN module DROUTING module
  • Traverse NAT using STUN and TURN
  • Bill your costumers or simply check your expenses by generating CDRs (Call Detail Records)
  • Monitor your SIP infrastructure to keep it running smoothly

SIP is the most important VoIP protocol and OpenSIPS is clearly the open source leader in VoIP platforms based on pure SIP. The whole telecommunication industry is changing to an IP environment, and telephony in the way we know today will disappear 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. You can extend the examples given in this book easily to other applications such as a SIP router, load balancing, IP PBX, and Hosted PBX as well. This book is an update of the title Building Telephony Systems with OpenSER.

The book starts with the simplest configuration and evolves chapter by chapter teaching you how to add new features and modules. It will first teach you the basic concepts of SIP and SIP routing. Then, you will start applying the theory by installing OpenSIPS and creating the configuration file. You will learn about features such as authentication, PSTN connectivity, user portals, media server integration, billing, NAT traversal, and monitoring. The book uses a fictional VoIP provider to explain OpenSIPS. The idea is to have a simple but complete running VoIP provider by the end of the book. 



  • Build a VoIP Provider based on the SIP Protocol
  • Cater to scores of subscribers efficiently with a robust telephony system based in pure SIP
  • Gain a competitive edge using the most scalable VoIP technology
  • Learn how to avoid pitfalls using precise billing
  • Packed with rich practical examples and case studies on the latest OpenSIPS version 1.6
Page Count 284
Course Length 8 hours 31 minutes
ISBN 9781849510745
Date Of Publication 20 Jan 2010


Flavio E. Goncalves

Flavio E. Goncalves was born in 1966 in Brazil. Having a strong interest in computers, he got his first personal computer in 1983, and since then, it has been almost an addiction. He received his degree in engineering in 1989 with a focus on computer-aided designing and manufacturing.

He is also the CTO of SipPulse Routing and Billing Solutions in Brazil—a company dedicated to the implementing of small-to-medium telephone companies, VoIP providers, and large-scale new generation telephony systems. Since 1993, he has participated in a series of certification programs and been certificated as Novell MCNE/MCNI, Microsoft MCSE/MCT, Cisco CCSP/CCNP/CCDP, Asterisk dCAP, and some others.

He started writing about open source software because he thinks that the way certification programs have worked is very good for learners. Some books are written by strictly technical people who sometimes do not have a clear idea on how people learn. He tried to use his 15 years of experience as an instructor to help people learn about the open source telephony software. Together with Bogdan, he created the OpenSIPS boot camp followed by the e-learning program, OpenSIPS eBootcamp.

His experience with networks, protocol analyzers, and IP telephony combined with his teaching experience gave him an edge to write this book. This is the fourth book written by him. The first one was Configuration Guide for Asterisk PBX, by BookSurge Publishing, the second was Building Telephony Systems with OpenSER, by Packt Publishing, and the third was Building Telepopny Systems With OpenSIPS 1.6, by Packt Publishing.

As the CTO of SipPulse, Flavio balances his time between family, work, and fun. He is the father of two children and lives in Florianopolis, Brazil—one of the most beautiful places in the world. He dedicates his free time to water sports such as surfing and sailing.