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

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


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

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

app_python3: exported exec function to KEMI also as execx

---

Modified: src/modules/app_python3/app_python3_mod.c

---

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

---

diff --git a/src/modules/app_python3/app_python3_mod.c b/src/modules/app_python3/app_python3_mod.c
index 464caadb35..92ce10e04f 100644
--- a/src/modules/app_python3/app_python3_mod.c
+++ b/src/modules/app_python3/app_python3_mod.c
@@ -581,6 +581,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_python3"), 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_python3"), 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