[arm-allstar] spanning config parameters over multiple lines

Barry Jackson zen25000 at zen.co.uk
Thu Apr 21 08:18:33 EDT 2022


On 21/04/2022 12:57, David McGough wrote:
> 
> Hi Barry,
> 
> The asterisk *.conf files are very rudimentary "INI" style key/value
> files.
> 
> Splitting lines using a backslash isn't proper syntax.  Here are articles
> describing the generalized file format:
> 
> https://en.wikipedia.org/wiki/INI_file

 From your above wikipedia link:

"Some support "line continuation", where a backslash followed 
immediately by EOL (end-of-line) causes the line break to be ignored, 
and the "logical line" to be continued on the next actual line from the 
INI file."

So it is proper syntax but maybe not supported.

> 
> Note that I'm not sure if all the formatting explained in the Wikipedia
> article is supported in Asterisk. The Asterisk version 1.4.x file parser
> is pretty rudimentary.
> 
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+Configuration+Files

Yes that does not help at all :(

Will need to do some testing I guess.

Thanks anyway,

73
Barry

> 
> 
> 73, David K4FXC
> 


More information about the ARM-allstar mailing list