Question

Help me In ISDN

Asked by: Omar_layous


Hi every body ....
        I need the Help to  know how the ISDN work ???? and what the T1 and E1 ???
I hope i will get your help soooon.

Thanks..

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2005-05-06 at 03:28:12ID21414950
Tags

isdn

Topics

Telecommunications Providers

,

Miscellaneous Networking

Participating Experts
5
Points
125
Comments
13

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Isdn
    Kindly tell me site to know details about isdn technology.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: markgrinceriPosted on 2005-05-06 at 04:01:02ID: 13943879

Hi Omar

This is just a quick Rundown:
ISDN is a digital version of your standard analog version of your home phone line. ISDN is broken up into two types PRI & BRI. BRI has 2x 64kb B channels for use either for voice or data and 1x 16kb D channel for call setup. PRI known as either T1 (North America) has 24x 64bk channels  for use either for voice or data or E1 (Europe & Australia) has 31x 64kb channels for voice or data.

Have a look at these pages:
http://alumnus.caltech.edu/~dank/isdn/
http://www.pcwebopedia.com/TERM/I/ISDN.html

 

by: nodiscoPosted on 2005-05-06 at 04:05:54ID: 13943900

ISDN = Integrated services digital network - it uses circuit switching

PRI and BRI are main flavours

Primary rate and Basic rate

Basic rate is 2 X 64k B channels and a 16K D channel for signalling

Primary rate T1 is 23 64K B channels +1 for signalling for a total of 1.544MB - available in US
Primary rate E1 is 30 64k B channlels +1 for signalling for a total of 2.048MB available in Europe

 

by: nodiscoPosted on 2005-05-06 at 04:06:21ID: 13943903

d'oh - beaten to the post :-)

 

by: nodiscoPosted on 2005-05-06 at 04:09:12ID: 13943917

T1 is also deployed in Japan
E1 also deployed in central and south america and asia/pac

 

by: Omar_layousPosted on 2005-05-06 at 04:18:17ID: 13943958

hey , Thank you for help ...
But what about the channels ?? I know that the ISDn can give more than line on the same phone line , is that do u mean by channels ??

 

by: nodiscoPosted on 2005-05-06 at 04:22:36ID: 13943975

In a BRI Isdn installation from your telco will give you 2 isdn channels - think of them like phone lines.  You can use them as seperate dialouts or you can multilink them as one thus combining the channels into one logical pipe for data transfer.

 

by: PsiCopPosted on 2005-05-06 at 10:30:40ID: 13946425

"Channels" are basically paths for carrying data. That data can be analog (your voice), or digital (computer data, or your voice after conversion from analog-to-digital). And, in truth, in many places, only the line from the Central Office (CO) to your phone is analog (and sometimes not even that much) - most centralized phone systems convert your analog signal to digital for transmission out of the CO (to another CO, city, country, whatever).

That conversion process is what tends to give high-speed analog modems such fits. After a few analog-to-digital-and-back-to-analog conversions, there's a negative effect on the data-carrying capacity of the analog signal.

Back to "channels", in the IDSN world, there are two types of channels - the "B" channel and the "D" channel. A "B" channel, or "Bearer" channel, can basically carry (bear) whatever one analog phone line can carry - that is, a voice conversation, or data transmission (whether that "data" is computer data or digitized voice data). With the proper ISDN equipment, individual data channels can be multiplexed, or "bonded", into a larger, single "channel" with higher capacity. As others have noted, the Basic Rate Interface (BRI) consists of 2 "B" channels. This is, depending on the CO equipment, 56 or 64 Kb/s data-carrying capacity each. "Bonded" is 112 or 128 Kb/s capacity. Or the "B" channels can each be used for a voice line, or one for voice and another for data (all assuming the terminal equipment supports it).

There is also a 16 Kb/s "D" channel - this is used for connection negotiation, call set-up and breakdown, and signalling between the Customer Premises Equipment (CPE) and the CO.

IDSL - or ISDN-over-DSL - combines the 2 "B" channels and the "D" channel to provide an effective 144 Kb/s data connection.

 

by: PsiCopPosted on 2005-05-06 at 10:43:21ID: 13946517

In the PRI world, there's still just 1 "D" channel per ISDN line. The number of "B" channels varies between US (24, sometimes called "channelized T1", effective data capacity of 1.5 Mb/s) and European systems (31, known as E1, effective data capacity of 2 Mb/s).

