features:new-in-5.4.x
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
features:new-in-5.4.x [2020/07/09 11:14] – update new for 5.4.x doc henningw | features:new-in-5.4.x [2020/07/09 12:00] (current) – henningw | ||
---|---|---|---|
Line 7: | Line 7: | ||
<fc # | <fc # | ||
+ | |||
+ | ===== Documentation ===== | ||
+ | |||
+ | Many fixes were done to the modules, missing parameter were added, wrong parameter or function names fixed and explanation or clarifications added. Furthermore many debug messages in the core and modules were extended, to help analyzing problems or bugs. The full details can be found in the release Changelog or with the "git log" command. | ||
+ | |||
+ | ===== Bugfixes ===== | ||
+ | |||
+ | Countless bugfixes were implemented for this release in core, tools and modules. Furthermore the code base was scanned with several static analyzers, to detect otherwise hard to find bugs. The full details can be found in the release Changelog or with the "git log" command. | ||
===== New Modules ===== | ===== New Modules ===== | ||
Line 24: | Line 32: | ||
==== secsipid ==== | ==== secsipid ==== | ||
- | * new module implementing STIR and SKAKEN | + | * new module implementing STIR and SHAKEN |
==== systemdops ==== | ==== systemdops ==== | ||
Line 31: | Line 39: | ||
* https:// | * https:// | ||
+ | |||
+ | ==== dlgs ==== | ||
+ | |||
+ | New module to enable lightwight, stateless dialog tracking and statistics | ||
+ | |||
+ | * https:// | ||
===== New in existing Modules ===== | ===== New in existing Modules ===== | ||
Line 37: | Line 51: | ||
* adding CDR engine functionality, | * adding CDR engine functionality, | ||
+ | * new skip_cdr modparam to prevent cdr generation for certain calls | ||
==== auth_db ==== | ==== auth_db ==== | ||
Line 44: | Line 59: | ||
==== avpops ==== | ==== avpops ==== | ||
- | * add avp_subst_pv(), | + | * add avp_subst_pv(), |
+ | * export avp_check and avp_copy functions to KEMI | ||
==== app_python ==== | ==== app_python ==== | ||
Line 57: | Line 73: | ||
* option to use internal KSR::PV module and skip returning xval str, controlled with the xval_mode parameter | * option to use internal KSR::PV module and skip returning xval str, controlled with the xval_mode parameter | ||
+ | |||
+ | ==== app_jsdt ==== | ||
+ | |||
+ | * internal duktape interpreter upgraded to v2.5.0 | ||
==== acc_json ==== | ==== acc_json ==== | ||
Line 71: | Line 91: | ||
* organize and add new RPC commands, cr.add_host, | * organize and add new RPC commands, cr.add_host, | ||
* remove obselete FIFO commands implementation | * remove obselete FIFO commands implementation | ||
+ | |||
+ | ==== cdt ==== | ||
+ | |||
+ | * better compatiblity with certain Diameter servers that lacks Supported-Vendor-Id in their reply | ||
==== cfgt ==== | ==== cfgt ==== | ||
Line 84: | Line 108: | ||
* add functions to set socket by name | * add functions to set socket by name | ||
* new function is_faked_msg() | * new function is_faked_msg() | ||
+ | * new param dns_cache to add values to the internal dns cache | ||
+ | * export file read/write functions to kemi | ||
==== ctl ==== | ==== ctl ==== | ||
* switch from deprecated /var/run to /run | * switch from deprecated /var/run to /run | ||
+ | |||
+ | ==== crypto ==== | ||
+ | |||
+ | * add event route to allow encrypting/ | ||
==== drouting ==== | ==== drouting ==== | ||
Line 100: | Line 130: | ||
* switch from deprecated /var/run to /run | * switch from deprecated /var/run to /run | ||
+ | * new parameter opt_ssl_mode - allow controling ssl mode, can disable or enforce use of SSL | ||
+ | |||
==== db_redis ==== | ==== db_redis ==== | ||
Line 114: | Line 146: | ||
* add new parameter ds_default_sockname, | * add new parameter ds_default_sockname, | ||
* add new gateway attribute " | * add new gateway attribute " | ||
- | * add rpc command dispatcher.hash | + | * add RPC command dispatcher.hash, compute the hash id of the value and do modulo operation if first parameter is not 0 |
+ | * new RPC command dispatcher.set_duid_state, | ||
+ | * add attrs param to RPC ' | ||
==== dialog ==== | ==== dialog ==== | ||
Line 126: | Line 160: | ||
==== dmq ==== | ==== dmq ==== | ||
+ | |||
* set 202 response for empty_peer_callback() handling | * set 202 response for empty_peer_callback() handling | ||
Line 131: | Line 166: | ||
* replicate_socket_info using dmq, useful for anycast scenarios | * replicate_socket_info using dmq, useful for anycast scenarios | ||
+ | * add new parameter `usrloc_delete` to disable synchronizing delete actions | ||
==== htable ==== | ==== htable ==== | ||
* export sht_is_null() function to KEMI | * export sht_is_null() function to KEMI | ||
- | * exported | + | * export |
- | * exported | + | * export |
* new RPC command htable.store, | * new RPC command htable.store, | ||
Line 155: | Line 191: | ||
* add civic address parsing via xpath, with fallback to point or circle attributes | * add civic address parsing via xpath, with fallback to point or circle attributes | ||
* new module parameters to set HeLD request attributes, parameters are exact_type, response_time, | * new module parameters to set HeLD request attributes, parameters are exact_type, response_time, | ||
+ | |||
+ | ==== mqueue ==== | ||
+ | |||
+ | * add support for db persistency | ||
==== mqtt ==== | ==== mqtt ==== | ||
Line 201: | Line 241: | ||
* new config variable $fsn - forced send socket name | * new config variable $fsn - forced send socket name | ||
* add KEMI functions pvx.xavp_get_keys and pvx.xavp_getd | * add KEMI functions pvx.xavp_get_keys and pvx.xavp_getd | ||
+ | * add $xavi(...) config variables implementation, | ||
+ | * new var $mts, return msg type as string | ||
+ | * add vars to get the length for o-uri/ | ||
==== p_usrloc ==== | ==== p_usrloc ==== | ||
Line 227: | Line 270: | ||
==== rr ==== | ==== rr ==== | ||
- | * exported | + | * export |
* new function rr_next_hop_route(), | * new function rr_next_hop_route(), | ||
* new param sockname_mode, | * new param sockname_mode, | ||
Line 240: | Line 283: | ||
* add support for new T.38 options | * add support for new T.38 options | ||
* enable handling of PRACK requests | * enable handling of PRACK requests | ||
+ | * add kemi support for block/ | ||
==== sdpops ==== | ==== sdpops ==== | ||
- | * exported | + | * export |
==== siputils ==== | ==== siputils ==== | ||
- | * contact encoding functions | + | * contact encoding functions |
+ | * new function contact_param_rm(" | ||
+ | * new function uri_param_rm(pname), | ||
+ | * new function uri_param_any(param), | ||
==== sipcapture ==== | ==== sipcapture ==== | ||
Line 273: | Line 321: | ||
* export sql_result_get() to KEMI | * export sql_result_get() to KEMI | ||
* add functions to get null result value as empty or zer | * add functions to get null result value as empty or zer | ||
+ | |||
+ | ==== textops ==== | ||
+ | |||
+ | * addfunctions to remove or test headers with var parameters | ||
==== tcpops ==== | ==== tcpops ==== | ||
Line 298: | Line 350: | ||
- new selects: @tls.peer.raw_cert, | - new selects: @tls.peer.raw_cert, | ||
* add select for tls verified cert chain (requires OpenSSL 1.1+) | * add select for tls verified cert chain (requires OpenSSL 1.1+) | ||
+ | * add support to link against static libraries in Makefile | ||
+ | |||
+ | ==== ims_charging ==== | ||
+ | |||
+ | * add support for Application-Provided-Called-Party-Address AVP | ||
+ | * add support for destination_host parameter, implementation was incomplete | ||
==== ims_usrloc_pcscf ==== | ==== ims_usrloc_pcscf ==== | ||
Line 332: | Line 390: | ||
* KEMI function to get the RPCcommand response, shortcut to skip the pv get layer, can be useful for large values | * KEMI function to get the RPCcommand response, shortcut to skip the pv get layer, can be useful for large values | ||
+ | |||
+ | ==== kazoo ==== | ||
+ | |||
+ | * add basic kemi support | ||
==== keepalive ==== | ==== keepalive ==== | ||
Line 346: | Line 408: | ||
==== kemix ==== | ==== kemix ==== | ||
- | * exported | + | * export |
- | * exported | + | * export |
* convenience function KS.is_proto() to test many transport protocols with KEMI | * convenience function KS.is_proto() to test many transport protocols with KEMI | ||
- | * exported | + | * export |
==== nathelper ==== | ==== nathelper ==== | ||
Line 355: | Line 417: | ||
* add new function set_alias_to_avp | * add new function set_alias_to_avp | ||
* add new parameter nat_addr_mode, | * add new parameter nat_addr_mode, | ||
+ | * add optional set_contact_alias([trim]) parameter | ||
==== nat_traversal ==== | ==== nat_traversal ==== | ||
Line 408: | Line 471: | ||
==== Command line arguments ==== | ==== Command line arguments ==== | ||
- | * new command line parameter | + | * add --loadmodule=name, |
- | * new command line parameter | + | * add --modparam, to allow setting a module parameter via command line |
- | * new command line parameter | + | * add --log-engine, |
+ | * add --debug=val command line parameter to control the value for debug global parameter as alternative to -d switch | ||
==== Interpreter ==== | ==== Interpreter ==== | ||
Line 442: | Line 507: | ||
* add core support to assign names to listen sockets | * add core support to assign names to listen sockets | ||
* KEMI suport for ARRAY and DICT types | * KEMI suport for ARRAY and DICT types | ||
+ | * implementation for executing route blocks on send out events moved to onsend.c | ||
==== kamailio.cfg ==== | ==== kamailio.cfg ==== | ||
Line 449: | Line 515: | ||
- define WITH_NAT | - define WITH_NAT | ||
- define WITH_RTPENGINE | - define WITH_RTPENGINE | ||
- | * update IMS kamailio.cfg examples | + | |
+ | | ||
===== Tools ===== | ===== Tools ===== | ||
Line 457: | Line 524: | ||
* Makefile: add better support for EMACS | * Makefile: add better support for EMACS | ||
* Makefile: use pgk-config if xml2-config can not be found for certain modules | * Makefile: use pgk-config if xml2-config can not be found for certain modules | ||
+ | * kemi: add script to generate mock api for kemi python testing | ||
+ | * kemi: add support for invoking function pointers in tool | ||
==== kamcmd ==== | ==== kamcmd ==== | ||
Line 466: | Line 535: | ||
* adjustment to RPC fifo file to match default naming | * adjustment to RPC fifo file to match default naming | ||
* try to locate RPC fifo file in /var/run/ or /run/ folders, to cope better with old or non-linux systems | * try to locate RPC fifo file in /var/run/ or /run/ folders, to cope better with old or non-linux systems | ||
+ | * added pstrap command, use ps to get list of PIDs for Kamailio instance, instead of RPC core.psx | ||
==== kamdbctl ==== | ==== kamdbctl ==== | ||
Line 475: | Line 545: | ||
==== kamcli ==== | ==== kamcli ==== | ||
- | ===== Documentation ===== | ||
- | |||
- | Many fixes were done to the modules, missing parameter were added, wrong parameter or function names fixed and explanation or clarifications added. Furthermore many debug messages in the core and modules were extended, to help during analysing problems or bugs. The full details can be found in the Changelog or with the "git log" command. | ||
- | |||
- | ===== Bugfixes ===== | ||
- | |||
- | Countless bugfixes were implemented for this release in core, tools and modules. Furthermore the code base was scanned with several static analyzers, to detect otherwise hard to find bugs. The full details can be found in the Changelog or with the "git log" command. |
features/new-in-5.4.x.1594293274.txt.gz · Last modified: 2020/07/09 11:14 by henningw