User Tools

Site Tools


features:new-in-5.1.x

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
Next revision Both sides next revision
features:new-in-5.1.x [2017/12/07 23:44]
miconda
features:new-in-5.1.x [2017/12/08 08:35]
miconda
Line 43: Line 43:
   * https://kamailio.org/docs/modules/devel/modules/topos_redis.html   * https://kamailio.org/docs/modules/devel/modules/topos_redis.html
  
-===== New in Old Modules =====+===== KEMI Framework =====
  
-===== acc =====+Most of the modules have the functions exported to KEMI framework. A tutorial is available at: 
 + 
 +  * http://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/ 
 + 
 +This allows writing SIP routing logic in Lua, JavaScript, Python or Squirrel scripting. 
 + 
 +===== New in Old Modules =====
  
 +==== acc ====
  
   * added acc_request(reason, table) - writing acc record to log and db backend (if db_url is set)   * added acc_request(reason, table) - writing acc record to log and db backend (if db_url is set)
Line 57: Line 64:
  
   * support for variables in parameters of cfg functions   * support for variables in parameters of cfg functions
 +  * implemented rpc command to list kemi functions - app_python.api_list
  
 ==== auth_ephemeral ==== ==== auth_ephemeral ====
  
   * added SHA384 as hashing option   * added SHA384 as hashing option
 +
 +==== benchmark ====
 +
 +  * new parameter 'register' - register a timer id at startup
  
 ==== cfg_rpc ==== ==== cfg_rpc ====
Line 69: Line 81:
  
   * added $cfg(route) - return name of routing block for crt action   * added $cfg(route) - return name of routing block for crt action
 +  * corex.debug - rpc command to control debug level
  
 ==== cplc ==== ==== cplc ====
  
   * use route names to set proxy_route modparam   * use route names to set proxy_route modparam
 +
 +==== db_flatstore ====
 +
 +  * added encode delimiter parameter
  
 ==== db_text ==== ==== db_text ====
Line 87: Line 104:
   * new parameter to open some database in read-only   * new parameter to open some database in read-only
   * new parameter to set database journal mode   * new parameter to set database journal mode
 +
 +==== db_unixodbc ====
 +
 +  * added support for async queries
  
 ==== dialplan ==== ==== dialplan ====
Line 116: Line 137:
   * support to sync with multi contacts per message   * support to sync with multi contacts per message
   * new parameter batch_max_msg_size   * new parameter batch_max_msg_size
 +  * tcp keepalive on client connections
 +  * include server_id in replicated contacts
 +
 +==== evapi ====
 +
 +  * added support for dispatcher worker to send cfg event data directly to connected clients
 +  * allow setting max number of clients via parameter max_clients
  
 ==== drouting ==== ==== drouting ====
Line 150: Line 178:
  
   * new rpc command - stats.fetch - get statistics in a json document   * new rpc command - stats.fetch - get statistics in a json document
 +  * setdsturi() supports vars params
  
 ==== lcr ==== ==== lcr ====
Line 155: Line 184:
   * added lcr.load_gws rpc function   * added lcr.load_gws rpc function
   * added possibility to match caller URI userpart to a mtree tvalue   * added possibility to match caller URI userpart to a mtree tvalue
 +
 +==== nat_traversal ====
 +
 +  * handle local generated transactions
 +
 +==== nathelper ====
 +
 +  * allow variables for parameters of nat_uac_test(), fix_nated_sdp() and add_rcv_param()
  
 ==== ndb_redis ==== ==== ndb_redis ====
Line 163: Line 200:
   * added flush_on_reconnect parameter   * added flush_on_reconnect parameter
   * enhanceed access to REDIS replies - support to access array within arrays   * enhanceed access to REDIS replies - support to access array within arrays
 +  * detect argument specifiers for redis_cmd() with three params
  
 ==== p_usrloc ==== ==== p_usrloc ====
Line 221: Line 259:
  
   * apply method_filtering only on initial requests without to-tag   * apply method_filtering only on initial requests without to-tag
 +  * added server_id to pv attributes
  
 ==== rtpengine ==== ==== rtpengine ====
Line 273: Line 312:
   * new rpc command tm.list - list details of active transactions   * new rpc command tm.list - list details of active transactions
   * rpc command tm.clean to clean long time expired transactions (for troubleshooting purposes)   * rpc command tm.clean to clean long time expired transactions (for troubleshooting purposes)
 +  * allow execution of t_continue with callback name
  
 ==== tmx ==== ==== tmx ====
Line 293: Line 333:
   * added more attributes to the result of ul.dump   * added more attributes to the result of ul.dump
   * rpc ul.add can set also received and socket fields   * rpc ul.add can set also received and socket fields
 +  * copy server_id when updating contact in memory
  
 ===== New in Core ===== ===== New in Core =====
Line 298: Line 339:
 ==== Interpreter ==== ==== Interpreter ====
  
 +  * hundreds of functions exported to kemi framework and are available to be executed from scripts running in embedded interpreters (Lua, Python, JavaScript and Squirrel)
 ==== Parameters ==== ==== Parameters ====
  
Line 304: Line 346:
   * mem_safety - now enabled by default   * mem_safety - now enabled by default
   * verbose_startup - control if printing routing tree and udp probing buffer debug messages should be printed at startup   * verbose_startup - control if printing routing tree and udp probing buffer debug messages should be printed at startup
 +  * pv_cache_limit - the limit how many pv declarations in the cache
 +  * pv_cache_action - specify what action to be done when the size of pv cache is exceeded
  
 ==== Functions ==== ==== Functions ====
Line 322: Line 366:
     * if flag set, the data is not sent over the connection     * if flag set, the data is not sent over the connection
     * can be set by drop() inside event_route[tls:connection-out]     * can be set by drop() inside event_route[tls:connection-out]
-  * added rpc command core.module - list the names of loaded modules+  * added rpc command core.modules - list the names of loaded modules 
 +  * handle hep3 over tcp/tls and print first characters if matching hep3 header fails 
 +  * udp - print up to first 100 chars from received packet in debug mode 
 +  * pv - new parameters to control the size of pv cache
  
 ==== kamailio.cfg ==== ==== kamailio.cfg ====
Line 328: Line 375:
   * filter out sip scanner even when anti-flood is not enabled   * filter out sip scanner even when anti-flood is not enabled
   * handle retransmissions also for requests within dialogs   * handle retransmissions also for requests within dialogs
 +  * added log_prefix
 +  * etc - basic and advanced configs relocated to misc/examples/pkg
  
 ===== Tools ===== ===== Tools =====
Line 333: Line 382:
 ==== kamcmd ==== ==== kamcmd ====
  
 +  * larger buffer for receiving the binrcp responses
 ==== kamctl ==== ==== kamctl ====
  
features/new-in-5.1.x.txt · Last modified: 2018/11/23 15:53 by miconda