Module: kamailio
Branch: master
Commit: e44f8cb0bd217cc9a9d619ae031cfeb9933fc582
URL:
https://github.com/kamailio/kamailio/commit/e44f8cb0bd217cc9a9d619ae031cfeb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-21T14:59:14+02:00
app_python3s: use global parameter for request route callback
---
Modified: src/modules/app_python3s/apy3s_kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e44f8cb0bd217cc9a9d619ae031cfeb…
Patch:
https://github.com/kamailio/kamailio/commit/e44f8cb0bd217cc9a9d619ae031cfeb…
---
diff --git a/src/modules/app_python3s/apy3s_kemi.c
b/src/modules/app_python3s/apy3s_kemi.c
index b5041bba4ef..38c67b9e1d5 100644
--- a/src/modules/app_python3s/apy3s_kemi.c
+++ b/src/modules/app_python3s/apy3s_kemi.c
@@ -182,7 +182,7 @@ int sr_kemi_config_engine_python(
ret = apy3s_exec_func(
msg, rname->s, (rparam && rparam->s) ? rparam->s : NULL, 0);
} else {
- ret = apy3s_exec_func(msg, "ksr_request_route", NULL, 1);
+ ret = apy3s_exec_func(msg, kemi_request_route_callback.s, NULL, 1);
}
} else if(rtype == CORE_ONREPLY_ROUTE) {
if(kemi_reply_route_callback.len > 0) {