From openSIPS

About: Version-2-1-0

About -> Available Versions -> 2.1.x Releases -> Release 2.1.0

This page has been visited 9685 times.

Table of Content (hide)

  1. 1. Migration from 1.11.x to 2.1.0
  2. 2. What is new in 2.1.0
    1. 2.1 SIP transport protocols rework
    2. 2.2 Asynchronous I/O operations
    3. 2.3 Core
    4. 2.4 Config Script
    5. 2.5 NEW PROTO_WS module
    6. 2.6 NEW PROTO_TLS module
    7. 2.7 NEW PROTO_SCTP module
    8. 2.8 NEW COMPRESSION module
    9. 2.9 NEW EMERGENCY module
    10. 2.10 NEW FRAUD_DETECTION module
    11. 2.11 NEW RTPENGINE module
    12. 2.12 NEW TOPOLOGY_HIDING module
    13. 2.13 AVPOPS module
    14. 2.14 CACHEDB_MONGODB module
    15. 2.15 CACHEDB_SQL module
    16. 2.16 DOMAIN module
    17. 2.17 DB_MYSQL module
    18. 2.18 DB_UNIXODBC module
    19. 2.19 DIALOG module
    20. 2.20 DIALPLAN module
    21. 2.21 DISPATCHER module
    22. 2.22 DROUTING module
    23. 2.23 EVENT_RABBITMQ module
    24. 2.24 EVENT_ROUTE module
    25. 2.25 EXEC module
    26. 2.26 LDAP module
    27. 2.27 LOAD_BALANCER module
    28. 2.28 MI_FIFO module
    29. 2.29 MI_JSON module
    30. 2.30 MSILO module
    31. 2.31 NATHELPER module
    32. 2.32 PRESENCE module
    33. 2.33 SIPMSGOPS module
    34. 2.34 SIPTRACE module
    35. 2.35 REST_CLIENT module
    36. 2.36 RTPPROXY module
    37. 2.37 UAC module
    38. 2.38 USRLOC module

1.  Migration from 1.11.x to 2.1.0

A manual for how to migrate/update from 1.11.x to 2.1.x is now available on site.


2.  What is new in 2.1.0

2.1  SIP transport protocols rework

Allows new protocols to be added in a much easier way. OpenSIPS 2.1 now comes with pluggable core transport modules, TCP and UDP, and three abstracted protocol-modules: WebSocket, TLS and SCTP. The binary no longer needs to be recompiled every time you choose to support a new protocol.
In order to use one of those protocols (in a SIP listener), you need to load the corresponding module (as any other OpenSIPS module).

2.2  Asynchronous I/O operations

OpenSIPS 2.1 has the ability to perform, from script level, various operations in an asynchronous mode. Now you can run DB queries, REST queries or external scripts without the blocking penalty!

The OpenSIPS config file allows you to use certain functions in async way (via the dedicated "async" statement). Both suspending and resuming are done at script level. A detailed description of how the async support works in 2.1 is available here: http://www.opensips.org/Documentation/Script-Async-2-1 .

The async scripting support is just the tip of the iceberg (when comes to the work which has been done). To make this possible, radical changes were implemented in OpenSIPS 2.1 (most of them imported from OpenSIPS experimental branch):

The first modules providing async functions are:

2.3  Core

2.4  Config Script

2.5  NEW PROTO_WS module

Module to provide the websocket transport protocol for SIP (server side). You need to load this module if you want to define SIP listeners over WS transport. See the websocket usage tutorial and the module documentation for parameters.

2.6  NEW PROTO_TLS module

Module to provide the TLS transport protocol for SIP. You need to load this module if you want to define SIP listeners over TLS. See the TLS usage tutorial and the module documentation for parameters.

2.7  NEW PROTO_SCTP module

Module to provide the SCTP transport protocol for SIP. You need to load this module if you want to define SIP listeners over SCTP. See the module documentation for parameters.

2.8  NEW COMPRESSION module

A new module which performs both SIP message compression and SIP header compaction. The compression module gives you the means to reduce the size of the message, by using the following features:

A comprehensive tutorial is available beside the module documentation.

2.9  NEW EMERGENCY module

The emergency module provides emergency call treatment, following the IETF specs (RFC 6881, RFC6442) and the i2 specification of the American entity NENA(National Emergency Number Association). Module documentation is available here. Also, a comprehensive tutorial is available for describing the usage cases and how to use this module.

2.10  NEW FRAUD_DETECTION module

A new module that helps you prevent fraud by detecting (in a per user fashion) fraudulent calls based on dialing patterns (using patterns on total number of calls, on average duration, number of parallel calls, maximum cps value and more).
See the complete usage tutorial and the module documentation for parameters and functions provided by this module.

2.11  NEW RTPENGINE module

A new module that enables media streams to be proxied via RTPENGINE

2.12  NEW TOPOLOGY_HIDING module

A new module that offers topology hiding capabilities. The module strips and restores the headers that contain topology information (Via, Record-Route, Route and Contact headers) , and optionally it can also change the Call-ID of the requests. The module can work on top of the dialog module, or in stand-alone mode, thus allowing to do topology hiding for all types of dialogs ( eg. Presence dialogs ) and also for standalone initial requests ( eg. SIP MESSAGE ).
See the usage tutorial and the module documentation for parameters and functions provided by this module.

2.13  AVPOPS module

2.14  CACHEDB_MONGODB module

2.15  CACHEDB_SQL module

2.16  DOMAIN module

2.17  DB_MYSQL module

2.18  DB_UNIXODBC module

2.19  DIALOG module

2.20  DIALPLAN module

2.21  DISPATCHER module

2.22  DROUTING module

2.23  EVENT_RABBITMQ module

2.24  EVENT_ROUTE module

2.25  EXEC module

2.26  LDAP module

2.27  LOAD_BALANCER module

2.28  MI_FIFO module

2.29  MI_JSON module

2.30  MSILO module

2.31  NATHELPER module

2.32  PRESENCE module

2.33  SIPMSGOPS module

2.34  SIPTRACE module

2.35  REST_CLIENT module

2.36  RTPPROXY module

2.37  UAC module

2.38  USRLOC module

Retrieved from https://www.opensips.org/About/Version-2-1-0
Page last modified on August 25, 2015, at 07:46 PM