Module: kamailio Branch: master Commit: 6ae155ee8ebc0d52fd63f208e57808c1d228f7e0 URL: https://github.com/kamailio/kamailio/commit/6ae155ee8ebc0d52fd63f208e57808c1d228f7e0
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2015-12-03T12:29:49+01:00 app_python: use NAME compile flag for default path to the script - reflects better the application name --- Modified: modules/app_python/python_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/6ae155ee8ebc0d52fd63f208e57808c1d228f7e0.diff Patch: https://github.com/kamailio/kamailio/commit/6ae155ee8ebc0d52fd63f208e57808c1d228f7e0.patch --- diff --git a/modules/app_python/python_mod.c b/modules/app_python/python_mod.c index f297069..7cc7a2e 100644 --- a/modules/app_python/python_mod.c +++ b/modules/app_python/python_mod.c @@ -39,7 +39,7 @@ MODULE_VERSION -static str script_name = str_init("/usr/local/etc/sip-router/handler.py"); +static str script_name = str_init("/usr/local/etc/" NAME "/handler.py"); static str mod_init_fname = str_init("mod_init"); static str child_init_mname = str_init("child_init"); _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
