SIP Trunk vs PRI: Cost, Reliability and Migration Guide
SIP trunk vs PRI comes down to this: SIP is cheaper and more flexible if your internet is reliable, while PRI is a dedicated circuit that is being retired. Size SIP by peak concurrent calls, not by your PRI's 23 channels.
- Size a SIP trunk by peak concurrent calls from your call logs plus 10 to 20% headroom, not by the 23 channels on your PRI.
- Budget about 100 kbps each way per G.711 call (about 31 kbps for G.729), so upload speed is usually the limit.
- Fax, alarm panels, elevator phones and card terminals are the lines that most often break, so inventory and test them before any cutover.
- Never cancel the PRI or POTS lines until the number port has completed; keep them for about 30 days as rollback.
- Disable SIP ALG and configure E911 addresses on the trunk to meet Kari's Law and RAY BAUM's Act duties. Verify 911 with the carrier's test procedure or a pre-arranged PSAP test, never with an unannounced live call.
What is the difference between a SIP trunk and a PRI?
A PRI is a digital circuit delivered over copper or fiber as a T1 (23 B channels plus 1 D signaling channel, 1.544 Mbps) or an E1 (30 B plus 1 D, 2.048 Mbps). Each B channel carries one call, so the channel count is fixed by the circuit. Your PBX needs a PRI card, or a gateway, to terminate it.
A SIP trunk carries the same calls as IP packets over your internet connection or a private circuit. Channels are a licensed or billed limit, not a physical one, so you can add or remove them in minutes. Numbers (DIDs) are separate from channels: 30 DIDs can share 10 channels.
Analog POTS lines are one call per line, with no signaling channel and no DID block. They are the simplest to understand and the hardest to replace cleanly, because so many devices assume a real analog loop.
| Item | PRI (T1/E1) | Analog POTS | SIP trunk |
|---|---|---|---|
| Capacity | 23 B+D (T1), 30 B+D (E1), fixed | 1 call per line | Elastic, you choose channels |
| Typical cost | $300 to $700+/mo | $30 to $70 per line | $10 to $25 per channel, or about $0.01/min metered |
| Numbers | DID blocks, usually priced per block | 1 number per line | DIDs about $0.25 to $2 each |
| Transport | Dedicated circuit | Copper loop | Internet or private IP circuit |
| Power outage | Needs your PBX and site power | Line powered from the central office | Needs LAN, router, ISP and power |
| Multi-site | Separate circuit per site | Separate lines | One account, shared channels, easy routing |
| Fax and alarms | Fax works well, alarms often fine | Native | Often problematic |
Why are carriers retiring PRI and POTS, and can I stay put?
Carriers are shrinking copper networks because the equipment is old, repair parts are scarce and the cost to maintain it is high. AT&T, Verizon and others have copper retirement programs, and the FCC has loosened rules so carriers can discontinue legacy services once replacements are offered. Dates differ by wire center.
Staying put may work for now, but prices on legacy circuits tend to rise and repair times lengthen. A discontinuation notice usually gives limited months to move, which is a bad time to start a project involving ports, fax and alarms.
Ask your carrier in writing for the end-of-life date for your specific circuits and the replacement they propose. Then compare it against independent SIP quotes.
How do I size a SIP trunk: channels and bandwidth?
Size by peak concurrent calls, not by the 23 channels or the number of lines you own today. Pull call detail records for a busy period (for example the last 3 months) and find the highest simultaneous calls in any minute. Add 10 to 20% headroom. Most 23-channel PRIs are heavily oversized.
Bandwidth per call, including IP/UDP/RTP/Ethernet overhead, is about 87 kbps for G.711 at 20 ms packetization and about 31 kbps for G.729. Budget roughly 100 kbps in each direction per G.711 call. Upload is usually the bottleneck on asymmetric connections.
Worked example: a PRI at $500/mo has 23 channels, but logs show a peak of 8 concurrent calls. Add 20% and round up to 10 channels. At 100 kbps each, 10 calls need about 1 Mbps symmetric, so a 20 Mbps up/down business fiber link has ample room. Cost: 10 channels at $15 = $150, plus 30 DIDs at $0.50 = $15, giving about $165/mo against $500. Add the cost of a gateway or licenses and a backup connection before declaring the saving.
Calls x 100 kbps = bandwidth each way (G.711)
20 calls x 100 kbps = 2,000 kbps (~2 Mbps) + headroom for data
20 calls x 31 kbps (G.729) = ~620 kbps
Channels = peak concurrent x 1.15 (round up)
peak 8 -> 9.2 -> 10 channelsIs SIP trunking as reliable as PRI?
PRI and analog are dedicated circuits with an SLA. Analog lines are powered from the central office, so they work during a local power cut. A SIP trunk depends on your LAN, switch, router, power, ISP and carrier, so every link is a possible failure point.
You can close most of the gap with mitigations:
| Risk | Mitigation |
|---|---|
| ISP outage | Second ISP on a different physical path, with failover routing |
| Poor quality | Dedicated or QoS-prioritized circuit, DSCP marking, voice VLAN |
| Local power loss | UPS on PBX, switch, router and ONT or modem |
| Carrier outage | Second SIP provider and PBX failover route |
| Total site loss | Carrier-side failover: unreachable-destination forwarding of DIDs to mobile or another site |
What hardware and network do I need to move from PRI to SIP?
There are three paths. First, keep the PBX and add a PRI-to-SIP gateway (Sangoma, Cisco, AudioCodes, Patton). The PBX still sees a PRI, which is the lowest-risk option for an old PBX. Second, replace PRI cards with native SIP, which suits Asterisk/FreePBX, 3CX and most modern PBXes, but confirm your PBX licensing allows the number of SIP trunk channels. Third, move to a hosted PBX and retire the on-site system.
Analog devices need FXO gateways (to connect to a PBX) or FXS ATAs (to connect fax machines and phones to SIP).
Network prerequisites: a firewall or SBC with SIP ALG disabled, a voice VLAN, QoS, a static public IP (or registration), and an allowlist of the carrier's signaling and media IPs. SIP uses UDP/TCP 5060 (TLS 5061) and RTP typically 10000 to 20000 UDP, depending on the PBX.
The Asterisk example below is a complete trunk: transport, endpoint, authentication, AOR (where to send calls), an identify section that matches inbound calls by carrier IP, and an optional registration. Replace the example hostnames, IPs and credentials with the values your carrier gives you.
; Asterisk pjsip.conf, trunk behind NAT
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0:5060
external_signaling_address=203.0.113.10
external_media_address=203.0.113.10
local_net=192.168.1.0/24
[carrier]
type=endpoint
transport=transport-udp
context=from-trunk
disallow=all
allow=ulaw
allow=alaw
aors=carrier
outbound_auth=carrier-auth
from_domain=sip.carrier.example.com
direct_media=no
dtmf_mode=rfc4733
rtp_symmetric=yes
force_rport=yes
rewrite_contact=yes
[carrier-auth]
type=auth
auth_type=userpass
username=YOUR_TRUNK_USERNAME
password=YOUR_STRONG_PASSWORD
[carrier]
type=aor
contact=sip:sip.carrier.example.com:5060
qualify_frequency=60
[carrier]
type=identify
endpoint=carrier
match=198.51.100.0/24
; Only if the carrier requires registration (not IP-authenticated)
[carrier-reg]
type=registration
transport=transport-udp
outbound_auth=carrier-auth
server_uri=sip:sip.carrier.example.com
client_uri=sip:YOUR_TRUNK_USERNAME@sip.carrier.example.com
retry_interval=60
; Diagnostics
; asterisk -rx "pjsip show endpoints"
; asterisk -rx "pjsip show registrations"
; asterisk -rx "pjsip set logger on"
; asterisk -rx "rtp set debug on"
; sngrepWhat happens to fax, alarm, elevator and card terminal lines?
These are the usual surprises. Fax and alarm devices use tones and modems that compressed VoIP can distort. Inventory every line and treat each type separately before you port anything.
For fax, use a T.38-capable carrier and ATA, with the fax set to T.38 rather than G.711 pass-through. If it fails, disable ECM or lower the speed to 14400 bps. Better still, move to a cloud or email fax service. Keep one analog line only if fax is mission critical.
For alarms, panels using Contact ID (DTMF) frequently fail over VoIP. Ask the monitoring company about a cellular or IP communicator, and verify with them and the authority having jurisdiction before cutover. Elevator emergency phones and fire panels often have code-mandated requirements, so involve the elevator contractor and inspector. A POTS-replacement product with a battery backup is another option.
| Line type | Risk on VoIP | Tested alternative |
|---|---|---|
| Voice | Low if QoS and bandwidth OK | Native SIP trunk |
| Fax | T.38 failures, ECM errors | T.38 ATA, cloud fax, or one analog line |
| Alarm panel | Contact ID tones corrupted | Cellular communicator, IP upgrade from alarm company |
| Elevator phone | Code requirements, power loss | Elevator contractor cellular unit or POTS replacement |
| Fire panel | Regulatory approval | Cellular or IP communicator approved by the AHJ |
| Card terminal | Modem dial-up fails | IP-enabled terminal or cellular |
| Door phone | DTMF door release unreliable | ATA with RFC 4733, or SIP door unit |
Should I replace PRI with a SIP trunk? A decision guide
Answer each question yes or no. Switch if you have at least three yeses in the first five; stay or go hybrid otherwise.
- Is your carrier retiring the PRI or POTS, or is the cost excessive? Yes points to switch.
- Is your internet business-grade with 100 kbps per call of upload and a backup path? Yes points to switch; no means fix this first.
- Do you have multiple sites or need elastic channels and portable numbers? Yes points to switch.
- Can your PBX accept SIP trunks, or can a gateway be added? Yes points to switch; no means replace or keep.
- Do only a handful of lines carry alarms or fax? Yes points to hybrid: SIP for voice, keep or replace those few lines.
How do I migrate from PRI to SIP with a rollback plan?
Do not cancel old service until the port completes. Ports require a Letter of Authorization (LOA) and a recent bill, and typically take 2 to 6 weeks.
E911: Kari's Law requires multi-line systems to dial 911 directly without a prefix and notify a central point. RAY BAUM's Act requires a dispatchable location. Register addresses for each DID on the trunk, and confirm they are active with your carrier.
Verify 911 without placing an unannounced emergency call. Use the carrier's or PBX vendor's 911 test procedure, or arrange a test in advance with your local PSAP (911 center) through its non-emergency line. If a live test is approved, confirm with the dispatcher before you dial.
Common mistakes: cancelling the PRI before the port finishes, leaving SIP ALG enabled, undersizing upload, forgetting fax and alarm lines, having no failover, ignoring CNAM, and signing long contracts before testing.
- Inventory every line, what is on it (voice, fax, alarm, modem, door phone, E911) and the number.
- Get quotes, then pick a carrier on a short or month-to-month term until call quality is proven.
- Provision the trunk with new test DIDs and run in parallel with the PRI.
- Test inbound, outbound, DTMF, fax, caller ID and CNAM, outbound caller ID rules, and failover.
- Pilot a few users for one to two weeks.
- Submit the port request, set the cutover date, and leave a rollback route pointing to the PRI.
- Cut over and monitor, then verify 911 using the carrier's or PBX vendor's test procedure, or a test coordinated in advance with the local PSAP.
- Keep old lines for 30 days as rollback, then cancel.
Common questions
Do alarm lines work on VoIP?
Sometimes, but not reliably. Contact ID uses DTMF tones that compression and jitter can corrupt, so signals may fail without anyone noticing. Ask the alarm company for a cellular or IP communicator instead.
How do I replace analog lines with SIP?
Use an FXO gateway to connect analog lines into a PBX, or FXS ATAs to connect analog phones and fax machines to a SIP provider. Port numbers to the carrier and test each device before moving on.
How does SIP trunk vs PRI cost compare?
A PRI is often $300 to $700 or more per month for a fixed 23 channels. SIP is billed by channel or minute plus cheap DIDs, so a site with 10 peak calls can run well below that, though gateways and backup internet add cost.
How long does a PRI to SIP migration take?
Plan on 4 to 8 weeks overall. Number porting takes 2 to 6 weeks, and testing and a pilot run alongside it.
Do I need a gateway to keep my old PBX?
If the PBX only has PRI cards, yes. A PRI-to-SIP gateway presents a PRI to the PBX and a SIP trunk to the carrier.