[arm-allstar] spanning config parameters over multiple lines
David McGough
kb4fxc at inttek.net
Thu Apr 21 08:30:21 EDT 2022
Barry,
As I said: "Splitting lines using a backslash isn't proper syntax."
What I was implying is that the asterisk file parser doesn't support
splitting lines using a backslash.
73, David K4FXC
On Thu, 21 Apr 2022, Barry Jackson wrote:
> 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