E1/T1 PRI to SIP Interworking: What Actually Translates
Moving from an E1 or T1 PRI to SIP is usually described as a like-for-like replacement, because both carry multiple calls over one physical connection. The similarity ends at the signalling. PRI uses channel-associated signalling, where each bearer channel has a corresponding signalling channel and call state is expressed in ISDN messages. SIP carries signalling in separate transactions and is far more flexible about where media flows. A gateway between the two has to translate, and translation always loses something.
Two Models of a Call
On a PRI, a call occupies a time slot and the Q.921 and Q.931 layers set it up and tear it down. State is explicit and tightly coupled to the physical channel. On SIP, a call is a dialog identified by tags and a Call-ID, and the media path is described by SDP. The SIP dialog has no inherent relationship to a particular time slot or port, which is what makes SIP flexible and also why a naive translation can misrepresent call state.
The gateway therefore performs two jobs at once. It maps an ISDN call reference to a SIP dialog and it maps an ISDN channel to an RTP stream. Getting the first mapping wrong produces duplicated or missing call state; getting the second wrong produces one-way audio or calls that connect with no media. Both can appear as a call that works on the desk but fails for the user.
| PRI concept | SIP equivalent | Notes on translation |
|---|---|---|
| Call reference | Call-ID and dialog tags | One reference maps to one dialog |
| Bearer channel | RTP port pair described in SDP | Channel identity is not carried in SIP |
| SETUP message | INVITE | Called and calling parties map to headers |
| CONNECT message | 200 OK to INVITE | Answer supervision boundary |
| RELEASE and RELEASE COMPLETE | BYE and its response | Cause value maps to a reason |
| Q.931 cause value | SIP response code and Reason header | Not a one-to-one mapping |
Number Transfer and Calling Identity
The called number on a PRI arrives in an information element, and the gateway places it into the Request-URI and To header of the INVITE. The calling number becomes the From header and, depending on the network, the P-Asserted-Identity. If the gateway is to preserve a verified calling identity, it must be configured to include the right identity header and to insert the privacy indicator that came with the ISDN setup.
Failure here has a recognisable consequence: the call connects but the recipient sees the wrong number, or the destination rejects it because the format is not what it expects. This links directly to number normalisation. A PRI may deliver a national format while the SIP carrier expects E.164 with a leading plus, and the gateway has to translate in one consistent direction before the carrier sees the request.
Cause Code Mapping
ISDN cause values and SIP response codes describe similar outcomes in different vocabularies. A normal busy becomes 486 Busy Here, an unavailable number becomes 404 or 480 depending on the network, and a user busy or no answer maps to distinct responses. A gateway that collapses all failures into a single 480 loses the reason, and that loss shows up in reporting and in routing decisions that depend on the response class.
- Preserve the called party format expected by the SIP carrier
- Map the calling party into both From and the appropriate identity header
- Carry the ISDN cause value in a Reason header where supported
- Distinguish busy, no answer, and unavailable in the response mapping
- Test calling line presentation in both directions before cutover
- Document number translation rules at the gateway boundary
Bearer Channels, Clocking, and Media
A PRI carries digitised voice in fixed time slots, and the whole span depends on clock synchronisation. The gateway must recover clock from the network or from an external source and then generate RTP packets at a steady rate. A clocking mismatch produces clicks, drops, or gradual slips that are often described as poor audio quality but are really timing faults. Getting the clock source wrong is one of the most common causes of a PRI migration that sounds fine for a minute and then degrades.
Mapping bearer channels to SIP dialogs is not permanent. A channel may carry one call and then a different call minutes later, so the gateway cannot assume a fixed relationship between a time slot and a SIP endpoint. For fax and data calls the distinction matters more, because T.38 or a clear-channel data path needs different handling from ordinary voice. If the gateway tries to compress a modem or fax call as voice, the call will fail in a way that looks like a phone problem.
| Area | PRI side | SIP side |
|---|---|---|
| Clock | Recovered from the span or external source | Steady RTP pacing, no span clock |
| Channel use | Fixed time slot per call | Dynamic RTP port pair per dialog |
| Fax | Pass-through on a bearer channel | T.38 or pass-through, negotiated |
| Data calls | Clear-channel capability on the span | Requires explicit data handling |
| Failure state | Cause value on the signalling channel | Response code and Reason header |
| Capacity | Fixed number of channels | Limited by licensing and bandwidth |
Cutover Considerations
A cutover is rarely a single event. Both the PRI and the SIP trunk need to be live while numbers are moved, and the gateway may need to route in both directions for a period. That means two sets of number translation rules, two sets of cause code mappings, and a clear rule about which path is preferred for each destination. Without that rule, calls can arrive over one path and attempts to return over the other fail.
The practical sequence is to test in one direction at a time: first inbound calls from the PRI through to SIP endpoints, then outbound calls from SIP to the PRI, then the reverse with the carrier. At each stage the test should include normal answer, busy, no answer, fax if used, and a called-party hang-up. Cause code mapping is only proven when these negative cases are checked, not when a successful call is made.
What Will Not Translate Cleanly
Some PRI features have no direct SIP equivalent and need a decision rather than a mapping. Supplementary services delivered through ISDN messages may be available on SIP through different mechanisms or not at all. Line-level features tied to the physical span, such as certain operator or hold arrangements, need to be reimplemented in the platform. Treating these as configuration details rather than design items is what makes cutovers overrun.
A Short Pre-Cutover Checklist
The most useful preparation is a call matrix that lists each call type, the expected number format in each direction, and the expected response for each failure case. Engineers can then test against the matrix rather than against memory. Where the carrier can provide test numbers that produce specific cause values, those are worth using because they exercise the mapping directly.
- Agree a single clock source before the first call is made
- Test number presentation in both directions with real terminals
- Verify fax and data handling separately from voice
- Exercise busy, no answer, and unavailable cause mapping
- Keep both paths live during the porting window
- Agree which path is preferred for each destination class
After the Cutover
Once traffic has moved, the old PRI should be kept available for a defined period rather than disconnected immediately. Calls to numbers that were not ported as planned, fax devices that were missed in the inventory, and alarm lines that nobody recorded will all surface after the formal cutover. A documented retirement date, with a named owner for the remaining channels, keeps that period finite instead of turning it into a permanent second interconnect.
- Keep the PRI live for an agreed period after the main cutover
- Track calls still using the old path and investigate each one
- Confirm fax and alarm lines before removing the span
- Keep the cause code mapping under review during the transition
- Compare calling presentation on both paths periodically
- Record the final retirement date and the owner of the decision
Redstone Approach
Redstone RGW gateways support E1 and T1 PRI interworking with SIP, including number translation, calling identity presentation, configurable cause code mapping, T.38 fax handling, and selectable clock sources. Per-trunk routing allows the PRI and SIP paths to coexist during a migration, and the management system records call details and failure causes so that translation errors can be found before the cutover window closes.
Redstone Systems, Inc. founded in Delaware, USA in December 2002, has been the ODM vendor for many well-known communications companies, serving the Southeast Asian market. In 2020, Redstone Systems will begin to return to the North America market with its self-developed brand.
Redstone has a complete product line of intelligent voice gateways, providing IP-PBXs, analog VoIP gateways (FXS/FXO), digital VoIP gateways (E1/T1), border appliances, and session boundary controllers (SBCs).
With advanced technology in digital signal processor (DSP), speech coding and speech processing, as well as efficient operational tools such as cloud remote management, auto provisioning, Redstone gateways are widely used in markets of enterprise communications, cloud communications, call centers, operators’ IMS/SIP trunks, bringing users friendly, efficient and reliable communication experience.
For more information about Redstone, You can follow us on Facebook, Linkedin, and Youtube to be the first to get the latest news.

Current Location :

