This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
features:new-in-devel [2019/07/06 22:11] henningw |
features:new-in-devel [2019/07/16 12:53] henningw |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Kamailio SIP Server | + | ====== Kamailio SIP Server - New Features in Devel Version ====== |
**Current devel version will be numbered 5.3.0 and it is planned to be released in the autum 2019**. | **Current devel version will be numbered 5.3.0 and it is planned to be released in the autum 2019**. | ||
Line 26: | Line 26: | ||
==== rtp_media_server ==== | ==== rtp_media_server ==== | ||
- | Embedded RTP and media processing functionalities for Kamailio | + | Embedded RTP and media processing functionalities for Kamailio, like playing media or bridging in a B2BUA manner. Includes support for different codecs (including Opus). |
* https:// | * https:// | ||
Line 63: | Line 63: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | |||
+ | Add new parameter keep_proxy_rr to loop BYE through proxy. When in use, sending locally generated in-dialog requests will loop back to the proxy with a proper Record-Route header, including any parameters. | ||
==== dispatcher ==== | ==== dispatcher ==== | ||
- | Add a new rpc function, it will add a new destination | + | * Add new rpc functions, to add and remove destinations |
+ | * https:// | ||
+ | * https:// | ||
+ | * Add a new flag 16 (1<< | ||
+ | * https:// | ||
+ | * Add a new parameter reload_delta to limit the frequency of rpc reload commands to try to avoid races of parallel reload operations. | ||
+ | * https:// | ||
- | * https:// | + | ==== dialplan ==== |
- | Add a new flag 16 (1<< | + | Add reload_delta parameter |
- | * https:// | + | * https:// |
- | Add a new parameter reload_delta to limit the frequency of rpc reload commands to try to avoid races of parallel reload operations. | + | ==== evrexec ==== |
- | * https:// | + | Added rpc command evrexec.run to run an event_route: kamctl rpc evrexec.run evname [evdata]. First parameter is the event route name (or KEMI function), second parameter (optional, string) is an arbitrary data that becomes available inside the event route via $evr(data). |
- | ==== dialplan ==== | + | * https:// |
- | Add reload_delta parameter to make the rate limit of maximum allowed dialplan reload configurable. | + | ==== imc ==== |
- | * https://www.kamailio.org/ | + | Extend module functionality significantly, |
==== ims_ipsec_pcscf ==== | ==== ims_ipsec_pcscf ==== | ||
- | 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. | + | * 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 | + | * https:// |
- | + | ||
- | | + | |
==== ims_registrar_pcscf ==== | ==== ims_registrar_pcscf ==== | ||
Line 130: | Line 136: | ||
==== pv ==== | ==== pv ==== | ||
- | New pseudo-variable $rcv(key), available inside event_route[core: | + | * New pseudo-variable $rcv(key), available inside event_route[core: |
- | + | * https:// | |
- | * https:// | + | |
+ | | ||
==== janssonrpcc ==== | ==== janssonrpcc ==== | ||
Line 172: | Line 179: | ||
==== rtpengine ==== | ==== rtpengine ==== | ||
- | Introduce additional hashing algorithm SHA1 over callid for better distribution among nodes. | + | * Introduce additional hashing algorithm SHA1 over callid for better distribution among nodes. |
- | + | * https:// | |
- | * https:// | + | |
+ | * https:// | ||
+ | * https:// | ||
+ | | ||
+ | * Add start_forwarding() and stop_forwarding() functions. | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * Add support for trickle ICE SDP fragments, add support for explicit load balancing options and add support for via-branch=extra option. | ||
==== sdpops ==== | ==== sdpops ==== | ||
Line 190: | Line 204: | ||
==== sl ==== | ==== sl ==== | ||
- | Add new pseudo-variables: | + | * Add new pseudo-variables: |
- | + | * https:// | |
- | | + | * Add configuration parameter to add path and flags to redirected contacts. |
+ | * https:// | ||
==== sqlops ==== | ==== sqlops ==== | ||
Line 208: | Line 223: | ||
==== tls ==== | ==== tls ==== | ||
- | Add support for unique identifier PVs and select: $tls_peer_subject_uid and $tls_my_subject_uid, | + | * Add support for unique identifier PVs and select: $tls_peer_subject_uid and $tls_my_subject_uid, |
+ | * https:// | ||
+ | * https:// | ||
+ | * Add workaround for new OpenSSL 1.1, preloaded library. This is a workaround for OpenSSL >= 1.1 which uses internal locking and doesn' | ||
+ | |||
+ | ==== tm ==== | ||
- | * https:// | + | |
- | * https:// | + | |
+ | | ||
+ | | ||
==== tmx ==== | ==== tmx ==== | ||
Line 221: | Line 243: | ||
==== uac ==== | ==== uac ==== | ||
- | New modparam reg_gc_interval, | + | * New modparam reg_gc_interval, |
+ | * https:// | ||
+ | * The uac_replace_from/ | ||
+ | * The uac_replace_from/ | ||
- | * https:// | + | ==== websocket ==== |
- | The uac_replace_from/ | + | Added check mechanism based on tcp connection - type 3 (KEEPALIVE_MECHANISM_CONCHECK) |
- | + | ||
- | The uac_replace_from/ | + | |
+ | * https:// | ||
===== New in Core ===== | ===== New in Core ===== | ||
Line 244: | Line 268: | ||
==== Interpreter ==== | ==== Interpreter ==== | ||
+ | |||
+ | Many extensions to the KEMI scripting language support in core and modules were added. | ||
==== Parameters ==== | ==== Parameters ==== | ||
- | New global parameter bind_ipv6_link_local. If set to 1, try to bind also IPv6 link local addresses by discovering the scope of the interface. This apply for UDP socket for now, to be added for the other protocols. | + | * New global parameter bind_ipv6_link_local. If set to 1, try to bind also IPv6 link local addresses by discovering the scope of the interface. This apply for UDP socket for now, to be added for the other protocols. |
- | * https:// | + | * https:// |
- | + | | |
- | Introduce new configuration parameter tcp_accept_haproxy parameter. When active, inbound TCP connections are expected to behave according to the HA PROXY protocol. Both the v1 (human-readable) and v2 (binary) versions of the protocol are supported. | + | * https:// |
- | * https:// | + | * Added latency_limit_cfg global parameter to print execution time for configuration script only if it exceeds this value. It is printed to latency_cfg_log level, another added parameter. |
+ | * https:// | ||
+ | * https:// | ||
==== Functions ==== | ==== Functions ==== | ||
Line 259: | Line 287: | ||
==== Memory Managers ==== | ==== Memory Managers ==== | ||
- | Refactoring and unification of memory allocation error logging infrastructure. Completed in the core, major modules were migrated as well. | + | Refactoring and unification of memory allocation error logging infrastructure. Completed in the core, major modules were migrated as well. The #define are called PKG_MEM_ERROR, |
==== Architecture ==== | ==== Architecture ==== | ||
- | * Extend internal IPv4 and IPv6 parsing functions in the core | + | * Extend internal IPv4 and IPv6 parsing functions in the core. |
+ | * Create Contacts header with path vector as Route header. When Kamailio is functioning as a registrar sends a 302 redirect, the registered contacts are sent inside the Contact header. If a contact as a path vector, that path should become a Route header in the INVITE (rfc 3327). This patch adds the path vector as a Route header parameter to the Contacts in the redirect so the receiving entity of the 302 can add the proper Route headers. This is a standard way to specify headers to be added to a request, see rfc3261 section 19.1.1. | ||
+ | * Add DB_TABLE_VERSION_ERROR(table) error helper #define to DB1 API and migrate (almost) all modules that use version tables to it. This unify the logging and error behavior of the relevant modules that uses a database. | ||
==== kamailio.cfg ==== | ==== kamailio.cfg ==== | ||
+ | |||
+ | Changes to the default kamailio.cfg | ||
+ | |||
+ | * detect sipvicious as scanner | ||
+ | * do sanity check for sip responses | ||
+ | * no connect for forwarding requests withing dialog | ||
+ | * set no connect flags for replies and natted messages | ||
+ | * explicitely set the tcp/tls connections upper limits | ||
===== Tools ===== | ===== Tools ===== | ||
+ | |||
+ | Added tool to generate code for KEMI modules to misc/ | ||
==== kamcmd ==== | ==== kamcmd ==== | ||
Line 272: | Line 313: | ||
==== kamctl ==== | ==== kamctl ==== | ||
- | Added subcommand to print the server version using rpc command: kamctl srv version | + | * Added subcommand to print the server version using rpc command: kamctl srv version |
+ | * Added subcommand to delete older expired records from database table: kamctl ul dbclean [< | ||
+ | * Added acc initdb command to add additional columns needed with default kamailio.cfg and defined WITH_ACCDB for acc and missed_calls table. | ||
- | Added subcommand to delete older expired records from database table: kamctl ul dbclean [< | + | ==== kamdbctl ==== |
+ | * Added verification before database reinit | ||
+ | * Warn that drop command will indeed drop the database. | ||
+ | | ||
==== kamcli ==== | ==== kamcli ==== | ||