[Freeswitch-users] UDP vs UDP-NAT

Brian West brian at freeswitch.org
Tue Nov 11 17:25:13 MSK 2014


This is why I said you MUST look at the signaling, That fs_path is where it
will really send the packet on the UDP-NAT registered device.

"sofia global siptrace on" at fs_cli

Place a call, you have some nat/crazyness going on here and you may need to
first make sure the client side stops using port 5060, multiple devices
behind the sane NAT will cause issues when fighting for 5060.  What is the
network topology?

On Tue, Nov 11, 2014 at 8:10 AM, Dion Phillips <dion at openlogic.com.au>
wrote:

>  Thanks Brian
>
> 'Contact:' is as follows
>
> UDP-NAT phones
> ""
> <sip:1002 at 192.168.0.111:5060;fs_nat=yes;fs_path=sip%3A1002%40xxx.xxx.xx.xxx%3A5060>
> <sip:1002 at 192.168.0.111:5060;fs_nat=yes;fs_path=sip%3A1002%40xxx.xxx.xx.xxx%3A5060>
>
> UDP phones
> "" <sip:1000 at xxx.xx.xxx.xxx:5060> <sip:1000 at xxx.xx.xxx.xxx:5060>
>
> (public ip addresses removed for security)
>
> What does that mean as I am not familiar with the internals for FS?
>
> Thanks
> Dion.
>
>
>
>
> On 11/11/14 21:29, Brian West wrote:
>
> Can you look at the registered contacts:
>
>  at fs_cli:
>
>  sofia status profile internal reg
>
>
>
> On Tue, Nov 11, 2014 at 2:25 AM, Dion Phillips <dion at openlogic.com.au>
> wrote:
>
>>  Hi All
>>
>> I have a FS server in the cloud and have phones registering with FS from
>> 2 different locations. From one location, the registration is UDP-NAT and
>> just UDP from the second location.
>>
>> In the FS log, calls to the  UDP connected phones work and they come up
>> with an external IP address (sofia_glue.c:1232
>> sofia/internal/sip:1002 at 203.59.xxx.xxx:5060 sending invite) while the
>> phones on the UDP-NAT site don't work because FS is trying to connect to
>> them via the internal IP address ( sofia_glue.c:1232
>> sofia/internal/sip:1000 at 192.168.0.111:5060 sending invite).
>>
>> The phones on both sites are behind a very standard modem with no port
>> forwarding or NAT setting.
>>
>> What is wrong and how would I fix it?
>>
>> Thanks in advance.
>> Dion.
>>
>> _________________________________________________________________________
>> 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*
> brian at freeswitch.org
>
>
>  *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _________________________________________________________________________
> 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*
brian at freeswitch.org


*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141111/da22272c/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list