[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 17:05:57 MSD 2011


Hi Randy,
Thanks for the advice.

In general yes, there are always some options to be considered.

But mostly I am curious now - is Windows Internet gateway really not
following the standards, or it is just a matter of proper configuration?

Vitalie


2011/4/6 Randy Andrade <randy.andrade at gmail.com>

> Is there no option of putting an inexpensive switch or router in front of
> the Windows PC to perform Internet Gateway function? It would probably be
> the preferred methodology.
>
> On Wed, Apr 6, 2011 at 8:49 AM, Vitalii Colosov <vetali100 at gmail.com>wrote:
>
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110406/148371f2/attachment-0001.html 


More information about the FreeSWITCH-users mailing list