ISDN is "distance-insensitive", in that (unlike DSL) it provides the same bandwidth without regard to the distance between the demark/CPE and the CO (as long as the distance is within the limits for the technology). As long as the "B" channels and the "D" channel can be established, the capacity is the same, whether you're going from the CO to an office building one block away, or from the CO to a home 2km away. DSL, on the other hand, suffers performance degradation as distance increases (and the higher signal frequencies fade).

On the downside, ISDN is also very picky (altho not as picky as regular T1, which gets upset over simple bridge taps and different gauge wires). DSL will run over the same wire pair as POTS. ISDN doesn't the impedance of the usual POTS wiring, and often the telco will end up running a special wire pair just for it.

And, my experience in the USA is that telcos look upon ISDN as an opportunity to really stick it to the purchaser. Exorbitant tariffs, call set-up charges, extra charges for using the second "B" channel of the BRI, and per-minute-per-channel charges are not unusual. I dunno how it is elsewhere, but ISDN in the States tends to be ridiculously expensive (my last ISDN line, 2 years ago, was running US$90/month just for the line - ISP charges were separate).

 

by: PsiCopPosted on 2005-05-06 at 10:45:38ID: 13946535

Other suggested reading --> Newton's Telecom Dictionary (presently at its 21st Edition)

See --> http://www.harrynewton.com/bigdic.html

 

by: philmckPosted on 2005-05-07 at 05:27:38ID: 13950464

My tutorial at http://www.mckerracher.org/isdn should help.

 

by: Omar_layousPosted on 2005-05-16 at 12:41:52ID: 14013431

Thank you all for help ... and i will copy the answer from the philmck's web site...

 

by: Omar_layousPosted on 2005-05-16 at 12:47:08ID: 14013481

Introduction
What is ISDN?
The Integrated Services Digital Network (ISDN) is a development of the plain ordinary telephone system (POTS) that enables it to carry data and other traffic as well as voice calls. Instead of using a continuously changing analogue voltage on the line between the network and your house, it uses pulses having one of a few discrete voltage levels to encode a series of digits. This is known as "pulse code modulation" (PCM). It is the original "digital subscriber loop" (DSL) technology.

It is more complicated than the POTS way, but has some big advantages:

 Two simultaneous phone calls can be made (or more on primary rate), using the same pair of wires that your POTS telephone used to connect to. This is achieved by interleaving the data for each call, a technique called "time division multiplexing" (TDM). The phone company doesn't have to dig up the road to change to ISDN and effectively give you a second line.
 Calls can be connected much more quickly - typically within one second over ISDN, compared with 20 seconds or more over POTS. This is especially important when connecting a home computer to an office network ("wide area networking") or validating credit card transactions, for example.
 Data can be sent faster (64,000 bits per second in each direction) and more reliably, so data calls can be shorter and therefore cheaper. You don't need a modem to exchange data between computers, although you will probably need a cheaper "terminal adapter" (TA) or ISDN card instead. There is no modem "training" time to wait for (and perhaps pay for) after the call connects.
 Noise, distortion, echoes and crosstalk become inaudible, because the telephone no longer has to measure an exact analogue value, it only has to decide which of a few discrete voltages is present at any particular instant. In most countries, the "trunk" network between telephone exchanges has already been converted to digital technology, for this reason. ISDN just extends it the "last mile" to your home.
 The digits can represent any data, including faxes, files, web pages, sound, pictures and ordinary voice calls. This is the meaning of "integrated services".

So why isn't everyone using ISDN? Some disadvantages are:

 ISDN may not be available in your area, because it is expensive to upgrade a telephone exchange to support it. A "network termination unit" (NTU) may also have to be installed at the user end (not necessary in North America), and any "loading coils" removed from the line. Also, it won't work if you live more than about 5 km from your local telephone exchange, which affects around 10% of users, depending on location.
 ISDN lines typically cost at least twice as much to install and rent as POTS lines. That's fair enough if you want to be able to make two simultaneous calls, but makes it expensive if you only need one line.  
 In order to make fast data calls, both ends must have digital connections. Most internet service providers (ISPs) already support this. Voice calls can be made from ISDN terminals to ordinary POTS phones without problems.
 Long-distance ISDN data calls may be considerably more expensive than voice calls because they can't be compressed. ISDN data calls may also be charged by time in places where POTS calls are not normally timed. Voice calls over ISDN typically cost the same as over POTS, however.
 Supplementary services such as "caller display", "ring back when free" and "charge advice" work differently (usually better) than on POTS lines, but are not always available and may cost extra.  
 ISDN terminals often need a local power supply, which can be a problem in emergencies. POTS phones normally take their power from the line.



