[sr-dev] git:master:d77cff5f: app_python: exported exec function to KEMI also as execx

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 25 09:21:23 CET 2019


Module: kamailio
Branch: master
Commit: d77cff5f89889d8fae704b247fc9cc954182062d
URL: https://github.com/kamailio/kamailio/commit/d77cff5f89889d8fae704b247fc9cc954182062d

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-02-25T09:19:34+01:00

app_python: exported exec function to KEMI also as execx

---

Modified: src/modules/app_python/app_python_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/d77cff5f89889d8fae704b247fc9cc954182062d.diff
Patch: https://github.com/kamailio/kamailio/commit/d77cff5f89889d8fae704b247fc9cc954182062d.patch

---

diff --git a/src/modules/app_python/app_python_mod.c b/src/modules/app_python/app_python_mod.c
index 92f05028b2..e901c91412 100644
--- a/src/modules/app_python/app_python_mod.c
+++ b/src/modules/app_python/app_python_mod.c
@@ -542,6 +542,11 @@ static sr_kemi_t sr_kemi_app_python_exports[] = {
 		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
 			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
 	},
+	{ str_init("app_python"), str_init("execx"),
+		SR_KEMIP_INT, ki_app_python_exec,
+		{ SR_KEMIP_STR, SR_KEMIP_NONE, SR_KEMIP_NONE,
+			SR_KEMIP_NONE, SR_KEMIP_NONE, SR_KEMIP_NONE }
+	},
 	{ str_init("app_python"), str_init("exec_p1"),
 		SR_KEMIP_INT, ki_app_python_exec_p1,
 		{ SR_KEMIP_STR, SR_KEMIP_STR, SR_KEMIP_NONE,




More information about the sr-dev mailing list