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:30] henningw [Architecture] |
features:new-in-devel [2019/08/09 11:21] henningw [uac] |
||
---|---|---|---|
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 50: | Line 50: | ||
* https:// | * https:// | ||
+ | |||
+ | ==== async ==== | ||
+ | |||
+ | New functionality to sleep for milli-seconds and also schedule a asynchronous route execution with milli-seconds delay | ||
+ | |||
+ | * https:// | ||
+ | * https:// | ||
==== cnxcc ==== | ==== cnxcc ==== | ||
Line 64: | Line 71: | ||
* 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. | ||
+ | |||
+ | * https:// | ||
==== dispatcher ==== | ==== dispatcher ==== | ||
- | Add new rpc functions, to add and remove destinations to the in-memory dispatcher list. | + | * Add new rpc functions, to add and remove destinations to the in-memory dispatcher list. |
+ | * 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 ==== |
- | * https:// | + | |
- | 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 131: | Line 144: | ||
==== pv ==== | ==== pv ==== | ||
- | New pseudo-variable $rcv(key), available inside event_route[core: | + | * New pseudo-variable $rcv(key), available inside event_route[core: |
- | + | * https:// | |
- | | + | |
- | + | * https:// | |
- | New pseudo-variable $TV(Fn) - formatted time with microseconds YYYY-MM-DD HH: | + | |
- | + | ||
- | | + | |
==== janssonrpcc ==== | ==== janssonrpcc ==== | ||
Line 177: | Line 187: | ||
==== 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:// | |
- | Add play_media() and stop_media() functions, also includes addition of the $media_duration pseudo-variable, | + | * https:// |
- | + | * https:// | |
- | | + | * Add start_forwarding() and stop_forwarding() functions. |
- | * https:// | + | * https:// |
- | * https:// | + | * https:// |
- | + | * Add support for trickle ICE SDP fragments, add support for explicit load balancing options and add support for via-branch=extra option. | |
- | 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 203: | Line 212: | ||
==== 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 221: | Line 231: | ||
==== 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:// |
- | * 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 ==== | ==== tm ==== | ||
- | Added t_get_status_code() function to return the status code of the transaction - the sip response code. | + | * Added t_get_status_code() function to return the status code of the transaction - the sip response code. |
- | + | * https:// | |
- | | + | * Add configuration parameter to add path and flags to redirected contacts. |
+ | * https:// | ||
+ | * Removal of obselete delete_timer parameter - it was not used since a long time | ||
==== tmx ==== | ==== tmx ==== | ||
Line 242: | Line 252: | ||
==== uac ==== | ==== uac ==== | ||
- | New modparam reg_gc_interval, | + | * New modparam reg_gc_interval, |
- | + | * https:// | |
- | | + | * New modparam default_socket, |
- | + | * https:// | |
- | The uac_replace_from/ | + | * The uac_replace_from/ |
- | + | | |
- | The uac_replace_from/ | + | |
==== websocket ==== | ==== websocket ==== | ||
Line 270: | Line 279: | ||
==== 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 285: | Line 298: | ||
==== 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 ===== | ||
Line 300: | Line 324: | ||
==== 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 acc initdb command to add additional columns needed with default kamailio.cfg and defined WITH_ACCDB for acc and missed_calls table. | + | ==== kamdbctl ==== |
+ | * Added verification before database reinit | ||
+ | * Warn that drop command will indeed drop the database. | ||
+ | | ||
==== kamcli ==== | ==== kamcli ==== | ||