Hi<div><br></div><div>I would like to deploy the following scenario:</div><div>- one box as load balancer (LB)</div><div>- two boxes (S1,S2) acting as SIP proxy/registrars</div><div>- LB monitors health of S1 and S2 and routes traffic to them only if they are reachable and working</div>
<div><br></div><div>So example request flow is:</div><div>User -> LB -> S1</div><div><br></div><div>The question is related with local calls (via username or virtual extension).</div><div>When user registers, it sends traffic to LB and gets replies back from LB, it thinks that it's registered to LB not final server.</div>
<div>Most NAT'ed clients would accept inbound requests only from LB IP address, not from S1 or S2. Requests from other IP's will be ignored</div><div><br></div><div>How to configure OpenSIPS to send local call INVITE request via LB box, not directly to the user's location sent in REGISTER contact field?</div>
<div><br></div><div>Kind Regards</div>