On Friday 03 April 2009, Andrei Pelinescu-Onciul wrote:
- when only
module.so is given to loadmodule and mpath is set,
try mpath/module/module.so if mpath/module.so is not found
- useful when runing from sources tree
- small adaptions because of renames in kamailio
How is this different from loadpath?
We already have loadpath that does something similar (one difference is
that the module must not end in .so if loadpath is to be applied).
Hi Andrei,
i was not aware of this loadpath stuff, even if i noticed it in the parser.
I've searched for this on
iptel.org in the documentation search and also with
google, but did not found something. Is there a reference somewhere of this
SER core parameters, for the future?
I've tested the loadpath, there is one difference. If you specify
loadpath "modules/"
loadmodule "tm"
It will only try to load "modules/tm.so". This patchs added supports that it
also tries to load "modules/tm/tm.so" if its not found in the first location,
which is really handy if you run kamailio from a source tree. It necessary to
change it to use the loadpath, though.
Cheers,
Henning