Ernie's CompTIA Convergence+ / Avaya ACA Notes

Erlang - A unit in telephony used to measure load.
             Examples include the number of call center agents and the number of telephone lines required given certain parameters such as average calls per hour and average length of each call.
             Erlang is named after Agner Krarup Erlang who invented Teletraffic Engineering and Queueing Theory.
             A bit of humor (funny to Ernie anyway): Erlang proved in his 1909 publication: "The Theory of Probabilities and Telephone Conversations (Pages131-137)" that the "Poisson distribution" (part of probability theory) applies to random telephone traffic.
                                                                         The funny part is: Examples that are well-modeled as Poisson distribution processes include the radioactive decay of atoms, telephone calls arriving at a switchboard, page view requests to a website, and rainfall!
                                                                          James Burke would be proud of the "Connections!"

 

Traditional Switched Circuit Voice Operation
 

Switch Topology

In the USA 1974 saw an anti-trust suit brought against AT&T due to its very large user base of telephone switches giving it an overwhelming monopoly within the voice provision market. The Modified Final Judgement in 1982 by Judge Greene (referred to as the Bell System Divestiture) resulted in AT&T having its local call access given to seven Regional Holding Companies which were nick-named 'Baby Bells'. AT&T kept its manufacturing businesses and its long distance services.

 
The structure for telephone provides now means that local telephony services are provided by a Local Exchange Carrier (LEC). The LEC is however restricted in its operation to within its Local Access Transport Area (LATA). Calls between LATAs have to be handled by an Inter Exchange Carrier (IEC or IXC). There are 200 LATAs within the US.

 
The services that are offered by telephone companies include Plain Old Telephone Service (POTS) and Custom Local Area Signalling Services (CLASS) which enhances POTS by providing call screening, security and display features. Also available is Advanced Intelligent Networking which brings the CLASS-type features back into a centralized database, examples include Centrex that provides a virtual PBX with most of the features of a PBX being supplied by the CO.

 

Tone Dialing - Now more commonly used is the Dual Tone Multi-Frequency (DTMF) method that uses the concept of the keypad where each key position is represented by two tones.
Each row is assigned a different low frequency whilst each column is assigned a different high frequency.

DTMF

 

 

Analogue Signaling

Loop-Start

Domestic and small office telephones are connected to the PSTN CO switch via a pair of wires called the Local Loop. The signaling used in this situation is called Loop-Start and Loop-Disconnect Signaling. Loop-Start is the most common form of signaling in the analogue environment and it provides the following services:
One wire of the local loop is called the Tip which is connected to ground. and the other wire is called Ring which is connected to the negative side of the 48v DC Battery. Picking up the telephone handset takes it Off Hook and makes a connection on these wires thereby allowing current to flow. The switch sends a dial tone to the receiver of the phone that has gone off hook, thereby informing the caller that the switch is ready to receive dial digits. The digits are either sent via pulses or via DTMF dial tones. The bell is always connected to the switch however a capacitor prevents the DC current flow from the battery in the switch. When dialing occurs the remote end is notified by the AC ringing voltage applied at between 20 - 47Hz (The traditional operation of the telephone was described earlier).

 

Telephone Call Operation

Using Loop-Start signalling, traditional telephone systems operate more or less as follows:
Release signals can vary from switch manufacturer to switch manufacturer. Some switches are able to measure the time from going off hook until the first digit is dialed. If this exceeds a pre-defined time limit then the loop may be connected to an announcement and/or a Receiver Off Hook (ROH) tone.

 
The signalling between the subscriber switches and the telephony service providers can be identified as follows:

Ground-Start

One problem associated with Loop-Start Signaling, particularly where there are a large number of calls, is that you can experience a situation where the trunk is seized from both ends at the same time so that you end up with someone already at the other end. This is called Glare. This is due to a lack of recognition for the time interval between the seizure of a trunk at one end and the subsequent making busy the trunk at the other. Originally, a method where the user had to wait for a long timeout (up to 40 seconds) was used. After the timeout a particular tone would be heard which encouraged the user to replace the handset and try again. Ground-Start Signaling (also called 'Earth Start') is a modified form of Loop-Start Signaling whereby there is current detection at both ends which is used to request and then confirm that the trunk is available before it is seized. When a local PBX seizes the trunk it grounds one of the wires which informs the other end. This limits the possibility of glare at least outside of 100ms. Electronic switches can detect glare by timing the wink start or delay-dial signal, maybe even switching the call to another trunk.

 
Ground Start

 
The ground-start line conductors transmit common battery loop supervision, loop dial pulses/DTMF dial tones, alerts and the voice signal. The lines can send a 'Start to Dial' signal rather than wait for a dial tone, they can send a message indicating a new call and they can detect call disconnects and unauthorized calls.
 
When in the Idle state, the phone has an open circuit Tip (T) to Ring (R). The phone also has a 10-20,000 ohm Ground Detector that links it to ground and detects an Off-hook from the network.
 
When in Call Initiated state, the phone closes contact S which causes current to flow on the Ring side. The Network sees this and responds by closing contact N. This results in the Tip being grounded and the Ground Detector in the phone sees this.
 
If the Network makes the disconnection by opening N and removing ground from the Tip, then the current stops flowing. The phone waits 350ms to determine that this is an actual disconnect as opposed to an Open Switching Interval (OSI). If the phone makes the disconnection, then it opens the loop so that the line appears busy until the network removes ground from the tip and the line can return to Idle. An OSI is where both Ground and Battery are removed for a maximum period of 350ms in between state changes. There are never less than 100ms between OSIs.

 

 

Ethernet

TIA/EIA-568-B T568A Wiring
Pin Pair Wire Color
1 3 tip Pair 3 Wire 1 white/green
2 3 ring Pair 3 Wire 2 green
3 2 tip Pair 2 Wire 1 white/orange
4 1 ring Pair 1 Wire 2 blue
5 1 tip Pair 1 Wire 1 white/blue
6 2 ring Pair 2 Wire 2 orange
7 4 tip Pair 4 Wire 1 white/brown
8 4 ring Pair 4 Wire 2 brown
 

TIA/EIA-568-B T568B Wiring

Pin Pair Wire Color
1 2 tip Pair 2 Wire 1 white/orange
2 2 ring Pair 2 Wire 2 orange
3 3 tip Pair 3 Wire 1 white/green
4 1 ring Pair 1 Wire 2 blue
5 1 tip Pair 1 Wire 1 white/blue
6 3 ring Pair 3 Wire 2 green
7 4 tip Pair 4 Wire 1 white/brown
8 4 ring Pair 4 Wire 2 brown

 

Cross Over Cable

Only one end of a crossover cable is switched, and is in the following order:
Crossover Cable Wiring Order    [1 + 3 and 2 + 6 switched from patch cable order]
Wire Color green/white green orange/white blue blue/white orange brown/white brown
Wire Number 1 2 3 4 5 6 7 8

 

 

 

 

Links:

Cisco's Guide to Ethernet: http://www.cisco.com/en/US/docs/internetworking/technology/handbook/Ethernet.html

Traditional Switched Circuit Voice Operation: http://www.rhyshaden.com/voice.htm

Debugging and troubleshooting VOIP problems: http://www.voip-info.org/wiki/view/How+To+Debug+and+Troubleshoot+VOIP