You can configure the lookup path for the lua library in kamailio.lua
------
local cur_dir = debug.getinfo(1).source
cur_dir = string.gsub(debug.getinfo(1).source, "^@(.+/)kamailio.lua$", "%1")
package.path = package.path .. ";" .. cur_dir .. "?.lua"
package.path = package.path .. ";" .. cur_dir .. "routing/?.lua"
local utils = require 'logger'
---------
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: