User Tools

Site Tools


features:new-in-devel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
features:new-in-devel [2017/01/04 13:14]
mslehto [kamctl] show rpcfifo examples from commit 3b8d7950539be080770e3665ced07b491b9065bb
features:new-in-devel [2020/01/20 12:54]
linuxmaniac [pv_headers]
Line 1: Line 1:
-====== Kamailio SIP Server (SER) - New Features in Devel Version ======+====== Kamailio SIP Server - New Features in Devel Version ======
  
-**Current devel version will be numbered 5.0.0 and it is planned to be released in the beginning of 2017**.+**Current devel version will be numbered 5.3.0 and it is planned to be released in the autum 2019**.
  
 <fc #0000FF> <fc #0000FF>
-**Previous devel, current stable, version was 4.4.x (released on March2016), see what was new in that release at:**+**Previous devel, current stable, version was 5.3.x (released on October2019), see what was new in that release at:**
 </fc> </fc>
-  * <fc #0000FF>http://www.kamailio.org/wiki/features/new-in-4.4.x</fc>+  * <fc #0000FF>http://www.kamailio.org/wiki/features/new-in-5.3.x</fc>
  
 <fc #800000>//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.//</fc> <fc #800000>//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.//</fc>
Line 12: Line 12:
 ===== New Modules ===== ===== New Modules =====
  
-==== nsq ====+==== pv_headers ====
  
-  * nsq.io connector for kamailio.cfg +Flexible headers management via $xavp and $x_hdr exported variables.
-  * http://kamailio.org/docs/modules/devel/modules/nsq.html +
-===== New in Old Modules =====+
  
-==== app_lua ====+  * https://www.kamailio.org/docs/modules/devel/modules/pv_headers.html 
 +===== New in existing Modules =====
  
-  * ability to execute routing blocks written directly in Lua+==== cfgt ====
  
-==== app_python ====+Added new **cfgt.list** and **cfgt.clean** RPC commands
  
-  * ability to execute routing blocks written directly in Python+  * https://www.kamailio.org/docs/modules/devel/modules/cfgt.html#cfgt.r.list 
 +  * https://www.kamailio.org/docs/modules/devel/modules/cfgt.html#cfgt.r.clean
  
-==== auth ==== 
-  * added option to use SHA-256 encryption algorithm for digest authentication 
-  * add an option to include an Authentication-Info header in the response to a successful authentication 
-==== db_unixodbc ==== 
-  * new config variable replace_query 
-    * Tells if the ODBC replace query is supported by the DB odbc driver 
-    * Just like insert, but update the row if it exists otherwise insert 
- 
-==== dialog ==== 
- 
-  * new rpc function: dlg.terminate_dlg 
-    * terminates a single dialog, identified by a Call-ID.                           
-    * terminates an ongoing dialog by sending BYE in both directions 
- 
-==== enum ==== 
- 
-  * single digit is now valid in function enum_query                           
-    * is_e164() returns true for a single digit (previously two digits) 
- 
-==== evapi ==== 
-  * support for tagging connections and select for sending based on tag 
-    * evapi_set_tag(tname) 
-    * evapi_multicast(data, tag) 
-    * evapi_async_multicast(data, tag) 
-    * evapi_unicast(data, tag) 
-    * evapi_async_unicast(data, tag) 
- 
-==== kex ==== 
-  * new core stats    
-    * RPC request: stats.get_statistics all 
-    * requests by method 
-      * core:rcv_requests_invite 
-      * core:rcv_requests_cancel 
-      * core:rcv_requests_ack 
-      * core:rcv_requests_bye 
-      * core:rcv_requests_info 
-      * core:rcv_requests_register 
-      * core:rcv_requests_subscribe 
-      * core:rcv_requests_notify 
-      * core:rcv_requests_message 
-      * core:rcv_requests_options 
-      * core:rcv_requests_prack 
-      * core:rcv_requests_update 
-      * core:rcv_requests_refer 
-      * core:rcv_requests_publish 
-    * replies by status code                                                                                 
-      * core:rcv_replies_1xx 
-      * core:rcv_replies_18x 
-      * core:rcv_replies_2xx 
-      * core:rcv_replies_3xx 
-      * core:rcv_replies_4xx 
-      * core:rcv_replies_401 
-      * core:rcv_replies_404 
-      * core:rcv_replies_407 
-      * core:rcv_replies_480 
-      * core:rcv_replies_486 
-      * core:rcv_replies_5xx 
-      * core:rcv_replies_6xx 
-==== ndb_redis ==== 
- 
-  * added parameters to control connect and command timeouts              
-    * connect_timeout (int) 
-    * cmd_timeout (int) 
- 
-==== presence ==== 
- 
-  * new module parameter `force_delete` 
-    * disabled by default 
-    * enabling this parameter will delete expired presentity records without updating watchers (no NOTIFY) 
- 
-  * new module parameter `retrieve_order_by` 
-    * default value is "priority" 
-    * Used to set the order-by of the db query for fetching the presence records 
-==== pv ==== 
- 
-  * new function pv_evalx(dst, fmt)                                              
-    * The fmt string is evaluated twice for exiting variables, the result is stored in dst variable. 
  
 ==== registrar ==== ==== registrar ====
  
