Hi,
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.
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).
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.
I have set 'advertised_address' as the elastic IP address and have added an
'alias' for the internal address.
Is there some other piece of configuration that I am missing? If it helps I can
post my config?
Thanks in advance.
Huw
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users