Chapter 4. OpenSIPS Language and Routing Concepts

In this chapter, you will learn about OpenSIPS routing. In the first part of the chapter, we will present the OpenSIPS configuration file—its structure, the types of routes, and how these routes are related to the SIP traffic. Going inside the routing script, we will see how to use functions, variables, transformations, and statements in order to create the actual script. In the second part of the chapter, you will learn about basic SIP routing concepts—how to do proper routing for the SIP sessions/dialogs in terms of how to route initial and sequential requests. After this, we will understand how the record routing mechanism works in SIP.

By the end of this chapter, you will learn the following ...

Get Building Telephony Systems with OpenSIPS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.