<p></p>
<p>with docker image     image: kamailio/kamailio-ci:5.4.4-alpine</p>
<p>added the following config I get err</p>
<p>local_rport=yes</p>
<pre><code>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)
</code></pre>
<p>with lua routing, I'm sure the following code is touched, but no rport in the request</p>
<pre><code>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
</code></pre>
<pre><code>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>.
...
</code></pre>
<p>maybe I can build master code and try.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2639#issuecomment-779816237">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZM7BYHGES2UFGW5CCDS7JS2LANCNFSM4XWIGQUA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOGLCLXMSQ4OUOL2NLS7JS2LA5CNFSM4XWIGQUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFZ5Q2LI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2639#issuecomment-779816237",
"url": "https://github.com/kamailio/kamailio/issues/2639#issuecomment-779816237",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>