Module: kamailio
Branch: master
Commit: 42f53e1ca7b0a5e246d470f7cf0b26aeca9b9c2a
URL:
https://github.com/kamailio/kamailio/commit/42f53e1ca7b0a5e246d470f7cf0b26a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-04-03T10:11:51+02:00
app_lua: updated to use kemi api sr_kemi_core_set_drop()
---
Modified: src/modules/app_lua/app_lua_sr.c
---
Diff:
https://github.com/kamailio/kamailio/commit/42f53e1ca7b0a5e246d470f7cf0b26a…
Patch:
https://github.com/kamailio/kamailio/commit/42f53e1ca7b0a5e246d470f7cf0b26a…
---
diff --git a/src/modules/app_lua/app_lua_sr.c b/src/modules/app_lua/app_lua_sr.c
index 72d2eb0ddf..f6155dc741 100644
--- a/src/modules/app_lua/app_lua_sr.c
+++ b/src/modules/app_lua/app_lua_sr.c
@@ -1769,7 +1769,7 @@ static int sr_kemi_lua_drop (lua_State *L)
str *s;
LM_DBG("script drop call\n");
- sr_kemi_core_drop(NULL);
+ sr_kemi_core_set_drop(NULL);
s = sr_kemi_lua_exit_string_get();
lua_getglobal(L, "error");
lua_pushstring(L, s->s);