This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:5.1.x:core [2017/11/18 17:14] miconda created |
cookbooks:5.1.x:core [2018/11/28 16:29] mslehto [Arithmetic Operations] prevent wiki formatting |
||
---|---|---|---|
Line 238: | Line 238: | ||
* #!ifdef NAME - check if a keyword is defined | * #!ifdef NAME - check if a keyword is defined | ||
* #!ifndef - check if a keyword is not defined | * #!ifndef - check if a keyword is not defined | ||
- | * #!else - swtich | + | * #!else - switch |
* #!endif - end ifdef/ | * #!endif - end ifdef/ | ||
* #!trydef - add a define if not already defined | * #!trydef - add a define if not already defined | ||
Line 792: | Line 792: | ||
Examples of usage: | Examples of usage: | ||
- | * debug=3: print all log messages. This is only usefull | + | * debug=3: print all log messages. This is only useful |
* debug=0: This will only log warning, errors and more critical messages. | * debug=0: This will only log warning, errors and more critical messages. | ||
* debug=-6: This will disable all log messages. | * debug=-6: This will disable all log messages. | ||
Line 1353: | Line 1353: | ||
==== pv_buffer_slots ==== | ==== pv_buffer_slots ==== | ||
- | The number of internal buffer slots to print dynamic strings with pseudo-variables inside. The default value is 10. | + | The number of internal buffer slots to print dynamic strings with pseudo-variables inside. The default value is 40. |
Example of usage: | Example of usage: | ||
Line 1573: | Line 1573: | ||
==== version_table ==== | ==== version_table ==== | ||
- | Set the name of the table holding the table version. | + | Set the name of the table holding the table version. |
Example of usage: | Example of usage: | ||
Line 1814: | Line 1814: | ||
==== tcp_accept_hep3 ==== | ==== tcp_accept_hep3 ==== | ||
- | Enable internal TCP receiving stack to accept HEP3 packets. This option has to be set to **yes** on a Kamailio instance acting as Home SIPCapture server that is supposed to receive HEP3 packets over TCP/TLS. | + | Enable internal TCP receiving stack to accept HEP3 packets. This option has to be set to **yes** on a Kamailio instance acting as Homer SIPCapture server that is supposed to receive HEP3 packets over TCP/TLS. |
Default value is **no**. | Default value is **no**. | ||
Line 1880: | Line 1880: | ||
==== 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 | + | 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 |
tcp_conn_wq_max = bytes (default 32 K) | tcp_conn_wq_max = bytes (default 32 K) | ||
Line 1999: | Line 1999: | ||
==== tcp_wq_max ==== | ==== tcp_wq_max ==== | ||
- | Maximum bytes queued for write allowed globally. It has no effect if tcp_write_buf | + | Maximum bytes queued for write allowed globally. It has no effect if tcp_buf_write |
tcp_wq_max = bytes (default 10 Mb) | tcp_wq_max = bytes (default 10 Mb) | ||
Line 2423: | Line 2423: | ||
adds a tcp port alias for the current connection (if tcp). | adds a tcp port alias for the current connection (if tcp). | ||
- | Usefull | + | Useful |
the same connection this request came from [it could help | the same connection this request came from [it could help | ||
for firewall or nat traversal]. | for firewall or nat traversal]. | ||
Line 3002: | Line 3002: | ||
The route is executed in when a SIP request is sent out. Only a limited number of commands are allowed (drop, if + all the checks, msg flag manipulations, | The route is executed in when a SIP request is sent out. Only a limited number of commands are allowed (drop, if + all the checks, msg flag manipulations, | ||
- | In this route the final destination of the message is available | + | In this route the final destination of the message is available |
This route is executed only when forwarding requests - it is not executed for replies, retransmissions, | This route is executed only when forwarding requests - it is not executed for replies, retransmissions, | ||
Line 3263: | Line 3263: | ||
* ^ : bitwise XOR | * ^ : bitwise XOR | ||
* ~ : bitwise NOT | * ~ : bitwise NOT | ||
- | * << : bitwise left shift | + | * <nowiki><<</ |
- | * >> : bitwise right shift | + | * <nowiki>>></ |
Example: | Example: |