[Freeswitch-users] Local vs external IP

Peter Olsson peter.olsson at visionutveckling.se
Sun Oct 14 11:45:55 MSD 2012


This should work by default. It's handled by the sofia profile parameter, local-network-acl, which should be set to localnet.auto by default.

You will find more info on the wiki, search for ACL's and sofia profile parameters.

/Peter

14 okt 2012 kl. 07:15 skrev "Malay Thakershi" <mthakershi at gmail.com<mailto:mthakershi at gmail.com>>:

Hello,

How do I make FreeSwitch treat certain IP as local network IP address? The freeswitch server seems to not understand that 10.25.20.x is an internal network.

>From what I read, FreeSwitch has settings for local addresses and external addresses.  When it talks to non-local hosts it should tell them to reply to the external addresses.  In my configuration, it does this just fine.  When it talks to hosts on internal networks it should use its internal address.  Instead it is telling internal hosts to communicate with it via its external address.  This is causing a call setup failure.

My network IP config:
Ethernet adapter Local Area Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 10.25.20.202
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.25.20.1

Ethernet adapter VirtualBox Host-Only Network:

   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : xxxxxxxxxxxxxxxxxxxx
   IPv4 Address. . . . . . . . . . . : 192.168.56.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Thanks for help.

Malay Thakershi
!DSPAM:507a46b332765484538074!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org


!DSPAM:507a46b332765484538074!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list