Hello,
can you send the backtrace? Locate the core file and do:
gdb /path/to/kamailio /path/to/corefile
bt
Cheers,
Daniel
On 1/4/12 3:39 AM, (by way of noc(a)nelcom-voip.com) wrote:
I've installed kamailio (3.2, 3.2-nightly,
dev-nightly) for debian unstable (wheezy)
using repository at
http://deb.kamailio.org and constantly get a coredump
with this lua code:
-- SIP request routing
function route_request(name)
sr.dbg("routing SIP request from Lua [" .. name .. "]\n")
-- initial checks of SIP request
if sr.maxfwd.process_maxfwd(10)< 0 then
sr.sl.send_reply(483,"Too Many Hops")
return
end
end
I've started with an example at this page
http://kb.asipto.com/kamailio:usage:k32-lua-routing,
and then just reduced the lua script to code above.
If I do comment sr.maxfwd.process_maxfwd(10) it passes. It is impossible to
call sr.modf("mf_maxfwd...") because it says about fixups.
What's wrong?
--
With best regards,
Roman Galeev.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users