<p>I seem to have made some good progress:</p>
<pre><code>10(20) INFO: {1 1 INVITE 6f350846ab60b1d60295d17268df1605@0.0.0.0} <script>: $si:$sp==35.156.191.128:42759, $Ri:$Rp==100.118.0.3:5060, $RAi:$RAp==staging-sip.dixa.io:5060
</code></pre>
<p><code>$si</code> and <code>$sp</code> are correct, and refer to the client details outside of the ELB. However, for some reason, <code>$Ri</code> and <code>$Rp</code> still refers to the bind-address, even though I do override the <code>dst</code> parts of the code. There's probably something I'm missing.</p>
<p>I'll submit the PR for review in a bit. <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=184809" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/miconda">@miconda</a> Do you prefer that I squash all commits into a single one, or just clean up the commits into logical chunks?</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/1757#issuecomment-446996145">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZW3yteqB7xZXH0vi5KKv9696v3v3ks5u4mn4gaJpZM4ZGo-t">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZTyStGewxDkoAjf86wkLtoZbmRBaks5u4mn4gaJpZM4ZGo-t.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@teotwaki in #1757: I seem to have made some good progress:\r\n\r\n```\r\n10(20) INFO: {1 1 INVITE 6f350846ab60b1d60295d17268df1605@0.0.0.0} \u003cscript\u003e: $si:$sp==35.156.191.128:42759, $Ri:$Rp==100.118.0.3:5060, $RAi:$RAp==staging-sip.dixa.io:5060\r\n```\r\n\r\n`$si` and `$sp` are correct, and refer to the client details outside of the ELB. However, for some reason, `$Ri` and `$Rp` still refers to the bind-address, even though I do override the `dst` parts of the code. There's probably something I'm missing.\r\n\r\nI'll submit the PR for review in a bit. @miconda Do you prefer that I squash all commits into a single one, or just clean up the commits into logical chunks?"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1757#issuecomment-446996145"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1757#issuecomment-446996145",
"url": "https://github.com/kamailio/kamailio/issues/1757#issuecomment-446996145",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>