Module: kamailio
Branch: master
Commit: 6ae155ee8ebc0d52fd63f208e57808c1d228f7e0
URL:
https://github.com/kamailio/kamailio/commit/6ae155ee8ebc0d52fd63f208e57808c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
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/6ae155ee8ebc0d52fd63f208e57808c…
Patch:
https://github.com/kamailio/kamailio/commit/6ae155ee8ebc0d52fd63f208e57808c…
---
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");