Module: kamailio
Branch: 4.3
Commit: 768be33037f8eefeb3a841e030d3bb3f1be4bb9e
URL:
https://github.com/kamailio/kamailio/commit/768be33037f8eefeb3a841e030d3bb3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-12-17T09:32:40+01:00
app_python: use NAME compile flag for default path to the script
- reflects better the application name
(cherry picked from commit 6ae155ee8ebc0d52fd63f208e57808c1d228f7e0)
---
Modified: modules/app_python/python_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/768be33037f8eefeb3a841e030d3bb3…
Patch:
https://github.com/kamailio/kamailio/commit/768be33037f8eefeb3a841e030d3bb3…
---
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");