Module: sip-router Branch: master Commit: 15623c21d6c6ae933a993789453e29d610445e2c URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=15623c21...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Sat Sep 18 21:48:07 2010 +0200
kamailio.cfg: added #!ifdef LOCAL_TEST_RUN condition
- if defined, modules are searched in source tree (e.g., start kamailio with -A LOCAL_TEST_RUN) - useful for local testing of config, imported style from ser configs
---
etc/kamailio.cfg | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/etc/kamailio.cfg b/etc/kamailio.cfg index 0d36eeb..0e48dd4 100644 --- a/etc/kamailio.cfg +++ b/etc/kamailio.cfg @@ -164,8 +164,12 @@ pstn.gw_ip = "" desc "PSTN GW Address"
####### Modules Section ########
-#set module path +# set paths to location of modules +#!ifdef LOCAL_TEST_RUN +mpath="modules_k:modules" +#!else mpath="/usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/" +#!endif
#!ifdef WITH_MYSQL loadmodule "db_mysql.so"