[SR-Dev] [PATCH 2/2] port from kamailio, r4007
henning.westerholt at 1und1.de
Fri Apr 3 13:25:19 CEST 2009
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).
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
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.
More information about the sr-dev