features:new-in-5.1.x
This is an old revision of the document!
Table of Contents
Kamailio SIP Server (SER) - New Features in 5.1.0
Previous devel, current stable, version was 5.0.x (released on February 27, 2017), 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
acc_diameter
- split from acc module
app_sqlang
call_obj
evrexec
ims_diameter_server
keepalive
phonenum
topos_redis
New in Old Modules
app_lua
- rpc app_lua.api_list command
app_python
- support for variables in parameters of cfg functions
auth_ephemeral
- added SHA384 as hashing option
corex
- added $cfg(route) - return name of routing block for crt action
db_text
- added rpc command db_text.query to do db query
- added db_delim parameter - specify field delimiter
db_postgress
- implemented insert_update() API function
db_sqlite
- new parameter to open some database in read-only
- new parameter to set database journal mode
dialog
- $dlg_ctx(timeout_route) returns route block name
dmq
* added option to use non-locking workers
dmq_usrloc
- support to sync with multi contacts per message
- new parameter batch_max_msg_size
drouting
- use keepalive module to monitor GW/destinations (for sort_order 0)
htable
- added functions to remove items using variables
- implemented starts-with matching for remove functions
ims_charging
- added a custom_user_avp parameter, to allow a custom From user via avp
ims_isc
- allow regex in RURI field
ipops
- new naptr_query() cfg function
kazoo
- added $kzRK to accdess routing key of the payload
- added json.count transformation
lcr
- added lcr.load_gws rpc function
- added possibility to match caller URI userpart to a mtree tvalue
ndb_redis
- added REDIS-Cluster support
- added pipeline support for REDIS commands
- new feature to disable server on failure
- added flush_on_reconnect parameter
- enhanceed access to REDIS replies - support to access array within arrays
path
- option to add two path headers and use alias like received value
- enable_r2 - add two path headers, one for incoming socket and one for outgoing socket
- received_format - parameter to control if received value should be in sip uri (as so far) or in contact-alias param format
permissions
- new parameter load_backends
- control what backends should be loaded (1 - address table; 2 - trusted table; 4 - allow file; 8 - deny file)
presence
- added pres_has_subscribers() function
- added cseq_offset parameter
pv
- $env(…) - new class of cfg variable to get values for environment variables
- print cfg line for string transformation errors
- new variable - $hdrc(HName) - return the number of headers matching the name with HName
- added received ip/port pvars for advertised ip/port - $RAi, $RAp
- $siz - return source ip, with enclosing square brackets for ipv6
- $Ru - URI format for local socket where the SIP message was received, without trasport parameter for UDP
- $Rut - URI format for local socket where the SIP message was received, always with transport parameter
- $RAu - URI format for local socket where the SIP message was received, without trasport parameter for UDP, using the advertised address if availabe
- $RAut - URI format for local socket where the SIP message was received, always with transport parameter, using the advertised address if available
pua_dialoginfo
- added flags to disable caller and/or callee PUBLISH
pua_reginfo
- added support to use outbound proxy for PUBLISH requests
rabbitmq
- added direct_reply_to module parameter
- added url module parameter
registrar
- apply method_filtering only on initial requests without to-tag
sipcapture
- added $hep(dst_ip) variable to get hep's message destination IP
sipt
- the digit terminator is made optional on set_destination
siptrace
- add support for HEPv3
- add hlog() to send logs to homer
siputils
- added is_alphanum(v) function
- check if a string value contains only digits or alphabetic characters
- added is_alphanumex(tval, eset) function
- check if tval contains only alphanumeric characters or those from the eset parameter
tls
- basic level of libressl compatibility (for openssl v1.0.x)
topoh
- execute event_route[topoh:msg-outgoing] - executed when a message is going to be sent out
- if drop is used, then the message is no longer processed with topoh
- option to disable uri prefix checks (uri_prefix_checks parameter)
tm
- use a stack of structures for faked_env()
tmx
- new vars - $T(id_index_n) and $T(id_label_n)
- similar to $T(id_index) and $T(id_label), but if transaction doesn't exist yet, it is created
topos
- new parameter storage - specify the storage type to be used (default is database)
uri_db
- new variant with subscriber and realm params for check_uri()
usrloc
- new parameter db_load: enable/disable loading from the database on mod_init
- new parameter db_insert_update: insert into table, update on duplicate key
- added more attributes to the result of ul.dump
New in Core
Interpreter
Parameters
- ip_free_bind - control if Kamailio should attempt to bind to non local ip
- tcp_reuse_port - reuse tcp sockets
Functions
Misc
- support for parsing the Call-Info header
- do not terminate on harmless SIGCHLD (e.g., when kemi python scripts create and terminate new processes)
- added function to return route block name from crt action
- compile with system malloc for pkg if MEMPKG=sys
- if MEMDBGSYS=1, the use a debug variant for system malloc
kamailio.cfg
Tools
kamcmd
kamctl
- added srv command
- shortcuts to RPC commands to print sockets, aliases and available RPC commands
kamcli
features/new-in-5.1.x.1512682717.txt.gz · Last modified: 2017/12/07 21:38 by miconda