[sr-dev] [kamailio/kamailio] Dump Configuration and Exit (new flag -C [filename]) (#2546)

Juha Heinanen jh at tutpro.com
Tue Nov 10 14:52:38 CET 2020


Daniel-Constantin Mierla writes:

> So for now, if someone doesn't want the #!KAMAILIO (or the other
> variants) in the first line, can add it temporarily only when it uses
> the --cfg-print, then remove it. Of course, if someone wants to look
> more into it, is more than welcome to make pull requests.

It is OK to have that in the first line, but my question was, can there
be something else on the first line after #!KAMAILIO?  So is the test

  first_line == "#!KAMAILIO"

or

  starts_with(first_line, "#!KAMAILIO")

?

-- juha




More information about the sr-dev mailing list