Module: kamailio
Branch: master
Commit: 1938780339677596bf547794c4b54b7923405166
URL:
https://github.com/kamailio/kamailio/commit/1938780339677596bf547794c4b54b7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-01-10T13:07:58+01:00
app_python3s: restore backup reference to sip msg
---
Modified: src/modules/app_python3s/apy3s_kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1938780339677596bf547794c4b54b7…
Patch:
https://github.com/kamailio/kamailio/commit/1938780339677596bf547794c4b54b7…
---
diff --git a/src/modules/app_python3s/apy3s_kemi.c
b/src/modules/app_python3s/apy3s_kemi.c
index 9eb58146e4c..e00eadd8105 100644
--- a/src/modules/app_python3s/apy3s_kemi.c
+++ b/src/modules/app_python3s/apy3s_kemi.c
@@ -149,6 +149,7 @@ int apy3s_exec_func(sip_msg_t *_msg, char *fname, char *fparam, int
emode)
rval = (int)PyLong_AsLong(pValue);
Py_DECREF(pValue);
+ _sr_apy_env.msg = bmsg;
error:
if(locked) {