[SR-Dev] [PATCH 2/2] port from kamailio, r4007

Henning Westerholt henning.westerholt at 1und1.de
Fri Apr 3 13:42:43 CEST 2009


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



More information about the sr-dev mailing list