Types of ISDN line
Basic Rate
"Basic rate" ISDN lines connect to the network with a normal twisted pair of copper wires. Data is transmitted simultaneously in both directions (known as "full duplex" operation) using some clever echo-cancelling. The stream of bits is organised into two "bearer" channels (B-channels), each of which can transmit data for a single call at 64,000 bits per second, equivalent to 8,000 bytes per second. This is interleaved with a single 16,000 bit/s "D-channel" on the same pair of wires that carries the signalling information for setting up and clearing down calls, and some extra "overhead" bits to allow synchronisation and monitoring of the line (a total of 192,000 bit/s).

The network end of the line is called the "line termination" (LT) and the user end is called the "network termination" (NT). In Europe, the network termination is usually a box attached to the wall of the customer's premises and owned by the telephone company that converts the two-wire line from the network (the "U interface") to four wires (the "S/T interface" or "S-bus"). The S-bus allows up to eight items of "terminal equipment" such as telephones or computers to be connected to one line, called a "point-to-multipoint" configuration. Remember that no more than two calls can be made simultaneously, because there are only two B-channels. The network provides sufficient power (around one watt) to run the NT and a simple ISDN telephone for emergency calls.

In North America, it is common for terminal equipment to connect directly to the network, in a "point-to-point" configuration. This saves the cost of the network termination unit, but restricts the connection to a single physical terminal. American ISDN lines do not normally provide any power.

Primary Rate
"Primary rate" ISDN lines are much more expensive, use much higher data speeds and different wiring. European "E1" primary rate lines have 30 B-channels, one D-channel and a synchronisation channel (total 2.048 Mbit/s). American "T1" primary rate lines have 23 B-channels and one D-channel (total 1.544 Mbit/s). Cheaper lines are often available that have some of the B-channels disabled but are otherwise identical.

Primary rate connections are presented to the user on four wires - one pair for each direction. They are usually 120 ohm "balanced" twisted pairs using standard network cable, but older installations may use 75 ohm "unbalanced" coaxial cables. Devices called "baluns" can convert between the two types. The connection from the NTU to the network may use additional pairs or optic fibre, depending on the distance. Primary rate connections are always point-to-point.

Primary rate lines are mainly used to connect to a private branch exchange (PBX) in an office or hotel. The PBX then typically provides many POTS telephone lines or basic rate ISDN lines to the users.

Broadband
The term "broadband" is a rather loose one, often used to describe any connection faster than primary rate ISDN, or a connection capable of passing video signals. Reasonable quality video can in fact be sent over the public ISDN by grouping together six or more B-channels into "H-channels", which are sometimes called "broadband" connections. Since these connections are "circuit-switched" like a normal phone call, users have exclusive use of the bandwidth and so the connections are of good quality but expensive.

Higher speed ISDN lines (T2, E2 etc) carrying even more B-channels than primary rate lines are also used within the network and to connect to large companies, and can be considered to be broadband ISDN connections.

In many places, the network is being converted to "asynchronous transfer mode" (ATM). This is essentially a stream of small, fixed-size "cells" that can effectively handle both circuit-switched streaming traffic such as voice and video, and packet-switched traffic such as the internet. This too can be considered to be broadband ISDN.

In the local loop, faster DSL technologies such as ADSL are also capable of transmitting video signals (at least in one direction) and are sometimes called broadband connections. However, they typically connect to packet-switched networks and are not called ISDN.



The layers
ISDN is specified by reference to the bottom three layers of the OSI seven layer model, described below. These layers are only conceptual - they are not necessarily physically separate in a particular implementation, but they make the protocol easier to understand. The layers communicate with each other using similarly conceptual messages called "primitives".

Layer 1 (Physical)
The physical layer electrically connects devices to each other. The higher layers can request a physical connection at any time by sending a PH-ACTIVATION request primitive to layer 1. If not already activated, layer 1 will try to wake up the device at the other end of the line (its "peer") and synchronise to the stream of bits. If successful, layer 1 will then return a PH-ACTIVATION indication to layer 2. If unsuccessful, a PH-DEACTIVATION indication is returned.

Once activated, a continuous stream of bits to and from the peer will be available on the D-channel and B-channels. There is no error correction at this stage, so line noise will occasionally cause errors. Errors tend to occur in bursts, but an average of one bit error per B-channel per minute would be considered normal. Layer 2 sends data to layer 1 in PH-DATA request primitives and receives data in PH-DATA indication primitives.

