Module: kamailio
Branch: master
Commit: 695dc54dc1547fdee18b00cfa8e4d15f047834a5
URL:
https://github.com/kamailio/kamailio/commit/695dc54dc1547fdee18b00cfa8e4d15…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-11-10T07:31:38+01:00
app_python3: enable error log mode for some of missing callback functions
- tm-specific callbacks should trigger error log messages if not found
---
Modified: src/modules/app_python3/apy_kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/695dc54dc1547fdee18b00cfa8e4d15…
Patch:
https://github.com/kamailio/kamailio/commit/695dc54dc1547fdee18b00cfa8e4d15…
---
diff --git a/src/modules/app_python3/apy_kemi.c b/src/modules/app_python3/apy_kemi.c
index 339d505cdda..2d271b2e271 100644
--- a/src/modules/app_python3/apy_kemi.c
+++ b/src/modules/app_python3/apy_kemi.c
@@ -71,19 +71,19 @@ int sr_kemi_config_engine_python(
}
} else if(rtype == BRANCH_ROUTE) {
if(rname != NULL && rname->s != NULL) {
- ret = apy_exec(msg, rname->s, NULL, 0);
+ ret = apy_exec(msg, rname->s, NULL, 1);
}
} else if(rtype == FAILURE_ROUTE) {
if(rname != NULL && rname->s != NULL) {
- ret = apy_exec(msg, rname->s, NULL, 0);
+ ret = apy_exec(msg, rname->s, NULL, 1);
}
} else if(rtype == BRANCH_FAILURE_ROUTE) {
if(rname != NULL && rname->s != NULL) {
- ret = apy_exec(msg, rname->s, NULL, 0);
+ ret = apy_exec(msg, rname->s, NULL, 1);
}
} else if(rtype == TM_ONREPLY_ROUTE) {
if(rname != NULL && rname->s != NULL) {
- ret = apy_exec(msg, rname->s, NULL, 0);
+ ret = apy_exec(msg, rname->s, NULL, 1);
}
} else if(rtype == ONSEND_ROUTE) {
if(kemi_onsend_route_callback.len > 0) {