User Tools

Site Tools


cookbooks:5.3.x: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
cookbooks:5.3.x:core [2019/10/30 09:49]
127.0.0.1 external edit
cookbooks:5.3.x:core [2020/07/17 08:09] (current)
miconda [Kamailio SIP Server v5.3.x (stable): Core Cookbook]
Line 1: Line 1:
-====== Kamailio SIP Server v5.3.x (stable): Core Cookbook ======+====== Core Cookbook ======
  
 +Version: Kamailio SIP Server v5.3.x (stable)
 ===== Overview ===== ===== Overview =====
  
Line 1020: Line 1021:
 ==== 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 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 1574: Line 1575:
 ==== sip_warning (noisy feedback) ==== ==== sip_warning (noisy feedback) ====
  
-Can be 0 or 1. If set to 1 (default value) a 'Warning' header is added to each reply generated by Kamailio.+Can be 0 or 1. If set to 1 (default value is 0) a 'Warning' header is added to each reply generated by Kamailio.
 The header contains several details that help troubleshooting using the network traffic dumps, but might reveal details of your network infrastructure and internal SIP routing. The header contains several details that help troubleshooting using the network traffic dumps, but might reveal details of your network infrastructure and internal SIP routing.
  
Line 1766: Line 1767:
   ...   ...
   $xavp(customvia=>address) = "1.2.3.4";   $xavp(customvia=>address) = "1.2.3.4";
-  $xavp(customvia=>port) = "5080";  # must be string+  $xavp(customvia[0]=>port) = "5080";  # must be string
   via_use_xavp_fields("1");   via_use_xavp_fields("1");
   t_relay();   t_relay();
Line 2622: Line 2623:
  
 Force to send the message from the specified socket (it _must_ be one of the sockets specified with the "listen" directive). If the protocol doesn't match (e.g. UDP message "forced" to a TCP socket) the closest socket of the same protocol is used. Force to send the message from the specified socket (it _must_ be one of the sockets specified with the "listen" directive). If the protocol doesn't match (e.g. UDP message "forced" to a TCP socket) the closest socket of the same protocol is used.
 +
 +This function does not support pseudo-variables, use the set_send_socket function from the corex module instead. 
  
 Example of usage: Example of usage:
cookbooks/5.3.x/core.1572425381.txt.gz ยท Last modified: 2019/10/30 09:49 by 127.0.0.1