Current Location :Home > About Us > News Center > BLOG > E1/T1 PRI to SIP Interworking: What Actually Translates

E1/T1 PRI to SIP Interworking: What Actually Translates

Nov 27Source:RedstoneIntelligent Browse: 3
Background

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 conceptSIP equivalentNotes on translation
Call referenceCall-ID and dialog tagsOne reference maps to one dialog
Bearer channelRTP port pair described in SDPChannel identity is not carried in SIP
SETUP messageINVITECalled and calling parties map to headers
CONNECT message200 OK to INVITEAnswer supervision boundary
RELEASE and RELEASE COMPLETEBYE and its responseCause value maps to a reason
Q.931 cause valueSIP response code and Reason headerNot 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.

AreaPRI sideSIP side
ClockRecovered from the span or external sourceSteady RTP pacing, no span clock
Channel useFixed time slot per callDynamic RTP port pair per dialog
FaxPass-through on a bearer channelT.38 or pass-through, negotiated
Data callsClear-channel capability on the spanRequires explicit data handling
Failure stateCause value on the signalling channelResponse code and Reason header
CapacityFixed number of channelsLimited 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.

About Redstone

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.

Contact Us

Mobile Phonel

Email: globalmarketing@redstonesystems.com

Address: 12816 SE 75th Court, Newcastle WA 98059, USA

Contact Us
We will do our best to contact you as soon as possible. In the meantime, please contact us for more information.
  • First Name*

  • Last name*

  • Company Name*

  • Email*

  • Phone

  • Product*

  • Message

  • I have read and agreed Privacy Policy
Privacy_policy
×

Privacy Statement

Platform information submission - privacy agreement

● Privacy Policy

We are committed to protecting the privacy, personal data and personal data (collectively referred to as "personal data") provided by you when using this website. Make us comply with the highest standards in terms of collection, use, storage and transmission of personal data (laws and regulations related to privacy of personal data) and consumer protection. To ensure that you have full confidence in the handling of personal data on this website, you must carefully read and understand the provisions of the privacy policy. This website (hereinafter referred to as "us") respects and protects the privacy of users. In particular, once you use this website, you will be deemed to accept, agree, promise and confirm this privacy agreement; You disclose your personal data to us voluntarily with the required consent; You will abide by any modification of this privacy policy; You agree that our relevant business personnel will contact you regarding the products and services you may be interested in (unless you have indicated that you do not want to receive such messages). With your consent, we will collect, manage and monitor the types of personal data collected


1. Scope of application

It is our unremitting pursuit to provide users with better, better and more personalized services. We also hope that the services we provide will be more convenient for your needs. This privacy policy applies to all information collection services provided by this website. You can visit this website and use the services provided by this website using this privacy policy


2. What information do we collect

In order to provide you with our various services, you need to provide personal data information, including personal data and anonymous data, including but not limited to: personal data (your name, gender, age, date of birth, telephone number, fax number, address or mailing address, e-mail address, etc.)


3. How to use the collected information

The purposes and purposes of collecting personal data and anonymous data are as follows: to provide you with our services through this website; When you use our website, you can identify and confirm your identity; Let you get the service for you when you use this website; The relevant business personnel of this website can contact you when necessary; Make it more convenient for you to use this website; The personal data and anonymous data provided by you to us will only be retained until the collection purpose has been achieved, unless they are retained due to applicable laws and regulations. The ownership of personal data and disclosure of all data collected on our website are owned by us and will not be leased or sold to any unrelated third party

 

4. How do we protect information

For the protection of personal data, we implement appropriate physical, electronic and management measures to protect and guarantee the safety of your personal data. We try our best to ensure that any personal data collected through this website is free from any nuisance of a third party unrelated to us. The security measures we take are not limited to: physical measures: the records with your personal data will be stored in a locked place Electronic measures: the computer data with your personal data will be stored in the computer system and storage media subject to strict login restrictions Management measures: only employees authorized by us can access your personal data, These employees need to comply with our internal rules on the confidentiality of personal data. If you are aware of any security loopholes on this website, please contact us in time so that we can take appropriate actions as soon as possible; Despite the implementation of the above security measures, we cannot guarantee the absolute security of data transmission on the Internet, so we cannot absolutely guarantee that the personal data and anonymous data you provide to us through this website are safe at all times. We will not be responsible for any unauthorized access to your personal data, and we will not be responsible for any losses and damages incurred or caused in this regard.

 

5. Juvenile Protection Law

The minor has provided personal data to this website without the approval or consent of any parent or guardian. Please contact the public telephone number and customer service telephone number on this website in time to ensure that the data are removed

 

6. Revision and effectiveness of privacy policy

With the expansion of the service scope of this website, we may revise the Legal Statement and Privacy Policy from time to time, which forms a part of this Legal Statement and Privacy Policy. In order to prevent you from being informed of such revisions, please read this Legal Statement and Privacy Policy frequently. In any way, if you continue to use our services, you agree to be bound by the revised Legal Statement and Privacy Policy