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
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@gmail.com<mailto:mthakershi@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@freeswitch.org<mailto: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 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@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!
Can this be due to DTMF settings? Will it help if I put <param name="dtmf-type" value="rfc2833"/> In my profile? On Sun, Oct 14, 2012 at 2:45 AM, Peter Olsson < peter.olsson@visionutveckling.se> wrote:
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@gmail.com <mailto:mthakershi@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@freeswitch.org<mailto: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
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: FreeSWITCH-users@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!
_________________________________________________________________________ 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
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
No, DTMF won't affect such things. Please read through the ACL stuff I mentioned. This is to tell FS what networks are local or remote. /Peter 14 okt 2012 kl. 18:00 skrev "Malay Thakershi" <mthakershi@gmail.com<mailto:mthakershi@gmail.com>>: Can this be due to DTMF settings? Will it help if I put <param name="dtmf-type" value="rfc2833"/> In my profile? On Sun, Oct 14, 2012 at 2:45 AM, Peter Olsson <peter.olsson@visionutveckling.se<mailto:peter.olsson@visionutveckling.se>> wrote: 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@gmail.com<mailto:mthakershi@gmail.com><mailto:mthakershi@gmail.com<mailto:mthakershi@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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto:consulting@freeswitch.org><mailto:consulting@freeswitch.org<mailto: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 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@lists.freeswitch.org><mailto:FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@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! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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 !DSPAM:507addbf32761434516599! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org<mailto: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 FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto:FreeSWITCH-users@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:507addbf32761434516599!
participants (2)
-
Malay Thakershi
-
Peter Olsson