O'Reilly logo

Building Telephony Systems with OpenSIPS 1.6 by Flavio E. Goncalves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DIALPLAN transformations

The module DIALPLAN implements generic string translations based on matching and replacement rules. The module uses a set of transformation rules stored in a database, each rule describing how a matching should be made. Usually, you will set an attribute or apply a transformation to the r-uri or a pseudo variable.

There are two types of matching rules: string and regular expressions, and overlapping expressions. Overlapping matching expressions can be controlled using priorities. The first matching rule is the one to be processed.

One of the goals for a good script is to be almost static. Transferring the DIALPLAN from the code to the database makes your implementation more flexible. The module DIALPLAN will help you to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required