[sr-dev] git:master:6035c30a: misc/examples/kemi: fixed function name to get From-URI
Daniel-Constantin Mierla
miconda at gmail.com
Mon Nov 23 14:24:17 CET 2020
Module: kamailio
Branch: master
Commit: 6035c30aea72d06bf08883677d45f4eb0019f189
URL: https://github.com/kamailio/kamailio/commit/6035c30aea72d06bf08883677d45f4eb0019f189
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2020-11-23T13:48:01+01:00
misc/examples/kemi: fixed function name to get From-URI
---
Modified: misc/examples/kemi/kamailio-basic-kemi-lua.lua
---
Diff: https://github.com/kamailio/kamailio/commit/6035c30aea72d06bf08883677d45f4eb0019f189.diff
Patch: https://github.com/kamailio/kamailio/commit/6035c30aea72d06bf08883677d45f4eb0019f189.patch
---
diff --git a/misc/examples/kemi/kamailio-basic-kemi-lua.lua b/misc/examples/kemi/kamailio-basic-kemi-lua.lua
index 0ddfc82c1e..bddabbaa89 100644
--- a/misc/examples/kemi/kamailio-basic-kemi-lua.lua
+++ b/misc/examples/kemi/kamailio-basic-kemi-lua.lua
@@ -163,13 +163,13 @@ function ksr_route_reqinit()
if KSR.htable.sht_match_name("ipban", "eq", srcip) > 0 then
-- ip is already blocked
KSR.dbg("request from blocked IP - " .. KSR.kx.get_method()
- .. " from " .. KSR.kx.gete_furi() .. " (IP:"
+ .. " from " .. KSR.kx.get_furi() .. " (IP:"
.. srcip .. ":" .. KSR.kx.get_srcport() .. ")\n");
KSR.x.exit();
end
if KSR.pike.pike_check_req() < 0 then
KSR.err("ALERT: pike blocking " .. KSR.kx.get_method()
- .. " from " .. KSR.kx.gete_furi() .. " (IP:"
+ .. " from " .. KSR.kx.get_furi() .. " (IP:"
.. srcip .. ":" .. KSR.kx.get_srcport() .. ")\n");
KSR.htable.sht_seti("ipban", srcip, 1);
KSR.x.exit();
More information about the sr-dev
mailing list