It can be an ALG problem (https://www.voip-info.org/wiki/view/Routers+SIP+ALG). Try running another sip profile with a different sip port, 5070 for example, and register the phone using this port.

2018-02-18 19:43 GMT-03:00 Sean Devoy <sdevoy@bizfocused.com>:

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@lists.freeswitch.org] On Behalf Of Brian West
Sent: Sunday, February 18, 2018 11:51 AM
To: FreeSWITCH Users Help <freeswitch-users@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@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@XYZ.bizfocused.com>

     From: <sip:34@XYZ.bizfocused.com>;tag=3263080642

     Call-ID: 97742e94-d1dc14228bad9baadd810080f041d179@192.168.2.109

     CSeq: 1 REGISTER

     Contact: <sip:34@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



 

--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

color-facebook-96.pngcolor-twitter-96.png


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



--
Carlos E. Wagner
Tecnólogo em Telecomunicações, OCP, dCAA

Fone: +55 48 9981-0894
Skype: carlos.e.wagner