<div>Hi,</div><div><br></div><div>I have an opensips 1.8.0 instance on EC2 that is in front of a pair of freeswitch instances. The opensips instance has an elastic IP address. Amazon do a 1:1 NAT on the elastic IP to the instances internal ip.</div><div><br></div><div>When calls hit opensips I do b2b_init_request("refer"); on the initial invite and then load balance between the freeswitch instances (the freeswitches can REFER between each other so I need to b2b the call).</div><div><br></div><div>What I have noticed is that the Contact header being sent back to my client is still incorrect after calling fix_nated_contact() from inside onreply_route (and local_route - I wasn't sure which one was correct) - it's still set to the internal IP of the opensips instance so I don't get ACKs correctly routed and the call terminates after 30s or so.</div><div>I have set 'advertised_address' as the elastic IP address and have added an 'alias' for the internal address.</div><div><br></div><div>Is there some other piece of configuration that I am missing? If it helps I can post my config?</div><div><br></div><div>Thanks in advance.</div><div>Huw</div>