[Freeswitch-users] NAT port problem

Brian West brian at freeswitch.com
Mon Feb 19 13:07:38 UTC 2018


In this case its probably not an ALG, you should enable rport in your
device and NOT force it with the NDLB param, if your device doesn't support
it, throw that device in the trash or take a hammer to it, and buy a device
from a manufacture that actually made an effort to implement SIP.

/b


On Mon, Feb 19, 2018 at 6:10 AM, Carlos Eduardo <kaduww at gmail.com> wrote:

> 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 at 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-bounc
>> es 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>
>> 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 <(32)%206308-0642>
>>
>>      Call-ID: 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
>> 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
>> 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 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
>>
>> Mobile: 918-424-9378 <(918)%20424-9378>
>>
>> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>>
>> [image: color-facebook-96.png] <https://www.facebook.com/freeswitch/>[image:
>> color-twitter-96.png]
>> <https://twitter.com/freeswitch?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> 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*
>
> *E-mail:* *kaduww at gmail.com <kaduww at gmail.com>*
> *Fone:* +55 48 9981-0894 <+55%2048%209981-0894>
> *Skype:* carlos.e.wagner
> www.blogdovoip.com
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> 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
> 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 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

Mobile: 918-424-9378

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

[image: color-facebook-96.png] <https://www.facebook.com/freeswitch/>[image:
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/20180219/305ec36c/attachment-0001.html>


More information about the FreeSWITCH-users mailing list