[Freeswitch-users] Public IP in Contact header

Hynek Cihlar hynek.cihlar at gmail.com
Wed Nov 2 15:39:41 MSK 2011


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 at 178.238.X.Y:5060
BIND-URL                sip:mod_sofia at 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 at 32000h,G7221 at 16000h,G722
CODECS OUT              PCMA,PCMU,GSM,G7221 at 32000h,G7221 at 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 at 192_168_59_102
User:           1 at ribtjuhd
Contact:        "383372XYZ" <sip:1 at 192.168.59.111:5060>
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 at ribtjuhd




Thanks!

Hynek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111102/81144c04/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list