On 12/05/15 10:39, Juha Heinanen wrote:
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.
Then setting the default path to modules is broken somehow -- it needs to point where the modules are deployed by installation. Once I get some time, I will see if deb building is not setting some Makefile vars or the Makefile is using the wrong vars.
Cheers, Daniel