See I.430 (basic rate), I.431 (primary rate) and ETS 300 012-1 for detailed information.

Layer 2 (Data link)
The data link layer applies error correction to the stream of D-channel bits, to ensure that the essential "signalling" information used for setting up and clearing down calls is transmitted reliably. It also adds addressing, so that signalling information from several terminals can be sent to and from the network over one shared physical channel. The protocol used is known as the "link access procedure for the D-channel" (LAPD). See Q.921 or ETS 300 125 for more information.

The higher layers can request an error-corrected D-channel connection at any time by sending a DL-ESTABLISH request primitive to layer 2. If successful, a DL-ESTABLISH indication will be returned to layer 3. If unsuccessful, a DL-RELEASE indication is returned. Once a data link has been established, layer 3 can use it to reliably transmit signalling messages to its peer in DL-DATA requests and receive them in DL-DATA indications.

The layer 2 specification only describes the D-channel protocol, because the ISDN network is not usually concerned with the content of the B-channels - that is up to the user. The "V.120" or "LAPB" protocol, which is sometimes used to pass data over a B-channel with error correction and flow control, is very similar to LAPD. Voice calls use "m-law" encoding on the B-channel in North America and "A-law" encoding everywhere else.

Layer 3 (Network)
The network layer implements the call setup and cleardown procedures over the D-channel. The terminal tells the network what number to "dial" and what type of connection is required, and the network indicates which B channel to use and when to connect or disconnect from it. See Q.931 or ETS 300 102-1 for more information.

Supplementary services such as caller display, multiple subscriber numbering and call forwarding are also implemented by layer 3. See Q.932 and ETS 300 196 for more information.

The interface from layer 3 to higher layers and the user depends on the application. A standard known as CAPI (common ISDN application programming interface) is often used.


Typical call description
A walkthrough of a typical call setup and cleardown may be the quickest way to understand how the process works. Here is an example of a call from a simple ISDN telephone, starting right from the beginning.

Outgoing call
The first user (the "A-party") picks up the handset of the telephone (the "terminal"). The software inside the telephone signals this event to its layer 3 entity. The layer 3 entity constructs a SETUP message containing a "bearer capability" information element indicating call type "speech". It needs to send this message through the D-channel to the layer 3 entity in the network (its "peer"), but first layer 2 must be established.

Layer 3 knows that layer 2 is not already established, because it has never received a DL-ESTABLISH indication message from layer 2, in this example. Therefore, it sends a DL-ESTABLISH request message to layer 2 to request establishment of the data link.

We assume layer 2 is in the TEI UNASSIGNED state when it first receives this message. This means it needs to get a terminal endpoint identifier (TEI) from the network before it can establish the data link. The TEI is an address byte which is used in all messages between this particular terminal and the network.

However, layer 2 can do nothing until layer 1 is activated, so it first sends a PH-ACTIVATION request to layer 1 to request activation of the physical link.

Activation of layer 1
Layer 1 is initially in the DEACTIVATED state, which means that there is no signal on the line, a state known as an "INFO 0" signal. The terminal starts transmitting an INFO 1 wake-up signal (any non-zero signal) to begin the activation sequence. The network detects this, and responds with a signal known as an INFO 2, similar to normal communication but with the "activation bit" not set.  The terminal synchronises to this signal, and responds with an INFO 3, the normal communication signal from the terminal side. The network  detects this, and responds with an INFO 4, the normal signal with activation bit set.

This situation, with the terminal sending INFO 3 and the network sending INFO 4, is the "ACTIVATED" state. The layer 1 entities at each end of the line send PH-ACTIVATION indications to their respective layer 2 entities when this state is achieved.

A full-duplex communication path now exists between the terminal and the network, consisting of two B-channels and a D-channel (possibly shared with other terminals on the same line).

Establishment of layer 2
After receiving the PH-ACTIVATION indication primitive, layer 2 in the terminal transmits a message called an IDENTITY REQUEST to the network over the activated D-channel. The network should respond with an IDENTITY ASSIGN message containing a TEI that will be used in all future messages between this particular terminal and the network. This automatic TEI assignment procedure is only necessary on basic rate point-to-multipoint connections, because on a point-to-point connection there is only one terminal and so the addressing is unambiguous, and a fixed TEI (zero) is used.

