[Freeswitch-users] Need to enable NDLB_force_port to work properly with Windows PC Internet Gateway

Vitalii Colosov vetali100 at gmail.com
Wed Apr 6 16:49:53 MSD 2011


Hi list,

I am testing the following configuration:

Sip ATA adapter (Linksys PAP2) -> Windows PC (Internet Gateway) -> ...
Internet ... -> FreeSWITCH

Sip adapter sends REGISTER to the FS, from port 5060, however Windows
Gateway transfers this packet to FS from a different port (for example
62000).
FS replies to the port 5060 (it looks like it takes it from the SIP text
information).
So Windows Gateway receives the answer to the port 5060, but since it
expects  it to be received in 62000, it looks like it drops the packets.

The only way to fix this, is to set NDLB_force_port= true in the internal
profile configuration file.
In this case, FreeSWITCH replies exactly to the port 62000, and windows
forwards it to the Sip adapter on port 5060.


Do you know whether it is possible to configure Windows to route properly?
Or maybe there is a way to configure the Sip adapter? (Like it will say to
windows PC - hey, don't change the port, use the same as I am using... :))
Or it is a fantastic wish)

Otherwise I will have to create 2 internal sip profiles, one
with NDLB_force_port = true (for those who uses Windows PC as the gateway),
and another with NDLB_force_port = false (for those who use normal routers).
And I need 2 default dialplans, etc... so it complicates the solution.


Thank you,
Vitalie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110406/1a5a8672/attachment.html 


More information about the FreeSWITCH-users mailing list