11/03/2015
TABLE OF CONTENTS About3CX....3 Purpose, Scope and Audience... 4 Introduction to Fusion Connect... 5 Information for Provisioning Fusion Connect Asterisk SIP Trunk... 5 SRV Records... 6 Testing SRV Records... 6 Preferred and Alternate Codecs... 6 Configure the 3CX Phone System... 7 Illustrations... 13
ABOUT 3CX PHONE SYSTEM 3CX is the developer of 3CX Phone System, the only software-based PBX for Microsoft Windows which not only replaces proprietary phone systems, it also delivers a complete Unified Communications solution as it s an open standard software based IP PBX which can be integrated with other applications running on Windows. By relying on the SIP Standard, 3CX along with its technology partners, snom and Yealink, deliver a future proof, best of breed phone system. 3CX continues to move forward with innovative products, and recently launched a web conferencing and collaboration solution whichtransformscommunications within a company and with its customers. 3CX WebMeeting is fully integrated and leverages Google s WebRTC technology making it clientless and plug-in free. As a result it increases productivity, reduces business travel time and costs, streamlines operations and improves customer service thus propelling sales. By maintaining a global presence with fifteen offices worldwide including the US, the UK, Germany, France, Japan, Russia, South Africa, Australia, Hong Kong and more as well as fully localized websites available in German, Spanish, French, Italian, Russian, Dutch, Polish, Japanese and many other languages, 3CX is able to accommodate companies telecommunications needs all over the globe. News, and useful how-to articles on 3CX, WebRTC, VoIP and SIP are available from the company s blog. 3CX Phone System has been selected by leading companies and organizations worldwide to meet their Unified Communications and telephony requirements including Boeing, Hugo Boss, City of Vienna, McDonalds, Wilson Sports, Intercontinental Hotels & Resorts, Harley Davidson and MIT. 3CX has 50,000 customers worldwide and 30,000 partners. Being a 100% channel company 3CX only sells via its channel of 3CX Partners. The 3CX Partner Program was awarded by CRN for two consecutive years, 2013 and 2014. The 3CX Partner Program offers resellers free technical and sales training as well as a free NFR key. 3CX was named a CRN Emerging Vendor in 2011, 2012 and has also been awarded numerous awards including Most Innovative Product, the Best Enterprise On-Premise Award the Windows Server Certification and many more. This document explains how to deploy Fusion Connect SIP Trunking with the 3CX Phone System.
PURPOSE, SCOPE, AND AUDIENCE This document explains how to enter information into the 3CX Phone System to enable deployment of Fusion Connect GO! SIP Trunking and is suitable for use by anyone deploying the Fusion Connect GO! SIP Trunking service in conjunction with 3CX Phone System. This document has a technical audience in mind. Fusion can only provide support for 3CX Phone System to the extent covered in this Installation Guide and the included reference configuration. The target audience for this document is resellers, installers or end users of the 3CX Phone System. For more detailed information, refer to the documentation provided with 3CX Phone System. The following diagram is a sample configuration of the 3CX Phone System in use with Fusion SIP Trunking services. Figure 1 Diagram Source: http://www.3cx.com/phone-system/product-tour.html
At the top of your technical welcome letter, you will see a table like this one which shows your account name, account number, and order. This information should be provided to Fusion when you call for assistance to expedite support. INTRODUCTION TO FUSION SIP TRUNKING Figure 2: Welcome Letter Account Information The third page of the welcome letter contains a table of the IP addresses and ports you need to allow through your firewall. Note that the table included here is an example and may be out of date. Traffic Type IP Addresses Domain Name Protocol Port Range SIP Registration 216.86.41.69 sbc2.nbsvoice.net UDP and SIP Static 216.86.41.68 peer2.nbsvoice.net UDP and 5060/5061 5060 RTP Registration 216.86.41.69 N/A UDP and RTP Static 216.86.41.68 N/A UDP and 10000 to 65535 10000 to 65535 Figure 3: Firewall Configuration Information the third page also contains the IP address and DNS information you should use for configuring your trunk. Traffic Type IP Addresses Domain Name Protocol Port Range SIP Registration 216.86.41.69 sbc2.nbsvoice.net UDP and SIP Static 216.86.41.68 peer2.nbsvoice.net UDP and 5060/5061 5060 RTP Registration 216.86.41.69 N/A UDP and RTP Static 216.86.41.68 N/A UDP and 10000 to 65535 10000 to 65535 Figure 4: Trunk Destination Information
SRV RECORDS Service records (SRV) are a form of Domain Name System (DNS) record. They contain information about where to send requests for a particular service offered at a specific domain. In the case of Fusion Connect GO! SIP Trunking, they provide the IP addresses, port numbers, and preferences to use for sending SIP calls over UDP,, and TLS to Fusion Connect. The SRV location to use for sending calls to Fusion for each of your trunk groups is in your Welcome letter. TESTING SRV RECORDS Most GO! SIP Trunking customers like to ensure the DNS entries are functioning or they like to look up the actual IP addresses, however, performing a standard DNS query on the SRV records will fail. In a Windows environment, the query can be performed using the nslookup command at a command prompt. Figure 5: SRV Lookup in Windows XP As you can see, a SRV record consists of a service type definition (_sip), a transport definition (_udp), and the domain (sbc2.nbsvoice.net). The query returns a priority, weight, port and hostname for each entry. The query also returns the A record entries for each hostname, which provides the IP address for each host. In a UNIX or Linux environment, a query can be performed on SRV records using the dig command. PREFERRED AND ALTERNATE CODECS Fusion Connect allows you to select preferred and alternate codecs to simultaneously meet your bandwidth requirements and provide greater end-to-end support. When configuring codecs, please keep in mind that G.711 μlaw (ulaw) consumes approximately 87.2 Kbps of bandwidth per simultaneous call over Ethernet. G.729 Annex A (g729) will consume approximately 31.2 Kbps of bandwidth per simultaneous call over Ethernet. Also, keep in mind that G.711 offers superior call quality when compared to G.729, but only if you have enough bandwidth to support all of your simultaneous calls.
CONFIGURE THE 3CX PHONE SYSTEM The following steps illustrate how to configure a Fusion Connect SIP Trunk from a fresh install of 3CX. Many of these steps can also be completed manually, or by clicking on the Add VOIP Provider Wizard button located in the VOIP Providers section in the 3CX navigation tree. NOTE: Some screens have been omitted, since there are no changes that need to be made to them. 1. Following the initial installation set up please go to VoIP Providers and Select Fusion Connect (Register) or Fusion Connect (IP Based) according to your trunk configuration. Figure 6: Under VoIP Provider select Fusion Connect IP Based or Register.
1. On the following screen, enter the hostname provided in the Fusion Connect Technical Letter. All other fields on this screen are shaded out, and do not need to be changed. Figure 7: Provider Hostname 1. Consult your Fusion Technical letter for the information needed on the screen located in figure 12. You will need your BTN, which will serve as the username for the trunk, as well as the Fusion Connect provided password. This information allows the 3CX to register with the Fusion Connect servers and essentially "logs in" to your SIP Trunk a. External number BTN (main telephone number) b. Authentication ID BTN (main telephone number) c. Authentication password password provided by Fusion Connect d. Maximum Simultaneous calls amount of trunk CCS Figure 8: Provider Credentials
1. After entering the above information, 3CX will complete its installation and automatically begin building the SIP Trunk. At this point, communication between 3CX and Fusion Connect should be complete; however there are a few more changes that need to be made before the system will be fully functional. 2. Login to the Admin Web Based Console per your initial set up configuration: http://ip.address:5481 Figure 9: Admin Log In 1. First, click on Ports/Trunks Status in the navigation tree. You should see the Fusion Connect trunk already registered (signified by a green light next to it). If it isn t, verify all information that was entered to make sure it was entered correctly. If all of the information was entered correctly, verify that port 5060 is not being blocked by a firewall/router. If the trunk is still not registered, contact Fusion Technical support for further troubleshooting. Figure 10: Trunk Status 2. Next, select VOIP Providers from the tree on the left. Select Fusion Connect Fusion in the main window and then click on Edit Provider in the menu above it.
Figure 11: Edit VoIP Providers 3. The following are changes that need to be made under the Advanced tab seen in Figure 16 (below). a. Registration Settings: i. Time between registration attempts: 180 ii. Require registration: Outgoing Calls iii. Which IP to use in Contact field for registration: Use this IP Address followed by the network external IP in the text box. 4. To Change Outbound CLID on individual extensions please change the following settings under Edit VOIP Providers Outbound parameters: a. Remote Party ID Calling Party: Display Name select Outbound Caller ID taken from Extension settings in Management Console b. Remote Party ID Calling Party: User Part select Outbound Caller ID taken from Extension settings in Management Console c. Remote Party ID Calling Party Host Part select GWHostPort gateway/provider host/port 5. Please configure the CLID you would like to pass under Extensions
Figure 12: Advanced Settings 1. There is only one last change that needs to be made. By default 3CX enables their own STUN server. For the best results it is recommended that it be turned off. To do so Select Settings from the navigation tree then select Network and then select the STUN server tab. Turn off the STUN server using the check box near the bottom, and place the external IP address into the Public IP to specify in Contact and SDP field.
Figure 13: Turn off Stun Server
ILLUSTRATIONS Figure 1... 4 Figure 2: Welcome Letter Account Information... 5 Figure 3: Firewall Configuration Information.... 5 Figure 4: Signaling Configuration... 5 Figure 5: SRV Lookup in Windows XP... 6 Figure 6: Select VoIP Provider... 7 Figure 7: Provider Hostname... 8 Figure 8: Provider Credentials... 8 Figure 9: Admin Log In... 9 Figure 10: Trunk Status... 9 Figure 11: Edit VoIP Providers... 10 Figure 12: Advanced Settings... 11 Figure 13: Turn off Stun Server... 12