This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cookbooks:4.0.x:core:cfg [2013/06/26 09:33] poing [Apache Name/Value Pairs] |
cookbooks:4.0.x:core:cfg [2013/06/26 09:39] (current) poing [Configuration Directives] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <fc # | ||
- | |||
====== The Configuration File ====== | ====== The Configuration File ====== | ||
Line 18: | Line 16: | ||
There are five (5) types of configuration directives used with Kamailio.\\ | There are five (5) types of configuration directives used with Kamailio.\\ | ||
- | <fc #AA0000>**Each type of configuration directive uses its own syntax!**</ | + | ^ |
- C-Style Control Directives | - C-Style Control Directives | ||
Line 30: | Line 28: | ||
==== Comments ==== | ==== Comments ==== | ||
- | <fc #FF0000>**The first thing you should understand is the comment syntax used in the configuration file.\\ \\ **</ | + | ^ |
Comments in the configuration file are a mixture of C-Style (**not C++**) and scripting language syntaxes.\\ | Comments in the configuration file are a mixture of C-Style (**not C++**) and scripting language syntaxes.\\ | ||
It closely resembles the PHP style, **// | It closely resembles the PHP style, **// | ||
Line 39: | Line 38: | ||
/* This is a ... | /* This is a ... | ||
block comment */</ | block comment */</ | ||
- | |<fc #FF0000>**Not a Comment: | + | |<fc #800000>**Not a Comment: |
|Line Comment:< | |Line Comment:< | ||
- | |**<fc #FF0000>Valid Configuration Directive:</ | + | |**<fc #800000>Valid Configuration Directive:</ |
----- | ----- | ||
Line 97: | Line 96: | ||
#!endif | #!endif | ||
</ | </ | ||
+ | |||
----- | ----- | ||
==== Apache Name/Value Pairs ==== | ==== Apache Name/Value Pairs ==== |