<p></p>
<p dir="auto">Hi,</p>
<p dir="auto">Kamailio 5.5.4 from deb packages</p>
<p dir="auto">I tried to use the lcr function from_gw(lcr_id[, ip_addr, proto])</p>
<p dir="auto">I've declared several gws with different lcr_id</p>
<p dir="auto">Unfortunately from_gw doesn't work with lcr_ids > 1</p>
<p dir="auto">For example :<br>
if (from_gw(2,$si,1)) {<br>
....<br>
}<br>
...</p>
<p dir="auto">ki_from_gw(): invalid lcr_id parameter value 2</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3077">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZO65ANFIEIFYQG2T4TVEPZTRANCNFSM5TCUN7CQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZP3VCHVS27JK76GGBTVEPZTRA5CNFSM5TCUN7C2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4R4CHEMQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3077</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3077",
"url": "https://github.com/kamailio/kamailio/issues/3077",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>