Crash when length($uac_req(callid)) > 128
function send_options()
local KAM_DOMAIN = "192.168.100.131"
-- length(callid) is 129
local callid = "0123456789-0123456789-0123456789-0123456789-0123456789-0123456789-0123456789-0123456789-0123456789-0123456789-0123456789-0000000"
local tu = "sip:1001@" .. KAM_DOMAIN
local sut = "sip:192.168.100.132:5080"
KSR.pv.sets("$uac_req(method)", "OPTIONS")
KSR.pv.sets("$uac_req(callid)", callid)
KSR.pv.sets("$uac_req(furi)", "sip:" .. "kamailio" .. "@" .. KAM_DOMAIN)
KSR.pv.sets("$uac_req(ruri)", tu)
KSR.pv.sets("$uac_req(turi)", tu)
KSR.pv.sets("$uac_req(ouri)", sut)
KSR.pv.seti("$uac_req(evroute)", 1)
KSR.uac.uac_req_send()
end
(paste your log messages here)
(paste your sip traffic here)
https://github.com/kamailio/kamailio/blob/5.5/src/modules/uac/uac_send.c#L425
check len
kamailio -v
Kamailio5.5.4
Debian11
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.