Legacy PBX Migration: Moving from Cisco or Avaya to Asterisk or FreeSWITCH
Replacing a working phone system is a business risk, so the plan matters more than the software. This guide covers why teams leave Cisco, Avaya and similar platforms, what actually makes migrations hard, how to inventory what you have, how to handle handsets and numbers, and how to cut over in small, reversible waves.
Quick answer
How do you migrate a legacy PBX to Asterisk or FreeSWITCH?
To migrate a legacy Cisco, Avaya or similar PBX to Asterisk or FreeSWITCH, do not start with extensions. Start by inventorying call flows, numbers, phones and integrations, build the new system beside the old one, put a SIP edge or session border controller in front of both, test every call flow, then move users in small waves with a one-step rollback. Handsets, number porting and undocumented call flows cause most delays, not the PBX software itself.
Why teams leave legacy PBX platforms
Few teams migrate for fun. The usual triggers are end-of-life notices, rising licence and support costs, a need to integrate with CRM or AI tools that the old platform makes difficult, and a wish to own the call flow rather than rent it.
Vendor lifecycle notices are a common trigger. The table lists some public dates we found. Treat them as pointers, because lifecycle policies are detailed and differ by product, release and support contract. Check your own vendor's current notices before using any date in a business case.
| Vendor notice | What it says | Source |
|---|---|---|
| Cisco Unified Communications Manager 14, perpetual licences | End-of-sale announcement with a last order date of 7 April 2025 | Cisco end-of-sale notice for on-premises calling applications |
| Avaya Aura 7.x | End of manufacturer support dated 14 December 2020 | Avaya support notice |
| Avaya Aura 8.x | End of manufacturer support dated 6 March 2023 | Avaya support notice |
| Asterisk chan_skinny (Cisco SCCP) | Deprecated in Asterisk 19 and removed in Asterisk 21 | Asterisk module deprecation list |
The last row matters for migration planning: if your Cisco handsets speak SCCP, you cannot simply point them at a current Asterisk. We come back to handsets below. If you are weighing a move from one open-source PBX to another, our Asterisk to FreeSWITCH migration guide covers that case, and our cloud PBX vs custom PBX comparison helps decide whether to build at all.
What actually makes migrations hard
People expect the hard part to be moving extensions. Extensions are easy: a user, a number, a password and a voicemail box. The risk lives elsewhere.
Undocumented call flows
Years of changes leave hunt groups, time-of-day rules, overflow paths and special-case routes that nobody has written down. Call detail records show what is really used.
Handsets and endpoints
Proprietary desk phones, digital sets, door phones, paging and fax devices each need a plan. One unsupported model can block a whole site.
Number routing and porting
Inbound calls must never fail during the move. Where numbers are delivered, and who controls them, decides your options.
Integrations and reporting
CRM screen-pops, call recording, wallboards, billing exports and compliance reports all depend on the old platform's behaviour and data formats.
In our experience, the useful mindset is that you are not copying a configuration. You are reproducing a behaviour, and a behaviour is only proven by testing real calls. That is why this guide spends more time on inventory, testing and rollback than on software choice.
Inventory before you design
| Item | What to capture | Where to find it |
|---|---|---|
| Users and extensions | Names, extensions, features, voicemail settings, permissions | Admin export, directory |
| Numbers and trunks | DIDs, carriers, trunk type (SIP or PRI), channel counts, caller ID rules | Carrier portal, PBX trunk config |
| Call flows | Auto attendants, hunt groups, queues, time rules, overflow and holiday logic | PBX config plus call detail records |
| Handsets and devices | Model, firmware, protocol, count per site, analogue and digital devices | Provisioning server, physical audit |
| Integrations | CRM, recording, billing, paging, door entry, fax, alarms | Interviews with each owner |
| Voicemail and prompts | Mailboxes, greetings, retention rules, recorded prompts | Export or manual copy |
| Usage | Busy-hour calls, peak concurrent calls, rarely used features | CDR analysis |
- Analyse 3 to 6 months of CDRs to find numbers and routes that are really used
- Interview the people who depend on special flows, such as reception, support and facilities
- List every device that is not a standard desk phone
- Record emergency-calling setup and who owns it
- Photograph or document every site's cabling, switches and power for phone-related equipment
- Agree a freeze on call-flow changes during the migration
Choosing the target: Asterisk or FreeSWITCH
Both engines can replace a legacy PBX. The choice depends on size, features and team skills, and our Asterisk vs FreeSWITCH guide gives the full comparison.
| Factor | Asterisk | FreeSWITCH |
|---|---|---|
| Typical fit | Single-company PBX, IVR-heavy systems, wide feature familiarity | Higher concurrency, multi-tenant platforms, programmable call control |
| Admin tooling | FreePBX and similar GUIs, large community | FusionPBX and custom portals |
| Call control from code | AGI, ARI and AMI interfaces | Event socket, Lua and dialplan XML |
| Learning curve | Gentler for classic PBX features | Steeper, more flexible |
| Handset support | Wide SIP support; no SCCP since version 21 | SIP; SCCP support is limited, so plan on SIP handsets |
Whichever you choose, put a SIP edge, a Kamailio or OpenSIPS proxy or a session border controller, between the carriers and the PBXs. It gives you one place to route by number, hide topology, enforce security and, crucially, switch users back to the old system. Our Kamailio SBC guide shows how to configure one.
Phones and endpoints
Handsets are where budgets drift. Sort every device into one of four groups early.
| Endpoint type | Works with a SIP PBX? | Typical approach |
|---|---|---|
| Native SIP phones (any vendor) | Yes | Provision with a template; test each model |
| Cisco phones running SCCP | Not directly; Asterisk no longer includes SCCP support | Convert to SIP firmware where the model allows it, or replace |
| Avaya H.323 or proprietary IP phones | Only with a gateway or SIP firmware where available | Check the model's SIP option, or replace |
| Digital or analogue sets, fax, door phones | Through an analogue or digital gateway | Keep with an ATA or gateway, or retire |
| Softphones and mobile apps | Yes | Provision with SIP credentials or a custom app |
Converting phones from SCCP to SIP is model-specific. Cisco's own guidance describes moving 7900-series phones between SCCP and SIP loads, and notes a phone runs one protocol at a time. Community reports show the exact firmware path varies by model and that some conversions do not work. Test one phone of every model before you commit to reusing them. Features can also differ after conversion, for example language support or vendor-specific phone applications.
Many projects decide that the cleanest route is to replace old handsets with SIP phones in waves, and to offer softphones and mobile apps for users who do not need a desk set. If you want a branded app for that, see our branded SIP softphone case study.
Numbers, trunks and the SIP edge
Do not let inbound calls depend on a single cutover moment. The safest approach is to leave the numbers where they are and change only where the carrier delivers them: first to a SIP edge that you control, and then from the edge to either PBX.
Two common situations. If the numbers are already on SIP trunks, ask the carrier to point them at your edge, or add the edge as the new destination. If they are on PRI or analogue lines at the old PBX, you can keep a gateway in place, convert those lines to SIP at the gateway, and send calls to the edge. Only when you must change carriers do you port numbers, and that is the slowest step. Porting rules and timelines differ by country and carrier, so ask your carrier for the process and dates early rather than assuming.
The following Kamailio fragment shows how an edge can route each dialled number to the old or the new PBX using a hash table that you change at runtime. Flipping a number back to the legacy PBX is a single command, which is your rollback.
# Kamailio: route each DID to the legacy or the new PBX, switchable at runtime
loadmodule "htable.so"
modparam("htable", "htable", "pbxmap=>size=12;autoexpire=0;")
# values: "legacy" or "new"; load with: kamcmd htable.sets pbxmap 15551230001 new
route[ROUTE_DID] {
$var(did) = $rU; # dialled number, already normalised
$var(dest) = $sht(pbxmap=>$var(did));
if ($var(dest) == "new") {
$du = "sip:10.0.2.10:5060"; # Asterisk or FreeSWITCH
} else {
$du = "sip:10.0.1.10:5060"; # legacy PBX (default: no surprises)
}
t_relay();
exit;
}
# Move one number to the new PBX:
# kamcmd htable.sets pbxmap 15551230001 new
# Roll it back instantly:
# kamcmd htable.sets pbxmap 15551230001 legacyNote the default: any number that is not in the table goes to the legacy PBX. That makes the migration opt-in, one number or group at a time. For large estates, store the mapping in a database and cache it at the edge rather than keeping it in a flat file; the PBX capacity planning guide explains how to size the edge for that load.
Parallel run and cutover
Running two systems at once is the core of a low-risk migration. Users in the old system must still reach users in the new one, so build a bridge: a SIP trunk between the PBXs that carries internal calls by extension. Keep extension numbering identical so that nobody has to learn new numbers.
- A SIP trunk between the legacy and new PBXs for internal calls
- Identical extension numbers and dialling plans on both sides
- Shared directory or presence where users need it
- A single place, the SIP edge, that decides where each inbound number goes
- A documented rollback for every wave, tested before the wave starts
- A defined hypercare period after each wave with named support staff
Pick wave boundaries by risk. A common order is the IT team, then a friendly department, then general staff, then reception, call queues and any customer-facing or emergency-sensitive group. Move queues and auto attendants last, because they carry the most inbound traffic and the most complex logic. Plan cutovers outside peak hours, often over a weekend, with staff on hand to answer questions.
Six phases from discovery to retirement
1. Discover
Export users, numbers, hunt groups, auto attendants, voicemail, phones and integrations, and analyse call detail records to find the flows people actually use.
2. Design
Choose Asterisk or FreeSWITCH, design the SIP edge, decide the handset strategy and plan numbering and number routing.
3. Build
Import configuration, rebuild call flows, connect integrations and set up recording, reporting and monitoring.
4. Pilot
Move one friendly team, run real calls for one to two weeks and fix gaps before widening.
5. Migrate in waves
Move groups in order of risk, each with a go or no-go check and a one-step rollback at the SIP edge.
6. Retire the old system
Keep the legacy system available for a defined period, then decommission it and archive configuration and records.
Where migration effort typically goes (illustrative share of project effort, %)
Illustrative, not measured. Real splits vary with handset estate, integrations and number of sites.
The test matrix
Write the test list before the build ends. Each row needs an owner and a pass or fail result, and a wave does not start until its rows pass.
| Area | Test | Pass condition |
|---|---|---|
| Inbound | Call every DID from a mobile and a landline | Reaches the right destination with the right greeting |
| Outbound | Local, national, international and toll-free calls; caller ID | Completes with the correct caller ID |
| Internal | Calls between old and new PBX users by extension | Both directions work with good audio |
| Features | Transfer, hold, park, pickup, conference, voicemail, call forwarding | Behave as in the old system or as documented |
| Queues and attendants | Every option, time rule and overflow path | Matches the written flow |
| Emergency calling | Emergency calls and location information | Signed off by the responsible owner |
| Fax, alarms, door phones | Each special device | Works or has an agreed replacement |
| Recording and reporting | Record, retrieve and report on test calls | Data present and correct |
| Failure | Pull a trunk or a server in the test environment | Fails over as designed |
Common failures and how to avoid them
| Failure | Cause | Prevention |
|---|---|---|
| One-way or no audio | NAT, firewall or media path differences between old and new | Test from every network segment; use a media relay at the edge |
| Callers hear dead air in a queue | Music-on-hold or prompt files missing or wrong format | Migrate and test every audio file |
| Caller ID rejected by carrier | Number format or ownership rules changed | Test outbound caller ID with each carrier before cutover |
| Fax fails | Compression or fax relay settings differ | Isolate fax lines on a gateway; test with real documents |
| Users cannot register | Provisioning errors or password policy differences | Provision a small batch first; keep a helpdesk script |
| Reports do not match | Different definitions of answered, abandoned or busy | Agree definitions before comparing numbers |
Cost and effort
CelloIP gives guides, not rates. As a guide from our PBX pages, a company IP PBX is typically $8,000 to $20,000 over four to eight weeks, and a multi-tenant PBX platform $30,000 to $80,000 over 10 to 20 weeks. Carrier-scale or highly available estates, and migrations from an existing platform with many sites or integrations, are scoped after discovery. Handsets, carrier fees and hosting are separate.
The cost drivers are the ones in the chart above: how many undocumented flows you find, how many handsets must be replaced, how many integrations need rebuilding, and how many sites move. A good discovery phase is the cheapest insurance, because it turns unknowns into a list that can be priced.
For a real example of what we build once the decision is made, see our multi-tenant hosted PBX case study: FreeSWITCH behind a Kamailio and OpenSIPS layer, 1,000+ concurrent channels and 50,000+ extensions across 100+ tenants. It was a new platform build, and the design choices it shows are the same ones a migration target needs.
CelloIP project outcome (client kept private)
Open-source PBX platforms at 1,000+ channels and 50,000+ extensions are proven designs, so the migration risk lies in planning and testing, not in the software.
Frequently asked questions
Can Asterisk or FreeSWITCH replace a Cisco or Avaya PBX?
Yes for most voice features: extensions, hunt groups, call queues, auto attendants, voicemail, conferencing, call recording and integrations are all available in open-source PBX engines. The work is in reproducing your specific call flows, supporting your handsets and migrating numbers safely. Proprietary features such as vendor-specific desk-phone applications or proprietary video endpoints may need replacements.
How long does a PBX migration take?
It depends on size and complexity more than on user count. A single-site company PBX is typically 4 to 8 weeks as a build, as our PBX pages indicate. Multi-site estates, carrier-scale systems and heavy integrations are scoped after discovery. Allow time for number porting, which depends on your carriers and countries, and for pilot and wave testing.
Do my Cisco or Avaya desk phones work with Asterisk or FreeSWITCH?
It depends on the model and its firmware. Phones that speak SIP work with any SIP PBX. Many Cisco phones can run SIP firmware instead of SCCP, though conversion is model-specific and not always straightforward, and Cisco documents that a phone runs one protocol at a time. Digital phones and proprietary protocols typically need a gateway or replacement. Test one of each model before you plan the budget.
Does Asterisk still support Cisco SCCP (Skinny) phones?
No. Asterisk deprecated chan_skinny in version 19 and removed it in version 21, according to the Asterisk module deprecation list. If you rely on SCCP handsets, convert them to SIP firmware where supported, replace them, or use a platform that still supports SCCP.
How do I keep my phone numbers during the migration?
Keep numbers on the same carrier trunks and change only where the carrier delivers calls, which is the safest route. If numbers must move to a new carrier, plan the port with that carrier, since timelines and rules vary by country and carrier. A SIP edge in front of both PBXs lets you route each number to the old or new system and switch back instantly.
What is the biggest risk in a PBX migration?
Undocumented behaviour: call flows nobody remembers, a fax line, a door phone, a hunt group with an odd timing, or an integration that only one person understood. Thorough discovery, call-detail analysis and a pilot with real users find these before the cutover.
What about emergency calling during migration?
Treat it as a test item with its own sign-off. In the United States, rules such as Kari's Law and the RAY BAUM'S Act apply to multi-line telephone systems, and other countries have their own requirements. Confirm the current rules with your compliance team, and test emergency calls and location information on the new system before any user moves.
What does a PBX migration cost?
As a guide from our PBX pages, a company IP PBX is typically $8,000 to $20,000 over 4 to 8 weeks, and a multi-tenant PBX platform $30,000 to $80,000 over 10 to 20 weeks. Carrier-scale or highly available estates and migrations from an existing platform are scoped after discovery. Handsets, carrier fees and any hosting are separate.
Work with CelloIP
Planning a PBX migration?
CelloIP designs and runs PBX migrations to Asterisk and FreeSWITCH: discovery, parallel run, number routing, phased cutover and rollback. We reply within one business day, and you own the code.