User Tools

Site Tools


This is an old revision of the document!

Kamailio SIP Server (SER) - New Features in Devel Version

Current devel version will be numbered 5.3.0 and it is planned to be released during 2019.

Previous devel, current stable, version was 5.2.x (released on November, 2018), see what was new in that release at:

This is a draft of new features added in devel version, manually updated, thus not always synchronized with what is new in source code repository.

New Modules



Generates suitable metrics for a Prometheus monitoring platform, answering to Prometheus pull requests (HTTP requests to /metrics URL).



Embedded RTP and media processing functionalities for Kamailio


Filters to allow/block using whitelists/blacklist based on user agents, IP addresses, countries, domains and users. SQL injection attacks prevention. Blacklist of destinations where the called number is not allowed.

New in existing Modules


Added a new param in the cnxcc_set_max_credit() function to set the connect cost of a call.


Add a new rpc function to dispatcher module, add a new destination to in-memory dispatcher list.


Add reload_delta parameter to the dialplan module. Make the rate limit of maximum allowed dialplan reload configurable.


New modparam reg_gc_interval, to define a value for garbage collection interval

The uac_replace_from/uac_replace_to function (with dialog storage option) will now also work properly after a restart from Kamailio, if dialog data is stored in a database.

The uac_replace_from/uac_replace_to function will now also properly store and restore the Display Name with the dialog storage option.


New parameter lookup_filter_mode for the registrar module to control what filters should be applied for lookup(…) operations. Filter values are specified via filed of xavp_cfg.


A new rpc command updateWatchers were added to the presence module.


Add transaction and dialog level tracing to the siptrace module function sip_trace.


Added new sdp_get_ddress_family() function to the sdpops module to extract the IP address family from the SDP body


Add new return value for preloaded route set to loose_route() in rr module. Now it is possible to detect from the script if a preloaded Route header was removed that pointed at the local proxy.


Add new parameter “keep_alive” to jansonrpcc module, send periodic tcp keepalive packets to server in order to prevent connection from closing.


Add support for unique identifier PVs and select to the TLS module: $tls_peer_subject_uid and $tls_my_subject_uid, new selects: uid, uniqueIdentifier and unique_identifier.


New rpc command mod.mem_statsx for the kex module, to print also the count of allocated chunks in summary.


New pseudo-variable $rcv(key), available inside event_route[core:msg-received] to get details of the received message.


Add IPv6 support to the ims_ipsec_pcscf module. Set authentication algorithm for SA depending of parsed security-client info from REGISTER request message. For now, the supported algorithms are md5 and sha1, the default algorithm is sha1.

Additional support for multiple TCP connections was added.


Add support for multiple TCP connections to the ims_registrar_pcscf module.


Add support for multiple TCP connections to the ims_usrloc_pcscf module.


Add functionality to a add-on to third party registration in S-CSCF. The feature assumes two new flags in HSS database, where additional to the “Service Info XML” an “insertRegisterRequest” flag or an “insertRegisterResponse” flag can be set. These flags are sent with the SAR/SAA exchange to the S-CSCF. More information can be found in the commit message (99b2cfaf4151968a62) and the module documentation.


Add-on to third party registration in S-CSCF to the ims_usrloc_scscf module.


Add-on to third party registration in S-CSCF to the ims_registrar_scscf module.

New in Core

Command line arguments

Adding support for long option names, to kamailio. This makes it easier to deploy Kamailio in dynamic environments like containers. Examples:

  • add domain aliases with –alias
  • set advertised address to listen sockets speficied with -l socket/advertise
  • set server id with –server-id
  • set a subst, substdef or substdefs preprocessor expression with –subst, –substdef or –substdefs

More information:




  • New rpc command core.psa - to print attributes stored in process table, similar to core.psx, but also prints the rank and status fields

Memory Managers

Refactoring and unification of memory allocation error logging infrastructure. Completed in the core, major modules were migrated as well.


  • Extend internal IPv4 and IPv6 parsing functions in the core






features/new-in-devel.1562441729.txt.gz · Last modified: 2019/07/06 21:35 by henningw