Can anybody please point me to settings or a freeswitch state that makes sofia put public IP into the Contact header? Currently I have SIP clients behind NAT registering to freeswitch. Freeswitch registers these clients with their respective private IPs. Bellow is the profile status.
=================================================================================================
Name internal
Domain Name N/A
Auto-NAT false
DBName sofia_reg_internal
Pres Hosts 178.238.X.Y,178.238.X.Y
Dialplan XML
Context default
Challenge Realm auto_from
RTP-IP 178.238.X.Y
Ext-RTP-IP 178.238.X.Y
SIP-IP 178.238.X.Y
Ext-SIP-IP 178.238.X.Y
URL sip:mod_sofia@178.238.X.Y:5060
BIND-URL sip:mod_sofia@178.238.X.Y:5060;maddr=178.238.X.Y
HOLD-MUSIC local_stream://moh
OUTBOUND-PROXY N/A
CODECS IN PCMA,PCMU,GSM,G7221@32000h,G7221@16000h,G722
CODECS OUT PCMA,PCMU,GSM,G7221@32000h,G7221@16000h,G722
TEL-EVENT 101
DTMF-MODE rfc2833
CNG 13
SESSION-TO 0
MAX-DIALOG 0
NOMEDIA false
LATE-NEG false
PROXY-MEDIA false
AGGRESSIVENAT false
STUN-ENABLED true
STUN-AUTO-DISABLE false
CALLS-IN 0
FAILED-CALLS-IN 0
CALLS-OUT 0
FAILED-CALLS-OUT 0
Registrations:
=================================================================================================
Call-ID: 3454998XYZ@192_168_59_102
User: 1@ribtjuhd
Agent: A580 IP/022270000000
Status: Registered(UDP)(unknown) EXP(2011-11-02 13:30:43) EXPSECS(100)
Host: eva
IP: 81.90.X.Y
Port: 22055
Auth-User: 1
Auth-Realm: ribtjuhd
MWI-Account: 1@ribtjuhd