-  Add expiry value to the xavp.                                      +Added **path** value to xavp_rcd location record
-    handy if Kamailio for some reason changes the expiry value (min, max or variations caused by expiry_range)+
  
-==== rtpengine ====+  * https://www.kamailio.org/docs/modules/devel/modules/registrar.html#registrar.p.xavp_rcd
  
-  new 'unidirectional' flag in Sipwise rtpengine +Added **xavp_rcd_mask** parameter to control what values to skip
-    allows kernelization of one-way streams+
  
-==== sca ==== +  https://www.kamailio.org/docs/modules/devel/modules/registrar.html#registrar.p.xavp_rcd_mask
- +
-  new module parameters: +
-    * **onhold_bflag**, if bflag is set skips parsing SDP and sets onhold +
-    * **server_address**, force Contact header address in replies +
- +
-  * sca_call_info_update(): new to/from URI parameters +
-    * skips parsing message for To/From header values and uses URI values from parameters +
-==== sdpops ==== +
- +
-   * new config variable $sdp(body) +
-     * returns the sdp body as raw string                   +
-   * new optional parameter to sdp_remove_line_by_prefix script function +
-     * sdp_remove_line_by_prefix(string //[, mtype]//+
-     * mtype can be provided to apply the operations only to the streams matching m=mtype +
-==== siputils ==== +
-   * new pseudo variables +
-     * $pcv(orig) - returns orig-ioi from P-Charging-Vector header +
-     * $pcv(term) - returns term-ioi from P-Charging-Vector header+
 ===== New in Core ===== ===== New in Core =====
  
-  * print tos value if socket option for it cannot be set +==== Command line arguments ====
-  * skip unusable network interfaces +
-    * no IP addr associated +
-    * address family AF_PACKET+
  
 ==== Interpreter ==== ==== Interpreter ====
  
-A new framework (named kemi - kamailio embedded interface) was added, allowing to writing routing blocks in embedded languages such as Lua or Python: 
- 
-  * http://www.kamailio.org/wiki/devel/config-engines 
 ==== Parameters ==== ==== Parameters ====
-  * log_prefix_mode                                       
-    * If set to 1, then the log prefix is evaluated before/after each config action  
-    * needs to be set when the log_prefix has variables that are different based on the context of config execution 
-      * e.g., $cfg(line)) 
- 
-  * latency_cfg_log                                         
-    * Log message with the duration of executing request route or reply route is printed to syslog 
  
-  * mcast 
-    * Specify interface to join multicast group for multicast listen address 
 ==== Functions ==== ==== Functions ====
  
Line 164: Line 52:
 ==== kamailio.cfg ==== ==== kamailio.cfg ====
  
-  * rr module parameter enable_full_lr now defaults to 0 
-  * no more lr=on in Record-Route 
- 
-  * use t_precheck_trans() to catch retransmissions faster 
- 
-  * drop silently traffic from scanners 
- 
-  * added option to block 401/407 from downstream 
 ===== Tools ===== ===== Tools =====
  
Line 178: Line 58:
 ==== kamctl ==== ==== kamctl ====
  
-  * now interacts with Kamailio via a fifo file using jsonrpcs module +==== kamdbctl ==== 
-    * CTLENGINE is RPCFIFO by default +   
-    * RPCFIFOPATH has to be set to the fifo file created by jsonrpcs module +==== kamcli ====
- +
-  * kamctl rpc command is available for sending raw jsonrpc commands +
-    * see [[http://www.kamailio.org/docs/docbooks/5.0.x/rpc_list/rpc_list.html|documentation]] for all RPC methods +
-    * the prefix s: or i: can be used to enforce type string or int for parameters +
-      * by default forwards number cli parameters as number type in jsonrpc commands+
  
-    kamctl rpc jsonrpc.echo abc 123 
-    kamctl rpc jsonrpc.echo s:abc i:123 
-    kamctl rpc jsonrpc.echo s:888 i:123 
-    kamctl rpc core.version 
features/new-in-devel.txt · Last modified: 2020/06/19 10:22 by linuxmaniac