<p>Thanks for the explanation, I just wanted to understand the scenario. :-)<br>
So bascically you want to do it to keep the load balancer "in the path".<br>
Yes, the $Ri and $Rp should be (according your example) 4.4.4.4 and 5060.</p>
<p>About the feature request, I just had a quick look to the code. Probably it is necessary to extend the internal "sip_msg" structure for it, to add another receive_info struct and fill it in the core TCP path. Then the evaluation code could be added to the pv module.</p>
<p>Lets wait if other developers want to comment as well, as this would be a change with some more impact (sip_msg is used basically everywhere).</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/2103?email_source=notifications&email_token=ABO7UZKTYUT6GUXNVQ5A723QPHDWLA5CNFSM4JCA6F5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBUWVRY#issuecomment-543779527">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOTDKJMEU74IIBTSHTQPHDWLANCNFSM4JCA6F5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZL2K6NUM6GSCUA5PI3QPHDWLA5CNFSM4JCA6F5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBUWVRY.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/2103?email_source=notifications\u0026email_token=ABO7UZKTYUT6GUXNVQ5A723QPHDWLA5CNFSM4JCA6F5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBUWVRY#issuecomment-543779527",
"url": "https://github.com/kamailio/kamailio/issues/2103?email_source=notifications\u0026email_token=ABO7UZKTYUT6GUXNVQ5A723QPHDWLA5CNFSM4JCA6F5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBUWVRY#issuecomment-543779527",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>