Module: kamailio
Branch: master
Commit: 7e37668208d49cc529bfb920db29e71343b44d8f
URL:
https://github.com/kamailio/kamailio/commit/7e37668208d49cc529bfb920db29e71…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2023-09-21T14:40:08+02:00
app_lua: proper global parameter for request route callback function
- fix of previous commit
---
Modified: src/modules/app_lua/app_lua_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7e37668208d49cc529bfb920db29e71…
Patch:
https://github.com/kamailio/kamailio/commit/7e37668208d49cc529bfb920db29e71…
---
diff --git a/src/modules/app_lua/app_lua_mod.c b/src/modules/app_lua/app_lua_mod.c
index dc1b4184d3b..5a554f03aba 100644
--- a/src/modules/app_lua/app_lua_mod.c
+++ b/src/modules/app_lua/app_lua_mod.c
@@ -111,7 +111,7 @@ int sr_kemi_config_engine_lua(
(rparam && rparam->s) ? rparam->s : NULL, NULL, NULL, 0);
} else {
ret = app_lua_run_ex(
- msg, kemi_reply_route_callback.s, NULL, NULL, NULL, 1);
+ msg, kemi_request_route_callback.s, NULL, NULL, NULL, 1);
}
} else if(rtype == CORE_ONREPLY_ROUTE) {
if(kemi_reply_route_callback.len > 0) {