Daniel-Constantin Mierla writes:
'kamailio -I' (uppercase i) is printing several details, including the default path to modules. Maybe that is sufficient for what you need or you can do some shell scripting to extract only the modules path.
i tried that and got:
Default paths to modules: /usr/lib64/sip-proxy/modules
which is incorrect. on this host /usr/lib64 does not exist and modules are installed in
/usr/lib/x86_64-linux-gnu/sip-proxy
looks like i just need to dig via shell commands in init script where the libs are actually installed and then patch the config file accordingly.
-- juha