FreeSWITCH SignalWire token: installing the packages
The FreeSWITCH SignalWire token is a Personal Access Token from a free SignalWire account, and you need one only if you install FreeSWITCH from SignalWire's ready-made Debian packages. The package repository is authenticated, so apt has to present the token before it will download anything. If you build FreeSWITCH from its source code on GitHub, no token and no account are needed. This post explains where the requirement comes from, how to create and store the token safely, what to do when apt refuses it, and the one setting in the default configuration that every new installation should change before it is reachable from anywhere.
Everything said here about FreeSWITCH comes from SignalWire's own Getting Started chapter of the FreeSWITCH manual, read on 13 November 2026, and from SignalWire's FreeSWITCH page, read in October 2026. SignalWire is the company founded by the FreeSWITCH team, and it maintains the project and the packages.
Why does FreeSWITCH need a SignalWire token?
SignalWire's manual is direct about it: on Debian and Ubuntu the SignalWire package repository is the fastest way to install, the repository is authenticated, and it requires a SignalWire Personal Access Token. A SignalWire account is required to download the pre-built FreeSWITCH binaries. The manual adds that the requirement applies only to the packaged binaries. The open source code on GitHub remains freely available, and a source build does not need a token.
So there are two separate things that are easy to run together in a forum thread:
- The software is open source. Nobody needs an account to read, build or change it.
- The pre-built packages are a service SignalWire runs, and that service asks you to identify yourself with a token. SignalWire's FreeSWITCH page, read in October 2026, describes the account as free.
Whether that is a reasonable trade is a matter of opinion, and administrators argue both ways. What matters in practice is that a server you build today with the packages has a token written into its apt configuration, and that token has to be kept, protected and replaced like any other credential.
The three ways to get FreeSWITCH
| Route | Account or token | What you maintain | Suits |
|---|---|---|---|
| SignalWire's Debian packages | A free SignalWire account and a Personal Access Token | The token in apt's configuration, package updates, your own configuration | Most new servers on Debian or Ubuntu |
| A build from the GitHub source | None | The build toolchain, every rebuild for a security fix, your own configuration | Anyone who needs a module that is not packaged, or a particular build |
| SignalWire's hosted platform | A SignalWire account, on its own terms | Your call logic; no server | Developers building call handling rather than a PBX |
The hosted row is in the table because SignalWire's manual mentions it beside the install steps, describing the same engine running as a hosted platform. It is a different kind of product from a phone system you run yourself, and its terms are SignalWire's to state, so nothing is said here about its prices.
How to create a FreeSWITCH personal access token
The manual's steps, in order:
- Create a SignalWire Space at signalwire.com and sign in.
- Open the Personal Access Tokens section, which the manual places in the drop-down menu at the upper right of the dashboard.
- Create a new token and copy its value.
- Use it as the value of
TOKENin the install commands.
The same section lists every token you have made, each with an option to revoke it. That matters later: when someone who set up the server leaves, or a token turns up somewhere it should not be, you revoke it there and issue a new one.
A few habits make the token easier to live with:
- One token per server, or at least per purpose, named so you can tell them apart in the list. Revoking a shared token stops every server that uses it from updating.
- Create it under an account the organisation owns, not a personal one. A token tied to a contractor's account disappears when their account does.
- Write down where it is stored in the server's documentation, which is the first thing the next administrator will need when apt starts failing.
Installing FreeSWITCH on Debian with the token
The manual's commands do four things. They install the tools needed to fetch the key, download the repository's signing key using the token as an HTTP password, store the credentials for apt, and register the package source for your Debian release.
TOKEN=YOUR_SIGNALWIRE_TOKEN
apt-get update && apt-get install -y gnupg2 wget lsb-release
wget --http-user=signalwire --http-password="$TOKEN" \
-O /usr/share/keyrings/signalwire-freeswitch-repo.gpg \
https://freeswitch.signalwire.com/repo/deb/debian-release/signalwire-freeswitch-repo.gpg
echo "machine freeswitch.signalwire.com login signalwire password $TOKEN" \
> /etc/apt/auth.conf.d/freeswitch.conf
chmod 600 /etc/apt/auth.conf.d/freeswitch.conf
echo "deb [signed-by=/usr/share/keyrings/signalwire-freeswitch-repo.gpg] https://freeswitch.signalwire.com/repo/deb/debian-release/ $(lsb_release -sc) main" \
> /etc/apt/sources.list.d/freeswitch.list
apt-get update
Two details in there are worth understanding rather than pasting:
- The token lives in
/etc/apt/auth.conf.d/freeswitch.conf, and thechmod 600makes it readable by root alone. Anyone who can read that file can download packages as you, so it belongs in the same category as a private key. A backup of/etccarries it too. - The username is always
signalwire. Only the password, which is the token, is yours.
Choosing the FreeSWITCH packages
FreeSWITCH is packaged one module to a package, with meta packages that pull in a set. The manual lists six: freeswitch-meta-all (every module), freeswitch-meta-vanilla (the modules the default configuration uses), freeswitch-meta-default (a general-purpose set), freeswitch-meta-bare (the core and a minimal set), freeswitch-meta-codecs and freeswitch-meta-lang. For a system that matches the manual it suggests the vanilla set and two sound packages:
apt-get install -y freeswitch-meta-vanilla freeswitch-sounds-en-us-callie freeswitch-sounds-music
systemctl enable --now freeswitch
The packages put the configuration in /etc/freeswitch and register a systemd service. A source build puts it under /usr/local/freeswitch/conf by default, which is worth knowing when you follow an older guide that assumes the other.
When apt refuses the token
When the token is wrong, revoked or missing, the repository refuses the request and apt-get update reports an authentication error for freeswitch.signalwire.com, usually a 401. Work through it in this order:
- Is the token still listed in the Personal Access Tokens section? If someone revoked it, create a new one.
- Is the file there and readable by apt?
ls -l /etc/apt/auth.conf.d/should showfreeswitch.conf, owned by root with mode 600. Some older guides write the credentials to/etc/apt/auth.confinstead; either works on a current apt, but two copies with different tokens is a common way to confuse yourself. - Does the machine line match the host exactly? It must say
freeswitch.signalwire.com, the host in the sources line. - Was the token pasted with a stray space or line break? Rewrite the file with
echoas above rather than editing it by hand.
Replacing a token on a working server is the same four lines: write the new value into the file, run apt-get update, and revoke the old one only after the update succeeds.
Change the default password before anything else
This is the part of the manual that matters more than the token. SignalWire's default configuration is a complete SIP PBX out of the box, with twenty test users, extensions 1000 to 1019, and a single shared password for all of them, set to 1234 by the default_password variable in vars.xml. The manual says to change it before exposing FreeSWITCH to any untrusted network:
<X-PRE-PROCESS cmd="set" data="default_password=1234"/>
Edit the value and run reloadxml. The manual covers per-user passwords in its chapter on users, and every extension that will ever register from outside your own network should have its own long password, not a shared one.
The reason is not theoretical. SIP servers on the internet are found by automated scanners that try common extension numbers and passwords, and a guessable password on any extension that can dial out is how toll fraud usually starts. Our posts on checking whether a PBX is exposed to the internet and on toll fraud and the first hour after it cover the rest of the hardening, and none of it is specific to FreeSWITCH.
The same chapter notes two SIP profiles in the default configuration: internal on port 5060 for registered users, and external on port 5080 for unauthenticated inbound calls from gateways. Know which of them your firewall exposes, and to whom.
Common questions about the FreeSWITCH SignalWire token
Do I have to pay SignalWire to use FreeSWITCH?
Not according to SignalWire's own pages as read in October and November 2026: the account that issues the token is described as free, and the source code needs no account at all. Support and hosted services are separate offers, on SignalWire's terms.
Can I avoid the token entirely?
Yes, by building from the source on GitHub. The manual's steps are ./bootstrap.sh -j, ./configure, make and make install, with the build dependencies installed first. The cost is that every security fix means a rebuild, rather than an apt-get upgrade.
Is the token a secret?
Treat it as one. It is the password apt uses for the repository, it sits in a file under /etc, and it travels in every backup of that folder. Revoke it when someone who had access leaves.
Does the token expire?
The manual describes creating and revoking tokens and says nothing about an expiry date, so plan on replacing it when people change rather than on a calendar.
Does the token affect calls?
No. It is used only when apt talks to the package repository. A FreeSWITCH server whose token has been revoked goes on handling calls; it simply stops receiving package updates, which is its own risk if nobody notices for a year.
What to do next
If you are building or keeping a FreeSWITCH server, the token is a small chore: create it under an account the organisation owns, keep the file at mode 600, record where it is, and change the default password before the server is reachable. If you are weighing whether to keep building on the engine at all, our page on moving from FreeSWITCH to Wafflr says what Wafflr's importer reads from a FreeSWITCH configuration folder and where FreeSWITCH remains the better choice. Wafflr is in development and has not launched; its prices are not published yet, and they will appear on the site's pricing page when the price list is final.