Thanks for the explanation, I just wanted to understand the scenario. :-)
So bascically you want to do it to keep the load balancer "in the path".
Yes, the $Ri and $Rp should be (according your example) 4.4.4.4 and 5060.
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.
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).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2103#issuecomment-543779527