[Freeswitch-users] NAT issue

Spencer Thomason spencer at 5ninesolutions.com
Fri Feb 18 20:12:34 MSK 2011


Hello all,
I'm having a strange NAT problem.  My Freeswitch server has a public  
ip and the endpoints which are Polycom IP 650s are all behind NAT with  
mainly Netgear SRX 5308 routers at multiple locations.  The server is  
on a public class C network and one of the locations has its router on  
the same class C.  I.e x.x.x.7/24-router, x.x.x.240/24-server.  I'm  
only experiencing this with 2 of about 30 extensions.  The first  
endpoint to register from this location gets detected as NAT but the  
others with the ports remapped do not. This maybe explains it better:

Call-ID:    	4feea796-bd96e2ed-e16d27ac at 10.6.71.103
User:       	1103 at x.x.x.240
Contact:    	"user" <sip:1103 at 10.6.71.103;received=x.x.x. 
7:5060;fs_nat=yes;fs_path=sip%3A1103%40x.x.x.7%3A5060>
Agent:      	PolycomSoundPointIP-SPIP_650-UA/3.3.1.0769
Status:     	Registered(UDP-NAT)(unknown) EXP(2011-02-18 11:15:47)  
EXPSECS(1143)
Host:       	pbx10.5ninesolutions.com
IP:         	x.x.x.7
Port:       	5060
Auth-User:  	1103
Auth-Realm: 	pbx10.5ninesolutions.com
MWI-Account:	1103 at x.x.x.x

Call-ID:    	d21b71b2-75baa80d-768c0b08 at 10.6.71.104
User:       	1101 at x.x.x.240
Contact:    	"user" <sip:1101 at 10.6.71.104>
Agent:      	PolycomSoundPointIP-SPIP_650-UA/3.3.1.0769
Status:     	Registered(UDP)(unknown) EXP(2011-02-18 11:16:48)  
EXPSECS(1204)
Host:       	pbx10.5ninesolutions.com
IP:         	x.x.x.7
Port:       	1036
Auth-User:  	1101
Auth-Realm: 	pbx10.5ninesolutions.com
MWI-Account:	1101 at x.x.x.x

Call-ID:    	a74e61a6-1863ea7d-789686c4 at 10.6.71.105
User:       	1102 at x.x.x.240
Contact:    	"user" <sip:1102 at 10.6.71.105>
Agent:      	PolycomSoundPointIP-SPIP_650-UA/3.3.1.0769
Status:     	Registered(UDP)(unknown) EXP(2011-02-18 11:17:23)  
EXPSECS(1239)
Host:       	pbx10.5ninesolutions.com
IP:         	x.x.x.7
Port:       	1036
Auth-User:  	1102
Auth-Realm: 	pbx10.5ninesolutions.com
MWI-Account:	1102 at x.x.x.x

Call-ID:    	100b5148-6a47060a-13c4-50029-c844-22fc4dd3-c844
User:       	1801 at 97.67.110.240
Contact:    	"user" <sip:1801 at 10.6.71.106:5060>
Agent:      	MP201 B 1FXS/3.0.1_build_19
Status:     	Registered(UDP)(unknown) EXP(2011-02-18 11:26:23)  
EXPSECS(1779)
Host:       	pbx10.5ninesolutions.com
IP:         	97.67.110.7
Port:       	1036
Auth-User:  	1801
Auth-Realm: 	pbx10.5ninesolutions.com
MWI-Account:	1801 at x.x.x.x

-------  Another Location ----

Call-ID:    	dca2a276-4eb94f97-c55177b0 at 10.1.10.186
User:       	4204 at x.x.x.240
Contact:    	"user" <sip:4204 at 10.1.10.186;received=x.x.x.x: 
5060;fs_nat=yes;fs_path=sip%3A4204%40x.x.x.x%3A5060>
Agent:      	PolycomSoundStationIP-SSIP_5000-UA/3.3.1.0769
Status:     	Registered(UDP-NAT)(unknown) EXP(2011-02-18 11:28:04)  
EXPSECS(1880)
Host:       	pbx10.5ninesolutions.com
IP:         	x.x.x.x
Port:       	5060
Auth-User:  	4204
Auth-Realm: 	pbx10.5ninesolutions.com
MWI-Account:	4204 at x.x.x.x

The port and IP are detected correctly but the contact is a private  
IP.  Any clue as to why the two extension 1101 and 1102 are any  
different?

Thanks,
Spencer








More information about the FreeSWITCH-users mailing list