On Friday 03 April 2009, Jan Janak wrote:
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
loadpath does that too, see sr_module.c:load_module
Jan,
the code is enclosed in a EXTRA_DEBUG define, this is probably the reason that
my test fail. Perhaps we can make the EXTRA_DEBUG case the default, and
remove the #else case?
Cheers,
Henning