Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 72, Issue 66
Thanks Dave, We already tried "NDLB-connectile-dysfunction=true" as the client (Yealink T28P) is not using rport in its VIA header. But still no luck freeswitch still sending the response to the port in Contact header (5062) instead of the recieving port (14335). 5062 port is actually not valid as the client is behind NAT and only can get the response if freeswitch will send it to 14335 port. Do you have any other idea about this? :-( ......... Regards, Belint
---------- Forwarded message ---------- From: "Dave R. Kompel" <drk@drkngs.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Cc: Date: Thu, 07 Jun 2012 21:35:56 -0700 Subject: Re: [Freeswitch-users] Freeswitch is responding to contact's port when client behind NAT ** Sorry for the long delay, but here's your answer:
It's going to go to the address in the un-altered VIA header, unless RPORT gets sent it the VIA. If you have agressive_nat_detection turned on, and the client puts RPORT in the via, it will work fine. If you have a broken device that won't do it, then set the variable "NDLB-connectile-dysfunction=true" in the users directory enter (XML) or other, what ever you are using. That will cause the contact to be re-written to the transport address from where it came (both ip address and port) and the response will also be sent there.
--Dave
------------------------------ *From:* BELint Inc [mailto:belintinc@gmail.com] *To:* freeswitch-users@lists.freeswitch.org *Sent:* Thu, 07 Jun 2012 10:56:07 -0700 *Subject:* Re: [Freeswitch-users] Freeswitch is responding to contact's port when client behind NAT
Does any one know its solutions, Guys please help, its urgent. I am even unable to register my phones :-(
Regards,
On Thu, Jun 7, 2012 at 9:20 AM, BELint Inc <belintinc@gmail.com> wrote:
Hi All,
We`ve been using freeswitch since very long, It was good all over but it got stuck to a simple yet complex situation. We have Yealink T28P series phones behind NAT and freeswitch is unable to get them register. In the scenario freeswitch is at public IP. The reason we think is that freeswitch is using sip port in contact header to respond to.
Is there anyway we can avoid this or force it to always send the response to destination IP instead of contact or via header ports because clients are behind NAT and response can only reach them if it respond to destination IP & PORT.
Please revert if someone know how to solve this problem. It is very urgent.
Regards BELint
um this is the purpose of rport, enable it on the endpoint for pain relief. Sent from my iPad On Jun 9, 2012, at 9:59 AM, BELint Inc <belintinc@gmail.com> wrote: Thanks Dave, We already tried "NDLB-connectile-dysfunction=true" as the client (Yealink T28P) is not using rport in its VIA header. But still no luck freeswitch still sending the response to the port in Contact header (5062) instead of the recieving port (14335). 5062 port is actually not valid as the client is behind NAT and only can get the response if freeswitch will send it to 14335 port. Do you have any other idea about this? :-( ......... Regards, Belint
Brian, There are still some devices that are broken, and won't send RPORT. It sux... --Dave _____ From: Brian West [mailto:brian@freeswitch.org] To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] Sent: Sat, 09 Jun 2012 11:42:43 -0700 Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 72, Issue 66 um this is the purpose of rport, enable it on the endpoint for pain relief. Sent from my iPad On Jun 9, 2012, at 9:59 AM, BELint Inc <belintinc@gmail.com> wrote: Thanks Dave, We already tried "NDLB-connectile-dysfunction=true" as the client (Yealink T28P) is not using rport in its VIA header. But still no luck freeswitch still sending the response to the port in Contact header (5062) instead of the recieving port (14335). 5062 port is actually not valid as the client is behind NAT and only can get the response if freeswitch will send it to 14335 port. Do you have any other idea about this? :-( ......... Regards, Belint
Set NDLB-force-rport on FS... see the wiki for this common issue (btw please send a reply on the actual thread not the digest). Brian Foster Endigo Computer LLC Sent from a mobile device. On Jun 9, 2012 2:56 PM, "Dave R. Kompel" <drk@drkngs.net> wrote:
** Brian,
There are still some devices that are broken, and won't send RPORT. It sux...
--Dave
------------------------------ *From:* Brian West [mailto:brian@freeswitch.org] *To:* FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] *Sent:* Sat, 09 Jun 2012 11:42:43 -0700 *Subject:* Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 72, Issue 66
um this is the purpose of rport, enable it on the endpoint for pain relief.
Sent from my iPad
On Jun 9, 2012, at 9:59 AM, BELint Inc <belintinc@gmail.com> wrote:
Thanks Dave,
We already tried "NDLB-connectile-dysfunction=true" as the client (Yealink T28P) is not using rport in its VIA header. But still no luck freeswitch still sending the response to the port in Contact header (5062) instead of the recieving port (14335). 5062 port is actually not valid as the client is behind NAT and only can get the response if freeswitch will send it to 14335 port.
Do you have any other idea about this? :-( .........
Regards, Belint
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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
Yes, that can also work, but I wouldn't do that on the main profile you're using. I would set up one running on a different port, just for the devices that need it. That way it won't mess up your clients that work right. --Dave _____ From: Brian Foster [mailto:bdfoster@endigotech.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] Sent: Sat, 09 Jun 2012 11:59:31 -0700 Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 72, Issue 66 Set NDLB-force-rport on FS... see the wiki for this common issue (btw please send a reply on the actual thread not the digest). Brian Foster Endigo Computer LLC Sent from a mobile device. On Jun 9, 2012 2:56 PM, "Dave R. Kompel" <drk@drkngs.net> wrote: Brian, There are still some devices that are broken, and won't send RPORT. It sux... --Dave _____ From: Brian West [mailto:brian@freeswitch.org] To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] Sent: Sat, 09 Jun 2012 11:42:43 -0700 Subject: Re: [Freeswitch-users] FreeSWITCH-users Digest, Vol 72, Issue 66 um this is the purpose of rport, enable it on the endpoint for pain relief. Sent from my iPad On Jun 9, 2012, at 9:59 AM, BELint Inc <belintinc@gmail.com> wrote: Thanks Dave, We already tried "NDLB-connectile-dysfunction=true" as the client (Yealink T28P) is not using rport in its VIA header. But still no luck freeswitch still sending the response to the port in Contact header (5062) instead of the recieving port (14335). 5062 port is actually not valid as the client is behind NAT and only can get the response if freeswitch will send it to 14335 port. Do you have any other idea about this? :-( ......... Regards, Belint _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com Join Us At ClueCon - Aug 7-9, 2012 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
participants (4)
-
BELint Inc
-
Brian Foster
-
Brian West
-
Dave R. Kompel