SIPfoundry introduces sipXecs, the open source unified communications and collaboration project.
If you are looking for an all-software, open-source, modern communications PBX solution that scales to mid-size and large enterprise, . SIPfoundry is a community dedicated to the development of SIP- and XMPP-based communications solutions.
Note: This guide explains how to install a single server system. This first server can be extended into a large cluster later using the admin UI.
Instructions for setting up and configuring sipXecs with Telnyx as VoIP provider
In this activity you will:
Your Telnyx Portal must be correctly set up and configured for use
Have your SIP Credentials (The username/password for your main SIP account or SIP sub-account)
Have DID(s) available to assign.
Installed/configured a computer or virtual server to use as a test server. Ensure it meets the minimum system requirements:
Dual or quad core CPU
4 GB of RAM (minimum)
40 GB hard drive (minimum),
1 network card.
This machine’s hard drive will be wiped. Download and install a minimum version of CentOS 6 or RHEL 6 following the instructions provided by the operating system.
Clean VM from e.g. Google or Amazon. Avoid instances that have CPanel installed (such as VPS from Bluehost).
Two compute cores
2 to 4 GB RAM
16 GB storage, excluding storage for voicemail.
Start from a minimum image of CentOS 6 or RHEL 6.
A network segment. Preferably use a separate routed network segment so that sipXecs can install and run its own DHCP server for phone auto-discovery and provisioning. If you can't do this, you'll have to manually configure sipXecs as the FTP server into each phone for it to download the configuration.
Phone hardware of some kind:
Polycom is the preferred phone but many other options exist
(Optional) Firewall for internet connectivity. For SIP trunking or connectivity to devices connected via the Internet you will want a firewall / SBC. sipXecs Canary and newer no longer includes a built-in SBC for SIP trunking. We recommend Sangoma SBC for production deployments. Also, sipXecs includes native NAT traversal for remote devices connected via NAT. Additionally, Ingate, Audiocodes, or ACME Packet are all good choices for a professional SBC.
Setting up your Telnyx SIP portal account so you can make and receive calls:
1. Install sipXecs on your computer or virtual server
Log into your system as root or sudo to root.
You have several options for install.
Install sipXecs by running the following script:
bash -c "$(curl -L http://rpms.sipfoundry.org/canary-release/sipxecs-install)"
Alternatively, you can also use the .repo file to install the software. Install the repo file into /etc/yum.repos.d, then install the EPEL repository
yum install -y epel-release
and then run
yum install sipxecs
Once completed run the /usr/bin/sipxecs-setup script.
2. Configure your first SIP trunk
In this section, you'll configure a Telnyx SIP trunk on sipXecs.
Run the /usr/bin/sipxecs-setup configuration script. You'll need to provide the following information during setup:
IP Address: Make sure you take note of this. You'll need it in the next section.
Configure network: No (If your network is configured already)
First server: Yes
Host name: Choose the hostname you'd like to use (i.e.: sipxecs)
SIP Domain: sip.telnyx.com
SIP Realm: Enter the name of the realm to which the SIP interface is connected
3. Log into the admin console and configure the superadmin account
In this section, you'll log into the admin console and assign a password to the superadmin account. You'll use this account for all admin activities.
Open a browser and enter the IP address from section 1 and hit Enter. Your browser will present you with a certificate warning. Acknowledge this to go on to the login screen.
You will be asked to assign the password for the superadmin user. Once you do this, log in as the superadmin. You'll be taken to the admin console home page:
Note: You'll need to enable the services your organization will require. Most of these services are disabled by default when you first log in. Navigate to System > Servers and enable the settings you'll need.
You'll also need to add at least one user in order to start adding phones. Navigate to Users > Users and click on the Add New User link to add a new user.
4. Add phones to sipXecs
In this section, you'll add phone hardware or software to sipXecs and assign them to a user.
Note: You can add a phone to sipXecs but in order to make calls with it, it must be assigned to a user.
In the admin portal, navigate to Users > Users and click on the user you want to assign a phone.
From the user screen, click on Phones in the lefthand menu.
If you configured sipXecs on an isolated subnet during installation, enabled the DHCP service, and enabled the Phone Auto-Provisioning service, then you are all set for auto-discovery of supported devices! Reset the configuration of a phone (if it's not new), and plug it into the network segment. It should automatically pick up a default configuration and come up with a provisional line configured and registered. If you did not configure these settings, skip to step 6.
To find your auto-discovered devices, navigate to Devices > Phones.
Next, go to Users > Phones to provision a phone to a user and choose an existing but unassigned phone for the user by opening the Add New Phone dropdown dialogue and selecting the desired phone from the list.
sipXecs now generates a configuration profile with default parameters that make sense for this particular user.
Plug the phone into the network and restart it. Make sure the phone has the sipXecs server configured as its FTP server if DHCP does not provide it and make sure the FTP service is enabled. The phone will now load the configuration profile.
Make sure you press the Send Profile button to generate the phone profile.
You can also manually configure a phone. If your phone isn't in the Add New Phone dropdown, you will have to manually configure it by going to the phone’s configuration manager. The necessary parameters are typically:
Account Name: A friendly name for the account that only you see
User ID: The user’s numeric extension
Password: This is the TELNYX account or sub-account password
Display Name: This will end up being the caller ID. Caller ID
Name should be in capital letters. This will appears more clearly/visible on some devices.
You must NOT use any special characters, as they will not be displayed. Spaces are allowed.
Some of regular Canadian providers will not show more than 15 characters. We suggest shrinking or adapt your caller ID.
Auth Name The user’s numeric extension
5. Add supported codecs
sipXecs supports any codec so your only restriction will be to make sure you use a Telnyx-supported codec. The following is a list of codecs (both audio and video) that Telnyx supports:
That's it! You've finished configuring sipXecs, and can now start testing calls!
Q: The phone I manually configured isn't working? What's wrong?
A: If you cannot get it working with the information you provided in section 4, you likely have some DNS issue. You can perform DNS tests going to System > DNS and then select Advisor.
Review our getting started with guide to make sure your Telnyx Mission Control Portal account is setup correctly!
Additionally, check out:
Can't find what you're looking for? Click the chat bubble at your lower right hand corner and start a chat!