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