On 10.11.20 15:16, Juha Heinanen wrote:
> I gave --cfg-print a try.  I have this in config:
>
> loadmodule "tls"
> ...
> # -- tls params
> #!ifdef MOD_tls
> modparam("tls", "config", "/etc/sip-proxy/tls.cfg")
> modparam("tls", "cipher_list", "HIGH:!ADH:!AECDH")
> #!endif
>
> # -- tm params
>
> and --cfg-print gave this kind of output:
>
> loadmodule "tls"
> ...
> # -- tls params
>
> # -- tm params
>
> Since tls module is loaded I would have expected tls modparams to show
> up in the output.

It is not aware of the defines pushed from the C code, only those from
command line (e.g., -A) or config file. Maybe these ones related to
loadmodule can be caught in the lex parser, but the others pushed from
the c code after effectively loading the module are not easy to do
unless the flex parsing approach is changed. I am not planning to go
myself that way, but I am open to contributions.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla


_______________________________________________
Kamailio (SER) - Development Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to