User Tools

Site Tools


cookbooks:4.2.x:core

Differences

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

Link to this comparison view

Next revision
Previous revision
cookbooks:4.2.x:core [2014/10/14 12:33]
miconda created
cookbooks:4.2.x:core [2017/07/24 16:48]
mslehto [loadmodule] typo
Line 495: Line 495:
 Example of usage: Example of usage:
  
 +    advertised_address="1.2.3.4"
     advertised_address="sip-router.org"     advertised_address="sip-router.org"
  
Line 790: Line 791:
 Prototype: **loadmodule "modulepath"** Prototype: **loadmodule "modulepath"**
  
-If modulepath is only modulename or modulename.so, then Kamailio will try to search also for **modulename/modulename.so**, very useful when usining directly the version compiled in the source tree.+If modulepath is only modulename or modulename.so, then Kamailio will try to search also for **modulename/modulename.so**, very useful when using directly the version compiled in the source tree.
  
 Example of usage: Example of usage:
Line 841: Line 842:
 ==== log_name ==== ==== log_name ====
  
-Allows to configure a log_name prefix which will be used when printing to syslog. This is useful to filter log messages when running many instance of sip-router on same server+Allows to configure a log_name prefix which will be used when printing to syslog. This is useful to filter log messages when running many instance of sip-router on same server.
  
 +<code>
 +log_name="kamailio"
 +</code>
 +
 +==== log_prefix ====
 +
 +Specify the text to be prefixed to the log messages printed by Kamailio while processing a SIP message. It can contain script variables that are evaluated at runtime.
 +
 +Example - prefix with message type (1 - request, 2 - response), CSeq and Call-ID:
 +
 +<code>
 +log_prefix="{$mt $hdr(CSeq) $ci} "
 +</code>
  
 ==== log_stderror ==== ==== log_stderror ====
Line 959: Line 973:
 ==== mem_safety ==== ==== mem_safety ====
  
-Ff set to 1, memory free operation does not call abort() for double freeing a pointer or freeing an invalid address. The server still prints the alerting log messages.+If set to 1, memory free operation does not call abort() for double freeing a pointer or freeing an invalid address. The server still prints the alerting log messages.
  
 It can be set via config reload framework. It can be set via config reload framework.
Line 1523: Line 1537:
 ==== tcp_conn_wq_max ==== ==== tcp_conn_wq_max ====
  
-Maximum bytes queued for write allowed per connection. Attempting to queue more bytes would result in an error and in the connection being closed (too slow). If tcp_write_buf is not enabled, it has no effect.+Maximum bytes queued for write allowed per connection. Attempting to queue more bytes would result in an error and in the connection being closed (too slow). If tcp_async is not enabled, it has no effect.
  
   tcp_conn_wq_max = bytes (default 32 K)   tcp_conn_wq_max = bytes (default 32 K)
Line 1640: Line 1654:
 ==== tcp_wq_max ==== ==== tcp_wq_max ====
  
-Maximum bytes queued for write allowed globally. It has no effect if tcp_write_buf is not enabled.+Maximum bytes queued for write allowed globally. It has no effect if tcp_async is not enabled.
  
   tcp_wq_max = bytes (default 10 Mb)   tcp_wq_max = bytes (default 10 Mb)
Line 2287: Line 2301:
   * onreply_route[0] (stateless): equivalent to set_reply_*() (it's better to use set_reply_* though)   * onreply_route[0] (stateless): equivalent to set_reply_*() (it's better to use set_reply_* though)
  
-  * onreply_route[!=0] (tm): ignored+  * onreply_route[!=0] <nowiki>(tm)</nowiki>: ignored
  
   * branch_route: affects the current branch only (all messages sent on this branch, like possible retransmissions and CANCELs).   * branch_route: affects the current branch only (all messages sent on this branch, like possible retransmissions and CANCELs).
cookbooks/4.2.x/core.txt · Last modified: 2017/07/24 16:48 by mslehto