User Tools

Site Tools


cookbooks:4.1.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.1.x:core [2013/12/04 00:16]
miconda created
cookbooks:4.1.x:core [2018/08/21 09:27]
henningw
Line 778: Line 778:
 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 938: Line 938:
 ==== 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 1242: Line 1242:
  
 If the internal resolver/cache is enabled you can add/remove records by hand (using sercmd or xmlrpc) using the DNS RPCs, e.g. dns.add_a, If the internal resolver/cache is enabled you can add/remove records by hand (using sercmd or xmlrpc) using the DNS RPCs, e.g. dns.add_a,
-dns.add_srv, dns.delete_a a.s.o. For more info on DNS RPCs see http://sip-router.org/docbook/sip-router/branch/master/rpc_list/rpc_list.html#dns.add_a+dns.add_srv, dns.delete_a a.s.o. For more info on DNS RPCs see http://www.kamailio.org/docs/docbooks/4.1.x/rpc_list/rpc_list.html#dns.add_a
  
 Note: During startup of SIP-Router, before the internal resolver is loaded, the system resolver will be used (it will be used for queries done from module register functions or modparams fixups, but not for queries done from mod_init() or normal fixups).  Note: During startup of SIP-Router, before the internal resolver is loaded, the system resolver will be used (it will be used for queries done from module register functions or modparams fixups, but not for queries done from mod_init() or normal fixups). 
Line 1330: Line 1330:
 If the dns lookup should ignore the remote side's protocol preferences, as indicated by the Order field in the NAPTR records and mandated by RFC 2915. If the dns lookup should ignore the remote side's protocol preferences, as indicated by the Order field in the NAPTR records and mandated by RFC 2915.
  
-    dns_naptr_ignore rfc = yes | no (default yes)+    dns_naptr_ignore_rfc = yes | no (default yes)
  
 ==== dns_retr_no ==== ==== dns_retr_no ====
Line 1496: Line 1496:
 ==== 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_buf_write is not enabled, it has no effect.
  
   tcp_conn_wq_max = bytes (default 32 K)   tcp_conn_wq_max = bytes (default 32 K)
Line 2174: Line 2174:
 return(0) is same as [[devel#exit|exit()]]; return(0) is same as [[devel#exit|exit()]];
  
-In bool expressions:+In boolean expressions:
  
-  * Negative and ZERO is FALSE+  * Negative is FALSE
   * Positive is TRUE   * Positive is TRUE
  
Line 2316: Line 2316:
   * 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).
Line 2651: Line 2651:
   !=      not equal   !=      not equal
   =~      regular expression matching: Note: Posix regular expressions will be used, e.g. use [[:digit:]]{3} instead of \d\d\d   =~      regular expression matching: Note: Posix regular expressions will be used, e.g. use [[:digit:]]{3} instead of \d\d\d
-  !~      regular expression not-matching+  !~      regular expression not-matching (NOT PORTED from Kamailio 1.x - use '!(x =~ y)')
   >       greater   >       greater
   >=      greater or equal   >=      greater or equal
cookbooks/4.1.x/core.txt · Last modified: 2018/08/21 09:27 by henningw