User Tools

Site Tools


cookbooks:4.0.x:core:cfg

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cookbooks:4.0.x:core:cfg [2013/06/26 09:34]
poing
cookbooks:4.0.x:core:cfg [2013/06/26 09:39] (current)
poing [Configuration Directives]
Line 16: 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!**</fc>+^  <fc #800000>**Each type of configuration directive uses its own syntax!**</fc>  |
  
   - C-Style Control Directives   - C-Style Control Directives
Line 28: Line 28:
 ==== Comments ==== ==== Comments ====
  
-<fc #FF0000>**The first thing you should understand is the comment syntax used in the configuration file.\\ \\ **</fc>+^  <fc #800000>**The first thing you should understand is the comment syntax used in the configuration file.**</fc>  | 
 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, **//except//** you **can not use** double-slash ( ⁄ ⁄ ) for line comments.  Only the hash (#) may be used for line comments.\\ \\  It closely resembles the PHP style, **//except//** you **can not use** double-slash ( ⁄ ⁄ ) for line comments.  Only the hash (#) may be used for line comments.\\ \\ 
Line 37: Line 38:
 /* This is a ... /* This is a ...
    block comment */</code>  |    block comment */</code>  |
-|<fc #FF0000>**Not a Comment:**</fc><code> // this is NOT a line comment </code>|+|<fc #800000>**Not a Comment:**</fc><code> // this is NOT a line comment </code>|
 |Line Comment:<code c># this is a line comment </code>| |Line Comment:<code c># this is a line comment </code>|
-|**<fc #FF0000>Valid Configuration Directive:</fc>**<code>#!c_style_directive</code>|+|**<fc #800000>Valid Configuration Directive:</fc>**<code>#!c_style_directive</code>|
  
 ----- -----
cookbooks/4.0.x/core/cfg.1372232050.txt.gz · Last modified: 2013/06/26 09:34 by poing