To complete the data link establishment process, layer 2 sends a "set asynchronous balanced mode extended" (SABME) command to the network, using the TEI it has just been assigned. The network responds with an "unnumbered acknowledgement" (UA) message to the same TEI. Both layer 2 entities are now established and send DL-ESTABLISH indication primitives to their respective layer 3 entities.

It is quite common for layer 2 to remain established even though no calls are in progress. However, either the network or the terminal may release layer 2 by sending a layer 2 DISC message (acknowledged with a UA), provided no layer 3 calls are in progress. If no layer 2 entities are established, the network may then deactivate layer 1, which saves power. Some countries charge a small fee whenever layer 2 is established, for this reason.

An error-free connection now exists through the D-channel between the network and this particular terminal.

Service profile identification
In North America, basic rate terminals are usually required to send a service profile identification (SPID) to the network at this stage, before any incoming or outgoing calls can be made. The SPID is specific to the line and to the type of terminal, and must be obtained from the service provider and configured in the terminal by the user. It typically consists of the phone number of the line with some extra digits such as "0101" added. A different SPID (and TEI) is needed for each simultaneous call, so there are usually two SPIDs per line.

The exact message used to send a SPID on the D-channel varies with the manufacturer of the switch, so information about the switch type must also be obtained from the service provider and configured in the user's terminal. Typical choices are "Nortel DMS100", "AT&T 5ESS", "NI-1" or "NI-2".

An example of the signalling procedure is described in Q.932 Annex A. The terminal sends an INFORMATION message containing a service profile identification information element to the network using the "dummy" call reference. The network responds with an INFORMATION message containing an "endpoint identifier" information element with a "user service identifier" and "terminal identifier".

Outside North America none of this service profile identification is necessary, so you can typically connect a terminal to an ISDN line and make calls without further configuration.

Call setup by layer 3
Layer 3 in the terminal is at last able to send its SETUP message. It puts the message in a DL-DATA request to layer 2, which wraps the message in a layer 2 information frame (I-frame) and then forwards it to layer 1 in a PH-DATA request. Layer 1 then transmits the frame to the network via the D-channel.

The layer 1 entity in the network receives the frame, removes the "zero bit stuffing" and "flags", checks the frame length and "frame check sequence", and passes the frame to layer 2 in a PH-DATA indication. The layer 2 entity checks the address, frame type and sequence numbers, extracts the information field and passes it to layer 3 in a DL-DATA indication - unless the frame arrives corrupted, in which case layer 2 retransmits it automatically until it is received intact.

The network will decode the SETUP message and usually return an SETUP ACKNOWLEDGE message, containing a "channel identification" information element indicating "B-channel 1" or "B-channel 2". The network will usually also transmit dialtone on the indicated B-channel. The terminal receives the message and connects a "CODEC" to the indicated B-channel to decode the digital information into analogue form so that the user can hear the dialtone.

Everything described above typically occurs within a few tenths of a second, so dialtone is probably already present by the time the handset reaches the user's ear.

The user then dials the digits of the number to call. As each digit is dialled, the telephone sends it to the network in the "called party number" information element (Europe) or "keypad facility" information element (North America) in an INFORMATION message. When the network has received enough digits to route the call, it typically returns a CALL PROCEEDING message to the terminal. The network then passes the SETUP message to the remote user.

An alternative procedure to this so-called "overlap sending" procedure can be used if all the digits to be dialled are known before the start of the call. In that case, all the digits can be included "en-bloc" in the first SETUP message and the network does not need to return dialtone or a SETUP ACKNOWLEDGE message.

The call is now proceeding through the network.

Incoming call
At the remote end (the "B-party"), the call arrives as an incoming call. The network allocates a free B-channel, activates layer 1 and sends the SETUP to the user's terminal. If the line is configured at the network as "point-to-multipoint" (basic rate only), the SETUP message is "broadcast" to all terminals on that line using TEI 127. On a point-to-point line, the message is sent using fixed TEI 0.

The ISDN terminal(s) on the B-party's line receive a SETUP message, indicating the call type, the allocated B-channel and perhaps other information such as the called and calling numbers. If the call type is acceptable (in this case, "speech" or "3.1kHz audio", A-law encoded and so on) and the addressing information is acceptable (e.g. the called number, sometimes called "MSN" or "DDI", matches any number programmed into the phone by the user), the phones start to ring and each returns an ALERTING layer 3 message to the network, which passes it through to the A-party. The network normally also generates "ringback" tones down the B channel back to the A-party so he can "hear" the phone ringing.

