with docker image image: kamailio/kamailio-ci:5.4.4-alpine

added the following config I get err

local_rport=yes

xcc-kamailio    |  0(9) CRITICAL: <core> [core/cfg.y:3592]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 128, column 12: syntax error
xcc-kamailio    |  0(9) CRITICAL: <core> [core/cfg.y:3592]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 128, column 12: unknown config variable
xcc-kamailio    |  0(9) CRITICAL: <core> [core/cfg.y:3589]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 128, column 13-15:
xcc-kamailio    | ERROR: bad config file (3 errors)

with lua routing, I'm sure the following code is touched, but no rport in the request

function ksr_tm_event(evname)
	KSR.info("===== tm module triggered event: " .. evname .. "\n");
	if evname == "tm:local-request" then
		KSR.info("===== add local rport =====\n");
		KSR.add_local_rport();
	end
	return 1;
end
REGISTER sip:x.y.z SIP/2.0.
Via: SIP/2.0/UDP 192.168.7.7:17070;branch=z9hG4bK2474.c07cb8d4000000000000000000000000.0.
To: <sip:xxxx@x.y.z>.
...

maybe I can build master code and try.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.