User Tools

Site Tools


cookbooks:devel:core

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
cookbooks:devel:core [2020/04/09 11:15]
miconda [Command Line Parameters]
cookbooks:devel:core [2020/08/13 14:59]
miconda [latency_limit_action]
Line 1: Line 1:
-====== Kamailio SIP Server v5.4.x (devel): Core Cookbook ======+====== Core Cookbook ======
  
 +Version: Kamailio SIP Server v5.5.x (devel)
 ===== Overview ===== ===== Overview =====
  
Line 1025: Line 1026:
 ==== latency_limit_action ==== ==== latency_limit_action ====
  
-Limit of latency in ms for config actions. If a config action executed by cfg interpreter takes longer than its value, a message is printed in the logs, showing config path, line and action name when it is a module function, as well as internal action id.+Limit of latency in us (micro-seconds) for config actions. If a config action executed by cfg interpreter takes longer than its value, a message is printed in the logs, showing config path, line and action name when it is a module function, as well as internal action id.
  
 Default value is 0 (disabled). Default value is 0 (disabled).
Line 1543: Line 1544:
 ==== route_locks_size ==== ==== route_locks_size ====
  
-Set the number of mutex locks to be used for synchronizing the execution of messages sharing the same Call-Id. In other words, enables Kamailio to execute the config script sequentially for the requests and replies received within the same dialog -- a new message received within the same dialog waits until the previous one is routed out.+Set the number of mutex locks to be used for synchronizing the execution of config script for messages sharing the same Call-Id. In other words, enables Kamailio to execute the config script sequentially for the requests and replies received within the same dialog -- a new message received within the same dialog waits until the previous one is routed out.
  
 For smaller impact on parallel processing, its value it should be at least twice the number of Kamailio processes (all children processes). For smaller impact on parallel processing, its value it should be at least twice the number of Kamailio processes (all children processes).
Line 1680: Line 1681:
  
  
 +==== stats_name_separator ====
  
 +Specify the character used as a separator for the internal statistics' names. 
 +Default value is "_".
  
 +Example of usage:
 +
 +    stats_name_separator = "-"
  
 ==== tos ==== ==== tos ====
Line 3680: Line 3687:
 </code> </code>
  
-==== Log Engine ====+==== Log Engine CLI Parameter ====
  
 The **--log-engine** parameter allows to specify what logging engine to be used, which is practically about the format of the log messages. If not set at all, then Kamailio does the classic style of line-based plain text log messages. The **--log-engine** parameter allows to specify what logging engine to be used, which is practically about the format of the log messages. If not set at all, then Kamailio does the classic style of line-based plain text log messages.
Line 3696: Line 3703:
       * **N** - do not add EOL at the end of JSON document       * **N** - do not add EOL at the end of JSON document
  
-Example of JSON logs when running Kamailio with **--log-engine=json:M**:+Example of JSON logs when running Kamailio with "**--log-engine=json:M**:
  
 <code> <code>
cookbooks/devel/core.txt ยท Last modified: 2022/04/11 17:10 by bkaufman