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

Jan Janak jan at iptel.org
Fri Apr 3 13:53:40 CEST 2009


On 03-04 13:42, Henning Westerholt wrote:
> 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?

Ahh, you are right, I didn't notice this because I was looking at another
version of this file where the EXTRA_DEBUG is gone. Yes, I agree that this
should be made default, feel free to remove the EXTRA_DEBUG

  Jan.



More information about the sr-dev mailing list