[Freeswitch-users] NAT port problem

Sean Devoy sdevoy at bizfocused.com
Sun Feb 18 22:43:17 UTC 2018


Thanks Brian.  I should have been more clear.  That was exactly my diagnosis and attempted fix using this line:
<param name="NDLB-force-rport" value="true"/>
in the <param> section of the <user> in the Directory file has no effect.

That means one of two things.  I am putting it in the wrong file or I must bite the bullet and get FS up to the current version.

Thanks again.

From: FreeSWITCH-users [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Sunday, February 18, 2018 11:51 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] NAT port problem

Enable rport, The issue was from 15183 and we respond to 5074, so the device never receives the 401.

Nat 101

/b


On Sun, Feb 18, 2018 at 11:28 AM, Sean Devoy <sdevoy at bizfocused.com<mailto:sdevoy at bizfocused.com>> wrote:
HI all,

I have a NAT problem I can’t seem to get past.  The phone is NATed.  From my location with a FIOS router it works fine.  But the client recently upgraded to a new SonicWall router and splat, this device failed.  There are about 10 Cisco phones at this location working fine.  This phone is a Panasonic KX-TGP550.

I have poured over the sip logs and identified the problem.  The sip packets come from the router IP and port 15xxx but are returned to that IP and the phone’s source port 5060 instead of 15xxx.

I have tried every NDLB feature I can find, but not every combination. The responses always go back to the wrong port.

Any help would be greatly appreciated.

Thanks,
Sean

Sample sip dump:
    ------------------------------------------------------------------------
recv 492 bytes from udp/[98.204.241.22]:15183 at 23:16:33.764217:
   ------------------------------------------------------------------------
     REGISTER sip:XYZ.bizfocused.com:5060 SIP/2.0
     Via: SIP/2.0/UDP 192.168.2.109:5074;branch=z9hG4bKb6be703b
     Max-Forwards: 70
     To: <sip:34 at XYZ.bizfocused.com>
     From: <sip:34 at XYZ.bizfocused.com>;tag=3263080642
     Call-ID: 97742e94-d1dc14228bad9baadd810080f041d179 at 192.168.2.109<mailto:97742e94-d1dc14228bad9baadd810080f041d179 at 192.168.2.109>
     CSeq: 1 REGISTER
     Contact: <sip:34 at 192.168.2.109:5074>
     Expires: 3600
     Allow: INVITE,ACK,CANCEL,BYE,OPTIONS,NOTIFY,REFER,UPDATE
     User-Agent: Panasonic_KX-TGP550T04/13.33 (0080f041d179)
     Content-Length: 0

    ------------------------------------------------------------------------
send 669 bytes to udp/[98.204.241.22]:5074 at 23:16:33.764394:
   ------------------------------------------------------------------------
     SIP/2.0 401 Unauthorized



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
[https://docs.google.com/uc?export=download&id=1xswZRZyVDo0WQhaemK47pU266yzDRmi0&revid=0B2xnT7i45ngrMTVKM1dpSHZIN28zU0QzbW9xeVF6RXFyRHhBPQ]

Brian West | Co-founder and Developer

Need Commercial support? email sales at freeswitch.com<mailto:sales at freeswitch.com>

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045<https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>

Email: brian at freeswitch.com<mailto:brian at freeswitch.com>

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com<https://www.freeswitch.com/>

[color-facebook-96.png]<https://www.facebook.com/freeswitch/>[color-twitter-96.png]<https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180218/6bd9a3f8/attachment-0001.html>


More information about the FreeSWITCH-users mailing list