Browse Source

misc/examples/kemi: fixed function name to get From-URI

Daniel-Constantin Mierla 4 năm trước cách đây
mục cha
commit
6035c30aea
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      misc/examples/kemi/kamailio-basic-kemi-lua.lua

+ 2 - 2
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();