Newbie question for remote office
We have 2 offices. Office A has the freeswitch server and some phones. "Office B" is new and we have 2 phones that we want to connect to the Freeswitch server located in office A so that calls can be made by the staff using Freeswitch. The question is how is this done? Here is how I see it but it does not seem to work. Please help! Office A has the Freeswitch server which connects to an external VOIP provider. The Internal clients connect via port 5060 to the Freeswitch internal profile. There phones work no problems. The IP for the Freeswitch server in office A is 192.168.50.50. The Public IP is 142.xx.xxx.xxx. Office B has 2 phones both are configured to connect to the public IP of "office A" on port 5060 which is routed to the freeswitch server. The Phones have a local IP of 192.168.23.6 and 9. The issue is that the phones are never able to register ( both side have identical settings) or transmit a call from one office to the other. Freeswitch does not seem to know how to route the calls to the other office. Ultimately we would like the staff from "office B" to be able to receive and make calls coming into the Freeswitch server. 1) Is this not possible over the Internet? Do we need to set up a VPN between both offices for this to work? Is there a way to tell freeswitch that ext 340 is located in office B? Thanks cjb
http://wiki.freeswitch.org/wiki/Example_Offsite_phones In general, you'd need a total of three profiles, all with different ip/port combos. The third is used for external phones such as at Office B to authenticate and act just like those on the internal profile. Start with the documentation above. Let us know if/when you get hung up. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Aug 27, 2013 1:23 PM, "Charles Bujold" <cjbujold@accra.ca> wrote:
We have 2 offices. Office A has the freeswitch server and some phones. “Office B” is new and we have 2 phones that we want to connect to the Freeswitch server located in office A so that calls can be made by the staff using Freeswitch. The question is how is this done? Here is how I see it but it does not seem to work. Please help!****
** **
Office A has the Freeswitch server which connects to an external VOIP provider. The Internal clients connect via port 5060 to the Freeswitch internal profile. There phones work no problems. The IP for the Freeswitch server in office A is 192.168.50.50. The Public IP is 142.xx.xxx.xxx.*** *
** **
Office B has 2 phones both are configured to connect to the public IP of “office A” on port 5060 which is routed to the freeswitch server. The Phones have a local IP of 192.168.23.6 and 9. ****
** **
The issue is that the phones are never able to register ( both side have identical settings) or transmit a call from one office to the other. Freeswitch does not seem to know how to route the calls to the other office. Ultimately we would like the staff from “office B” to be able to receive and make calls coming into the Freeswitch server. ****
** **
**1) **Is this not possible over the Internet? Do we need to set up a VPN between both offices for this to work? Is there a way to tell freeswitch that ext 340 is located in office B? ****
** **
** **
Thanks****
** **
cjb****
_________________________________________________________________________ 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
Use a vpn to connect office B as internal (LAN) in office A. In /conf/sip_profiles/external.xml: <param name="rtp-ip" value="public ip"/> <param name="sip-ip" value="public ip"/> <param name="ext-rtp-ip" value="public ip"/> <param name="ext-sip-ip" value="public ip"/> In /conf/sip_profiles/internal.xml give the above settings al your vpn ip. In vars.xml, you might wanne set your domain to the vpn ip. If you run into issues, use wireshark to analyse your traffic & check your logs. -- EL
If you want to use a VPN great it"s not required but it has nothing to do with the external profile or the internal profile if the VPN is managed locally on the machine that has a seperate IP for the VPN. You'd need another profile exactly like the internal profile but using that extra IP. Better yet make your router manage the VPN and leave FS alone. Thank you, Brian Foster Project Manager/Owner's Rep. Davri Investments, Inc. O: 317-787-2686 x2102 M: 317-600-9753 E: bdfoster@davri.com Indianapolis, Indiana Sent from a mobile device. On Aug 27, 2013 2:23 PM, "EL" <fs.user@fordior.net> wrote:
Use a vpn to connect office B as internal (LAN) in office A.
In /conf/sip_profiles/external.xml:
<param name="rtp-ip" value="public ip"/> <param name="sip-ip" value="public ip"/> <param name="ext-rtp-ip" value="public ip"/> <param name="ext-sip-ip" value="public ip"/>
In /conf/sip_profiles/internal.xml give the above settings al your vpn ip. In vars.xml, you might wanne set your domain to the vpn ip.
If you run into issues, use wireshark to analyse your traffic & check your logs.
-- EL
_________________________________________________________________________ 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
Much easier to uncomment what's at the end of public.xml -- then any phone can register just on port 5060 and he will get authorized and dial through the default context. EL <fs.user@fordior.net> wrote:
Use a vpn to connect office B as internal (LAN) in office A.
In /conf/sip_profiles/external.xml:
<param name="rtp-ip" value="public ip"/> <param name="sip-ip" value="public ip"/> <param name="ext-rtp-ip" value="public ip"/> <param name="ext-sip-ip" value="public ip"/>
In /conf/sip_profiles/internal.xml give the above settings al your vpn ip. In vars.xml, you might wanne set your domain to the vpn ip.
If you run into issues, use wireshark to analyse your traffic & check your logs.
-- EL
_________________________________________________________________________ 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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Much easier to uncomment what's at the end of public.xml -- then any phone can register just on port 5060 and he will get authorized and dial through the default context.
Als much more unsecure, if you ask me... Please note that the provided info was for FS + vpn on the same box located WAN --> not located inside an office network. -- EL
Does the REGISTER succeed, but calls routed to the user fail? NAT is probably your issue. Read http://wiki.freeswitch.org/wiki/NAT_Traversal In particular check the Contact header of the REGISTER arriving on the FS host - it should contain the public IP not the phone's internal one. Enabling STUN on your phones is probably your best bet providing the phones support it. If you can't fix the NAT traversal, then a site-to-site VPN could sidestep the NAT issue entirely. -Steve On 27 August 2013 18:18, Charles Bujold <cjbujold@accra.ca> wrote:
We have 2 offices. Office A has the freeswitch server and some phones. “Office B” is new and we have 2 phones that we want to connect to the Freeswitch server located in office A so that calls can be made by the staff using Freeswitch. The question is how is this done? Here is how I see it but it does not seem to work. Please help!****
** **
Office A has the Freeswitch server which connects to an external VOIP provider. The Internal clients connect via port 5060 to the Freeswitch internal profile. There phones work no problems. The IP for the Freeswitch server in office A is 192.168.50.50. The Public IP is 142.xx.xxx.xxx.*** *
** **
Office B has 2 phones both are configured to connect to the public IP of “office A” on port 5060 which is routed to the freeswitch server. The Phones have a local IP of 192.168.23.6 and 9. ****
** **
The issue is that the phones are never able to register ( both side have identical settings) or transmit a call from one office to the other. Freeswitch does not seem to know how to route the calls to the other office. Ultimately we would like the staff from “office B” to be able to receive and make calls coming into the Freeswitch server. ****
** **
**1) **Is this not possible over the Internet? Do we need to set up a VPN between both offices for this to work? Is there a way to tell freeswitch that ext 340 is located in office B? ****
** **
** **
Thanks****
** **
cjb****
_________________________________________________________________________ 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
participants (5)
-
Brian Foster
-
Charles Bujold
-
covici@ccs.covici.com
-
EL
-
Steven Ayre