This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:5.1.x:core [2018/08/15 21:09] henningw [tcp_wq_max] |
cookbooks:5.1.x:core [2019/02/18 21:26] henningw [Global Parameters Section] |
||
---|---|---|---|
Line 47: | Line 47: | ||
</ | </ | ||
+ | Usually setting a parameter is ended by end of line, but it can be also ended with **;** (semicolon). This should be used when the grammar of a parameter allows values on multiple lines (like **listen** or **alias**) and the next line creates a conflict by being swallowed as part of value for previous parameter. | ||
+ | |||
+ | <code c> | ||
+ | alias=" | ||
+ | </ | ||
+ | |||
+ | If you want to use a reserved config keyword as part of a parameter, you need to enclose it in quotes. See the example below for the keyword " | ||
+ | |||
+ | <code c> | ||
+ | listen=tcp: | ||
+ | </ | ||
==== Modules Settings Section ==== | ==== Modules Settings Section ==== | ||
Line 792: | Line 803: | ||
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 1364: | ||
==== 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 1584: | ||
==== 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 2423: | Line 2434: | ||
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 3013: | ||
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 3274: | ||
* ^ : bitwise XOR | * ^ : bitwise XOR | ||
* ~ : bitwise NOT | * ~ : bitwise NOT | ||
- | * << : bitwise left shift | + | * <nowiki><<</ |
- | * >> : bitwise right shift | + | * <nowiki>>></ |
Example: | Example: |