A call has now been "initiated" all the way through the network, but not yet connected or charged for.

Call connection
When the remote (B-party) user picks up one of the ringing phones to answer the call, that phone sends a CONNECT message to the network. The network returns a CONNECT ACKNOWLEDGE message to that phone (and RELEASE messages to any other ringing phones on that line to stop them ringing), and forwards the CONNECT message through the network to the A-party caller. The B channel is "cut-through" (connected) all the way from the caller to the called party and back, and the call charging starts.

The call is now fully connected.

Call cleardown
When either of the users replaces the handset to end the call, that telephone sends a layer 3 DISCONNECT message to the network, containing a "cause" code, in this case cause 16, "normal user clearing". See Q.850 or ETS 300 102-1 for a list of cause codes. The network disconnects the B-channel and returns a RELEASE message, indicating that all resources associated with the call should be released. The telephone responds with a RELEASE COMPLETE message when this is done.

Meanwhile, the DISCONNECT message has been forwarded through the network to the other user. The user may remain connected to the B-channel for a while to listen to any tones or announcements. When the user replaces the handset (or after a timeout), the telephone disconnects from the B-channel and returns a RELEASE message to the network. The network releases all resources associated with the call and returns a RELEASE COMPLETE message.

The call is now completely cleared.


Installation hints
Basic rate
Basic rate terminals can normally be plugged straight into an NTU (or direct to the line in North America) using normal "category 5", "unshielded twisted pair" (UTP) network cable with standard "RJ45" plugs and sockets wired "straight through". Note that the pairing of pins is important and not intuitive: the four twisted pairs of wires should connect to pin pairs 1-2, 3-6, 4-5 and 7-8. Polarity is important if more than one terminal is connected. Network cables must be kept away from mains cables.

If all terminals are less than about 10 meters from the NTU no further wiring configuration is needed. On a basic rate line configured as "point-to-multipoint" at the network, up to eight terminals can simply be connected in parallel at the NTU, otherwise only one terminal is allowed on "point-to-point" lines.

If a basic rate terminal is to be connected further than about 10 meters from NTU, 100 ohm termination resistors must be connected between pins 3 and 6 and between pins 4 and 5 at the far end of the cable, and the termination resistors inside the NTU disconnected. Companies such as RS sell suitable plugs with termination resistors and on the NTU there should be a switch that can be set to "OUT". Terminals can be connected anywhere along this "passive bus", but any "stubs" should be as short as possible (10m maximum).

Terminals can be connected further than 150m from the NTU, up to a maximum of about 800m, but they must be clustered together near the end of the bus and at the extreme length only one terminal can be connected. Termination resistors must be used at the end of the cable as described above and there should be a switch on the NTU that is set to "LONG" to enable "adaptive" timing in this configuration.

In Europe, terminals should be configured for "Euro ISDN" or "ETSI" or "CTR3" operation. In North America, a switch type and SPIDs need to be configured as described above. Other countries are often compatible with Euro ISDN, or may need a specific configuration (e.g. INS64 for Japan).

If more than one number is allocated to the line, you may need to configure your terminal to only accept calls to a specific number, sometimes called an MSN (multiple subscriber numbering), otherwise it will ring for all calls. Usually only the last few digits are necessary.

If outgoing voice calls are being rejected, try changing the configured call type from "speech" to "3.1kHz Audio" or vice versa. "Speech" calls are sometimes cheaper, but may not work for modem or fax connections.

Primary rate
Primary rate lines are also often connected using standard network cable and "RJ45" plugs, but using different pins. They are always point-to-point and therefore there is no need to worry about termination resistors or polarity. Older lines may connect using coaxial cable as described above, or with simple screw terminals.

Transmit and receive pairs are frequently presented the wrong way round, so some experimentation with "crossover" cables may be necessary. Primary rate crossover cables are not the same as basic rate or ethernet crossover cables!

Older primary rate lines sometimes do not support the standard framing scheme known as "CRC4 multiframing". It may be necessary to disable this option in the terminal. There are also legacy lines such as "DASS2" lines in the UK that are electrically compatible and functionally similar, but completely different at layers 2 and 3.

A "loss of framing" (LOF) or "no signal" indication probably means there is no connection, or that the transmit and receive pairs are swapped. A "remote alarm indication" (RAI) means that the terminal is receiving a correct signal from the network but the network has detected a problem in the signal from the terminal. An "alarm indication signal" (AIS) means there is a signal from the network but the line is out of service.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...