370 (3)

profileJohn_matt
chapter_4_and_5_readings_links.docx

Chapter 4: Messaging Systems

OVERVIEW

I see no reason why intelligence may not be transmitted instantaneously by electricity.

Samuel Morse, 1832

Samuel Morse was absolutely correct, although there is a slight technical issue in the form of propagation delay. Also, we must assume that he meant information, rather than intelligence. That said, there is great value in communicating information instantaneously by sending messages. Also, and it would not have occurred to him at the time, there is great value in storing and later forwarding certain messages. Electronic messaging systems comprise facsimile, voice processing, electronic mail, instant messaging, and short message service. Each system deals with information in a different native form, and each serves its own unique purpose to great advantage. While these technologies differ greatly in their basic characteristics and certainly in their applications, they do share some commonalities. They all reside on computer platforms of various descriptions, and they all yield the greatest benefits when widely networked. Perhaps most importantly, all of these electronic messaging systems are characterized by their abilities to support store-and-forward communications. In other words, a system can accept a message and store it in temporary memory in a mailbox from which it can be delivered or retrieved at a later time. The user often can access the mailbox remotely and may be able to forward the message to another user, perhaps with annotations. Several other of these technologies support instant, or more correctly near-real-time, message communications.

Store-and-forward technology adds significant value because it overcomes the requirement for a real-time communication between people or machines. The specific benefits of store-and-forward technologies include the fact that differences in time zones are mitigated, since you can create the message during business hours in one location and forward it to the recipient who can access it during normal business hours at the distant location, with the transmission perhaps taking place when network traffic loads are lightest and costs are lowest. Whether the parties are across the street, at opposite ends of the country, or separated by oceans, communication can be accomplished on a non-real-time basis. Additionally, you commonly can access systems and messages over a Wide Area Network (WAN) from remote locations (e.g., field offices, hotels, and client sites) at any time of the day or night, thereby offering tremendous benefits to the contemporary road warrior. Finally, the messages tend to be abbreviated, containing only necessary information; this is especially true of voice mail, which replaces the normal human-to-human conversational mode of communications. As social animals, humans tend to socialize before getting down to the business at hand; however, you are much less likely to attend to interpersonal niceties via a machine-enabled, one-way communication. Therefore, communications by messaging systems tends to be highly efficient, if not particularly personal, in nature. Note that this store-and-forward capability is effective only for non-real-time messaging applications. Real-time voice and video communications, for example, are highly sensitive to tight and immediate timing considerations.

While all of these messaging devices initially were of a proprietary nature, contemporary systems are computer-based messaging systems that generally are networked and are based on standards that ensure both their interconnectivity and their interoperability at some minimal level. You variously can access them from a telephone, computer workstation, or even a cellular phone or other mobile device. Additionally, you often can access them remotely across a WAN through a Key Telephone System (KTS), Private Branch eXchange (PBX), Automatic Call Distributor (ACD), Central exchange (Centrex), or Central Office (CO) system. They also increasingly are enhanced through the application of Computer Telephony (CT) technology; in fact, voice processing inherently is CT. Taken to the technically feasible extreme, CT enables the user to access a variety and combination of messages through the switch from a Wireless Local Area Network (WLAN)–attached, multimedia tablet PC workstation using a single, intuitive Graphical User Interface (GUI). Finally, the separate technologies of facsimile, voice processing, e-mail, and instant messaging currently integrate to yield unified messaging systems which allow voice, audio, text, facsimile, image, and even video messages to blend, thereby enhancing the aggregate effectiveness and impact of the individual messages. The technology currently exists to support unified messaging, and a number of such systems are commercially available, although they have been slow to penetrate the market. The next step in the evolution of messaging systems is that of unified communications, which will support the translation of message formats in such a way that an end user can receive any message or combination of messages in virtually any native message format using virtually any device (e.g., cellular telephone or computer), with the formats translated for optimum display or presentation. Further, the end user can respond to that message with the translations working in reverse.

4.1 FACSIMILE (FAX) SYSTEMS

The equipment required is simple to use. An office boy has been trained to operate the transmitter in 1 week. An executive's wife learned not only to adjust a home receiver but also to replace paper and the printer blade that serves as ink in 1 hour.

Lee Hills and Timothy J. Sullivan, Facsimile, McGraw-Hill Book Company, 1949

Facsimile comes from the Latin facere simile, which translates to make similar. Traditional facsimile systems are unique as they communicate information in graphic form, rather than audio or data form. Edward Davy invented the first practical facsimile machine in 1837 but abandoned the invention shortly thereafter. Alexander Bain (1811–1877), a Scottish clockmaker and inventor, revived the concept and patented the recording telegraph in 1843. Bain's primitive transmitting device used a stylus attached to a clock pendulum that passed over metal type, sensing dark and light spots on a metal-plated document. The dark spots were transmitted via electrical signals over a telegraph circuit to a synchronized clock pendulum on the receiving device, which passed over chemically treated paper, making a dark stain at a corresponding point where the transmitter sensed a dark spot. The Bain device was used commercially in the United States and England, where it competed with the Cooke–Wheatstone telegraph, which could transmit images through etching metal with a stylus. The first commercial facsimile service was established in 1865 by Giovanni Casselli with a circuit between Paris and Lyon. Circuits were added to other cities, and Casselli sent 5000 faxes in the first year using his patented Pantele-graph machine, which was based on the Bain recording telegraph. The service was discontinued in 1870. A number of other inventors developed various wireline facsimile devices over the next 50 years or so, but none achieved any great level of success, for they were overshadowed by the much more functional and practical electric telegraph (1844). The electrical telegraph system was invented by Samuel F. B. Morse (1791–1872) and Alfred Vail (1807–1859) and began operation in 1844. That system involved a transmitter in the form of a traditional manually operated telegraph key for sending alphanumeric data using Morse code. The receiver recorded the code symbols with an armature that scratched a paper tape. The stock ticker (1870), which was the predecessor of the teletype, and the telephone (1876) further discouraged usage of facsimile systems.

The next wave of facsimile development was in the early 1920s, with work on both wireline systems and Amplitude Modulation (AM) and Frequency Modulation (FM) broadcast radio systems. The Associated Press started a wire photo facsimile service in 1934, stimulating newspapers and law enforcement agencies all over the world to use fax for photo transmission. Although the Radio Corporation of America (RCA) developed a radiophoto system in 1926, it was not until 1936 that 1000 homes in the United States were experimentally equipped with facsimile radio receivers that could print newspapers transmitted overnight, when normal audio broadcasts were off the air. Although commercial developments were stalled by World War II, planning continued and further trials of radio-based facsimile newspaper transmission continued into the early 1950s. Needless to say, this application was impractical and failed miserably.

Facsimile was not widely deployed until the 1970s, when the technology matured sufficiently and the International Telecommunications Union—Telecommunication Standardization Sector (ITU-T) set interoperability standards. At that point, the devices became sufficiently affordable for the technology to find relatively significant market acceptance in commercial, educational, and government applications. Facsimile became truly widespread after Group III standards were established in 1980. The low cost of current fax technology renders it cost effective even for widespread consumer use [1, 2]. Estimates of the installed base vary but generally suggest that there are somewhere in the range of 200 million fax devices of one sort or another installed worldwide.

4.1.1 Technology Basics

Facsimile transmission typically involves a pair of stand-alone fax devices that serve to both transmit and receive image documents through built-in modems that interface these inherently digital devices to the analog Public Switched Telephone Network (PSTN). The transmitting fax scans the image document from top to bottom and from left to right, looking for dots of black and white; some systems will also support 256 levels of grayscale and some will support color. Through the modem, these various dots are translated into data bits, the data bits are compressed in order to reduce transmission time, and the resulting compressed data file is translated into modulations of analog sine waves, which travel over a voice-grade analog local loop to the edge of the PSTN. Alternatively, the fax transmission is converted from analog into digital format for transmission over a digital local loop, such as a T1. Within the core of the PSTN, transmission commonly is in digital format. At the egress edge of the PSTN, the process is reversed. The receiving device reads the analog signal through a matching modem and either prints a facsimile of the original document or stores the data in memory for printing or distribution at a later time. The most basic and least expensive fax machines use an old electrothermochemical printing technology that varies the temperature of a print head to cause the image to be reproduced on chemically treated paper. Plain paper fax machines use ink jet or laser printer technology. Early fax machines were expensive and proprietary in nature, which served to discourage their widespread use. Beginning in 1966, various standards initiatives from the Electronic Industries Alliance (EIA) and the ITU-T allowed manufacturers to build to standard sets of specifications, which enabled interoperability of machines, encouraged widespread adoption of the technology, and thereby lowered costs due to greater manufacturing volumes. The generations of fax machines defined by these standards are as follows:

· Group I (G1) standards were published by the EIA in 1966 as EIA RS–328 (Recommended Standard). The EIA standard was accepted by the ITU-T in 1966 as the T.2 mode of operation and became known as Group I (G1). That standard, now considered obsolete, specified analog transmission with modems using double-sideband modulation. (Note: The process of Amplitude Modulation (AM) results in the creation of two sidebands. An upper sideband is above the carrier frequency and a lower sideband is below the carrier frequency.) Group I machines conforming to international standards use Frequency Modulation (FM), transmitting at two frequencies, with 1500 Hz pegged as the white frequency and 2300 Hz as the black frequency. The North American standards peg 1500 Hz as white and either 2300 or 2400 Hz as black. As Group I machines used no compression mechanism, transmission was slow at about 4–6 min per page, even at the relatively poor resolution of about 100 scan lines per inch (lpi). Group I machines used an obsolete electrochemical printing process. Table 4.1 compares fax Groups I–IV.

Table 4.1: Facsimile Generations and Characteristics Open table as spreadsheet

Generation (ITU-T Group)

Transmission Speed (approx. per page)

Compatibility

Resolution (lpi)

Group I

4-6 min

Group I

100

Group II

2-3 min

Group II

100

Group III

3-30 s

Groups I-III

Variable horizontal and vertical:

Group IV

3-4 s

Groups I-IV

100, 200, 300, and 400 lpi

· Group II (G2) fax machines conform to the ITU-T T.3 (1978) black-and-white mode of operation, which accomplishes modest bandwidth compression through the use of encoding and Vestigial SideBand (VSB) transmission. (Note: Vestigial sideband is a technique involving the transmission of the carrier, one complete sideband and only a portion of the other sideband. The VSB assists in demodulation of the signal.) Group II machines use AM and Phase Modulation (PM) at a carrier frequency of 2100 Hz. Group II machines use compression to improve transmission speed to approximately 2–3 min per page, but resolution remains relatively poor at 100 lpi. Group II machines use the same obsolete electrochemical printing process as Group I machines and are, themselves, considered obsolete.

· Group III (G3) fax machines conform to ITU-T Recommendation T.4 (1980) and are backward compatible with Group I and Group II devices. Group III devices convert a document to digital form and employ a run-length encoding algorithm, as described below, that compresses the document prior to transmission.

· Group IV (G4) fax machines conform to ITU-T Recommendations T.563 and T.6. Group IV machines are highly specialized and relatively expensive fax computer systems designed to make use of digital circuits to improve quality and improve transmission speed at rates up to 64 kbps. Circuit options include switched 56 kbps service and Integrated Services Digital Network (ISDN) at 64 kbps. Group IV fax machines also are Group III compatible and connect to analog circuits as required. Group IV machines are unusual, particularly in North America, where ISDN penetration is relatively light. Table 4.1 provides a view of the basic characteristics of each ITU-T fax generation [2–5].

4.1.2 Compression

Compression mechanisms employ mathematical algorithms in a process that serves to reduce the amount of data to be transmitted or stored. Compression is possible since there always is some amount of data redundancy or there may be a predictable flow to the data. These characteristics of a set of data or a stream of data (i.e., datastream) allow the use of a sort of mathematical shorthand to represent or describe the original data in fewer bits. A matching decompression process reverses the compression process and restores the data to its original form, or a facsimile thereof, so to speak. Such reduction serves to improve the efficiency of data transmission and storage and is especially valuable if bandwidth and memory resources are limited. (Note: Resources are always limited.) There are trade-offs, of course. Compression and decompression processes involve mathematical calculations that require computational resources in the form of Central Processing Unit (CPU) cycles to act on program logic. Some amount of cost is involved in the CPU cycles, the programs, and the associated storage, and some amount of time is required to accomplish the processes. So, compression takes time and costs money, like so many other things in life, and the more complex the compression algorithm, the more time it takes and the more money it costs. As applications for fax began to grow and technology evolved in the 1970s, compression made its appearance with Group III standards. Before discussing compression, it is necessary to understand that Group III standards also specified a number of options for document resolution, which refers to the level of detail of reproduction of an image and which is directly related to the density of the dots of color (black, white, and perhaps other colors). Group III specifications provide a number of options, expressed as lines per inch (lpi) in terms of scanning and dots per inch (dpi) in terms of sensing and printing, along both the horizontal and vertical axes in the format H × V (spoken as "H by V"). Of those options, the actual (and nominal) industry standards are as follows:

· Standard: 98 × 203 (100 × 200)

· Fine: 196 × 203 (200 × 200)

· Superfine: 392 × 203 (400 × 200)

Resolution clearly has an impact on the size of an image file, as greater resolution involves more lines per inch in scanning and dots per inch in sensing, which increases the number of bits required to express the image in digital terms. As the resolution increases, the number of bits required to express the image increases, and the amount of time required to transmit the set of data increases proportionately, assuming that the available bandwidth is constant. The yield, of course, is more dots per inch in printing, which improves image quality. Compression offers a solution to this bandwidth issue without compromising print quality. There are three forms of compression used in Group III/IV fax systems:

· Modified Huffman (MH) is a relatively simple compression algorithm that eliminates signal redundancy using a one-dimensional run-length encoding (i.e., digitizing) process that serves to compress a document prior to signal modulation and transmission. The transmitting machine scans a document from top to bottom and left to right, sensing dots of color, which in this case are black or white, at some interval that depends on the resolution setting: standard, fine, or superfine. Rather than transmitting a set of bits identifying value (black or white) of each dot of each line, the scanning machine looks for redundancy, or runs, of dots of the same value. The machine then can transmit a set of bits identifying that value and the length of the run before the value changes from black to white, for example, then transmit the length of the run of white, and so on. The receiving machine reverses the process, decompressing the data in order to reconstruct a facsimile of the original image. Compression at this point serves to reduce the amount of data that must be transmitted, thereby improving the efficiency with which the limited bandwidth offered by an analog circuit is used. Further efficiencies can be realized if the circuit is of good quality and, therefore, a fax modem can employ a relatively sophisticated modulation technique. Transmission rates over analog lines range from 2400 bps to 33.6 kbps over analog lines, depending on the quality of the circuit at a given moment, through the use of an ITU-T standard modem protocol. The modems test the quality of the circuit during the handshaking process that precedes the operational phase of the transmission. The modems negotiate a sustainable transmission rate in consideration of circuit quality and can dynamically adapt to changing conditions. Group III devices operating at 9.6 kbps transmit documents at "business letter" quality at a rate of approximately 30s per page using the MH compression algorithm. MH is supported by all Group III devices as the lowest common denominator and yields a compression ratio of about 20:1 in black and white.

· Modified Read (MR), a Group III option used in some machines, scans and compresses the first line using MH. Subsequent lines are scanned and compared to the first line, and only the differences (deltas) are encoded and transmitted. This process continues for some predetermined number of lines in a group, at which point the process is reset and the first line in another group is encoded using MH, and so on. MR is an optional compression algorithm that is particularly effective if there are few differences between lines.

· Modified Modified Read (MMR), a compression algorithm used in Group III machines operating at 14.4 kbps or better, supports transmission at a rate of as low as 3s per page. Specified in ITU-T T.6, MMR uses a two-dimensional compression technique that permits the transmitting modem to view and consider multiple lines of data during the encoding process. At 28.8 kbps, Group III machines can transmit a page in about 4s using a V.34 modem employing Quadrature Amplitude Modulation (QAM). At 33.6 kbps, Group III machines can transmit a page in about 3s using a V.34bis (aka V.34+) modem employing Trellis-Coded Modulation (TCM). (Note: Modulation techniques were discussed briefly in Chapters 1 and 2 and will be covered in greater detail in Chapter 6 .)

4.1.3 Computerized Fax

Fax boards and fax software, both Group III/IV compatible, exist for computer systems ranging from PCs to mainframes. When sending a computer-based fax document, the fax software instructs the fax board to print the document to a remote facsimile machine, rather than a printer. The computer fax board contains a fax modem, thereby enabling any computer file to be transmitted to another similarly equipped computer or to a fax machine through fax emulation (imitation). Fax software and fax boards once commonly accompanied an applications suite packaged with a PC. Client/server versions involve fax software residing on the client workstations, with a relatively small number of fax boards residing on the fax server; the server may be a stand-alone (dedicated) fax server or a partition of a multifunctional server. The fax software in the client workstations sends the fax documents across a Local Area Network (LAN) to the fax server (see Figure 4.1), which queues them as required before transmission, thereby considerably reducing hardware and circuit costs [6–8]. The fax server, which also may support other applications, accepts and queues faxes from multiple workstations on the basis of a print-to-fax option. The fax server takes faxes from the queue, rasterizes them (i.e., converts them from text to image format), adds either a default or customized cover page, compresses the data, perhaps selects the Least Cost Route (LCR) for transmission, and sends the fax. International faxes can be held in queue for transmission after normal business hours, when traffic loads are lightest and calling costs are lowest. If the fax devices are Internet Protocol (IP) enabled, the LCR options may include the Internet or a special IP-based carrier. The fax server also provides accountability, as records can be kept of fax traffic through employee numbers and department codes in order that the cost of fax transmission can be billed back to the responsible cost center [9].

Figure 4.1: Facsimile transmission in a fax server environment

These computerized approaches have several drawbacks, however. First, the transmitted documents either must exist as computer files or must be scanned by peripheral equipment and converted to computer files through a rastering process accomplished by application software. Second, the receiving fax computers must be turned on and networked continuously in order to be accessible. Third, in a stand-alone PC environment, the process of fax receipt may interrupt other applications in progress at the receiving computer workstation. Finally, the received documents are memory-intensive image files, which must be converted to text files in order to achieve full effectiveness. Also, so many people now have broadband access [e.g., Asymmetric Digital Subscriber Line (ADSL) and cable modems] and so seldom use their modems for dial-up access that PC-based fax is just too troublesome for a large percentage of users.

On the positive side again, the converted documents can be fully editable text files that can be forwarded to other workstations or servers without suffering the loss of quality characteristic of documents refaxed via the traditional approach. You also can archive the converted incoming faxes and burn 100,000 or so onto a single CD-ROM disk without having to scan them first. An additional advantage to this approach is that you can retrieve the faxes over the Internet, thereby relieving the recipient of the requirement to have access to a conventional fax machine.

To resolve this computerized fax dilemma, applications suites such as Microsoft Office 2003 support fax over the Internet through a fax service provider. The service provider offers downloadable fax software for signing, editing, and managing faxes. Incoming faxes are delivered as e-mail attachments. No fax modem, fax machine, or separate telephone line is required. The fax service may be bundled with Voice over Internet Protocol (VoIP) and other Internet or Web-based services.

4.1.4 Fax-on-Demand

Fax-On-Demand (FOD) most commonly is an integration of voice processing and facsimile. The traditional FOD approach involves a voice processing front end that answers the telephone call, then prompts the caller to select a document from a menu of options, enter a return fax number, and perhaps enter a credit card number for billing purposes. The system also may have the capability to automatically verify the credit card number on a machine-to-machine basis. FOD has integrated with websites for access over the Internet. Visitors can click a fax back button, select the requested documents, and enter a return fax number and billing information.

FOD systems can be delivered on a turnkey basis, or the user organization can build one with a component toolkit. FOD systems also may include broadcast capabilities which support high-speed outgoing fax transmission to large numbers of receivers through the entry of a distribution list. In larger applications, FOD systems are in the form of fax servers, typically residing on dedicated computer platforms and accessible by multiple client workstations across a LAN.

While e-mail and the Internet currently may be the preferred methods of electronic communications, fax continues to offer advantages as the lowest common denominator, which is particularly significant in developing countries and other circumstances where Internet access to e-mail is not available. Like e-mail and the Internet, FOD is fairly instantaneous. Although typically in black and white, cleverly formatted documents rich in graphic content can be faxed easily and quickly. Further and very much unlike most e-mail systems, fax provides instantaneous reporting of the results of transmissions, whether successfully delivered or not.

4.1.5 Conventional Fax Standards

Conventional fax is based on a number of international standards, which naturally increased in number and complexity over time and by generation. Those standards include T.30 and T.434.

4.1.5.1 T.30

T.30 is an ITU-T standard (1996) that describes the handshaking protocol used between two Group III/IV devices for establishing and maintaining communications. T.30 also provides for routing faxes to users via subaddresses or fax mailboxes. Message security is included, so that only those responsible for certain manual routing processes can view even the cover page. The routing can be accomplished in several ways, including DTMF, DID, OCR, and manually:

· Dual-Tone MultiFrequency (DTMF) routing requires the sender to enter the appropriate fax extension via a telephone tonepad.

· Direct Inward Dial (DID) routing requires a PBX or fax server which is so equipped, and each fax extension must have a separate DID number.

· Optical Character Recognition (OCR) software permits the server to recognize the name or special identification of the intended recipient; OCR currently is more expensive and less reliable than the other options.

· Manual routing is the most common approach, with an individual viewing only the cover page and then routing the fax as appropriate.

In a client/server computing environment, each LAN-connected client workstation is assigned a fax extension number. As the fax server receives inbound fax messages, it automatically routes them to the specific workstation associated with the intended recipient. Through entry of the appropriate security password, the recipient then accesses the facsimile message. Assuming that the message is T.434 compliant, the recipient can edit and annotate it prior to either responding or forwarding the fax to a user-definable distribution list. Software exists that allows the server to recognize the dialed telephone number with the trailing subaddress; the fax then can be routed to a fax machine, another client workstation, or an e-mail address. Further, the server may be intelligent enough to determine whether to send the message via the PSTN or the Internet or another IP-based network as an e-mail attachment [10].

4.1.5.2 T.434

T.434 is an ITU-T industry standard (1999) for Binary File Transfer (BFT) that permits compliant facsimile devices to send any file type, reproducing the original quality at the receiving end. Additionally, the received document is in the form of an editable file, if allowed by the sender. T.434 provides for interoperability among BFT products from disparate manufacturers, allowing data files to be sent much as e-mail messages so that fax-on-demand essentially becomes file-on-demand. Benefits of T.434 include increased throughput and reduced document storage requirements through data compression. Additionally, the specific file attri-butes (e.g., image format as in .eps, .pcx, or .bmp files) are maintained. The standard works with computer-based facsimile systems and Group IV fax machines. The standard allows the linking of fax systems to photocopiers, scanners, e-mail gate-ways, and PCs and invites integration with PBXs and voice mail systems in a unified messaging scenario.

4.1.6 Fax over Internet Protocol

Fax over IP (FoIP) is a relatively recent (1998) development that offers significant cost savings compared with the traditional method of transmission over the circuit-switched PSTN. The traditional method certainly has advantages in terms of ease of use through a standard telephone interface, ubiquitous access through modems over analog local loops connected to the PSTN, and low cost of terminal equipment since the development of Group III machines. Group IV devices extended that capability to digital circuits, adding a significant level of intelligence in the process. The contemporary fax document almost always originates as a data file that increasingly is sent from computer to computer, rather than printed out and manually fed into a conventional fax machine. It is difficult to argue the logic behind sending a fax data file over a highly efficient packet-switched network optimized for data, rather than over the circuit-switched network optimized for voice. The trick is to somehow provide a mechanism for interfacing the huge installed base of contemporary fax machines with a network for which they clearly were not designed.

The Internet and emerging special-purpose IP networks are built on the concept of packet switching and the underlying TCP/IP suite for packet data. Without getting too deep into the specifics of packet switching and the TCP/IP suite, which are presented in several subsequent chapters, suffice it to say that the two concepts work together very nicely to support reliable fax transmission over a highly shared packet data network. Packet networks require that a file of data be fragmented into multiple, discrete units, or packets, of data that flow independently over the network from the originating edge to the terminating edge, where they are linked together and where the original file of data is reconstituted. Packets of all sorts flow into, across, and out of a network that may support thousands or even millions of simultaneous transmissions, each in packet form, and all of which contend for limited resources in the form of switches and transmission facilities. Under load, this packet-by-packet contention for limited network resources results in congestion, which imposes variable and unpredictable levels of delay on the individual packets. Contemporary fax machines rely on an internal timing mechanism between the transmitting and receiving terminals. The carefully timed PSTN supports this approach beautifully. Because packet networks violate this timing mechanism, however, the devices simply cannot transmit effectively over such a network.

In order to send a fax document over a packet network (Figure 4.2), the terminal equipment must adapt to the inherent nature of that network. You can typically accomplish this adaptation process through a fax gateway, which serves as a physical gate between the circuit-switched and the packet-switched networks. Just as importantly, the gateway runs gateway protocols that convert from the carefully timed PSTN to the TCP/IP-based packet network. IP-enabled fax devices (e.g., fax machines, PCs, and servers) do not require the services of such a gateway. Relevant IP fax standards include T.37 and T.38.

Figure 4.2: IP fax illustrating relationship between conventional PSTN and Internet fax domains through gateways

4.1.6.1 T.37

T.37 (June 1998) is a joint ITU-T Recommendation and Internet Engineering Task Force (IETF) standard [Requests for Comment (RFCs) 2301–2306] for store-and-forward fax via e-mail through the incorporation of SMTP (Simple Mail Transfer Protocol) and MIME (Multipurpose Internet Mail Extension). SMTP is an application layer extension of TCP/IP that governs electronic mail transmissions and receptions. MIME is an SMTP extension that supports compound mail; in this context, MIME provides for the attachment of a compressed fax image to an e-mail. Fax image documents are attached to e-mail headers and encoded in the TIFF-F (Tagged Image File Format-Fax) compressed data format using the Modified Huffman (MH) technique. In simple mode, T.37 restricts fax transmission to the most popular fax machine formats (e.g., standard or fine resolution and standard page size); this restriction is effected through limitation of TIFF-F encoding to the S-profile. Simple mode provides no confirmation of delivery. Full-mode extensions include mechanisms for ensuring call completion through negotiation of capabilities between transmit and receive devices. Full mode also provides for delivery confirmation. Extensions also have been developed for color fax.

4.1.6.2 T.38

T.38 is an ITU-T Recommendation (June 1998, Amendment 4 September 2001) for store-and-forward fax via e-mail. Derived from X.25 packet standards, T.38 addresses IP fax transmissions for IP-enabled fax devices and fax gateways, defining the translation of T.30 fax signals and Internet Fax Protocol (IFP) packets. The specific methods for various T.38 implementations include fax relay and fax spoofing. Fax relay, also known as demod/remod, addresses the demodulation of standard analog fax transmissions from originating machines equipped with modems and their remodulation for presentation to a matching destination device. Fax relay depends on a low-latency IP network (i.e., 1s or less) in order that the session between the fax machines does not time out. Fax spoofing is used for fax transmissions over IP networks characterized by longer and less predictable levels of packet latency that could cause the session with the conventional fax machines to time out. Packet transmission over such a network can result in variable latency, or jitter. T.38 compensates for both increased latency and jitter by padding the line with occasional keep-alive packets to keep the session active, rather than allowing it to time out. Thereby, T.38 spoofs, or fools, the receiving device into thinking that the incoming transmission is over a real-time, carefully timed voice network. Delays up to 5s can be tolerated in this manner. T.38 improves on T.37 in a number of ways, including immediate confirmation of receipt.

T.38 provides for two transport protocols, User Datagram Protocol (UDP) and Transmission Control Protocol (TCP). UDP is the faster of the two, but the less reliable, due to the lack of error detection and correction within the network. T.38 overcomes this shortcoming either through redundant transmission of the image data packets, which is inherently inefficient at the network level, or through a Forward Error Correction (FEC) technique, which is inherently inefficient at the device level. TCP includes an error correction mechanism employed at the router level, with the routers typically positioned only at the edges of the network. (Note: Switches, rather than routers, typically are positioned in the core of the network.) Although T.38 strips this process from consideration for the IP fax packets, the level of delay nonetheless is increased; therefore, spoofing techniques are required to maintain fax sessions.

The inherent efficiencies of fax transmission over the Internet or other packet-based IP networks can lead to lower network costs as the incremental cost of one more packet transmission generally is negligible, if not zero, and generally is not distance sensitive. This cost structure compares favorably with a relatively expensive fax call over the PSTN. IP-enabled fax devices essentially incur no usage-sensitive transmission costs other than those possibly imposed by an IP fax service provider; the costs of so enabling a device vary widely but generally can be justified for fax-intensive environments. Devices not so enabled must make use of an IP gateway from a service provider, with the costs to the end user of transmission in this environment varying widely and not necessarily comparing favorably with the traditional approach.

In either case, access to the packet network is on the basis of a local call, which does not carry a per-minute charge in many countries. A number of telcos in the United States and abroad support IP fax, as do some Internet Service Providers (ISPs) and most fax service bureaus. IP fax–capable routers have the ability to transmit a fax over an IP network assuming that the level of delay is acceptable and to default to the more conventional means of transmission over the PSTN when delays are deemed unacceptable [11–14]. Such routers also have the ability to secure the fax document during transmission via the IPsec (IP security) encryption mechanism, thereby providing a substantial level of security over the inherently insecure public Internet. In the absence of a defined relationship between fax routers running matching encryption software, the IP fax user is at risk in transmitting over the Internet. As testimony to issues of IP fax security, I just received an e-mail response from a hotel chain asking me to fax some information. The following cautionary statement appeared at the end of the message: "Please be advised that our fax machines transmit through the internet. [sic] For your protection, please block out any non-essential information such as the last twelve numbers of your credit card account."

4.1.7 Fax Features

Fax capability comes in a variety of forms from simple and inexpensive stand-alone Group III fax machines to integrated devices that combine the capabilities of a fax machine, printer, copier and scanner and culminating in Group IV fax servers with IP networking capabilities. Available features include the following:

· Blocking: If caller ID is available on the fax line, the user can build a list of junk fax numbers to be blocked.

· Broadcasting: Also known as group fax, broadcasting allows the user to program a distribution list of fax telephone numbers intended to receive a given fax. The machine will transmit the document to the target numbers, in sequence.

· Color: Color fax was specified in T.30E. While color lengthens transmissions times considerably and reduces the number of pages that can be stored in memory, it certainly is an aesthetic improvement over black and white. Some fax machines using bubble jet, inkjet, or laser print technology offer color, as well as black-and-white, fax capabilities.

· Delayed Fax Send: The user can program the machine to transmit a document at a future time and date, in consideration of factors such as time zone differences and discounts for non-prime-time calling.

· Distribution List: The user can program distribution lists for fax broadcasting.

· Duplex: Fax servers may be full duplex, supporting simultaneous fax transmission and reception.

· E-Mail Gateway: Fax servers may include an e-mail gateway for direct IP fax transmission.

· Forward: A machine can forward incoming faxes to another machine if the user programs it to do so while the user is away from the office, for example.

· Line Sharing: If the telco offers line sharing, two telephone numbers can coexist on the same line, with one number for the fax machine and another for voice telephones. Distinctive ringing patterns distinguish fax calls from voice calls. The fax machine can be programmed to recognize the fax ringing pattern and to autoanswer those calls.

· Phone Book: The user can build an alphabetical phone book for speed dialing by name rather than speed dial code. The phone book can be imported from or exported to other applications.

· Polling: Polling allows a machine to download fax documents stored in a remote machine, with security provided on the basis of a programmable poll code.

· Queuing: Fax servers queue documents for faxing just as print servers queue documents for printing. Multiple queues can be established with priority-level distinctions.

· Redial: The user can program the fax machine to automatically redial a number if the first attempt encounters a busy or no-answer condition. The machine will make a predetermined number of attempts at predetermined intervals.

· Reporting: Fax machines typically offer reports of incoming and outgoing attempts, including fax number, start time, duration, mode [Error Control Mode (ECM) yes/no], number of pages, and result (e.g., OK, send error, stop pressed, and no answer).

· Resolution: Standard (98 vertical × 203 horizontal dpi), fine (196 × 203 dpi), and superfine (392 × 203 dpi) settings typically are available. Note: Higher resolution improves document quality, but at the expense of transmission time.

· Security: High-end fax machines and servers may require that the target recipient enter a password in order to retrieve a protected fax. Without some form of security mechanism, fax is inherently insecure, as anyone walking by a fax machine has access to the document. Also, correct fax transmission is entirely dependent on the sender's entering the correct telephone number.

· Stamping: The user has the ability to stamp an outgoing fax with a time and date stamp as well as sender name and fax telephone number.

· Speed Dialing: The user can build a fax speed-dial list.

4.1.8 Fax Applications

Application of facsimile technology traditionally has focused on document transfer. A key advantage, of course, is that any document can be transmitted by fax. Whether it is a letter, an invoice, a blueprint, or even a photograph, a facsimile of any original paper document can be transmitted successfully. Numerous sales-oriented enterprises still rely heavily on fax broadcast systems, in place of more traditional direct mail or other forms of advertising, at least in developing countries where Internet access is not widely available or is expensive and bandwidth is capped. Additionally, a faxed ad is more likely to garner personal attention than a similar ad in the media, a direct mailer, or an e-mail message. While users cannot block unwanted faxes quite as easily as they can block unsolicited e-mail, or spam, there are laws in some countries that prohibit junk fax and stipulate penalties for violations. In the United States, the Telephone Consumer Protection Act of 1991 prohibits using a telephone facsimile machine, computer, or other device to send an unsolicited advertisement to a telephone facsimile machine. The Junk Fax Protection Act of 2005 clarified and strengthened that 1991 legislation.

4.1.9 Future of Fax

Rather than being totally replaced by e-mail and other forms of messaging technology, facsimile appears to have a long, if not highly prosperous, remaining life. Dependable, inexpensive, standardized, and virtually ubiquitous, fax promises to continue its role as a valuable communications tool. While e-mail offers a number of advantages over fax, it is not universally available in developing countries. It also is worth noting that fax, unlike e-mail, does not present any barriers to communication in languages that involve complex alphabets. Further, facsimile is an inexpensive and highly effective complement to other messaging systems. Fax messages also have long enjoyed the advantage of being recognized as legally admissible in court as, unlike e-mail messages, they cannot easily be modified. (Note: Telex transmissions and telephone records also are considered legally admissible in court, as the trusted carrier guarantees the identity of the sender.) Traditional, stand-alone fax machines continue to grow in number even as e-mail replaces fax as the preferred method of communication for the technically privileged with access to the Internet. As a highly effective, lowest common denominator, traditional fax transmission will survive well into the future.

As costs continue to drop, fax penetration will increase. But outside of developing countries and other situations where Internet access is not available or where fax offers unique legal and other advantages, fax usage will continue to decrease. IP fax will grow, but not at the significant rate predicted several years ago. In the face of competition of e-mail over the very same IP networks, IP fax just does not do well. FOD usage also will continue to decrease in the face of increasingly intense competition from e-mail and the Internet and the Web.

4.2 VOICE PROCESSING SYSTEMS

Press one for sales. Press two in a hopeless effort to get technical support. Press three for answers to questions you don't have. Press four if you're gullible and pessimistic. Press five if you're willing to buy something just so you can talk to a human being.

The comic strip Dilbert by Scott Adams

Voice processing originated as voice mail (aka voicemail, v-mail, or vmail), the invention of which a number of sources attribute to Gordon Matthews (1937–2002). Matthews certainly filed the basic patents and first commercialized the systems. However, my recollection is that voice mail systems were developed at Bell Telephone Laboratories in the mid-1970s and trialed by AT&T Bell Operating Companies (BOCs) on an alpha test basis in 1977–1978 as a replacement for answering machines. (I was at Southwestern Bell in those days, so I know I am right.) Those systems were never commercially deployed, however, as the BOCs were prevented from doing so under the terms of the Modified Final Judgement (MFJ) that broke apart the Bell system. Under those terms, voice mail was considered an enhanced service, and the Regional Bell Operating Companies (RBOCs) formed by the MFJ initially were prohibited from offering any enhanced services. AT&T seemed to lose interest in voice mail, along with cellular telephony and a few other stellar technolo-gies, for reasons known only to certain nearsighted AT&T executives who made stunningly bad decisions and whose names now, thankfully, are forever lost in the mists of time.

In any event, the Gordon Matthews story is that he was on a business trip in the 1970s and was having trouble reaching his office at Action Communications, the second company he founded. He was having time zone problems and playing telephone tag while trying to pick up his messages. He mentioned the problem to his wife, who suggested that he invent a computer so that he and his employees could leave messages for each other. Matthews went to work on the project, left Action Communications, and founded VMX (Voice Message eXpress) in Dallas, Texas (United States) in 1979. In 1992, Matthews retired and sold VMX to Octel. (Note: Octel subsequently merged with the Enterprise Networks Group of Lucent Technologies, an AT&T spin-off. VMX and Octel systems are now a product line of Avaya, a Lucent spin-off.) Shortly thereafter, 3M bought the first commercial system, a stand-alone voice mail system with an interface to the PBX, from which the call was forwarded in the event of a busy or no-answer condition at the user station. Gordon Matthews' wife, Monika, recorded the first greeting on this first commercial system. Since that time, a great number of manufacturers have entered the voice processing business, changing the nature of the systems considerably to include increased feature content, integrated messaging, PC platforms, application development toolkits, and networking [15, 16].

4.2.1 Technology

Voice processing systems are specialized computer systems consisting of ports, processors, an operating system, codecs, and storage. Although typically a special-purpose computer, the platform may be a general-purpose computer with special application software. The operating system typically is UNIX, MS-DOS, or Windows NT or better, although it may be proprietary. Similarly, the processors may be Intel or another industry standard or they may be incorporated into proprietary ASICs (Application-Specific Integrated Circuits) that are under the skin of (i.e., contained within) a multifunction box that tightly integrates the functions of a small PBX and voice processor. The codecs serve to convert incoming voice analog signals to digital format, compressing the data in the process in order to conserve system storage capacity. Disk drives or ASICs may contain application programs and provide for storage of data, including digitized voice greetings and incoming messages that store in individual mailboxes in the form of memory partitions. The amount of storage is sensitive to factors such as the number of mailboxes, the number of messages to be stored, the average message length, the nature of the analog-to-digital conversion process and compression algorithm, and the number of messages to be archived.

A default or customized voice greeting provides the calling party with menu options that are exercised through either DTMF (i.e., touchtone) selection or speech recognition with the latter option having become commonplace. The audio input can be either analog or digital, depending on the nature of the connecting circuit. The voice processing system digitizes the signal, as required, and compresses the voice data, generally employing a proprietary code format and compression scheme.

The voice processor interfaces to a KTS, PBX, ACD, or CO and may perform a number of functions. The voice processing system can act as an automated attendant, in which case the switch answers the call and forwards it to the voice processor, which enables the caller to directly access a department or station through interaction with a menu of options on the basis of touchtone or speech input. In the event that the caller does not know the desired station number, an automated directory can provide that information on the basis of a name search. Once the station number is identified, the voice processor signals the switch, instructing it to connect the call. In a voice mail application, the switch directs the caller to the voice processing system in the event of a busy or no-answer condition at the target station. Interfaces to general-purpose computer systems also are becoming commonplace. In such an application, the system provides access to a database such as bank accounts or perhaps an e-mail mailbox, with the data being converted from text to synthesized speech.

Platforms for voice processing no longer are limited to proprietary hardware, except in cases of larger systems for intensive applications. Many smaller organizations and those with certain, specific applications currently make use of special software and voice cards (printed circuit boards) that reside on PC platforms in a client/server environment. A number of manufacturers offer client/server application software suites that include an automated attendant, voice mail, customized mailboxes, and audiotex. Such an approach is highly functional and cost effective, although concerns remain relative to reliability and database integrity and fault-tolerant platforms and security mechanisms go a long way toward addressing those concerns. Additionally, a voice message requires substantial amounts of memory, even when highly compressed [17].

4.2.2 Applications

The applications for voice processing have increased dramatically, with penetration having reached the point that it is virtually ubiquitous. Typical applications fall into the categories of audiotex, voice mail, call processing, and Interactive Voice Response (IVR).

4.2.2.1 Audiotex

Audiotex, also known as audiotext, is a simple technology that enables callers to select prerecorded messages from a menu. Essentially a voice bulletin board, audiotex generally is incorporated into a more substantial suite of voice processing applications such as call processing. The audiotex feature com-monly enables callers to work through multiple tiers of a hierarchical menu to gain information.

4.2.2.2 Voice Mail

Voice mail, the most common application, involves the direction of the incoming call to a voice mailbox associated with a particular user or application. Voice mail digitizes, compresses, and stores the voice incoming message in the mailbox and then advises the user of the fact that a message is waiting, most commonly through message-waiting lamp indication or stuttered dial tone. When the user accesses the system and enters the proper command and password, the message is resynthesized and played back, ultimately in analog audio form in order to be compatible with the human ear. Features may include the following:

· Annotation: A recipient can annotate a message to add a comment before archiving it or forwarding it to another station.

· Archiving: Messages can be archived, or saved, perhaps for a limited amount of time unless they are resaved. Messages may be archived on an external storage medium for legal reasons. As examples, telephone companies sometimes must archive messages for long periods of time when effecting a change of carrier, as must stockbrokers when confirming a solicited trade, and telemar-keters when confirming a solicited sale of certain types.

· Attendant Access: The system provides the caller with the ability to reach an attendant or alternative answering point if the caller does not wish to leave a message. This important feature, if turned on, allows the caller to speak to a real, live person, rather than being trapped in voice mail jail.

· Broadcasting: An authorized user can broadcast a message to a user-definable distribution list. The targeted user must listen to the message in its entirety before playing any other message. This feature can be used to make important announcements.

· Certification: An authorized user can request a certification or confirmation, which will generate a notification that a message has been read by the target system user.

· Class of Service (CoS): The system administrator can define multiple classes of service, each of which provides a different level of privilege for features such as incoming message length, archival storage capacity, broadcasting, and privacy.

· Find Me: The system provides the caller with a find-me locator option. If invoked, the system will try several (perhaps three) preprogrammed find-me numbers (e.g., home office phone, cell phone, and home phone) in sequence. If the system is unable to find the target user, it will so advise the caller and offer the opportunity to leave a message.

· Forwarding: A recipient can forward a message to another system user. E-mail forwarding allows the system to forward a voice message as an audio attachment to an e-mail, with the e-mail address being user definable.

· Off-Site Notification: The system will dial a user-definable outside telephone number (e.g., cell phone or home phone) to advise of a message waiting.

· Personalized Greeting: A user can record personalized greetings, perhaps for specific situations such as a busy condition or a no-answer condition.

· Prioritization: Messages can be marked urgent, thereby sending them to the head of a message-waiting queue.

· Privacy: A sender can mark a message private or confidential, thereby denying the recipient of the ability to forward it to another user.

· Purge: The system will automatically purge archived messages after a predetermined period of time established by the system administrator. Prior to doing so, the system will leave the affected user a voice message, offering the user the opportunity to resave those messages to avoid their being purged.

Networking of voice processing systems is fairly routine in large user organizations, although generally limited to systems of the same origin (manufacturer) and generic software load. An employee based in New York who also has an office in Seattle, for example, would have voice mailboxes in both locations. Internal and external callers in each city dial a local number over a DID CO trunk and, in the event of a busy or no-answer condition, are directed to a local voice mailbox. The voice processing systems are interconnected through the private corporate PBX network. The PBXs run the Q SIGnaling (QSIG) protocol ( Chapter 3 ) and are interconnected through the PSTN via dedicated, leased tie lines, as illustrated in Figure 4.3. On a scheduled basis, the voice processing systems engage in a computer-to-computer dialog, transferring messages to the system in the city where the employee is working that day, perhaps performing language translation just to test the language skills of the staff member. (Note: Language translation is an unusual feature that is available on some systems.)

Figure 4.3: Voice processing systems interconnected through Time Division Multiplexing (TDM)–based PBXs running QSIG in a private, leased-line network

This non-real-time transfer of voice data also can be accomplished cost effectively over packet data networks such as Frame Relay (FR) and the Internet. Also, unlike systems can network successfully if they both are compliant with the AMIS (Audio Messaging Interchange Specification) standard, published by the Industry Information Association in 1992. AMIS specifies message file formats, addressing conventions, and message transmission. As illustrated in Figure 4.4, this networking scenario requires the deployment of gateways that accomplish protocol conversion to resolve issues between the TDM-based PBXs and the IP-based Internet. Those gateways typically are compliant with the Voice Profile for Internet Mail (VPIM) published by the IETF as RFCs 2421 and 2421v2 (1998). Frame relay networks also can be used to internetwork voice processing systems.

Figure 4.4: Voice processing systems interconnected through the Internet via TDM-based PBXs and VPIM gateways

In addition to what might be described as more legitimate applications, increased use of voice mail advertising has recently developed. Solicitors have built voice mail databases that enable them to broadcast advertisements and various other messages to thousands of current and potential customers and contributors. While such use is aggravating to many voice mail recipients, recipients do have the option of calling the advertisers and requesting that they remove their names from such a database. Taking voice mail advertising a step further, some service bureau voice mail providers offer discounted or even free service to customers willing to listen to advertising messages each time they access the system. A more legitimate and common application is for school districts to notify parents of their children's absence from school, notify parents that report cards have been mailed via the postal service, schedule sporting events and practice sessions, or announce school closings or delays due to inclement weather.

4.2.2.3 Call Processing

Call processing applications position the voice processing system as a front-end call processor to a PBX or ACD. The automated attendant feature of the system will answer the call and provide menu options that can be invoked through either DTMF input or speech recognition software. Features may include automated call routing, Automatic Number Identification (ANI), and Fax-On-Demand (FOD) access. Once the caller selects a menu option, the call can be directed to the appropriate agent, extension, or computer resource. Should the system be unable to connect the call immediately, either the call can be placed in queue or the caller can leave a call-back message in a general system mailbox, rather than simply abandoning the call.

Speech recognition, also known as Automatic Speech Recognition (ASR), recently has been the subject of a great deal of interest. This surge in interest is largely due to the development of the VoiceXML specifications, which are based on the industry standard XML (eXtensible Markup Language) developed by the W3C (World Wide Web Consortium) for use on the Web. VoiceXML is a high-level programming interface to speech and telephony resources for application developers, equipment manufacturers, and service providers. Speech recognition technology, in general, allows a caller to interact with a computer system in natural conversational voice mode, that is, by speaking to the machine just as you would speak to another person. This technology, in effect, takes call processing to the level of speech-driven call processing [18].

United Airlines, for example, provides toll-free access to its reservation centers. Mileage Plus members are provided with different numbers than the general public, and those numbers are sensitive to the caller's Mileage Plus level (e.g., Premier, Premier Executive, and Premier Executive 1K). Through the use of DNIS (Dialed Number Identification Service), callers are segregated by level and directed by the ACD to the logical partition customized for their use. The voice processor then prompts the caller to select either domestic or international reservations. Finally, the processor places the caller into the proper queue to speak to an appropriately skilled agent.

4.2.2.4 Database Access: Interactive Voice Response

In a database access application, the voice processing system is positioned as a front end to a general-purpose computer on which reside appropriate databases (Figure 4.3). As a means of imposing a level of security to the transaction, various means of caller authentication, such as DTMF input of an account number and Personal Identification Number (PIN), can be employed. More unusual and expensive techniques include speech recognition (recognition of voice commands) and voice print matching (verification of the caller's identification by matching the characteristics of the voice input to a stored sample). That information (e.g., bank or credit card account information) then either is played back from prerecorded sound bites or is voice synthesized for the benefit of the caller, yielding what is commonly known as interactive voice response. Access to multiple databases often is provided across a LAN. Features may include speech recognition (i.e., the recognition of speech) and even voice recognition (i.e., the recognition of a specific voice), voice print matching, and Text-To-Speech (TTS) capability. Speech recognition combined with TTS can allow a complete transaction to be accomplished on a voice basis without human intervention. Even should it ultimately be necessary for a human being to get involved, this initial interaction can considerably reduce operator talk time.

Reservation centers and financial institutions, for example, make heavy use of such capabilities in support of routine transactions, thereby reducing staffing levels and providing enhanced customer service on a 24 × 7 basis. Telephone companies increasingly use voice recognition technology to provide automated access to local directory databases. Major banks commonly provide automated access to account information without human intervention. A caller is prompted to enter his or her account numbers, followed by a user-definable PIN, Social Security Number (SSN), or federal tax ID number. At that point, menu options can include the account balance, last five checks posted, and last three deposits posted. Airline reservation centers make use of IVR for automated flight status information. The caller dials a special number set aside for that purpose, enters a series of commands (e.g., date and flight number) via tonepad signaling, and is provided the required information without the costly involvement of an agent. Among the main benefits of an IVR system is that it eliminates the need for human employees to answer repetitive questions. While an IVR system does not totally eliminate the need for human call center agents, it does relieve them of some of the less challenging aspects of their jobs. IVR systems also provide the significant benefit of being available to work 24 × 7, with no breaks, no lunch hours, no sick time, no vacation time, and no whining [19].

My financial institution, for example, provides account information through IVR, with the following hierarchy of menu options:

· For English, press 1 (one)

· Para Español, marque 2 (dos)

· I pressed 1. Although my English might be poor, it is better than my Spanish.

· For information or services on an existing account, press 1

· Open a new account or apply for loans or credit cards, 2

· ATM or branch locations, 3

· Year-end tax information, 4

· Merchant verification of funds, 5

· At any time during this call, you may speak with a specialist by pressing 0

· To return to this menu any time, press *

· I pressed 1.

· For account inquiries, press 1

· To transfer funds, 2

· For Internet banking or bill payment by phone, 3

· To order checks, 4

· For account maintenance, 5

· To speak to a specialist, press 0

· I pressed 1.

· For deposits, press 1

· Checks, 2

· All account activity, 3

· I pressed 1.

· Using the touchtone keypad, please enter your 15-digit account number followed by the star (*).

· I entered my account number and pressed the star.

· Using the touchtone keypad, please enter your four-digit password.

· I entered my password. Sadly, there have been no deposits made to my account.

While I am disappointed over the lack of deposits, particularly as I was expecting a royalty check for this book, my bank has saved a good deal of money by automating the account inquiry process and making me do all the work. However, I take solace in the knowledge that the bank will pass those savings on to me in the form of lower service charges. I then find humor in my own extreme gullibility in believing that my bank actually will pass the savings on to me. Once again, I have amused myself with IVR.

4.2.3 Voice Processing Developments and Futures

The future of voice processing is very bright, indeed. While such systems initially were a North American phenomenon, they now are commonplace around the world. Specific technology futures include archival applications, multimedia/unified messaging, voice-to-text, voice-to-fax, and language translation.

Computer telephony has impacted voice processing to a considerable extent, with the application software residing on a LAN-attached server in the form of an industrial-strength PC running a commercial operating system. (See Chapter 3 .) The server runs at high clock speed, has a high-speed internal bus, and includes substantial Random Access Memory (RAM) and hard-drive memory. CT systems may allow the front-end voice processor to actually process the call, connecting the caller to the target station without the involvement of the switch. Typical of the evolution of program logic, some manufacturers of smaller telephone systems have reduced much of the voice processing software to the chip level. Embedding the core voice processing functions in ASICs, this firmware approach enables much faster system operation than a software approach, although it sacrifices some level of programmability at the user level. In order to overcome this limitation and to permit the user organization to customize the application, a combination of firmware and software is necessary to drive system operation.

Archival technology has been developed to allow voice messages to be saved on an external archival system in the form of digitized audio files, although this technology is not widely available. While voice processing systems currently enable the user to archive a message within the system, internal memory limitations generally tightly restrict the number and length of stored messages.

Multimedia messaging, also known as unified or integrated messaging and unified communications, enables multiple messages in multiple formats to be developed, coordinated, and networked. A voice message can, thereby, be associated with a text or image document. A voice processor acting as a front end, for example, might recognize a fax tone and store the fax along with the voice message; subsequently, the target user can listen to the voice message while viewing the fax document. The ability to store voice, textual (e-mail), image (fax), and even video messages in a single mailbox and to access them from a single point of interface has obvious advantages. Unfortunately, the underlying technologies required are complex and generally remain unaffordable at this time. Although CT systems provide the user with the ability to accomplish this feat relatively easily through coordinated access to multiple media from either a telephone set or a computer monitor, such systems currently are not widely implemented. While text-to-speech and speech-to-text systems enable the remote worker to access a range of message formats from a single device, the messages typically must be presented sequentially, rather than simultaneously if a telephone is used. Personal Digital Assistants (PDAs) and more substantial tablet and laptop computers allow the user to view message lists. Advanced pager technology, while impressive, is particularly limited in this regard. While the emerging IP-based WANs promise to overcome some of these limitations at the network level, the underlying technologies and architectures at the system level currently are proprietary in nature.

Voice-to-text and voice-to-fax technologies have been developed that will convert voice messages to text or fax messages, and vice versa. While the technology is still maturing at this time, a number of commercially available products will convert text to speech for applications such as remote e-mail and fax access from a telephone.

Speech recognition software enables the caller to speak commands to the voice processing system, rather than entering commands via the telephone tonepad. Such systems are speaker independent, although the speaker must speak clearly and the network connection must be relatively free of noise. While all but the most expensive systems currently are limited in vocabulary, such technology will become increasingly affordable and, therefore, prevalent in the foreseeable future. For example, some years ago IBM developed speech recognition technology to the point that computer system vocabularies exceed 50,000 words [20, 21]. Regardless of the level of sophistication, many users find the current technology too slow and cumbersome and the application annoying.

Language translation systems ultimately will find their way into voice processing systems. Some years ago, AT&T and other IntereXchange Carriers (IXCs) had rather complete plans to implement this developing technology as a replacement for the human translators who currently provide such services. It is just a matter of time until the technology progresses to the point that it becomes sufficiently advanced and affordable to be implemented on a wide scale.

Voice processing systems are destined to become even more commonplace, to the chagrin of the many who bemoan the fact that they no longer can talk to a live human being. While users often hide behind voice mail in order to be more productive in the workplace, callers understandably get frustrated at their inability to reach them. Additionally, many systems are set up intentionally to defeat the caller's attempts to reach any live person—this phenomenon is known as voice mail jail, and callers do not appreciate it.

4.3 ELECTRONIC MAIL (E-MAIL)

Amazingly, 70 percent of all first-class mail in the United States is generated by computers. Much of this is destined for other computers. It is printed, split into separate sheets, fed into envelopes, sent to a mail room, stamped, carried manually to a post office, sorted, delivered to planes and sent to another post office, sorted again, delivered to a mail room, sorted, distributed, and then laboriously keyed for entry into another computer. All of this ought to take place electronically.

James Martin, Telematic Society, Prentice-Hall, Inc., 1981

Once upon a time, people communicated by talking over the fence or the dinner table, but we do not do that much anymore. Over longer distances people text messaged by writing letters, which were sent through the highly reliable but very slow Post Office Department in the United States and similar government agencies around the world, but we do not do that much anymore either. The first telegraph message was sent in 1844 and the first commercial telegraph service was established in 1850, as best I can determine. The Pony Express began service in April 1860 with the promise that it could deliver a letter from St. Louis, Missouri, to Sacramento, California, in 10 days or less. Eighteen months later, the completion of the Western Union transcontinental telegraph network doomed the Pony Express. Although fax machines date to 1837, the first commercial facsimile network was not built until 1865 and fax did not pose much of a threat until much later. The telephone arrived in 1876 and soon replaced telegraphy as the primary means of electronic communications. Western Union introduced teletypewriter service in 1923 so that companies could link branches and even join other companies in private text messaging over leased private-line networks. Beginning in about 1935, telegraph companies began to use telex (teletypewriter ex change), a rotary dialing system much like that used in telephone networks. Telex was an effective means of routing telegraph calls, and it ran at the amazing signaling speed of 45.5 bps and, later, at 50 bps, or 66 words per minute (wpm). Altogether, telex services eventually reached some 190 countries and 3.5 million machines, by some estimates. Telex was the first true electronic mail service and, at one time, was undoubtedly the most heavily used textual telecommunication system in the business world. Telex service is still in use, largely in developing countries.

Federal Express (1971) and other overnight courier services have since become a routine means of sending written documents. Fax machines became affordable and popular in the 1980s, enabling instantaneous transmission of image documents of any sort, not just those text based. Then came electronic mail (e-mail or email), an application software system originally intended for textual messaging. E-mail now permits the attachment of other forms of information, including binary files, images, graphics, and even digitized voice and video. Nonetheless, its primary use remains for textual messaging, at least for the time being.

E-mail has it origins in the mid-1960s as a means for multiple users of time-share computer systems to communicate. E-mail quickly became popular for government and military communications in the late 1960s and early 1970s, especially as an application on the ARPANET (Advanced Research Projects Agency NETwork), which was the predecessor to the Internet. E-mail was popularized in the late 1970s and early 1980s as part of the office automation concept designed to lead us toward the paperless office, which was about as successful as the personal helicopter. Typically residing on a midrange computer, early systems included IBM PROFS (PRofessional OFfice System), Digital Equipment Corporation DECmail (included in the All-in-One applications suite), and the Wang Office. Network-based e-mail services were available from providers including AT&T Information Systems (AT&T Mail), CompuServe (EasyPlex and InfoPlex), MCI International (MCIMail), and Western Union Business Services (EasyLink). The proliferation of PCs and PC LANs in the 1980s and 1990s stimulated the growth of e-mail, which then became affordable and, therefore, accessible by a much larger community of potential users.

According to a 2005 study by IDC, 84 billion e-mail messages will be sent each day worldwide in 2006, about 33 billion of which messages will be spam, that is, unsolicited e-mail. That equates to about 30,660,000,000,000 (thirty trillion, six hundred and sixty billion) messages per year, of which 12,045,000,000,000 (twelve trillion, forty-five billion) will be spam. IDC further projects that business e-mail volumes sent annually worldwide will exceed 3.5 exabytes in 2006, more than doubling the amount over the past two years. (Note: 1 exabyte = 1 thousand petabytes = 1 million terabytes = 1 billion gigabytes) [22]. That compares with about 212 billion pieces of snail mail handled by the U.S. Postal Service (USPS) in 2005. For many, e-mail is the first thing checked at the start of the business day and the last tool touched at day's end. It has become a fundamental, if not the primary, mode of communications for the electronically privileged digiterati, that is, the digitally literate.

E-mail provides the ability to distribute information to large numbers of people virtually instantaneously and very inexpensively. A 50-page document, for example, can be transmitted coast to coast in approximately 30s by using a high-speed modem and in a fraction of that time by using ADSL, a cable modem, or another broadband access technology. Attach a portfolio of photographic images, an audio file, or even a video clip. The cost of such a transmission is in the range of pennies, rather than dimes or dollars for facsimile, or tens of dollars for overnight delivery via the USPS, Federal Express, or a similar courier service. The dark side of e-mail, however, includes the fact that once you click the mouse the message is sent immediately and may be irretrievable. Gone are the days when you dictated a sensitive letter and let it rest overnight in a desk drawer while emotions cooled so you could reread and edit it in the light of a brighter day. Getting darker, still, e-mail is an easy way for reckless or malicious employees to instantaneously expose company secrets, damage reputations, offend co-workers, spread computer viruses, and otherwise create a host of business, personal, legal, and technical problems [23].

4.3.1 Technology

E-mail involves application software that resides on various computer platforms. The contemporary e-mail network generally is in the form of a client/server configu-ration involving a dedicated server to which client workstations gain access for messaging purposes. Clients are the workstations that create, transmit, and receive the messages. A client includes software in the form of a Mail User Agent (MUA) that effects compatibility with the mail server. The server provides message storage and transport through a Mail Transfer Agent (MTA). The server also provides directory services to the client, perhaps in conjunction with another server that performs Internet address lookups and Network Address Translation (NAT). Various clients can be linked to a server through Application Programming Interfaces (APIs), messaging middleware (software that logically sits between client and server), and a driver package. Examples include Microsoft Messaging Application Programming Interface (MAPI) and Apple Computer's Open Collaboration Environment (AOCE). Such APIs permit client applications such as word processing and spreadsheets to communicate with an e-mail server. In other cases, special drivers must access servers running proprietary access protocols.

A server may be in the form of a mainframe, midrange, or PC platform which may be logically partitioned in support of multiple applications. Many client/server e-mail systems run equally effectively in several Operating System (OS) environments, such as Windows, Macintosh, and UNIX. On premises, the server and the clients generally are LAN-attached in business environments, and access generally is provided to the Internet. The server also may be provided on a service bureau basis, such as with specialized carriers and national, regional, and international online services including Africa Online, America Online, AT&T Worldnet (Webmail), Google (Gmail), MSN (Hotmail), and Yahoo! (Yahoo! Mail). Even the smallest ISPs also offer e-mail services.

4.3.1.1 Networking

Although some e-mail networks are closed, these messaging islands are increasingly rare. E-mail servers typically support multiple protocols, with internetworking between disparate e-mail systems adding great value to messaging technologies. Most provide for wide area networking over a backbone, or centralized high-capacity network, in order to provide for both outbound and inbound message communications with the outside world through the Internet. Remote access to the internal e-mail resources generally is provided to employees, vendors, clients, and others within the inner circle.

4.3.2 Protocols

Each e-mail network is governed by a set of protocols, that is, the rules and conventions by which the network and its various component elements operate. Such protocols are embedded in the application software and the specific OS or Network Operating System (NOS) that governs how the computer or computer network functions. An element of the software that achieves compatibility between the client workstation and the server over the network generally resides on the client as well as on the server ( Figure 4.4 ). E-mail protocols govern such characteristics as addressing conventions, routing instructions, message structure, and message transfer. Protocol categories include document exchange, directory management, and e-mail access. In addition to standard protocols, there exist a number of proprietary protocols.

4.3.2.1 Message Handling and Document Exchange

X.400 is the ITU-T international standard protocol for e-mail message handling and document exchange. Created in 1984 and updated in 1988 and again in 1992, X.400 is compatible with the International Organization for Standardization (ISO) Open Systems Interconnection (OSI) model, functioning at layer 7, the application layer. X.400 is a complex protocol that gained considerable popularity in Europe, largely for in-house implementations. In the United States, the preference developed for the Simple Mail Transfer Protocol (SMTP) of the TCP/IP protocol stack, upon which the Internet is based. While most carriers do not use X.400 in native implementations, they commonly use it as a gateway protocol for X.400-to-SMTP gateways, particularly for international networks. As depicted in Figure 4.5, X.400 acts as a gateway protocol, permitting disparate e-mail systems to interoperate at a minimal level over either packet networks or asynchronous dial-up circuits [24].

Figure 4.5: Client/server e-mail, supporting multiple protocols through X.400 gateway

4.3.2.2 Directory Protocols

X.500 is an international standard developed jointly by the ISO and the ITU-T, also in 1988, to support the requirements of X.400 name and address lookup. X.500 provides for global directory services that theoretically enable network managers to store information about all users, machines, and applications in a distributed fashion. The current version of X.500 provides for directory replication functions, which permit multiple copies of the directory information to be stored throughout the network, rather than reside on a centralized server. The current version also provides improved security through authentication access controls. While X.500 is a very robust global directory standard, it requires significant computational resources to implement and often receives criticism for being overengineered Although X.500 has yet to be fully embraced by software developers—and it is highly questionable as to whether it ever will be at this late date—a number of proprietary e-mail products have incorporated X.500.

Lightweight Directory Access Protocol (LDAP) was developed to simplify the demands of the X.500 DAP. Developed at the University of Michigan in the 1993 time frame and described in the IETF's RFC 1777, LDAP is a lean subset of X.500 that can run over TCP/IP networks. LDAP can run as a stand-alone directory system or can be used as a means of accessing an X.500 directory or other directory. LDAP has been extremely popular and currently is in version LDAPv3, as described in RFC 3377. LDAPv3 supports non-ASCII (American Standard Code for Information Exchange) and non-English characters for international directories and can sort through multiple directories on the basis of a single request. Directories follow the X.500 format, which is a hierarchical tree of entries, each of which consists of a set of attributes, each of which has a name. An LDAP directory request might be to provide all available contact information on all persons in the Mount Vernon, Washington, U.S.A. office of The Context Corporation with the first name of Ray who have an e-mail address. That search of the corporate directory would return complete contact information on Ray Horak (that would be me), including full name, title, division and department, physical mailing address, telephone and fax numbers, and any other information available to be shared with the requestor, based on his or her level of privilege.

4.3.2.3 Access Protocols

Access to e-mail within the LAN domain is a relatively straightforward process of logging onto the e-mail server over the LAN. As the user is physically located on premises, physically connected to the LAN (with the exception of wireless techniques), and must enter one password to boot the PC, another to log on to the LAN, and another to access the e-mail server, security is not a significant issue. Remote access to the corporate e-mail server also is a relatively straightforward process accomplished either through a dial-up connection over a VPN (Virtual Private Network) through the public Internet or perhaps over a DSL circuit or a cable modem network. VPNs are inherently secure, at least as secure as communications over an inherently insecure packet data network can be at this point. Dial-up access generally is through a Remote Access Server (RAS) that is located on the premises and that is associated with a Remote Authentication Dial-In User Service (RADIUS) server that performs authentication and accounting functions to ensure network security. Dial-up access generally is accomplished through the PSTN with the assistance of a modem, although Integrated Services Digital Network (ISDN) connectivity may be supported.

Access to Internet-based e-mail is a bit more complex. Such e-mail is stored in a network-based mailbox under the control of a national service provider such as AOL or CompuServe; a Web-based service such as MSN, Netscape, or Yahoo!; or a smaller ISP such as Isomedia, in my case. The larger service providers have hundreds, or even thousands, of POPs (Points Of Presence) that allow my daughter, for example, to access her Gmail from virtually anywhere in the country on the basis of a local call. The POPs are in the form of access routers and servers located variously in telco COs or third-party facilities at strategic locations across the country and, for that matter, across the world. The protocols run in such networks often are proprietary in nature.

Remote access through smaller ISPs is more problematic, although based on standard protocols. Such access commonly is on the basis of a dial-up modem connection over the PSTN, which usually is in the form of long-distance calls involving toll charges if the call is placed from outside the local calling areas served directly by the local or regional ISP. Toll-free calling may be offered at an additional charge. Large numbers of local and regional ISPs have formed nationwide consortia linking the POPs in their respective local calling areas through the Internet. These networks generally use one of two access protocols:

· POP3 (Post Office Protocol version 3) is an IETF standard (RFC 2449) used to retrieve e-mail from a remote server over an IP network. POP3 essentially is a store-and-forward service that runs on both the client workstations and the mail server. Prior to accessing a mailbox at the remote server and downloading all mail to the client, the user can elect either to delete that mail from the server or leave a copy on the server. The second option provides advantages such as checking mail remotely while on the road or from another computer, as the user always can access the same mail later from a home location and personal computer. After downloading that mail in either case, the user can disconnect from the remote server and work with the mail offline. Note that POP3 is involved only when downloading mail from the mailbox. When uploading mail, your access is to an SMTP server, which merely forwards mail after looking up the proper IP addresses on a Domain Name Server (DNS). POP3 is widely deployed.

· IMAP (Internet Message Access Protocol) is a more recent and much improved IETF standard (RFC 2193) protocol for accessing e-mail. IMAP acts as some-thing of a remote mail server, allowing the client to manage mail much more effectively than POP3. IMAP, for example, allows the user to view the heading and sender of each mail message and then decide whether to download it, delete it, or take other action. IMAP also allows the user to create, manipulate, and delete individual mail folders and mailboxes on the server. IMAP requires that the connection be maintained between client and server continuously while working with mail. Security is an issue with IMAP, as the remote client takes on the appearance of a remote virtual server.

4.3.2.4 Application Protocols

E-mail running over the Internet makes use of several extensions of the TCP/IP suite. Although I discuss these protocols and many more aspects of TCP/IP in great detail in Chapter 12 , I cannot leave this treatment of e-mail without briefly mentioning SMTP and MIME.

4.3.2.4.1 Simple Mail Transport Protocol

Connectivity likely will remain an issue for some time. A minimum set of agreements must be reached within the e-mail development community in order to resolve issues including commonality of header fields, end-to-end messaging services (e.g., priority transfer, confirmation notification, and security), addressing schemes, and management standards. Most systems, for example, use Simple Mail Transport Protocol (SMTP), defined by the IETF in RFC 821 to pass e-mail to and through the Internet. Yet each SMTP gateway may deal with addressing schemes in a different way, causing conflicts during the process of message routing. Additionally, each e-mail system places dif-ferent limitations on the size of file attachments, and neither delivery confirmation nor user authentication are supported between such systems through SMTP. Further, binary files typically get converted to text and then converted back to binary files on the receiving end, resulting in a complete loss of formatting.

Notably, SMTP was developed to support the seven-bit ASCII code for simple text. This coding works just fine for relatively simple alphabets (e.g., 26-character English), supporting uppercase and lowercase characters. ASCII also supports numbers 0–9, punctuation marks, and a reasonable set of control characters (e.g., paragraph break and page break). ASCII, however, does not support the rich text formatting (e.g., italics, bold, and color, other than the default black in which this document is printed) supported by most contemporary word processing programs. This seven-bit format also prevents the transmission of eight-bit binary data found in executable files.

Some e-mail systems, such as Microsoft Outlook, also support rich text and HyperText Markup Language (HTML) formatting. Developed for the Web, HTML supports very rich text formatting and embedded graphics. Unfortunately, communication with e-mail clients not supporting rich text or HTML creates considerable formatting incompatibilities.

4.3.2.4.2 Multipurpose Internet Mail Extensions

Multipurpose Internet Mail Extensions (MIME) is an SMTP extension that was developed to overcome SMTP's ASCII-based limitation. MIME standards, as defined in the IETF's RFC 2045, include a number of types and subtypes that support a range of data formats. Those types include the following:

· Text type for textual messages. Subtypes include plain text for seven-bit ASCII and rich text for enhanced text formatting.

· Image type for image files. Subtypes include Graphics Interchange Format (GIF) and Joint Photographic Experts Group (JPEG).

· Video type for time-varying picture images. The Moving Pictures Experts Group (MPEG) subtype is defined.

· Audio type for basic audio data at 8 kHz.

· Application type for executable code and any data that do not fit neatly into any of the other types. Subtypes include octet stream for binary data and post-script for PostScript files.

· Message type for encapsulated messages within e-mail. Partial subtype permits a long e-mail message to be fragmented at the transmitter and reassembled at the receiver.

· Multipart type supports the combination of multiple types into a single e-mail message [25].

4.3.2.5 Proprietary Systems and Protocols

Proprietary e-mail systems and protocols include cc:Mail (Lotus Development), Lotus Notes (IBM/Lotus), Microsoft Outlook (Microsoft), Eudora (QUALCOMM), and Pegasus (David Harris). Online service providers such as America OnLine, Google, Netscape, and Yahoo also use various proprietary e-mail systems. Through gateway technology, such as is in place on the Internet, unlike mail systems can interoperate, at least at a basic messaging level. Gateway software acts as a protocol translator, or interpreter, converting from one native environment to another. In this manner, Outlook and Lotus Notes software, for example, can pass messages. For instance, several editors, the publisher, and I were able to accomplish much of the editing process for this book via e-mail. From my home office, using a desktop computer running Outlook e-mail software and with Internet access via ADSL through Verizon to Isomedia, a local ISP, I sent the editors electronic Word and PowerPoint drafts as e-mail attach-ments, with absolutely no idea what e-mail program they were running internally. The editing process continued on the road via a laptop running Outlook software, with dial-up Internet access through hotel PBXs in the United States and South Africa. The recipients of this mail were able to respond with edits until the document was deemed satisfactory. Incompatibility was not even an issue, thank goodness. (I had to deal with plenty of other issues.)

4.3.3 Features

E-mail systems offer a growing number of features that commonly include time and date stamping and the ability to read, write, reply, and archive messages. Archived messages can be sorted by criteria such as status, priority, sender, date, size, and subject. A variety of file types (e.g., text, binary, audio, video, and image) and file formats can be attached or appended. Features also can include encryption for additional security, receipt confirmation, automated response, and automated for-warding. The ability to build customized distribution lists enables a user to send a single message to large numbers of user mailboxes with the click of a mouse. The following is a list of typical features:

· Address Books: Personal and corporate address books can be built and searched for addressing mail. Links may be provided to a personal contact list that contains greater detail about each individual, including perhaps physical address, detailed contact information, and free-form comments. LDAP Internet directories can be searched. Address books can be imported from and exported to other applications.

· Confirmation: The sender can request that the recipient send a receipt to confirm that the message has been received and, perhaps, send another receipt to indicate that the message has been read.

· Folders and Files: Mail received can be organized into user-definable folders and files.

· Formatting: Mail format options include plain text, rich text, and HTML. A number of stationary options may be available. A signature can be affixed to outgoing mail, including perhaps sender name, mailing address, contact numbers, and even a quote. For example, I currently affix the following quote to my e-mail: "Whenever I'm asked what kind of writing is the most lucrative, I have to say ransom notes" (originally stated by literary agent H. N. Swanson, who once represented F. Scott Fitzgerald and Ernest Hemmingway).

· Mailboxes: The Inbox contains all received mail; the Outbox contains all out-bound mail not sent; the Junk mailbox contains all mail designated as junk (i.e., spam), either manually or by message rules; the Sent mailbox contains all sent mail; and the Deleted mailbox contains all mail that has been deleted. Mail read is distinguished from mail unread. Mail can be sorted by priority level, status (read or unread), attachment size, sender, subject, date received, flag status (follow up: yes or no), and even color.

· Recall: While there is no Unsend button, it is possible to recall mail under certain circumstances. Microsoft Office Outlook 2003, for example, supports recall if both the sender and recipient use a Microsoft Exchange Server 2000 (or later) e-mail account. It is not possible to recall a message sent to someone's personal ISP POP3 e-mail account. (Note: Outlook is client software; Exchange Server is the Microsoft messaging and collaboration server. IBM offers Lotus Notes on the client side and Domino on the server side.)

· Search: All mail is searchable by key word.

· Security: Mail can be encrypted through the use of a digital certificate.

4.3.4 Internet E-Mail in Practice

E-mail is perhaps best understood through an example scenario, which is illustrated in Figure 4.6. Note: some of the specifics of this scenario are discussed in later chapters. For example, the details of Ethernet frames and TCP/IP packets and the interrelationships between them are discussed in Chapters 8 and 12 , respectively.

1. Margaret Horak (my lovely bride) at the Evergreen Group composes an e-mail message on her PC client workstation using a MUA. She selects the name Ray Horak (me) from an address book of correspondents, and the client e-mail software addresses the mail to [email protected] . She attaches a text document and a graphic file, which she has compressed with a commercial software program. Margaret clicks on the Send button.

2. The MUA formats the message in Internet e-mail format. The MUA organizes the data into IP packets, with UDP also used to provide some level of reliability of data stream transport across the inherently unreliable networks of the local area Ethernet and the wide area Internet. SMTP is used to support the e-mail message and MIME is used to support the attached text and graphic files. The packetized mail exits the MUA.

3. The mail passes through the Network Interface Card (NIC), which organizes it into Ethernet frames, adds the originating Ethernet address of the client workstation and the destination address of the e-mail server, and places it on the corporate Ethernet LAN.

4. The MTA software on the e-mail server receives the Ethernet frames through the NIC. The MTA consults a DNS to find the name of the Internet-attached mail exchange server that accepts mail for [email protected] . If the address is not on the LAN-attached DNS, the DNS of the ISP may be consulted. The mail exits the MTA, headed for the Internet, addressed to a mail server at Isomedia.com , the ISP where Ray maintains the virtual domain of www.contextcorporation.com .

5. The mail traverses the Ethernet, passing through a router that strips off the Ethernet frame and presents the e-mail packets to the ISP across a digital T1 trunk. [Note: The T1 trunk also runs one of several protocols, including Frame Relay (FR), Asynchronous Transfer Mode (ATM) and Point-to-Point Protocol (PPP). This level of detail is outside this discussion and, therefore, these protocols are explained in subsequent chapters.]

6. The ISP receives the packets and presents them to the Internet for transport.

7. Isomedia, Ray's ISP, receives the packets from the Internet, routes them to the MTA on the e-mail server, and places them into his mailbox, which is in the form of a logical memory partition.

8. Ray, who is an independent consultant and teleworker, checks his mailbox on Isomedia's POP3 MTA e-mail server and downloads them to his MUA client software over a broadband ADSL local loop and through an ADSL router. (Note: The ADSL link also runs either FR or the ATM protocol.)

9. Ray opens the e-mail and attachments using a matching decompression program.

Figure 4.6: E-mail in practice

4.3.5 Applications

While e-mail traditionally has been text oriented, it is now often appended with binary, audio, video, and image files. As these files can be extremely large, they often are compressed prior to transmission in order to improve the efficiency of transmission. This is especially important if the sender or one or more of the recipients do not have broadband Internet access but rather rely on voice-grade dial-up access. The compression algorithms associated with attached files require that both the sender and the receiver have compatible software for compression and decompression. While much of that software is available at no charge, it is nonstandard and can be cumbersome to use. Nonetheless, e-mail has become essential for the conduct of business. Indeed, it is virtually universal, having found its way into widespread consumer use through online information services, connected via the Internet and mail gateways, which serve as protocol converters. If your experience is at all similar to mine, you receive a small fraction of the postal mail that you received 10 or even 5 years ago and you receive very few, if any, faxes. You do, however, receive dozens, if not hundreds, of e-mails daily, of which at least 75 percent are spam, offering you prescription drugs from Canada, pornography from Russia, and (counterfeit) Patek Philippe watches from The Philippines. A half-dozen of the spam messages have compressed, virus-laden e-mail attachments and another dozen offer you great wealth if you will only help to launder some ill-gotten gains for a Nigerian diplomat who has somehow gotten crossways with the national tax authority. (Note: My advance apologies to all Canadians, Russians, Filipinos, and Nigerians, but I don't make this stuff up.)

4.3.6 Spam and Freedom of Speech

Junk mail plagues the e-mail community, just as it does the worlds of facsimile, voice mail, and snail mail. Advertisements, once considered a breach of e-mail etiquette, have become a fact of life on the Internet. Those of us who subscribe to technology magazines almost always are requested or even required to include our e-mail addresses so vendors can deluge us with junk mail. Now that many technology magazines are no longer even available in print form, but only online, e-mail addresses are the only delivery option. Unsolicited e-mail, or junk mail, has justifiably earned the nickname spam, reportedly after Hormel's ever-popular canned meat product made of leftovers from the processing of pork plus lots of additives. The analogy supposedly is that junk e-mail is broadcast all over, just as the Hormel meat product spatters when hurled against a solid object with sufficient force. The U.S. federal government and a number of states have attempted to either limit or eliminate spam but always run up against arguments of the Constitution's guaran-teed freedom of speech. Many consumers find unsolicited e-mail annoying and time consuming. In addition, unwanted messages sent to wireless phones and other devices can be intrusive and costly. A number of studies have shown that the costs of dealing with such mail have reached incredible proportions. Ferris Research, for example, conducted a study in 2003 that showed an associated cost of $ 8.9 billion for U.S. corporations, $ 2.5 billion for European businesses, and $ 500 million for U.S. and European ISPs. The cost estimates include lost time, help desk support, and infrastructure [26]. A more recent study conducted by the Radicati Group in September 2005 indicated that 33 percent of corporate e-mail is spam and nearly 25 percent is personal in nature. In combination, spam and personal mail account for well more that half of the e-mail working its way through corporate networks [27].

Finally, in 2003, the U.S. Congress enacted the Controlling the Assault of Non-Solicited Pornography And Marketing (CAN-SPAM) Act to curb spam. As required by the act, the Federal Communications Commission (FCC) adopted rules that prohibit sending unwanted commercial e-mail messages to wireless devices without prior permission. This ban took effect in March 2005 and includes substantial penalties for violations. While there have been notable successes in terms of arrests and prosecutions under the law, many spammers have managed to elude detection and prosecution, in many cases by moving offshore and therefore outside the jurisdiction of U.S. law enforcement. While other countries face the same spam issues, many have not passed laws or otherwise taken strong measures against spammers. Perhaps the best solution, at least in the short term, remains the block sender or junk mail filter feature included in all e-mail programs.

4.3.7 Scams and Frauds and Viruses … and the List Goes on

E-mail is a great way to communicate, but it also is a favorite tool of scam artists and fraudsters. A popular scam is the Nigerian Scam or 419 Advance Fee Fraud, named after a relevant section of the Criminal Code of Nigeria, where the scam originated and where most activity still originates. The target receives an unsolicited e-mail indicating something along the lines that some member of a previous government or royal family of Nigeria or some other West African nation (or now Iraq or Saudi Arabia or some other exotic place) has had substantial funds frozen by the current government and cannot access or expatriate those funds. The recipient of the e-mail can help by wiring $ 5000 or so as an advance fee or transfer fee for which the target will receive a much larger sum of money. Sometimes the offer is for the target to accept a cashier's check for $ 100,000 and return $ 75,000 of that via wire transfer but keep the rest as a fee. The $ 100,000 cashier's check is bogus, of course, while the $ 75,000 wire transfer is real. This sort of fraudulent activity has gone on at least since the 1970s through the postal service and via fax machines but is much more prevalent these days due to the widespread reach and ease of use of Internet e-mail.

Phishing, a recent favorite, involves unsolicited e-mail contact in which the scam artist attempts to get valuable information from the target by gaining that person's confidence through various social engineering techniques. The term phishing was coined in the 1996 time frame by crackers (malicious computer hackers) to describe the process of fishing for suckers by using some sort of lure or bait. (Hackers commonly replace f with ph, "phor" reasons that I still cannot entirely "phathom".) Phishing commonly involves phony e-mails from banks or other financial institutions warning that your account has been subjected to fraud or perhaps that your credit card is due to expire and that you must confirm certain information such as account number and password to prevent that occurrence. The mail includes a link to a phony website that quite closely matches the legitimate website. If the scam is successful in enticing the target, the recipient clicks on the link and divulges information necessary for the scam artist to perhaps wipe out a bank account, max out a credit card, or even steal a person's identity, incur extraordinary debts in his name, and generally ruin his credit. According to the Gartner Group, between May 2004 and May 2005, roughly 1.2 million U.S. computer users suffered phishing losses valued at $ 929 million. Pharming is a similar scam in which pop-up boxes appear at reputable websites and hijack the user, who is directed to a phony website and enters sensitive financial data there. The Gartner projection is that companies in the United States lose more than $ 2 billion annually as their clients fall victim [28].

Trojan horses, viruses, spyware, and other malware (malicious software) are more direct attacks on the host computer system that often are spread through e-mail attachments. They also commonly are spread through contact with websites, often as a result of e-mails that entice the recipient to visit those sites. Countermeasures include firewalls, e-mail filters, antivirus software, and a liberal dose of common sense. Gullibility has no place in cyberspace. Trust no one there.

4.4 INSTANT MESSAGING

Then you suddenly tore the market wide open by offering fantastic bargains, trading the six-year rights for seventh-year and eighth-year. Your computer made such lavish use of Instant Messages to Earth that the Commonwealth defense office had people buzzing around in the middle of the night.

Cordwainer Smith, John Fisher100, Norstrilia, ibooks, 1964

The term instant message was first used in the science fiction classic Norstrilia by Cordwainer Smith, the pen name of Paul Linebarger, at least as best I can determine. In the book, Rod McBan's computer stays up late one night trading stocks on the New Melbourne Exchange on his behalf using instant messages in his recorded voice. The computer makes him enough money to buy Earth. I personally have never owned a computer that made me any money on Instant Messaging (IM), although the bank, my wife, and I do own a little less than an acre of the Earth and my computer does help me in my work. Also, I confess that I do enjoy sending the occasional instant message.

Instant messaging, at least in earthly application, is much like e-mail, but in real time. Instant messaging originated in the 1970s on PLATO, a private online instructional system for schools and universities in the United States [29]. Instant messaging was popularized in 1996 by ICQ, an Israel-based company later acquired by AOL. (Note: Instant Message is a service mark of AOL.) Public Web-based IM ser-vices include AOL's Instant Messenger (AIM) and ICQ, Google's Google Talk, Microsoft's MSN Messenger, and Yahoo! Messenger. A number of stand-alone chat clients that support all of these, as well as IRC, are commercially available. Enter-prise systems include IBM's Lotus Sametime, Microsoft's Live Communications Server (LCS), and Novell GroupWise.

Instant messenging is a client/server application that fundamentally is much like e-mail, with several notable exceptions. The following is a comparison of IM and e-mail characteristics:

· Text Based: Like e-mail, IM is essentially for textual communications over the Internet or other IP network.

· Multimedia: E-mail protocol enhancements (i.e., the MIME extension to SMTP) support multimedia attachments, including text, graphics, image, video, and audio. VoIP coexists with e-mail and other applications on IP networks. Some IM systems now support multimedia attachments as well. Some systems also support VoIP and even videoconferencing.

· Temporal: E-mail is a store-and-forward technology designed to support communication in non–real time. IM communications, however, take place in near real time, in conversational mode, much like an Internet Relay Chat (IRC). IM therefore requires that both correspondents be online at the same time. Some IM systems now support one-way messaging if the recipient is not online. In this mode, the recipient can access the message at a later time, much like an e-mail communication.

· Presence: As IM requires that both parties be online, it is essential that some form of presence mechanism be in place to advertise the status (e.g., available or unavailable) of users. As a non-real-time mode of communication, e-mail is insensitive to presence.

· Standards: Although enterprise-level e-mail application software is proprietary, gateways exist to resolve protocol issues and allow intercommunication between proprietary networks. Also, e-mail is highly standardized at the Internet level through the TCP/IP suite. IM is totally proprietary, although standardization is proposed.

According to research conducted by the Radacati Group in 2005, 85 percent of businesses use IM for either business or personal reasons. The study indicates that there were over 300 million IM users globally in 2004 and that number will grow to nearly 600 million by 2008 [30]. Additional research conducted by the Radicati Group projects that the IM volume will increase from the 2005 level of 13.9 billion per day to 46.5 billion in 2009 [31] (Figure 4.7). Research conducted by analyst Michael Osterman in 2005 indicates that about 90 percent of organizations have some consumer IM operating in their networks and that 25 percent of e-mail users also are IM users [32]. Further Osterman research in March 2005 indicates that more than 50 percent of business organizations are using IM for business purposes, that virtually all organizations eventually will use some form of IM, and that 87 percent of e-mail users will also use IM [30]. There are numerous other studies that offer different statistics based on different methodologies, but all seem to suggest that the IM market is huge and that market penetration is significant and growing rapidly.

(Source: The Radicati Group.)

Figure 4.7: Projected growth in IM sent per day in billions: 2005–2009

4.4.1 Features

IM systems, much like e-mail systems, offer a growing number of features that commonly include time and date stamping and the ability to read, write, reply, and archive messages. A variety of file types (e.g., text, audio, video, and image) and file formats can be attached or appended. The following is a list of typical features:

· Presence: Status options advertised to correspondents on the contact list may include Online, Busy, Be Right Back, Away, On The Phone, Out To Lunch, and Appear Offline.

· Privacy: The user can block presence status to all but those on the contact list.

· Contact List: A contact list can be established and maintained and imported from files, e-mail contact lists, or other LDAP-compliant lists

· Attachments: Files and photos can be attached to instant messages.

· Message History: A history of messages can be maintained and organized by correspondent, in chronological order, by session.

· Multimedia: Voice and video communications may be supported as well as IM textual messaging.

· Conferencing: Some enterprise IM systems will support real-time collaboration, including audio-and videoconferencing and whiteboarding, with digital ink (i.e., handwriting).

· Integration: Enterprise systems feature application integration, offering access from IM to word processing, spreadsheet, graphics, and other applications.

· Polling: IM can include a polling feature that allows authorized users to conduct multiple-choice polls to gauge response to questions of general interest to the universe of IM correspondents or a subset of correspondents in a buddy list, i.e., closed correspondent group.

· Security: Filters are available to reduce or eliminate SPIM (SPam over Instant Messaging), which has become a considerable problem, especially for users connected to public services. Such filters may reject messages from senders not on an approved list, messages containing a Uniform Resource Locator (URL) (i.e., website address), or messages attempting to initiate a file transfer. As is the case with e-mail spam, SPIM can be a vehicle for viruses and other malware. Enterprise-level systems typically support strong security measures, including authentication and encryption. (Note: SPIM is covered under the same federal CAN-SPAM Act that addresses e-mail spam.)

4.4.2 Standards and Interconnectivity

Instant messaging systems all were developed as proprietary systems without thought to interconnectivity. As the popularity of IM grew, however, it became clear that there were advantages to linking disparate systems, both public and enterprise. Gateways were developed to support protocol conversions and thereby support interconnectivity between systems, if not full-featured networking.

Microsoft's Live Communications Server (LCS), for example, is an enterprise-level system primarily designed for stand-alone use in internal messaging applications. However, users who are licensed for public IM connectivity can now add contacts, send instant messages, and share presence information with users of MSN Messenger, AOL Instant Messenger (AIM), and Yahoo! Messenger, all of which are public, Web-based services. LCS also supports federation, which is the ability to establish secure IM relationships with trusted business partners. In January 2006, IBM announced plans to allow users of its Lotus Sametime IM system to work with AIM, Yahoo! Messenger, and Google Talk, as illustrated in Figure 4.8. MSN Messenger and Yahoo! Messenger interconnected late in 2005, bringing together some 275 million IM users, representing approximately 44 percent of the online IM community. As both MSN Messenger and Yahoo! Messenger are based on the Session Initiation Protocal (SIP) for Instant Messaging and Presence Leveraging Extensions (SIMPLE) protocol, interconnection was relatively simple, so to speak. AOL's AIM remains based on proprietary protocols [33].

Figure 4.8: IM between enterprise and Web-based systems through gateways

The gateways that will link these systems and others are based on various standards initiatives from the IETF. Those initiatives are as follows:

· IMPP: Instant Messaging and Presence Protocol (IMPP) is an effort to define the protocols necessary to build an IM system, including presence awareness and notification, and that will scale to Internet size. The IMPP group has published the following RFCs: "A Model for Presence and Instant Messaging" (RFC 2778), "Instant Messaging/Presence Protocol Requirements" (RFC 2779), and "Common Profile for Instant Messaging," CPIM (RFC 3860). The CPIM defines common semantics and data formats for IM to facilitate the development of gateways between services.

· SIMPLE: The predominant IM standard, SIMPLE is an extension of SIP (RFC 3261) to the suite of services the IETF refers to as Instant Messaging and Presence (IMP). SIMPLE is compliant with RFC 2779 and the CMIP specification. Microsoft's Live Communications Server and IBM's Lotus Sametime, both enterprise-level systems, are based on SIMPLE. Web-based MSN Messenger and Yahoo! Messenger also are based on SIMPLE.

· XMPP: eXtensible Messaging and Presence Protocol (XMPP), as specified in RFCs 3920–3923, is based on the eXtensible Markup Language (XML) to provide the functionality specified in RFC 2770. XMPP is deployed in the open-source Jabber system for which the initial protocols were originally developed.

While some analysts project that IM will soon eclipse e-mail as the primary mode of business communications, most find those projections unrealistic. IM requires all parties to be online, and it is often intrusive. IM just does not have the depth of support to replace e-mail, but it clearly will have a strong position for many years in a suite of messaging technologies.

4.5 MOBILE MESSAGING: SMS AND MMS

Mobile messaging is messaging in motion, which has several technological implications. First, mobile messaging must be untethered, as wires and fibers limit freedom of motion. Only wireless networks are wireless, of course. Only cellular networks currently support high-speed mobility, although Wireless Fidelity (Wi-Fi, the wireless LAN standard) hotspots permit limited freedom of motion. Worldwide Interoperability for Microwave Access (WiMAX) is a developing technology, the mobile extension of which is awaiting standardization. Second, the wireless terminal devices must be small and light and, therefore, highly portable. In contemporary terms, only cellular telephones, personal digital assistants, tablet PCs, and assorted other devices match those requirements. The small sizes of all of those devices limit the user interfaces. Specifically, the displays and keyboards or keypads are small on tablet PCs, smaller on PDAs, and tiny on cell phones. Improvements in display technologies such as font-size options, backlighting, brightness controls, and color serve to mitigate display size issues. Icons, shortcuts, softkeys, predictive text entry, abbreviations, multiple text entry modes, templates, voice recognition, and even digital ink (i.e., on-screen handwriting with a stylus) ease the system navigation and data entry processes. Regardless of the cleverness of the engineers and the state of the technology, however, the market for these devices is limited to those with good eyesight and small and nimble fingers.

Limitations aside, mobile messaging offers great benefits. The ability to communicate in text mode from virtually anyplace at any time is not only a convenience but also a time saver and even a life saver. Multimode communications only enriches the experience.

Mobile messaging over cellular networks takes the form of Short Message Service (SMS) for text messaging, which has evolved into Multimedia Message Service (MMS) as cellular networks have evolved to offer greater bandwidth and device technologies have evolved to support image and video capture and transmission. SMS and MMS have considerable legitimate business applications and have become so incredibly popular for personal use in the younger (i.e., preteen, teen, and young adult) market to the point that they have assumed the status of a cultural phenomenon. While is more pronounced in Asia and Europe than in the United States, the phenomenon is undeniable. Further, it likely is a permanent communications mode, rather than a passing cultural flirtation with a technological curiosity.

SMS volumes are incredible. In the Philippines, where cell phones outnumber landlines 10: 1, studies show that more than 200 million SMS text messages are sent daily—that works out to roughly 73 billion messages per year [34]. According to the Mobile Data Association (MDA), SMS volume in the United Kingdom grew from 1.1 billion in 1999 to approximately 32.5 billion in 2005 [35]. In the United States, the Cellular Telecommunications and Industry Association (CTIA) estimates that 9.8 billion SMS messages were sent in December 2005 and 81.2 billion in the calendar year 2005 [36]. SMS spam is beginning to be a huge problem, which is hardly a surprise. Although the National Do-Not-Call Registry offers consumer protection against SMS spam in the United States, there are exceptions if the recipient has given prior consent to the caller or has an established business relationship with the caller. In any case, the protection is apparently only theoretical, as SMS spam is increasingly an issue. The carriers actually have a disincentive to control the problem, as SMS messages are an optional service that carries additional charges of as much as US$0.10 per message.

4.5.1 Short Message Service

Short Message Service (SMS) is a text-messaging service available on most digital cellular telephone networks. SMS was originally designed to support one-way information transfer for applications such as weather reports, sports scores, traffic reports, and stock quotes as well as short e-mail-like messages, which may be entered through the service provider's website. Most service providers also allow the cellular user to respond to e-mails via two-way SMS using the cell phone keypad. Personal digital assistants and other wireless-enabled devices often have much more functional keyboards, of course. Contemporary SMS supports two-way communication between cell phones, other wireless devices, and computers connected to the Web. Initially SMS was defined in the Global System for Mobile Communications (GSM) standards, but it also has been available on a number of other digital cell networks since the late 1980s or so.

SMS is a store-and-forward messaging technology that generally includes a chat option that operates in near-real-time synchronous mode, much like IM. In fact, many IM systems support mobile communications via interfaces to SMS systems. As SMS messages use the same SMTP as is specified in the TCP/IP suite for e-mail, messaging interconnection issues are relatively modest. Interconnection of cellular networks for SMS applications presents something of a challenge in the United States as there are so many transport protocol variations. Second-generation (2G) network protocols include Time Division Multiple Access (TDMA), GSM and Code Division Multiple Access (CDMA). In every case, and whether the SMS message originates or terminates in a mobile phone, the message travels through a centralized message center, also known as a Short Message Service Center (SMSC). Also in every case, the SMS data are packetized, but in TDMA and GSM networks the data packet transport is over the signaling channel via Signaling System 7 (SS7), while data packet transport in CDMA networks is over the normal data channels. [Note: The SS7 protocol limits the packet size to 140 octets, which translates to 160 ASCII seven-bit characters: 140 × 8 = 1120/7 = 160. Where other coding schemes are employed, the number of characters per packet varies. For example, a double-byte scheme such as that used in support of complex alphabets (e.g., Chinese and Japanese) limits the packet size to 70 characters. Content exceeding this limitation must be fragmented prior to transmission and reconstituted upon reception.] In most countries, GSM is the sole 2 G network standard, so gateway issues are much less significant. All cellular networks are limited in terms of bandwidth, of course, although the newer 2.5 G and 3 G networks are much less so. The user interface is always an issue with mobile devices as display size and keyboard size are naturally limited.

Much of the SMS traffic is as a result of partnerships with public IM providers such as AOL, Google, MSN, and Yahoo!. Through these partnerships, computer users are able to correspond with mobile users on cell networks from their desktop, laptop, and tablet PCs. Mobile users also are able to access Web content on these networks from their mobile devices. Gaming is another popular application.

4.5.2 Multimedia Messaging Service

Multimedia Messaging Service (MMS), the next step in SMS evolution is currently available from many service providers and has been widely available in Japan and select other countries since 2001. MMS allows the cell phone user, for example, to create a text message, add a photo or perhaps a graphic downloaded from the Internet, add a video clip, and add a recorded audio file.

MMS makes use of the Wireless Access Protocol (WAP) standardized by the 3rd Generation Partnership Project (3GPP) and 3GPP2. 3GPP sets WAP standards for 3G cellular telephone systems based on the GSM standards, and 3GPP2 sets similar standards for systems based on CDMA2000. Although cellular technology is discussed in considerable detail in Chapter 11 and, therefore, is beyond the scope of this chapter, note that SMS and MMS will work with any digital cellular system technology, although performance is much improved if the underlying technology is either 2.5G or 3G, as available bandwidth is so much greater. The standard technologies, by generation, are as follows:

· 2G

· Digital Advanced Mobile Phone System (D-AMPS)

· Global System for Mobile Communications (GSM)

· 2.5G

· High-Speed Circuit-Switched Data (HSCSD)

· General Packet Radio Service (GPRS)

· Enhanced Data Rates for Global Evolution (EDGE)

· 3G

· Code Division Multiple Access 2000 (CDMA2000)

· Universal Mobile Telecommunications System (UMTS), aka Wideband CDMA (W-CDMA)

· Time Division-Synchronous Code Division Multiple Access (TD-SCDMA)

· 4.6 UNIFIED MESSAGING AND UNIFIED COMMUNICATIONS

· Unified messaging extends across e-mail, voice mail, and fax technologies. E-mail messaging increasingly includes binary computer files, graphics files, image files, video files, and even voice and audio files. While such attachments can be very bandwidth intensive, they clearly enhance the effectiveness of the communication. But unified messaging goes well beyond the world of simple attachments, ultimately providing a single mailbox for fax mail, voice mail, e-mail, and even video mail—all accessible from a single terminal device. Text-to-speech (TTS) and fax-to-speech conversion will allow all current forms of mail to be accessed from a wired or wireless voice terminal, and speech-to-text will allow all current forms of mail to be accessed from a single wired or wireless data terminal. Video mail will be more of a challenge, even though the basic technologies have been developed and archived streaming video presentations are commonly transmitted over the Internet and even over cellular networks. Particularly in the wireless domain, unified messaging can offer significant advantages for the mobile worker when the technologies reach the point that your messaging system can find you, wherever you are, and deliver your messages to you on whatever sort of terminal device you might have, converting the message formats as required.

· While speech-to-text, text-to-speech, and fax-to-speech technologies are fairly immature at this point, they are developing quickly and certainly within the next 5–10 years will be considered reliable and inexpensive enough to become commonplace. Parallel developments in network, system, and terminal technologies, particularly in the wireless domain, will greatly enhance the functionality and, therefore, the acceptance of unified messaging. The general appeal of being able to access e-mail from your cellular telephone and voice mail from your laptop or PDA is just too great for unified communications to be anything but successful. Early implementations of these capabilities have proved functional but have drawn mixed reviews because of lingering issues involving display and other interface shortcomings.

· Unified communications, at least according to my definition, takes unified messaging to a higher level, allowing you to receive messages in any format you choose and to respond in the same way, regardless of the format of the original message. In other words and for example, you will be able to respond to the voice message that was converted to text before being sent to your PDA. You will enter a text response that will be sent via e-mail over a wireless network and converted to voice by your unified communications system. That voice response then will be delivered by phone to the caller or deposited in his voice mailbox unless he now must be reached through his PDA, in which case his unified communications system will recognize that fact, find him, convert the message as appropriate, and deliver the response in text format. This scenario, by the way, is one of many convergence scenarios in which voice and data intertwine over circuit-switched and packet-switched networks that are both wired and wireless, with mobility being a critical driver of the application. Taking the scenario one step further, there technically is no reason that the archives and databases of the multiple devices cannot be synchronized so that the fax that was converted into a voice message sent to a cell phone cannot be saved as a text message in all three formats on one or more servers and one or more devices, along with any annotations. In this fashion, messages can be sent from any device to any device, anywhere, anytime, and one time.

· While such an ideal unified communications system does not exist at the moment, the fundamental technologies do exist and will develop to the point that such a scenario will be practical in the foreseeable future. For that matter, this scenario may well be understated, assuming that compression, display, power, and a variety of other technologies develop to even greater levels than I have assumed here. Video mail, for example, by no means is out of the question. In fact, all of these variations on the theme of unified messaging are available in early versions, which currently are being promoted heavily.

· Several formal standards bodies and industry consortia have begun work on unified messaging. The Electronic Messaging Association (EMA) spent considerable effort in the late 1990s toward the development of a mechanism for passing voice mail between voice processors over the Internet. That effort led to the development of the Voice Profile for Internet Mail (VPIM), which is based on MIME and which was published by the IETF as RFC 2421 in September 1998. The IETF continues that work towards the development of RFC 2421v2 and v3, although at a slow pace. There also was some interest at the IETF in loosening the restrictions of VPIM and making it the voice component of a unified messaging protocol suite, although it appears that little progress has been made in the regard in the last few years.

Chapter 5: Public Switched Telephone Network

OVERVIEW

Of the many wonderful scientific discoveries and inventions which have made the nineteenth century remarkable, certainly none is of more popular interest than the simple little piece of apparatus known as Bell's articulating telephone. By this instrument it becomes possible to transmit ideas between far-distant places, not in the form of signs afterwards to be deciphered, but as actual articulations, an echo of those produced by the human voice at the point of transmission.

The Wonders of the Universe, The Werner Company, 1899

The old networks were designed around basic voice communications, or Plain Old Telephone Service (POTS). While the first telephone networks used transmission lines leased from Western Union, telegraphy was conducted over a separate, preexisting network. Since data, image, and video systems did not exist until many years later, there certainly was no requirement to network them. The characteristics of voice traffic were, and still remain, well known and easily understood. Specifically, voice calls are occasional, short, bidirectional, continuous, stream oriented, and analog in their native form.

Voice calls typically are occasional, because talking on the telephone is not the focus of most people's personal and professional lives. Clearly there are exceptions, such as agents who work in call center environments. Human-to-human voice calls also tend to be short in duration–3–4 min or so, on average. While business calls tend to be short and to the point, purely personal calls are more social in nature and tend to last longer. Additionally, some people tend to express themselves in very concise terms, while others tend to be very wordy. (My late mother, rest her soul, was one of the wordy ones. I am not.)

Clearly, voice calls are conversational, or bidirectional, in nature. (Conversations with my mother tended to be one-way.) Further, the usage of the circuit is fairly constant, or potentially so. (See the previous parenthetical comments.) Regardless of the direction of the conversation (talking versus listening) and the number and length of pauses in the conversation, the network must support the communication continuously. Voice communication is characterized as isochronous and stream oriented. In other words, voice (and video) information flows at a constant and regular pace, with each utterance, or lack thereof, being of equal importance. Therefore, all elements in the network must be available continuously to accept, switch, transport, and deliver the data—this effectively means 100 percent of the time. Further, each element of the voice communication must be delivered to the receiver in exactly the sequence in which it was presented to the transmitter and with no significant level of either latency (i.e., delay) or jitter (i.e., variation in delay). Finally, the native information signal is analog, rather than digital, in nature.

Analog transmission over copper twisted pairs was quite suitable and remains so. But the inherent advantages of other media ( Chapter 2 ) often make them preferable in contemporary applications. Circuit switching also was quite suitable and still is. Manual switchboards eventually gave way to Step-by-Step (S × S), CrossBar (XBar), and then Electronic Common Control (ECC) switches. Local switches were interconnected with other local switches through intermediate network switches for longer distance connections. Contemporary networks, of course, are much more sophisticated, supporting incredible volumes of not only voice but also data and even some level of video and image transmission. Analog has given way to digital, copper has yielded to fiber, wireline networks have given way to wireless in many applications, and so on.

A number of developing next-generation public networks are based on packet switching, rather than circuit switching. While packet switching was developed spe-cifically for data communications, it offers both lower costs and increased functionality in support of voice. But quality issues can be considerable in packet-switched networks. While this chapter focuses on conventional voice networks, it briefly explores Voice over IP (VoIP) as a developing replacement for the Public Switched Telephone Network (PSTN). I discuss VoIP and Voice over Frame Relay (VoFR) in considerable detail in later chapters. While both VoIP and VoFR networks make use of highly sophisticated compression techniques to deal with quality issues, reli-able toll quality voice (i.e., the traditional level of quality you have come to expect) is difficult to achieve in such networks.

As more people became comfortable with the new telephone technology, more people subscribed to the service, which made the technology more useful. Businesses came to depend on telephony, and usage increased. When costs began to drop, the technology became generally affordable and usage increased even more. Long-distance usage, which was highly profitable to the carriers, proved to be extremely price sensitive.

Around the turn of the twentieth century, the Bell System had approximately 800,000 telephones in service—that compared to about 600,000 for the nearly 6000 independent, privately owned telephone companies that sprang up in the United States [1]. In many cities and towns, multiple telephone companies operated in direct competition under franchises granted by the local government. In sparsely populated rural areas and isolated towns and cities (e.g., in Alaska) where telephone service was not commercially viable, telephone cooperatives and municipally owned telcos formed, and a number of them still exist. Approximately 1300 U.S. independents (non-Bell companies) still exist according to the USTA (United States Telecom Association). Notably, the telephone was not accepted elsewhere quite so quickly. Reportedly, a group of British experts stated that the telephone "may be appropriate for our American cousins, but not here, because we have an adequate supply of messenger boys." As late as 1937, half of the telephones in the world were in the United States, which accounted for approximately 6 percent of the world's population. At that time, there were about 14 telephones for every 100 population in the United States, 11 per 100 in Canada, and 2 per 100 in Europe [2].

Initially, these networks were isolated islands of local service. The telephone companies soon interconnected with each other and with the long-distance network, usually under government and regulatory pressure. In the United States, the Bell System avoided providing interconnection, preferring to aggressively acquire the independent telcos and even acquiring a large block of stock in Western Union Telegraph Company, which had entered the telephone business in 1877 and was its chief competitor at the time. Increasingly pressured by the federal government under antitrust laws, Nathan C. Kingsbury, an AT&T vice president, wrote a letter to the U.S. Attorney General in December 1913 to resolve various issues. Known as the Kingsbury Commitment, that letter committed AT&T to dispose of its holdings in Western Union, to purchase no more independent telephone companies without the approval of the Interstate Commerce Commission (ICC), and to make interconnection with the independent telephone companies. Eventually, national standards were established to govern the nature and rules of interconnection. The ITU-T governs standards recommendations at the international level.

Many nations acquired, or even confiscated, the telephone networks from the private owners, forming Post, Telegraph, and Telephone (PTT) agencies. French telephony, for example, was originally conducted by private interests but was virtually confiscated in 1889 by the government, "which proceeded to inflict upon it the worst evils of bureaucracy. Rates were inequitable; there was no national plan or research effort; subscribers were required to buy their telephones; and operators were subject to baroque bureaucratic rules, such as being forbidden to marry policemen, cashiers, foreigners, or mayors of towns, lest they betray the secrets of the switchboard" [1] (Note: The French company Alcatel is now in the process of acquiring Lucent Technologies, which includes the remnants of Bell Labs, the research and development arm of the Bell System prior to divestiture in 1984. At the time, Bell Labs was on the order of a national treasure. Let us all hope that the French do not "betray the secrets of the switchboard" once they gain access to them all.) On January 12, 1912, the British government assumed full control and ownership of the national telephone system, leaving the United States as the only major nation in which the network was privately owned. Eventually, people viewed access to telephone service as a basic human right in many industrialized nations. In 1935, an act of Congress defined the concept of universal service and created the Federal Communications Commission (FCC), which was chartered with accomplishing this goal. The goal (admittedly paraphrased and based on my best recollection from my days at Southwestern Bell) of the Bell System, for example, became "universal service of the highest possible quality at the lowest possible cost." In order to ensure that high-quality basic service was available universally, a complex set of cross-subsidies formed to fund the deployment of the network in high-cost areas, with particular emphasis on single-line residential service. The Telecommunications Act of 1996 amended the Communications Act of 1934 to require that all telecommunications companies that provide interstate telecommunications services contribute money to preserve and advance universal service.

Many governments have discovered that they cannot easily fund the capital-intensive upgrades their networks require, and they cannot effectively serve the communications needs of their constituents at reasonable cost. They also have come to recognize that the networks are immensely valuable assets that can be sold to fund various social programs. Therefore, the networks have been liberalized, that is, opened to competition, in many nations. The networks also rapidly are being privatized, either partially, with the government continuing to hold controlling interest for some period of time, or completely. As a result, service has become more universally available around the world, the quality of service has improved, the range of services has increased, and the overall cost to the user has dropped considerably. Note: This is a trend, rather than a universal fact, and progress sometimes is slow.

In the Republic of South Africa (RSA), for example, Telkom South Africa was government owned until May 1997, when 30 percent of the company was sold to the Thintana consortium of SBC Communications (United States) and Telekom Malaysia. Telkom South Africa remained a state-enforced monopoly until 2003, when the search began for a qualified Second Network Operator (SNO). Also in 2003, the company went public and was listed on the Johannesburg and New York stock exchanges in March. The government held competitions for the SNO and actually awarded the licenses a time or two, only to retract them for various political reasons. The SNO licenses were awarded again in early 2006 and SNO Telecommunications prepared to launch services in selected areas of the country. The hope is that SNO will take a more creative approach to its service offerings than it took in the selection of its name.

5.1 NETWORK CHARACTERISTICS

Each type of network can be described in terms of a number of key characteristics that define its basic nature and application. The PSTN, also known as the Global Switched Telephone Network (GSTN), can be characterized as designed for voice communications, primarily on a circuit-switched basis, with full interconnection among individual networks. The network is largely analog at the local loop level, digital at the backbone level, and generally provisioned on a wireline, rather than a wireless, basis.

5.1.1 Voice (Primarily)

The original network was designed to carry voice communication only. At the time, the only other form of telecommunication was telegraphy, which was the province of Western Union Telegraph Company in the United States. The contemporary PSTN still exists primarily to support voice communication. While much data traffic continues to tranverse the network, intensive data traffic largely travels special-purpose data networks, or physical and logical partitions of the PSTN. The PSTN also can support the transfer of image information, with facsimile being an excellent example. Additionally, special videoconferencing equipment and interfaces support video traffic.

Note that much Internet traffic travels over the PSTN, at least through the Local Exchange Carrier (LEC) access networks. For example, a great many users access an Internet Service Provider (ISP) over the PSTN through a modem embedded in a desktop or laptop computer. Over an analog local loop, the modem dials the telephone number of the ISP, and the connection is provided through a circuit-switched Central Office (CO) designed for voice communications. The ISP's local loop is in the form of a channelized T1 circuit designed for voice. Should you need a connection to the Internet, it is supported from the ISP to the Internet backbone over an unchannelized T3 leased from the LEC and designed for voice. This traditional method of Internet access is giving way to new technologies such as Digital Subscriber Line (DSL), cable modem, and Wireless Local Loop (WLL) technologies. I discuss these Internet access scenarios and the underlying technologies in detail in later chapters.

5.1.2 Switched (and Dedicated)

Traditional voice networks are largely circuit switched, thereby providing great flex-ibility to the end users and significant economies to the carriers. (Note: While packet-switched networks are rapidly replacing circuit-switched networks in the United States and some other highly developed regions of the world, we will defer that discussion.) Large user organizations that communicate intensively between well-defined physical locations (e.g., headquarters, region, and field locations) often employ dedicated circuits in order to mitigate network costs. Such dedicated circuits generally are leased from the carrier(s), making use of existing PSTN transmission facilities. In relatively rare instances, large end-user organizations deploy their own facilities, often in the form of private microwave, to extend connectivity to areas that the telcos find to be economically unattractive or where telco construction charges would be excessive. Also in rare instances, large end-user organizations purchase or lease from the carrier a set of fiber-optic facilities that can be used to connect the user's locations on a dedicated basis. Such optical fibers are contained within a larger set of facilities originally deployed for the carrier's own use and sold or leased to the user on an as-available basis. As Wavelength Division Multiplexing (WDM) made its appearance, carriers began leasing individual wavelengths, or lambdas, to end-user organizations and other carriers.

5.1.3 Analog (and Digital)

The traditional voice network originally was analog in nature. The local loop connection terminating at the residence or small-business premises generally is still analog, with the exception of Integrated Services Digital Network (ISDN), which is digital from end to end, and, very recently, Fiber-To-The-Premises (FTTP). ISDN never achieved any appreciable level of penetration in the United States, although it was widely deployed in many other countries. Large user organizations often have digital access circuits in the form of T-carrier or E-carrier, which may be formatted as leased lines or ISDN.

Backbone circuits in the internal telco networks and internetworks largely have converted to digital for reasons that include increased bandwidth, improved bandwidth utilization, superior error performance, and enhanced network management capabilities. This conversion process largely is complete in most major industrialized nations and regions, including Australia, Hong Kong, Japan, New Zealand, North America, Singapore, and Western Europe. Developing nations and regions (e.g., Eastern/Central Europe, Sub-Saharan Africa, The Philippines, and Thailand) either are converting the PSTN to digital or are abandoning obsolete analog facilities in favor of constructing new digital networks.

5.1.4 Interconnected

In 1903, only thirty-nine per cent of the world's telephones could be connected with the Bell System. Today, every telephone served by the Bell System can reach about ninety-two per cent of all the telephones in the world.

Telephone Almanac, American Telephone and Telegraph Company, 1934

Complete interconnection between all local and long-distance and national and regional networks is fundamental to the PSTN. Islands of telephony were interconnected many years ago in order that any subscriber might have the ability to connect to any other, subject to availability of transmission and switching capacity and issues of national or regional security. In other words, any-to-any connectivity is fundamental.

5.1.5 Wired (and Wireless)

While the traditional networks largely are wired (i.e., twisted pair and optical fiber), much wireless technology also is employed. Wired networks generally perform better in terms of bandwidth, error rate, security, and other dimensions, as is discussed in Chapter 2 . Fiber-optic transmission systems are particularly notable in these respects. Note that wired networks, and especially those employing optical fiber, are very much under the control of the owner, because they are not so susceptible to environmental interference (e.g., precipitation, sunspots, and static electricity). Further, each wire or fiber is a self-contained world of bandwidth, whereas wireless systems are limited by spectrum availability and frequency allocation. While wired networks often are more difficult, time consuming, costly, and sometimes impossible to deploy and reconfigure, they can be advantageous in the long term.

A limited radio spectrum, electromagnetic interference, lack of security, and an assortment of other limitations all plague wireless networks. Therefore, they generally are avoided in the architecture of the PSTNs of developed nations. Microwave, however, is used extensively in many networks, either as a primary means of connection where wired networks are impractical or as backup in the event of network overload or failure. Satellite communications also is used extensively for certain international communications and in order to provide access to island nations and remote areas. Wireless Local Loop (WLL) technology has gained in popularity in recent years as an alternative means of network access. WLL also finds application as a facilities bypass technology that enables the user organization to bypass the facilities of the Incumbent Local Exchange Carrier (ILEC) in order to gain access to an IntereXchange Carrier (IXC) or other service provider. WLL often compares quite favorably with ILEC access circuits in terms of both speed of deployment and cost. However, issues of security and interference remain. (Note: I consider cellular networks to be a special case and not part of the PSTN as such. I spend a good deal of ink discussing cellular networks, in specific, and wireless networks, in general, in Chapter 11 .)

Developing nations, in particular, make extensive use of satellite and microwave systems and currently deploy WLL aggressively. The advantages of wireless communications, as is noted in Chapter 2 , include both the rapidity and low cost of deployment, particularly in difficult terrain (e.g., mountainous areas where the soil is rocky), where islands must be interconnected, or where remote or sparsely populated areas require service. India, for example, makes extensive use of satellite communications to link thousands of remote villages. Similarly, remote towns in the outback of Australia are linked to the PSTN via satellite. Carriers use microwave extensively to link cities in island nations such as the Philippines and Malaysia, where WLL also has found considerable application.

5.2 NUMBERING PLAN ADMINISTRATION

In order for any telephone to connect to any other telephone in the world, a carefully developed and administered numbering plan, or logical addressing scheme, must be in place. The ITU-T is responsible for Numbering Plan Administration (NPA) at the international level, with each nation or region having similar responsibility within its domain. In 1947, AT&T and Bell Telephone Laboratories established the North American Numbering Plan (NANP) as a means of integrating the area codes and Central Office Exchange (COE) codes in the area loosely known as North America. This area, officially known as World Zone 1, excludes Mexico and includes the Continental United States, Hawaii, Canada, Puerto Rico, the Virgin Islands, and parts of the Caribbean. Within each state in the United States, the dominant LEC (read the Bell Operating Company) administered the NANP under the direction of the FCC [3].

Coincident with the breakup of the Bell System, in 1983 Bellcore (Bell Commu-nications Re search) assumed responsibility for the NANP. The Canadian Radio-television and Telecommunications Commission is responsible for the numbering plan in that country. In the Caribbean, some of the various governments delegate administration, while others retain that responsibility. In 1995, the North American Numbering Council (NANC) was chartered as an impartial body to assume oversight responsibility for the NANP. In January 1998, NANP direct administration was removed from Bellcore (now Telcordia Technologies) and placed in the hands of Lockheed-Martin, thereby enhancing the administrative function with a presumed level of impartiality. Lockheed Martin formed NeuStar as an independent business unit specifically to handle that function and subsequently spun off NeuStar as a separate entity. The U.S. number format comprises fixed-length, 10-digit national numbers which fit into the international NPA dialing scheme (+CC.NPA. NXX. xxxx).

The ITU-T E.164 recommendation (The International Public Telecommunication Numbering Plan) specifies the current international NPA convention at a maximum of 15 digits, although the number of digits required for calling within a nation varies. In many cases, numbering schemes vary within the same country; 6-and 7-digit telephone numbers, for example, coexist in Namibia and many other countries.

When dialing a telephone number, the user effectively instructs the network to establish a connection between two physical addresses based on a logical address, which is a series of numbers following a specific pattern. Using an example with which I am familiar (it's my company), the following logical addressing convention functions in establishing a connection originating from a physical address in Johannesburg, South Africa, and terminating at another associated with the Context Corporation at 1500A East College Way, Suite 443, Mount Vernon, Washington 98273, United States (and in reverse):

· 0 is the access code for an outside line from behind a PABX. (9 is the access code for an outside line from behind a PBX in the United States.)

· 09 indicates that the call is international. (The international access code for calls originating in the United States is 011.)

· 1 is the country code for the United States. (27 is the country code for South Africa.)

· 360 indicates the area code, or NPA. Specifically, 360 is the geographic area of western Washington surrounding the Greater Seattle metropolitan area. Note: 360 is in Local Access and Transport Area (LATA) 674. (11 indicates a specific area in Johannesburg, Guateng Province, and is akin to an area code.)

· 428 is the Central Office (CO) prefix, which indicates a specific Mount Vernon COE of Verizon, the ILEC. These three digits are associated with an exchange that resides in a wire center, which may house several such exchanges. The exchange also is a rate center, meaning that it is identified by V&H (Vertical and Horizontal) coordinates that are used to calculate the distance between that rate center and another so that rates involving distance-sensitive call rating algorithms can be calculated correctly. (The dialing pattern is similar in South Africa from this point, as local telephone numbers are seven digits.)

· 5747 is the line number, which indicates the port and circuit ID, which is associated with a local loop, which in turn is associated with terminal equipment at the physical address of The Context Corporation.

Through such a series of dialing steps, the logical address of the Context Corporation is translated, in steps and across carrier domains, by several networks in order to route the call to the target telephone system. Changes in the dialing scheme require changes in switch logic (e.g., PBXs and COs) in order that the switches can recognize the legitimacy of the dialing pattern. The Context Corporation also has an 800 number (i.e., IN-WATS, or toll-free, number) that the network translates into 360.428.5747 in order to route domestic calls on a toll-free basis. As the 800 number points to a regular telephone number associated with a multifunctional local loop rather than a separate INWATS line, the number technically is in the form of virtual WATS.

Demand for telephone numbers increased considerably beginning in the early 1990s due to the popularity of cellular telephony, fax machines, pagers, and modems for computer access to the Internet—all of which require telephone numbers. The Telecommunications Act of 1996 added considerably to the pressure on the NANP as CLECs (Competitive Local Exchange Carriers) began to request the assignment of telephone numbers for their potential customers. The NANP convention called for numbers to be assigned by CO prefix, each of which contains 10,000 numbers (0000–9999). So, a LEC requiring 10 or 100 numbers in a given geographic area was assigned a full block of 10,000 numbers, the vast majority of which went unused. Further, requests for number blocks were approved fairly automatically, regardless of their legitimacy. Under that sort of pressure, the FCC approved 640 new area codes in 1995 and expected another 88 existing area codes to be exhausted by 2010 or so [4–10].

Subsequently, however, common sense prevailed as consumers put pressure on the regulators to reconsider the introduction of new area codes. As a result, LEC requests for number blocks were scrutinized and were rejected if their existing number blocks were considered to be less than fully utilized. Further, the NANC introduced number pooling, whereby multiple carriers are each assigned blocks as small as 1000 numbers within a pool of 10,000 per CO prefix. The FCC also instituted a number reclamation policy to ensure that unused numbers are returned to the pool and a 60 percent utilization threshold, increasing to 75 percent over time, that carriers must meet before getting additional numbers in their service area. As of January 1, 2006, 328 area codes were in service out of a possible 800 available combinations that fit the acceptable numbering convention. Current projections are that the remaining supply of area codes will last until at least 2039 [10]. Similar factors in Europe have pressured the numbering plans in that part of the world as well—hence the expansion of the international dialing convention to 16 digits and the eventual expansion of the NANP to 11 or 12 digits once the supply of existing CO prefixes and area codes is exhausted.

The changes in the NPA have impacted the network to a considerable extent, as all network switches must be reprogrammed to recognize and honor dialing instructions under the new conventions. At least as importantly, NPA changes have significant impacts on end users, who must keep current and prospective customers and other contacts informed of telephone number changes. Among other things, adver-tising, stationery, business cards, and signage must be changed and at considerable cost.

In order to understand the implications of NPA changes, you must understand the difference between the old and new conventions. Traditionally, the U.S. area code was a three-digit, NNX number. In other words, the first and second digits were limited to specific numbers (N), while the third digit consisted of any number (X). Specifically, the first digit could be any number other than 1 or 0, either of which would confuse the network, which would interpret it as an instruction to provide access to an operator, connect a call across an area code boundary, or connect an international call. The second digit was required to be a 1 or 0, and the third digit could be any number. As the existing area codes were exhausted, the FCC opened the second position in 1995. Consequently, The Context Corporation (my company) found itself removed from the Seattle 206 area code and established in the new 360 area code on the basis of a geographic split. In order for callers to reach the company, all involved switching devices had to be reprogrammed to recognize the validity of the new area code and, thereby, process the call, rather than reject it. End users were required to make software changes in their PBX systems if they wanted to be able to call the new area code, and the carriers had to make software changes to all network switches. Not only were such software enhancements expensive, but also some older switches could not be upgraded. The end users were denied access to the new number unless the system was replaced or peripheral equipment was added to effect compatibility. I had to advise all my existing and prospective clients of the number change and had to go to the expense of changing my advertising, letterhead stationery, business cards, website, and so on. For my small independent consultancy, the costs and inconveniences were relatively minor. For a large multinational company, the costs easily can run into the millions of dollars, the inconveniences can be significant, and the loss of business can be considerable.

Notably, both area codes and CO prefixes are geographically specific, with the exceptions of 500, 700, 900, and toll-free (e.g., 800, 888, 877, and 866) services. When an existing area code is exhausted and a new one is required, there are two choices. The traditional choice includes a geographical split of an existing area code (e.g., 206 and 360), but this causes considerable disruption. The contemporary choice increasingly is that of an overlay area code, which requires that the caller always dial a 10-digit telephone number, even to place a local call. Neither solution is particularly attractive.

Note, however, that this geographical limitation disappears or at least can be extended with Internet telephony, that is, telephony over the IP-based Internet. As an example, an Internet telephony provider can subscribe to a telephone number in the financial district of Manhattan, New York. The end user can connect to that telephone number from a computer-based IP softphone through the Internet from anyplace in the world. So, a call placed from Dallas, Texas, to the Manhattan telephone number can be connected through the Internet to the subscriber, who may be in a hotel room in Mumbai. The subscriber in Mumbai can call through the Internet, connect to that same number in Manhattan, and place an outgoing call to Dallas, with the Manhattan telephone number appearing on caller ID at the Dallas telephone. Whether the call is incoming or outgoing, the Dallas party has no knowledge of the fact that the other party is anywhere other than Manhattan. This technology may well contribute to shortages of telephone numbers associated with major financial centers such as New York and Hong Kong, for example, and may further enable financial scams and other fraudulent activities.

Note also that in September 2000 the Internet Engineering Task Force (IETF) approved RFC 2916, which documents what is commonly known as ENUM (Elec-tronic NUMber). ENUM bridges the gap between the logical addresses specified in the PSTN by E.164 and the logical addresses specified for IPv4 in RFC 791 and IPv6 in RFC 2460. Clearly, it is important to translate between the addressing schemes in a scenario in which voice calls travel both the PSTN and the Internet or other IP network. Therefore, both E.164 and IP addresses are registered with the ENUM Domain Name Service (DNS), which can be consulted by gateways that interconnect the two disparate networks.

5.3 DOMAINS

Perhaps the most effective means of examining the fundamental nature of the network is to consider it in terms of domains, or spheres of influence. The traditional voice network can be organized into functional, regulatory, and carrier domains.

5.3.1 Functional Domains

Functional domains address the various functions performed in the PSTN. Customer premises equipment, switches, and transmission facilities all are physical elements of the PSTN, each performing specific functions and all supported by a signaling and control system. At a higher level, you can view the PSTN in terms of providing the functions of network access, transport, switching, and service delivery. According to the 1934 AT&T Telephone Almanac:

A telephone instrument, taken by itself, is merely a thing of ingeniously fabricated insulating materials and metal. A telephone instrument, capable of interconnection with other telephone instruments, not only locally but with a nation-wide and international communication system, becomes an agency of human service whose horizons extend beyond those on commonwealth or continent. … So measured, its value is limitless.

5.3.1.1 Customer Premises Equipment

Customer Premises Equipment (CPE) is the term for transmit and receive equipment in the voice realm, including voice terminals (telephone sets), key equipment, PBXs, Automatic Call Distributors (ACDs), and peripheral equipment such as answering machines. Historically, the local telephone company owned the entire network, from transmitter to receiver, including all voice CPE, which the end user was required to lease from the telco. Beginning in the United States with the Carterfone decision in 1968, end users were allowed to purchase terminal equipment and connect it to the network as long as it was connected through a properly registered interface device rented from the telephone company. In 1975, the FCC's Part 68 registration program allowed for the manufacturers of foreign (i.e., nontelco) equipment to certify that it would cause no harm to the network, thereby eliminating any need for the interface devices.

Data Terminal Equipment (DTE) is the parallel term in the data realm. As computer equipment historically comprised islands of mainframes and attached terminal and printers confined within a data center, issues of interconnection across public networks were modest until the 1970s. So, DTE historically was owned by the end-user organization. Further, the telcos considered DTE to be too complex and, therefore, had no interest in it. A notable exception, of course, was teletypewriters, which the telco owned and interconnected through telex and TWX networks. There were small numbers of terminals connected to mainframes across separate networks through modems, which were leased to end users by the telcos, but the numbers were so small that the issues of ownership were of relatively little concern. The Carterfone decision applied to this equipment as well, so end users were allowed to purchase and interconnect DTE beginning in the late 1960s.

5.3.1.2 Inside Wire

Inside wire includes all wires and cables located inside the customer premises. In a midsize or large business enterprise, such wires and cables might connect the terminal equipment to the voice common equipment, such as a PBX or a Key Service Unit (KSU), and from there to the demarcation point(demarc)—the point of delineation between the customer premises and the carrier network. A Centrex customer typically has P-phones that connect directly to the demarc, with no intermediate common equipment. A small business or residence typically uses single-or multiline telephones, also connected directly to the demarc. The demarc generally is in the form of a Network Interface Unit (NIU), also known as a Network Interface Device (NID), that includes some form (carbon fuse, gas tube, or electronic chipset) of lightning protector that insulates the premises from potentially disastrous high-voltage current caused by lightning strikes on the outside copper cable plant. Contemporary NIDs also contain a chipset that supports remote testing of the local loop from a centralized Network Operations Center (NOC). In the case of some older business installations, the demarc is merely a logical point of demarcation, tagged as such by the ILEC.

Historically in the United States, the inside wire was owned by the telco, which had end-to-end responsibility for the network. Under the terms of the Modified Final Judgment (MFJ) in 1984, the responsibility shifted to the customer for all new inside wire. Further, the customer was given the opportunity to take ownership of and assume full responsibility for that already in place. Therefore, the demarc also became the point at which the carrier's responsibility ends and the user's begins. Such responsibilities include installation and management, such as upgrade, maintenance, and security. Many other countries have since followed that same path of deregulation.

5.3.1.3 Switches

Switches are the devices that establish connectivity between circuits through an internal switching matrix. In a traditional PSTN environment, such switches are circuit switches, which include COs, tandem exchanges, access tandem exchanges, and International Gateway Facilities (IGFs). On demand and as available, circuit switches set up such connections between circuits through the establishment of a talk path, or transmission path. The switches set up and maintain those connections and provide the associated bandwidth temporarily, continuously, and exclusively for the duration of the session, or call.

5.3.1.3.1 Central Offices

The Local Exchange Carriers (LECs) own Central Offices (COs), also known as Central Office Exchanges (COEs) and just exchanges. COs provide local access services to end users via local loop connections within a relatively small area of geography known as an exchange area, or Carrier Serving Area (CSA). In other words, the CO provides the ability for a subscriber within that neighborhood to connect to another subscriber within that neighborhood by dialing a 7-digit number (NXX-XXXX) in the United States. (Note: Dialing patters can vary in other countries.) In cases where overlay area codes are in place, a 10-digit (NXX-NXX-XXXX) dialing pattern is required. The FCC has since mandated 10-digit dialing for many geographical areas, to put new carriers and users in new overlay area codes on equal footing with incumbents. COs also provide a number of services, such as custom calling features (e.g., call waiting, call transfer, and three-way calling) and Centrex. Also through the CO, a subscriber typically gains access to the LEC metropolitan calling area, which does not involve a long-distance (toll) charge, by dialing a 7-digit number (NXX-XXXX). In some cases zone charges apply for calling, generally between noncontiguous zones, with each zone comprising multiple CSAs. Finally, most subscribers also gain access to the various long-distance networks through the CO, with a domestic long-distance call requiring dialing 1 + a 10-digit number (1 + NXX-NXX-XXXX) in the United States.

COs, also known as end offices, reside at the terminal ends of the network. In other words, they are the first point of entry into the PSTN and the last point of exit. They also are known as Class 5 offices, the lowest of the five classes in the switching hierarchy, and edge offices, as they are at the very edges of the service provider's network. Manufacturers of COs include Lucent Technologies (5ESS), which previously was AT&T; Nortel (DMS), which previously was Northern Telecom; Siemens (EWSD); and Ericsson (AXE).

5.3.1.3.2 Tandem Switches

Tandem switches are network switches that serve in partnership with lesser switches, linking them together. In other words, tandem switches serve no end users directly; rather, they serve to interconnect lesser switches. At the lowest level, tandem switches serve to link together CO switches over dedicated interoffice trunks. This approach can be used to form a fully interconnected and toll-free metropolitan calling area, for example. There are a number of basic network topologies, including full mesh, full tandem, and a combination tandem and direct trunk plan.

· Full Mesh: If all COs are interconnected through direct trunking in a full-mesh network topology, a large number of trunks and trunk groups are required, as calculated by the formula

where n is the number of nodes to be interconnected. If there are eight nodes, as illustrated in Figure 5.1, the number of trunks required is calculated as

Figure 5.1: Network configurations: direct trunk full mesh, all tandem, and combination direct trunk and tandem

So, a full-mesh configuration of eight COs requires 28 trunks, if all trunks are full duplex (i.e., two-way). If all trunks are simplex (i.e., one-way), then twice that number, or 56, trunks are required to implement a full-mesh, full-duplex configuration. This approach is the most trunk intensive but provides a direct path between any two switches. This approach also presents the lowest risk of catastrophic failure, as each switch can exercise multiple paths to every other switch in the network, under the direction of a centralized signaling and control system.

· Full Tandem: A fulltandem configuration is the most efficient in terms of trunking, as it reduces the total number of trunks to eight. However, this approach places a great traffic load on the tandem, which much provide all interconnections between the COs. The tandem also becomes a single point of failure, which may present an unacceptable level of risk to the carrier. Further, the tandem adds some amount of call setup time and propagation delay. This configuration also is a physical and logical star configuration.

· Combination: A combination configuration often is the most reasonable approach, as it strikes a balance between trunking and switching. Adjacent COs interconnect directly; nonadjacent COs connect through the tandem. If there is a failure at the tandem level, nonadjacent COs can interconnect via alternate paths under the direction of a centralized signaling and control system.

Depending on the design philosophy of the service provider and the size of the network, there may be as many as four levels of tandem switches in the backbone of the circuit-switched PSTN. At each level, the tandem switches serve to interconnect lesser network switches. Contemporary network switches often are multifunctional, with one physical Class 4/5 hybrid switch partitioned to serve both as a Class 4 tandem and a Class 5 CO.

5.3.1.3.3 Access Tandem Switches

Access tandem switches serve to connect the LECs (telcos) to the IXCs (long-distance carriers) over dedicated interoffice trunks, known as access trunks. In this manner, the local service providers originally were interconnected to the long-distance providers. As access tandem switches represent an additional point of potential network failure, involve additional costs to the IXC, and impose additional delay on the process of call setup, the larger IXCs often terminate high-capacity trunks directly in the LEC COs or tandem switching centers. Thereby, the access tandem arrangement is bypassed. Where the physical space is available and can be securely partitioned, the LECs must lease space to the IXCs in order that they can collocate their termination facilities in the LEC CO. The cost to the IXC of such leased space is based on actual costs to the LEC plus a reasonable profit margin, at least theoretically. (Note: The LECs maintain that, in practice, the cost to the IXC is heavily discounted.)

5.3.1.3.4 International Gateway Facilities

International Gateway Facilities (IGFs) are the switches owned by the international carriers. Located at landing points on each end of the international connection, they provide connectivity between the international carriers and the national and local carriers on the originating and terminating ends. The IGFs provide physical gates between the international and national networks. They also serve as protocol converters, converting between T-carrier and E-carrier, for example.

5.3.1.4 Transmission Facilities

Transmission facilities, which are explored in Chapter 2 , are the physical transmission media and associated electronics that provide the circuits in all domains of the PSTN. Oftentimes, some combination of twisted-pair, coaxial cable, microwave, satellite, infrared (IR), and optical fiber is employed.

5.3.1.4.1 Access

The local loop functions to provide access to the carrier-provided Wide Area Network (WAN). Access facilities typically extend from the customer premises to the LEC CO exchange, with the demarcation point, or demarc, serving as the point of separation between the CPE and LEC domains. Generally, the incumbent LEC (ILEC) provides the access facilities, which terminate in the ILEC CO. A Competitive LEC (CLEC) may provide its own access facilities, typically in the form of optical fiber to areas where there is a significant concentration of high-volume commercial traffic. Access increasingly is provisioned through Wireless Local Loop (WLL) technologies, with various microwave systems typically used for this purpose, although infrared (IR) is an option. Alternatively, the CLEC may lease existing facilities from the ILEC in those states that support competition in the local loop. Access to voice networks increasingly is provided by Community Antenna TeleVision (CATV) providers using coaxial cables or Hybrid Fiber/Coax(HFC) transmission facilities to connect from the premises to the service provider's head end, where connection is established either to the LEC for access to the PSTN or to the Internet or other IP-based network for VoIP. In the United States as of June 30, 2005, end users obtained local telephone service by utilizing approximately 144.1 million ILEC switched access lines and 34.1 million CLEC switched access lines. Of the 34.1 million CLEC lines, approximately 9.1 million were provided over their own local loop facilities, of which 4.6 million were provided over CATV coaxial cable connections [11].

Access facilities also may provide direct connection from the customer premises to the IXC networks, bypassing the LEC switching systems in the process. The IXCs may provide those access loops themselves or they may lease them from the ILEC. Alternatively, end-user access to IXCs may be through loops leased from Competitive Access Providers (CAPs), also known as Alternative Access Vendors (AAVs). An access environment employs transmission facilities, switches, and signaling and control systems.

5.3.1.4.2 Transport

Transport is information transportation in the backbone of the PSTN, that is, within the cloud. Transport can be in the LEC domain or the IXC domain for long-haul applications. Either individually or in concert, and depending on the geographic scope of the communication, both LECs and IXCs may participate in information transport. Also, a third-party carrier, that is, a carrier's carrier, may provide the transport facilities. The transport domain also employs transmission facilities, switches, and signaling and control systems. In the United States as of June 30, 2005, ILECs were the presubscribed interstate long-distance carrier for about 49 percent of the switched access lines they provided. For CLECs, the percentage was 74 percent [11].

5.3.1.5 Signaling and Control

Signaling and control systems and networks are used to signal (i.e., alert and incite to action) various network elements and to control (i.e., guide or manage) its operation. Examples include status indication (i.e., on hook and off hook), dial tone provision, call routing control, busy indication, ringing, and performance monitoring. The traditional PSTN makes use of Signaling System 7 (SS7) for this purpose, and networked digital PBXs make use of the Q Signaling (QSIG) protocol. IP-based networks variously make use of H.323 and Session Initiation Protocol (SIP). Analog signaling remains in place for embedded analog PBXs.

5.3.1.6 Services

Services include a wide variety of options provided by LECs and IXCs. Such services include various discounted calling plans, custom-calling services, Centrex services, and toll-free (e.g., 800, 888, 877, and 866) calling. I discuss a number of services later in this chapter.

5.3.2 Regulatory Domains

A community is known by its public utilities. The life of our country is built around them…. That such services may be extended and developed to be of the greatest use to the greatest number, the Federal Government and practically all of the states have appointed Public Service Commissioners as permanent tribunals to regulate public utilities with fairness to all concerned.

Telephone Almanac, American Telephone and Telegraph Company, 1922

There exists a complex set of domains that address regulatory and standards areas of responsibility. While it would be much simpler if these domains were discrete, they overlap nevertheless.

5.3.2.1 International

Regulation is largely nonexistent at the international level, although it is heavily influenced by the ITU-T, which is chartered by the United Nations (UN) and which previously was known as the Consultative Committee for International Telephone and Telegraph (CCITT). The original predecessor organization was the International Telegraph Union (ITU), which was formed in 1865 to ensure the interconnectivity of national telegraph networks. The ITU-T primarily is responsible for setting standards recommendations intended to ensure the interconnectivity of national networks. Specific standards recommendations also address voice, data, fax, and video applications. The International Telecommunication Union—Radiocommunication Sector (ITU-R), previously known as the Consultative Committee for International Radio (CCIR), governs over-the-air communications. Intelsat and other consortia are responsible for allocating and managing satellite orbital slots. The International Telecommunication Union—Development Sector (ITU-D) works to further telecommunications development around the world, especially in developing countries.

The International Organization for Standardization (ISO) comprises the national standards institutes of 156 countries, with the American National Standards Institute (ANSI) representing the United States. (Note: ISO is not an acronym. Rather, it is from the Greek isos, meaning equal, implying that each nation has an equal voice in setting ISO standards.) The ISO has great influence over a wide range of international standards. For purposes of this book, the ISO is best known for the development of the Open Systems Interconnection (OSI) Reference Model, which I explore in Chapter 6 . The World Trade Organization (WTO) also gets involved in telecommunication rate and tariff issues as part of its role in attempting to resolve trade disputes between member nations. For the most part, the WTO's involvement in telecommunications has been in the realm of international long-distance rates, where it has been only marginally successful.

5.3.2.2 Regional

Regional authorities, although few in number, have the same responsibility as the ITU, but within a more compact region. Directorate General XIII (DG XIII), for example, is responsible for dealing with such issues of regulation and standardization within the European Union (EU), which largely comprises Western Europe. Previously known as the European Community (EC), the EU has real authority in the areas of regulation and standards, establishing and enforcing policy matters such as network competition within a member nation's network.

5.3.2.3 National

National regulation is critical in most areas of the world, although less so in the case of the EU member nations, as they have ceded a good deal of this responsibility to the regional authority. Many nations have well-defined and tightly enforced rules, regulations, and standards. Areas of influence often include such issues as competition, rates and tariffs, radio frequency spectrum allo-cation, and characteristics of electrical local loops. National authorities also deter-mine the basis on which international carriers can establish a presence at landing points for purposes of interconnection with the national networks. In the United States, the FCC is the national authority. Some countries have taken a much more light-handed approach. New Zealand is most unusual in that the national network was entirely deregulated and the regulator abolished some years ago, although the Telecommunications Act of 2001 placed the Commerce Commission back in that role as a competition authority with very limited power. The Australian Telecommunications Authority (AUSTEL) was disbanded in 1997 in favor of market self-regulation, although the Minister for Communications, Information Technology & the Arts has some responsibilities in this area, and two ombudsmen are appointed to deal with consumer complaints. Limited legislative and judicial controls remain in place in these countries.

5.3.2.4 State or Province

In the United States and Canada, state or provincial regulation is considered important. Issues of intrastate competition and rates and tariffs are managed at this level. In 1937 the state governments began to form Public Utility Commissions (PUCs), also known as Public Service Commissions (PSCs), in the United States. In some cases, the state PUCs have taken the lead in terms of deregulation and competition. Illinois, for example, for years and well before the federal Telecommunications Act of 1996, permitted some level of competition in the local exchange environment. In Chicago, specifically and for a number of years, CAPs have provided local and Centrex service in competition with the LECs. As the Telecommunications Act of 1996 became tied up in the courts, the state regulators assumed a preeminent role in the introduction of competition into the local exchange. Currently, most states permit some level of competition. In late 2005, the states of Indiana and Texas passed bills to allow for a single statewide franchise provision for companies entering the cable television (CATV) business. Traditionally, CATV franchises in the United States were granted by municipal and other local authorities. The state of Virginia passed a similar, but weaker, bill in early 2006. As of this writing (June 2007), other states are considering similar measures.

5.3.2.5 Local

Local regulation enters the picture relative to local zoning ordinances that variously address wireless tower placements, height limitations, and even aesthetics that might require a cellular telephone tower to masquerade as a pine tree or bell tower, for example. Local regulators in the United States also generally control CATV franchises and cable rights-of-way. In Milpitas, California, for example, the local regulators demanded the right to levy franchise taxes against Pacific Bell when the LEC sought right-of-way permission to lay fiber-optic cables to deliver CATV programming in competition with the incumbent CATV provider. PacBell refused to submit, arguing that it was subject only to state and federal regulation and not local regulation. As a result, the Information Superhighway ground to a halt in Milpitas in 1994.

In some instances, local regulation predominates. Alaska and certain Scandinavian countries are unusual in that they have many municipally owned LECs. Commercial carriers had no interest in providing service in such sparsely populated areas, given the high costs of provisioning and the low potential for revenues and profits. Note that many cooperatives were established for the same reasons.

5.3.3 Rates and Tariffs

Carriers in the United States traditionally have been required to file a set of tariffs with each appropriate regulatory authority. Those tariffs describe the services the carrier intends to offer in that domain, the rates it proposes to charge for them, and the proposed obligations, rights, and responsibilities of both the carrier and the customer. The regulatory authority examines the tariff filing, holds public hearings on the proposal, and renders a binding decision, which the carrier can appeal to the regulator or through the judicial system [12].

In the United States, national regulation is the domain of the FCC, which has the responsibility to determine all interstate issues, including radio frequency allocation. At the state level, the regulatory authority is in the form of a Public Utilities Commission (PUC) or Public Services Commission (PSC), which has the authority to regulate all exclusively intrastate matters not delegated to the municipalities and other local authorities.

Regulators evaluate carrier tariff filings and determine rate schedules based on complex and varying sets of considerations including allowable costs of service provisioning and support, involving both capital investment and operating expenses. Particularly at the state level, regulators attempt to restrict rates to reasonable and affordable levels. At the same time, the regulator must permit the carrier a reasonable rate of Return on Investment (ROI) that positions the company well to secure necessary funds for expansion and enhancement of its facilities through both the equity (stock) and debt (bond) markets. Additionally, the regulators generally attempt to ensure that residential service is universally available at reasonable cost. Regulators traditionally have set rates for PBX trunks, tie lines, and other services consumed by large-business users well above the costs of providing service, thereby establishing a complex set of cross-subsidies that supports lower rates for residences and small businesses. Basic rates for basic local exchange lines generally are kept at low levels, especially for residential consumers. Enhanced services (e.g., voice mail and custom-calling features) and long distance are considered to be optional and, therefore, are priced to yield more profit in support of basic services.

As the network monopolies were dismantled and the trend toward competition developed, the various regulators focused on the incumbent carriers, who were considered dominant in their respective domains. Beginning with the Carterfone decision in 1968, carrying through the MFJ in 1982 and continuing into the Tele-communications Act of 1996, the emphasis therefore was on AT&T, GTE, and the ILECs. The intentions of the FCC and the PUCs are to encourage competition by providing the new entrants with an advantage. Once the incumbent carriers (i.e., AT&T and the ILECs) have demonstrated that they no longer hold dominant positions, the regulators relax restrictions on them in favor of permitting market forces to prevail. This intent was demonstrated with respect to the IXC market, as the FCC gradually relaxed its requirements of AT&T. This trend continued and extended to the ILECs as a result of the Telecommunications Act of 1996, which is discussed in detail in Chapter 15 . Ultimately, this waxing and waning of regulation had unforeseen consequences, as competition became so severe as to force mergers between incumbent IXCs and LECs, that have led to what could be considered a reconstitution of the Bell system, albeit much weaker and considerably disfigured.

Regulation has focused on basic voice network services provided in the traditional fashion by the incumbent carriers. Such services certainly are more basic and necessary than data and other services. This posture now can be argued, particularly with the advent of the Internet. In fact, voice communication over the Internet is possible in a number of ways, and some service providers have developed commercially available international service offerings based on various VoIP approaches using the Internet for transport. Considered by many as a threat to the traditional PSTN and the concept of universal service, a number of interested parties have requested several times that the FCC examine the issue, with the intent to regulate voice over the Internet or even to ban it altogether. Interestingly, the major incumbent IXCs were not parties to this request. Rather, they took strong positions as ISPs and encouraged its use. In the late 1990s and early into the twenty-first century, a number of competitive carriers constructed fiber-optic IP-based networks separate from the Internet and heavily promoted their use for VoIP, further adding pressure to the traditional PSTN. Commercial Frame Relay (FR) services, which are highly popular in corporate data networking, often support Voice over Frame Relay (VoFR), which also competes with the PSTN. I discuss the Internet, VoIP, Frame Relay, and VoFR at length in subsequent chapters.

Local exchange competition, VoIP, and VoFR all threaten the concept of universal service, which has been a cornerstone of the PSTN since the formation of the FCC in 1934. In order to ensure the universal availability of voice service at affordable cost to the subscriber, a complex structure of settlements (cross-subsidies) developed between incumbent IXCs and LECs. Also, rates in urban areas were a bit higher in order to subsidize basic service in rural areas. Thereby, a subscriber in a high-cost area (i.e., an area in which the cost of providing basic service is defined as high) such as Hackberry, Arizona (population 1), could gain affordable network access, single-party service, access to emergency services, access to operator services, and so on, just as could a subscriber in New York, New York, despite the obvious cost differences in the carriers providing service. Generally speaking, high-cost areas are remote and sparsely populated. Unless the integrity of the universal service fund is maintained, with all carriers contributing, the concept of universal service may be relegated to a historical footnote.

5.3.4 Carrier Domains and Network Topology

Some years ago, and certainly prior to AT &T's divestiture of the Bell Operating Companies (BOCs) in 1984, the network in the United States was relatively simple in terms of its ownership and topology. Each operating telephone company provided service in its franchised serving areas and gained access to the AT&T long-distance network on a fairly straightforward basis. Beginning in the late 1920s, the network was organized on a layered basis, with five levels of hierarchy, known as classes [12].

· Class 5 offices are the local exchange offices, or Central Offices (COs), that serve end users through local loop connections. As recently as 2001, there were approximately 19,000 Class 5 offices in the United States, although many of them have been consolidated. Each of the remaining 16,000 or so is geographically positioned to address a Carrier Serving Area (CSA), as illustrated in Figure 5.2. The CSA has a radius of approximately 18,000 ft, which is the typical maximum length of a voice-grade local loop without special conditioning provided by loading coils, amplifiers, or repeaters. (Note: Approximately 90 percent of the local loops in the United States are 18,000 ft or less in length.) The carrier can extend the radius of the CSA through the deployment of intelligent remote COs, unintelligent remote line shelves, or Digital Loop Carrier (DLC) systems, which essentially are remote time division multiplexers. The various remotes connect to the centralized CO through high-capacity circuits. Should significant volumes of traffic be exchanged directly between COs, they may be directly interconnected. More commonly, they are interconnected through tandem switches.

Figure 5.2: Class 5 office with CSA

· Class 4 offices are tandem toll centers, which serve to interconnect Class 5 offices not interconnected directly. As the lowest class of toll center, these also serve as the first point of entry to the long-distance, or toll, network. Class 4 offices are interconnected within a relatively local toll network and provide access to higher order toll centers. In many instances, a Class 4 office also serves as a Class 5 office; in other words, a hybrid Class 4/5 switch serves as both a Class 4 tandem toll office and a Class 5 CO, with the separate functions provided through logical and physical partitioning within the switch. Approximately 1500 tandem toll centers existed in North America prior to AT&T's divestiture of the BOCs. It is uncertain how many of them remain.

· Class 3 offices, or primary toll centers, are higher order toll centers, generally serving to connect Class 4 offices for intrastate toll calling. Class 3 offices typi-cally serve to interconnect independent telcos and BOCs. Approximately 200 such offices existed prior to divestiture. It is likely that most, if not all, have now been decommissioned.

· Class 2 offices, or sectional toll centers, serve to interconnect primary toll centers, largely for interstate calling within a geographic region such as the northeast or the southwest. Approximately 67 sectional toll centers existed in the AT&T network prior to divestiture. It is likely that most, if not all, have now been decommissioned.

· Class 1 offices, or regional toll centers, serve to interconnect sectional toll centers in support of interregional calling. There were 10 regional toll centers in place in the United States prior to divestiture. At the end of 2001, 7 remained in the United States and 2 in Canada. It is likely that most, if not all, have now been decommissioned.

As illustrated in Figure 5.3, the offices traditionally were interconnected on a hierarchical basis, with end offices residing at the bottom of the network food chain. As a user places a long-distance call, the Class 5 switch examines and analyzes the destination telephone number in the context of the geographic area it serves. Based on that information and relying on programmed logic, the CO processes and routes the call. Local long-distance calls (e.g., within the San Francisco Bay Area) are handled either by directly connected Class 5 offices or through a Class 4 tandem toll office that interconnects multiple Class 5 offices. A coast-to-coast call of only a few years ago, on the other hand, might have involved all five classes of the hierarchy.

Figure 5.3: Traditional network hierarchy

For example, a call from Turlock, California, to New York City originated in the Class 5 switch of Evans Telephone Company, an independent telco, and was handed to a nearby AT&T tandem toll center. The call then worked its way up the hierarchy until it reached the Class 1 regional toll center in San Francisco. High-capacity, coast-to-coast tandem toll trunks carried the call to New York City, where it worked its way down an abbreviated hierarchy and was delivered to the target number in Manhattan. Note that each switch acted on the call more or less independently. In the above classic scenario, each switch looked at the call, determined whether or not it could serve the connection request, and handed the call off to another switch, either higher or lower in the hierarchy. The sole exception was the terminating Class 5 switch, which finally served to establish the connection to the target telephone number. While the switches worked in series to set up the connection, each acted independently and forwarded the connection request blindly along, never knowing what would happen end to end. The same set of processes took place in each switch, the same logic was exercised, and a talk path was set up through each switch and across each interconnecting transmission link.

This approach was quite sensible in the days when AT&T dominated the local and long-distance networks. As calls worked their way through the network, ever larger volumes of traffic were aggregated by ever more capable switches and shipped over trunks of ever greater capacity, taking advantage of the economies of scale.

This network topology has flattened over the years as the cost of transport over fiber-optic facilities has dropped, as the cost of switches has decreased, as hybrid Class 4/5 switches have been replaced by separate Class 4 and Class 5 switches, as competition has increased, and as traditional circuit-switched infrastructure has been replaced with Asynchronous Transfer Mode (ATM) and especially Internet Protocol (IP) infrastructure. As a result, there exist fewer switches, many of which are more intelligent and multifunctional and are interconnected by higher capacity transmission facilities in a sparse network configuration. As the various TDM–based offices have been decommissioned, many of them have been replaced with soft-switches, which are software-based and highly flexible, whereas TDM circuit switches are hard coded and highly inflexible. Softswitches can support multiple protocols, including perhaps TDM, Frame Relay, and IP.

Contemporary carrier and service provider domains fall into three categories: local exchange, interexchange or national, and international. Competitive Access Providers (CAPs) sprang to life in the United States as a result of the Telecommunications Act of 1996 ( Chapter 15 ), focusing on the provisioning of direct access from the customer premises to the IXC through ILEC facilities bypass. Overlay carriers and wireless carriers also are relatively new entrants spawned by liberalization and deregulation movements that began in the mid-1980s and intensified con-siderably beginning in the mid-1990s.

5.3.4.1 Customer Premises Equipment

CPE, as is noted earlier in the chapter, is the terminal and switching equipment located on the customer premises. While such equipment traditionally was rented to the subscriber by the LEC, deregulation generally places both the privilege and the responsibility of ownership on the end user in most countries. Similarly, inside wire and cable generally are deregulated.

5.3.4.2 Demarcation Point (demarc)

The demarc constitutes the boundary between the end user and carrier domains. In a residential environment, the demarc is in the form of a Network Interface Unit (NIU). A NIU includes a protector, which serves to protect the premises wiring and equipment from aberrant voltages possibly induced by carrier power supplies, power utility transformers, or lightning strikes. Contemporary NIUs are intelligent, enabling telco technicians or automatic test systems to regularly test the integrity of the local loop from the CO to the customer premises. In the United States, the NIU is located outside the residence, perhaps on an outside wall or in the garage, because the regulated telco cannot place equipment inside the premises under the terms of the MFJ. (Note: On special request, the telco can install the demarc in a basement.)

In a business environment or a multitenant building, the demarc is positioned at the Minimum Point of Entry (MPOE), defined as the closest logical and practical point within the customer domain. In a high-rise office building, for example, it typically is defined as a point of the entrance cable 12 in. from the inside wall. Newer entrance cable facilities involve a physical demarc, while older facilities typically are tagged by telco technicians in order to indicate a logical point of demarcation. From that point inward, the cable and wire system is the responsibility of the user or building owner, as appropriate.

5.3.4.3 Local Exchange Carriers

LECs provide local telephone service, usually within the boundaries of a metropolitan area, state, or province. Their primary charter is to provide local voice services through a network of local loops and COs, which can be connected either directly or through a tandem switch, as depicted in Figure 5.4. The LECs also provide short-haul, long-distance service, Centrex, certain enhanced services such as voice mail, and various data services. In the United States and many other developed nations, both Incumbent LECs (ILECs) and Competitive LECs (CLECs) exist. In many developing countries, only a single ILEC exists.

Figure 5.4: ILEC metropolitan serving area, with COs interconnected directly and through a tandem switch

ILECs are the original LECs, each of which was awarded by the regulatory authority a franchise to provide service within a given geographic area. In the United States, a municipal or county government originally awarded those fran-chises. Over time, the Bell Operating Companies (BOCs), owned by the AT&T Bell System and reporting directly to AT&T general headquarters, came to dominate the ILEC landscape. Effective January 1, 1984, those 22 operating telephone companies were spun off from AT&T as a result of the Modified Final Judgement (MFJ). Also known as the Divestiture Decree, the MFJ was rendered by Judge Harold H. Greene of the Federal District Court in Washington, DC, on January 8, 1982. The MFJ, in fact, was a negotiated settlement representing the culmination of the U.S. Justice Department's long efforts to break up what it characterized as an oppressive monopoly. As a result, the BOCs were reorganized into seven Regional Bell Operating Companies (RBOCs), also known as Regional Holding Companies (RHCs), as noted in Table 5.1. Over time, each RBOC fully absorbed its component BOCs, creating a single legal entity with a centralized management structure. Cincinnati Bell and Southern New England Telephone (SNET) were not affected in this manner, because they were not wholly owned subsidiaries of AT&T.

Table 5.1: Bell System Operating Company Organizational Structure Before and After MFJ and to Present Open table as spreadsheet

Bell Operating Companies (Primary States of Operation), Predivestiture

Regional Bell Operating Companies (Headquarters), Postdivestiture

Illinois Bell (Illinois), Indiana Bell (Indiana), Michigan Bell (Michigan), Ohio Bell (Ohio), Wisconsin Telephone (Wisconsin)

Ameritech (Illinois); acquired by SBC Communications (October 1999), now AT&T

Bell of Pennsylvania (Pennsylvania), Diamond State Telephone (Delaware), The Chesapeake and Potomac Companies (District of Columbia, Maryland, Virginia, and West Virginia), New Jersey Bell (New Jersey)

Bell Atlantic (Pennsylvania); now Verizon Communications

South Central Bell (Alabama, Kentucky, Louisiana, Mississippi, and Tennessee), Southern Bell (Florida, Georgia, North Carolina, and South Carolina)

BellSouth (Georgia); acquired by AT&T (December 2006)

New England Telephone (Massachusetts, Maine, New Hampshire, Rhode Island, and Vermont), New York Telephone (New York)

NYNEX (New York); acquired by Bell Atlantic (August 1997); now Verizon Communications

Pacific Bell (California), Nevada Bell (Nevada)

Pacific Telesis (California); Acquired by SBC (April 1997); now AT&T

Southwestern Bell (Arkansas, Kansas, Missouri, Oklahoma, and Texas)

Southwestern Bell Corporation (Texas); then SBC Communications; now AT&T (November 2005)

Mountain Bell (Arizona, Colorado, Idaho, Montana, New Mexico, Utah, and Wyoming), Northwestern Bell (Iowa, Minnesota, North Dakota, Nebraska, and South Dakota), Pacific Northwest Bell (Oregon and Washington)

US West (Colorado); aquired by Qwest (June 2000)

In addition to causing AT&T to divest the BOCs, the MFJ effectively limited the BOCs to providing basic voice and data services within defined geographical areas, known as Local Access and Transport Areas (LATAs). These services included intraLATA toll service, also known as local long distance, within the confines of the 196 defined LATAs. Additionally, the BOCs and RBOCs could not engage in certain other activities such as manufacturing communications equipment and providing enhanced services such as voice mail; subsequently, the latter restriction was lifted. LATAs now serve primarily as reference points for call routing.

AT&T Long Lines, which became AT&T Communications and then AT&T Cor-poration (and was acquired by SBC in November 2005 to become AT&T, Inc.), was restricted from providing intraLATA toll, as were MCI (later MCI Worldcom, acquired by Verizon in January 2006 to become Verizon Business), US Sprint (later Sprint Corporation, merged with Nextel in August 2005 to become Sprint Nextel), and the balance of what were known as the Other Common Carriers (OCCs). Those companies, which became known as interexchange carriers (IXCs, or IECs), were limited to providing long-distance service on an interLATA basis (across LATA boundaries). Further, AT&T could not enter the local service business, although the OCCs had no limitations in that respect.

AT&T Technologies (now Altacel-Lucent Technologies) was formed of Western Electric, the manufacturing arm of AT&T, and AT&T Bell Telephone Laboratories (Bell Labs), the research and development organization. Of all the AT&T entities, only Bell Labs could retain the Bell name. The RBOCs, in consortium, formed Bell Communications Research (Bellcore) as an R&D entity. Bellcore focused on the needs of its RBOC clients/owners in terms of software R&D, standards development, and other requirements; under the terms of the MFJ, it initially was precluded from involvement in the physical sciences [13, 14]. The RBOCs divested Bellcore in 1998, when it became clear that they would be competitors, rather than collaborators, in a deregulated environment. Science Applications International Corporation (SAIC) acquired Bellcore and changed its name to Telcordia Technologies, Inc., in March 1999. SAIC sold Telcordia to invest-ment bankers in November 2004. Telcordia's stated focus is on next-generation networks.

In the United States, LECs traditionally had the exclusive rights to local and intraLATA markets, although many states either eroded or modified this policy; Connecticut, for example, has permitted local exchange competition since July 1, 1994. Although the Telecommunications Act of 1996 set the stage for complete and open competition for virtually all services, as it bogged down in the courts, the various state regulators took the initiative in terms of local service competition.

In addition to the RBOCs and their LEC subsidiaries, approximately 1300 independent telephone companies exist. GTE was the largest independent until Bell Atlantic acquired it in July 1999 to form Verizon Communications. Southern New England Telephone Company (SNET), which was partially owned by AT&T prior to the MFJ, was acquired by SBC in October 1998.

At this point, it is worth noting that the Telecommunications Act of 1996 has changed this landscape in a very dramatic way. Casting aside the MFJ, the act permitted the IXCs to begin competing immediately with the ILECs for local and intraLATA service. The act also allowed the RBOCs to offer interLATA long-distance service outside the states in which they operate as ILECs. Once the RBOCs satisfied certain local competition requirements, they were allowed to offer inter-LATA toll services within their home states as well. As competition intensified and both the ILECs and IXCs lost their dominance, interesting mergers began to take place, as noted above and below:

· SBC acquired AT&T in November 2005 to become AT&T, Inc.

· Verizon acquired MCI Worldcom in January 2006 to form Verizon Business.

· AT&T, Inc. acquired BellSouth in December 2006.

Competitive Local Exchange Carriers (CLECs) can compete for local service in most states. As of June 30, 2005, at least one CLEC was serving customers in 85 percent of U.S. postal ZIP codes, which include approximately 98 percent of the population [11]. While many CLECs originated as CAPs, others were IXCs, and still others were created specifically as CLECs. Metropolitan Fiber Systems (MFS), for example, originally was a facilities-based CAP. Subsequently, MFS acquired UUNET, a very large Internet access and backbone provider. MFS then was acquired by MCI, which then was acquired by Worldcom, with the combined company assuming the name MCI Worldcom. While MFS has lost its identity, the network that it constructed served MCI Worldcom well for IXC access and positioned it well as a CLEC. MCI Worldcom subsequently changed its name to Worldcom and then back to MCI after it was bankrupted by senior management. MCI later was acquired by Verizon, as previously noted.

AT&T constructed fiber-optic facilities for direct access to the premises in areas where there existed high concentrations of large user organizations. In Spokane, Washington, AT&T Wireless, spun off from AT&T in July 2001, tested a Wireless Local Loop (WLL) solution based on its Personal Communications Services (PCS) network technology and licenses. While the trials were successful, negative market conditions forced the closure of that business unit in December 2001. AT&T also amassed wireless licenses in over 300 markets in order to bypass the ILEC to reach its business customers without the investment and delay of constructing wireline facilities. (Note: In October 2004, AT&T Wireless was acquired by Cingular. In December 2006, the new AT&T, formed of the acquisition of the remnants of the old AT&T by SBC, acquired BellSouth. That acquisition included Cingular, which SBC and BellSouth formed in 2001 from a conglomeration of 11 regional companies. So, Cingular became AT&T Wireless.) In July 1998, AT&T also acquired TCGI (Teleport Communications Group, Inc.), a large CAP with both wireline and wireless access facilities. In March 1999, AT&T acquired TCI (Tele-Communications, Inc.), a large CATV provider, to gain access to its Hybrid Fiber/Coax (HFC) cable network. AT&T made several other CATV acquisitions and formed AT&T Broad-band as a full-service provider of entertainment T V, high-speed Internet access, and voice communications services. [Note: In November 2002, AT&T Broadband merged with (read was acquired by) Comcast Corp.] In combination with, and through some significant investments in, network upgrades, these fiber, coax, and wireless networks provide access to a very large potential customer base. Further, they variously support voice, data, and video communications and high-speed Internet access.

5.3.4.4 Interexchange Carriers

IXCs are responsible for long-haul, long-distance connections across LATA boundaries. The IXC networks are connected to the LECs through Points of Presence (POPs), which typically are in the form of tandem switches. An interLATA call originating in a LEC serving area is recognized as such and is passed to the access tandem switch, which in turn passes the call to the IXC POP via dedicated trunks leased from the ILEC (see Figure 5.5). Alternatively, the IXC may collocate network termination equipment in the LEC exchange office, assuming that space is available and that secure physical separation can be established and maintained.

Figure 5.5: Interconnection between LEC and IXC via access tandem switch and a collocated termination equipment

Alternatively, large users can gain direct access to the IXC POP, bypassing the LEC switching network in the process. Such a bypass arrangement typically is effected through a leased line provided by the ILEC. Alternatively, the ILEC can be completely bypassed through a direct link, which can be wireless in nature and provided directly by the IXC.

IXCs, by definition, are facilities-based carriers, or heavy carriers. While they prefer to contract directly with large end users, they also often work through non-facilities-based carriers (light carriers), including resellers, aggregators, and agents. Of the 400 or so heavy carriers in 2000, AT&T, MCI Worldcom, and Sprint domi-nated the market. Ultimately, however, they succumbed to various competitive forces. The tattered remnants of AT&T and MCI Worldcom eventually were absorbed by ILECs, and Sprint decided to focus on the wireless business.

5.3.4.5 Competitive Access Providers

Competitive Access Providers (CAPs), also known as Alternative Access Vendors (AAVs), provide an alternative means of connection between large user organizations and IXCs, completely bypassing the LEC network in the process. CAPs generally deploy high-capacity, fiber-optic facilities from IXC POPs to areas where there exist high densities of large user organizations (e.g., commercial office parks and urban business areas). In many cases, the CAP will extend the fiber-optic connection directly to the user's CPE, such as a PBX, as depicted in Figure 5.6. Wireless CAPs provide access on the basis of either various licensed microwave or infrared technologies.

Figure 5.6: End-user access to an IXC via a CAP, bypassing the ILEC

An optical fiber approach presents numerous benefits, including the fact that the performance characteristics of the fiber-optic facilities are far superior to those of the traditional LEC copper local loop. Additionally, the CAP network automatically provides a measure of local loop redundancy; the CAP facilities are used for IXC access, while the LEC local loops can still be used for IXC access in the event of a failure in the CAP network. Further, the fiber-optic network generally is redundant, thereby minimizing the likelihood of a service-affecting network failure. As the fiber-optic network also offers substantial, and even elastic, bandwidth, the user organization typically can increase its level of access to the IXC much more quickly and easily than through a LEC connection. Call setup time (speed of connection) also is improved, as the LEC CO, tandem switch, and access tandem switch all are bypassed. Finally, the costs of IXC access often are much reduced because the CAP's unregulated rates generally are highly competitive.

CAPs operate most especially in the United States, where many now function as voice/data CLECs, providing Centrex service, local calling service, high-speed data services, and certain enhanced services.

5.3.4.6 International Carriers

International carriers provide communications transport services across national borders, based on access from the LEC or IXC domain by connection to an International Gateway Facility (IGF). Contemporary international carrier transmission facilities are largely satellite and submarine fiberoptic cables, the latter often jointly owned through consortia. Examples of international carriers include AT&T, Cable & Wireless (C&W), Global Crossing, and Verizon. International Record Carriers (IRCs) offer record communications services, which are services designed or used primarily to transfer information that originates or terminates in written or graphic form. Examples of record communications services include telex and TWX.

5.3.4.7 Overlay Carriers

Overlay carriers build networks that overlay the traditional PSTN. While such networks are unusual in highly developed countries, they are common in developing nations. In some countries of eastern and central Europe, for example, private carriers have been franchised to build overlay digital microwave networks to provide service to large governmental, educational, and commercial organizations. In such cases, the PSTN simply could not be upgraded quickly enough to provide satisfactory communications, which are considered vital to economic growth. Overlay carriers generally deploy microwave systems that effectively overlay the outdated wireline facilities of the incumbent carriers.

5.4 SIGNALING AND CONTROL: EXPANDED VIEW

Only in rare instances can a telephone operator know how momentous are the spoken messages for which she established the connections. Life and death may depend upon the swiftness and sureness with which she handles any call. All Bell System telephone calls are treated as if marked "urgent." Methods of operation and mechanisms are so planned that every connection may be established with all possible speed. Bell System service was the fastest in the world ten years ago [1925], when the average time required to complete a long distance call was seven minutes. It is almost five times as fast today [1935].

Telephone Almanac, American Telephone & Telegraph Co., 1935

The two basic types of information transfer are user data (content or payload) and signaling and control. In order for the network to function properly, the various devices, components, or elements of the network must have the capability to signal (i.e., alert and inform) each other, indicating their status and condition. Typical status indications include available (dial tone), unavailable (busy), and alerting (ringing signal). The terminal devices also must pass identification information, as well as certain instructions through the network, perhaps as far as to the receiving terminal. Such information and instructions might include the originating number or circuit and the target number, based on the dialed digits. Within the carrier network, such information includes route preference and route availability [12]. Additionally, the LEC network must determine and honor the end user's IXC designation in order that it can hand off a long distance to the carrier of choice.

Signaling and control systems and networks also handle billing matters, perhaps querying centralized databases in the process. Billing options might include bill to originating number (e.g., DDD and WATS), bill to terminating number (e.g., INWATS, or toll-free), bill to third number (third party), and bill to calling card with verification of a PIN against a database.

Finally, certain network management information often is passed over signaling and control links. Such information is used for remote monitoring, diagnostics, fault isolation, and network control. In this fashion, a centralized Network Operations Center (NOC) can monitor the network, and faults or degradations in performance can be determined and isolated. Diagnostic routines can then be invoked in order to determine the specific nature of the difficulty. Finally, a network management system or network manager can instruct the network element in difficulty to resolve the problem, perhaps by resetting or reinitializing itself, or by disabling a failed port and activating a standby port.

5.4.1 In-Band Signaling and Control

In-band signaling and control functions take place over the same physical path as the conversation and occupy the same frequency band (analog) or time slots (digital). The impact of simultaneous data transfer and signaling over the same frequency range or time slots disrupts the information stream and, therefore, can be characterized as disruptive or intrusive. As a result, in-band signaling and control seldom is employed in contemporary networks, with the exception of analog local loops.

By way of example and in years past, I frequently called long distance to talk with my young son in East Texas. During those conversations, Barrett (my son) had the annoying habit of "accidentally" depressing the buttons on the tonepad with his chin. The resulting Dual-Tone MultiFrequency (DTMF) signals were interpreted by the network as a priority instruction set. Since the signaling tones occupy the same range of frequencies at the same moment in time as the conversation, they override and interfere with it. In contemporary networks, this in-band signaling and control technique actually is disruptive only over the local loops, which extend from the CPE to the edge of the network cloud; internally, the networks make use of out-of-band signaling and control. Nonetheless, Barrett got a set of tones in his ear and I got a set of tones in my ear; Barrett found this to be highly amusing, while I found it to be highly aggravating, which Barrett found to be even more amusing, and so on, and so on. (Note: James Barrett Horak is now a Sergeant in the United States Marine Corps. No longer is he easily amused, as it is against Marine Corps policy.)

Notably, in-band signaling and control goes wherever the call goes, at least at the edges of the network. You can use this fact to your advantage. You can, for example, signal and control a voice processor through a system feature known as cut-thru. When checking your voice mail, you access the voice processor, which begins to talk to you. Because you know exactly what the machine is going to say, you simply send DTMF tones to the machine through the dial pad, overriding the data transmission. You enter your password while the machine talks to you. You enter option 1 to play the message, enter 2 to repeat the message, enter 3 to save the message, and so on—all while the machine talks to you. In other words, you override the downstream data transmission with higher priority signaling and control data, saving time and money in the process.

5.4.2 Out-of-Band Signaling and Control

Out-of-band signaling and control, in the simplest analog application, takes place over frequencies separate from those that carry the information. In a contemporary digital network, signaling and control data generally occupy separate, specifically designated time slots. In either case, there is no interference between the two functions. In other words, out-of-band signaling and control is termed to be nondisruptive or nonintrusive. Out-of-band signaling and control is the standard approach in digital networks and, most certainly, in the core of the carrier networks.

5.4.3 Common Channel Signaling and Control

In 1916, the average time required to establish a Bell System long distance connection was approximately eleven minutes. By 1926, it had been reduced to 5.6 minutes. The average for 1936 was 1.4 minutes.

Telephone Almanac, American Telephone & Telegraph Company, 1937

The carriers use Common Channel Signaling (CCS) and control systems to carry large volumes of signaling and control information in support of high-traffic networks. The CCS links are digital in nature, based on packet switching, and often are in the form of a dedicated T1 channel over a high-speed optical fiber. Essentially, the CCS network is a highly robust subnetwork that supports the operations of the primary communications network. The CCS subnetwork connects the various network switches to centralized computer systems of significant intelligence and on which reside very substantial databases. Through the use of centralized intelligence supported by carefully synchronized databases, you can control the operations of an entire network and monitor its performance, from end to end. While complicated and expensive to design and deploy, CCS networks are more effective and less costly than the alternative of placing lesser levels of intelligence in each of the various network switches, each of which is required to perform redundant processes in complete harmony with the others.

Signaling System 7 (SS7), the current version, was developed and deployed based on ITU-T standards recommendations. Thereby, all carriers can achieve and manage interconnection on a standard basis (Figure 5.7). SS7 significantly speeds call setup and call completion processes. (Call completion takes only a few seconds in 2006, which compares quite favorably with 1.4 min in 1936.) Additionally, SS7 is responsible for the delivery of many enhanced custom-calling features often associated with ISDN. These CLASS (Custom Local Access Signaling Services) include caller ID, which has been enhanced as name ID, providing the name of the calling party as listed in the telephone directory. Other services include selective ringing (or priority ringing), selective call forwarding, call block (or call screen), repeat dialing, call trace, and automatic call-back (call return). SS7 is fully deployed in all major TDM-based IXC networks. While SS7 is largely deployed in the major ILEC net-works in developed countries, older Class 5 switches do not support it.

Figure 5.7: SS7 in support of LEC and IXC networks, interconnected

5.5 NETWORK SERVICES

By means of what is known as Conference Service, a number of telephones, at widely scattered points, may be connected together so that their users may converse with each other as if they were all seated in the same room. Widely used for business purposes, it has its social uses also—as an antidote for loneliness.

Telephone Almanac, American Telephone & Telegraph Company, 1938

You can group network services into several categories that define their basic nature. Those categories include access services, dedicated services, switched services, and virtual services.

5.5.1 Access Services

Access services are those services that provide circuit access to the network, which may be a LEC CO or an IXC POP. The circuits may be analog or digital and single-channel or multichannel. Access services include residential and business lines and PBX trunks.

5.5.1.1 Residential Lines

Residential lines are local loop connections between the residential premises and the CO. Although generally analog in nature, the market penetration of digital ISDN Basic Rate Interface (BRI) local loops is relatively high outside the United States. Contemporary residential lines also can be provided over analog or digital channels of a DSL local loop or even over a CATV network. According to the 1951 Bell Telephone System Telephone Almanac:

Enjoy “Monopoly in the rumpus room, but not on a party-line telephone, please…. Everybody benefits … when each person uses the service courteously and with consideration toward the others. This includes answering your telephone promptly—allowing an interval between your calls so that others may use the line—giving up the line quickly.

Residential lines usually are private lines. A very few party lines remain in the United States, although they are not unusual in developing countries where infrastructure is limited in remote areas. A party line involves a local loop shared between perhaps 2, 4, 8, or as many as 16 residences. Some form of distinctive ringing comprising various combinations of short and long rings distinguishes a call intended for each individual residence on the shared line. Clearly, there is no privacy on a party line, as any party can pick up the phone and answer the call or listen in on it. Placing outgoing calls is a free-for-all, as the caller must pick up the phone to determine if the line is available before placing the call. If someone else is using the line, the process must be repeated at another time, and perhaps again and again in hopes that the line eventually will be available. Good telephone etiquette is a positive quality in a party line subscriber. (Note: As we will discuss in Chapter 8 , Ethernet is much like a party line, as the media access control protocol is contentious and nondeterministic.)

5.5.1.2 Business Lines

Business lines are local loop connections between the business premises and the CO. Business lines provide access to single-line and multiline terminal sets as well as to Key Telephone Systems (KTSs). Business lines generally are analog in nature, although digital ISDN BRI has increased in popularity. Contemporary business lines also can be provided over analog or digital channels of a DSL local loop or even over a CATV network. Business lines are almost always private lines, although there are very rare instances of party line service in developing countries.

5.5.1.3 PBX Trunks

PBX trunks are local loop connections between PBX switches and network switches. As noted in Chapter 3 , PBX trunks may be incoming only, outgoing only, or bidirectional (combination) in nature. Trunk connections may be provisioned individually and may be analog in nature. More typically, trunks are provisioned on a high-capacity, digital, multichannel basis (e.g., T1, E1, and ISDN Primary Rate Interface, or PRI). Trunks that serve a specific, common purpose are grouped into a trunk group.

5.5.1.4 Dedicated Transport Services

Dedicated circuits, in the traditional sense, are leased-line circuits dedicated to a specific use by a specific user organization. Again, they may be either analog or digital and either single channel or multichannel. Typically, the LEC provides dedicated circuits on an intraLATA basis, although CAPs also provide such circuits to the extent that their facilities match user requirements. An IXC typically provides interLATA leased lines, with the ILEC or CAP providing the local loop connection to the IXC POP and the IXC providing the interLATA portion to the destination POP, where the circuit interfaces with the ILEC local loop serving the target location. (Note that LATAs are regulatory boundaries that exist only in the United States. Also note that the distinction between LECs and IXCs is largely a regulatory distinction in the United States and in most cases both LECs and IXCs are allowed to carry both intraLATA and interLATA domestic traffic. In the contemporary PSTN, the significance of LATA boundaries is largely limited to call routing.)

5.5.1.5 Foreign Exchange

Foreign exchange (FX or FEX) lines or trunks connect the user premises more or less directly with a foreign exchange (i.e., with an exchange other than the local exchange that normally provides local dial tone). As is the case with all leased lines, FX circuits generally are billed on a distance-sensitive basis and without any consideration of usage. As is described in Chapter 3 , a user organization can lease an FX circuit from Dallas, Texas, to Denton, Texas, to support outgoing and incoming traffic between those general areas; the circuit terminates in Dallas CPE but has a Denton local telephone number. Neither long-distance charges nor any other usage-sensitive charges apply to the traffic.

5.5.1.6 Tie Lines and Tie Trunks

Tie lines, as is described in Chapter 3 , are circuits that connect KTS together directly and across the PSTN. Tie trunks connect PBXs together. Because they are leased circuits, in neither case are PSTN switches involved. Between two PBX systems, for example, the carrier(s) provide dedicated circuits that pass through wire centers housing network switches. The circuits bypass the switches, which are unnecessary in this application, yet take advantage of ampli-fiers or repeaters, multiplexers, and other systems and elements embedded in the carrier network. Tie trunks may be either analog or digital but usually are digital T-carrier or E-carrier. Note that the core of the network is typically digital, so an analog tie trunk (or tie line, for that matter) usually is analog only at the local loop level.

5.5.1.7 Off-Premises Extension

An Off-Premises eXtension (OPX) circuit is a dedicated PSTN circuit that connects a PBX or KTS to an extension voice terminal located off premises, that is, at another location some distance away. The terminal appears to the PBX exactly as though it were an on-premises extension, providing the user with the same level of functionality. OPXs are unusual, as both the circuit and the special-purpose system interface card are expensive. Additionally, and as contemporary users often are not office bound, voice mail, e-mail, cellular telephony, pagers, and other technologies are adequate alternatives for most situations.

5.5.2 Switched Transport Services

Switched services include all typical local and long-distance voice traffic, whether inbound or outbound. Specific services in the United States include DDD, WATS, virtual WATS, INWATS, 500, and 900/976. Many other telcos around the world offer similar services and a great many other services under a wide variety of names. Deregulation, divestiture, and resulting competition have significantly reduced the costs of these services over the years. The emergence of specialized VoIP carriers has further intensified the price wars, and many long-distance services truly have become commodities, with any differentiation limited to pricing.

5.5.2.1 Message Telecommunications Service

The Bell System introduced Message Telecommunications Service (MTS), also known as Direct Distance Dialing (DDD) or 1 + dialing, in November 1951. MTS enables the user to place long-distance calls on a dialed basis, without the intervention of an operator. Such calls traditionally were billed on the basis of a combination of distance, duration, and time of day; contemporary calls generally are billed on the basis of a flat, blended rate based solely on duration. Discounts may apply to long-duration and off-peak calls. DDD calls may be domestic or international in nature.

While the last manual exchange in the United States converted to dial many years ago, there are still a great number of manual exchanges in developing countries. Operators must still act on long-distance calls in some developing countries, particularly in the case of international calling where International DDD (IDDD) is not in place. In some developing countries it is still necessary to make an appointment call, which involves making an appointment for the international operator to seize an international trunk and place an international call at an appointed time. Message service, also known as a messenger call, is available in developing countries. This service involves the telephone company's sending a mes-senger to a remote village or other location with a message advising that person to expect an appointment call to be placed to a particular pay station, telco office, or agency in another village with telephone service; the cost of the messenger is added to the cost of the call.

In remote, rural areas of the United States, there remain a large number of non-dialable toll points. These toll points are six-digit numbers in the 88 X-NXX format. Operator intervention is required to access these telephone numbers, which terminate in locations that are beyond the reach of cable systems and are too low and sheltered to be reached via satellite. (The bottom of the Grand Canyon is one good example.)

5.5.2.2 Wide Area Telecommunications Service

WATS resembles DDD service but is billed according to a variety of discount plans for large user organizations. WATS originally required special-purpose outgoing trunks that had access to specific areas of the country. Intrastate WATS provided intrastate coverage only. Interstate WATS was organized according to mileage bands 1–5, which were pre-sented as crudely concentric areas of increasing geographic coverage. Band 1 reached adjacent states, band 2 included the next concentric ring of states, band 3 the next ring, band 4 the next ring, and band 5 provided full coverage of the 48 contiguous states. The greater the area of coverage was, of course, the higher the cost of the WATS service was. Traditional WATS was provided on a full-time or a measured basis. You could categorize full-time WATS as "all-you-can-eat" WATS because it was billed at a flat rate, with no usage monitoring or billing. Part-time, or measured, WATS was billed on a flat rate for the first 10 or 20h of usage, with overtime charges applying to traffic over the threshold. Clearly, the process of analyzing traffic patterns and configuring an optimum WATS network, with overflow to DDD, could be a fairly complex process.

Banded WATS in the United States has been abandoned in favor of 1+ WATS, also known as Virtual WATS, which was enabled by increased network intelligence and encouraged by increased competitive pressure. Virtual WATS simply involves a discounted billing arrangement, including a small monthly fee and discounted usage, with the usage discount being sensitive to calling volume and volume commitment. The traditional requirement for special-purpose circuits no longer exists because the originating circuit and responsible user entity are identified by the billing systems, with the appropriate rating algorithm applied at the time the bill is rendered. A great many telcos around the world offer discounted long-distance plans under a wide variety of names.

5.5.2.3 Inward WATS

Also known as 800 Service, Inward WATS (INWATS) resembles virtual WATS, with the charges billed to the called party. Therefore, the call is toll free, at least to the caller. INWATS (1.800) service became so popular in the United States that the supply of numbers was exhausted several years ago. Therefore, 888 numbers were added, and 877 and 866 numbers were added soon afterward. Future additions will follow this existing convention of 8 NN, with the last two numbers being identical. Outside the United States, INWATS service is known by various terms, including FreeCall, Freephone, Greenphone, and Green Number, and is accessed through various dialing conventions, including 080, 0800, and 0500. In 1997 the ITU-T implemented a Universal International Freephone Number (UIFN) convention, which involves dialing 800 + 8 digits.

INWATS is an effective means of encouraging current and prospective customers to call, because they incur no toll charges. Incoming call centers, therefore, are heavy users of INWATS, often terminating large numbers of INWATS numbers in a single call center. An ACD in a call center often is equipped to recognize the INWATS number called, with the called number being delivered to the system through the Dialed Number Identification Service (DNIS), which generally is provided by the carrier at additional cost, although it may be a no-cost feature of ISDN PRI trunks. Based on the DNIS and other information, the ACD can route the incoming call to the optimal agent group and agent with greater effectiveness and efficiency, delivering a screen pop in the process.

INWATS also is a cost-effective means for telecommuters and mobile employees to access various company offices for both voice and data applications. With the billing reversed to the target number, the company is relieved of the cost of processing expense vouchers for telephone charges. Further, the cost of the call often is far less than if it were charged to a calling card.

INWATS was the first instance of an Intelligent Network (IN) service. The INWATS numbers dialed do not represent real telephone numbers, at least not in the classic sense. In other words, they do not conform to the standard numbering scheme, wherein a telephone number (logical address) relates directly to a physical location (physical address) based on a standard numbering convention. Rather, an INWATS number can be directed to any location within the carrier's domains. In order to direct the call to the proper physical location, the network must query a database of INWATS numbers to translate that number into a conventional number associated with a specific physical location. Additionally, the database advises the originating LEC as to how the call should be routed. In the case of an interLATA call, the call routes to the IXC with which the target user has an INWATS relation-ship [15].

5.5.2.4 500 Services

In the United States, 500 numbers support premium follow-me personal communications services, which are defined as "as set of capa-bilities that allows some combination of personal mobility, terminal mobility, and service profile management" [16]. From a remote location, the subscriber may access the network logic in order to program (or reprogram) a priority sequence of numbers to which calls should be forwarded, with such a sequence perhaps including a cellular number. A single number can be used for both voice and fax, with facsimile routing invoked through a special dialing instruction such as * or # (an asterisk or number symbol), after a voice prompt. The ultimate plan is for 500 numbers to provide the capability to selectively forward calls received only from those that have knowledge of a PIN. 500 numbers promise to offer the first set of capabilities envisioned as Personal Communications Services (PCS), whereby one number theoretically can be retained for life—transportable across carriers and carrier domains.

AT&T offered a similar service some years ago in the form of 700 service. The service provided follow-me call forwarding, although only AT&T long-distance subscribers could access a 700 number. No companies currently market 700 services [17–19]. Note: In some countries, 700 and 0700 numbers are designated other purposes such as for Internet calls, which may be billed at a different rate than voice calls.

5.5.2.5 900/976 Services

The 900/976 services are premium information services that carry either a flat cost per call or the cost per minute that the called party (sponsoring party) determines. The revenues are divided among the sponsoring party receiving the call and the various carriers involved. Originally intended for applications such as telethons and informational services, 900/976 services have gained a bad reputation because many providers of telephone sex and other questionable services make extensive use of them. As a result, 900/976 services have fallen out of favor and are not widely used any longer. Fraud schemes actively use 900/976 numbers. In such a scheme, a caller will leave a message asking for a return call to a 900/976 number, with the call carrying an exorbitant charge.

5.5.3 Virtual Private Network Services

Virtual Private Network (VPN), or Software-Defined Network (SDN), services are intended for use by very large user organizations. Classic voice VPNs are circuit switched in nature, creating the effect of a private, leased-line network but without the associated issues of design complexity, long deployment time, high recurring cost, and vulnerability to failure. VPN services generally are inter-exchange, and often international, in nature because they find their greatest application in large multisite enterprises that transcend local boundaries. To configure a VPN, it is necessary to identify each terminating location in the multisite enterprise and the level of bandwidth required by each. Dedicated access circuits are established between each point of termination and the closest VPN-capable POP (Figure 5.8). Rather than interconnecting the various sites with dedicated circuits, the carrier routes the traffic over high-capacity transmission facilities on a priority basis, with the paths identified in switch routing tables. This ensures that the level of service provided is roughly equivalent to that of a true private network. The carrier realizes the benefit of sharing the involved network with other users, and at least a portion of those cost savings are reflected in lower network costs to the VPN customer.

Figure 5.8: Virtual private network

VPNs offer the advantage of scalability because new sites can be added and bandwidth to individual locations can be increased relatively easily and quickly, while maintaining a graceful relationship between the associated incremental cost and the incremental functionality. Additionally, configuration and reconfiguration effort and expense are reduced, as the only significant requirement is that the points and level of access be considered. Clearly, the time frame associated with carrier provisioning or reconfiguring such a network also is reduced, as dedicated circuits need not be provided between the various points of termination. Further, such a network is more resilient than a truly dedicated network, since the carrier network is highly redundant, and the carrier, therefore, can quickly route traffic around a point of blockage or catastrophic failure [14]. VPNs may be either domestic or international in scope.

5.5.4 Value-Added Services

You can define value-added services, also known as enhanced services, as those that alter the form, content, or nature of the information, thereby adding value to it. Examples include store-and-forward services such as voice mail, e-mail, and fax mail. In the data realm, networks that accomplish the process of protocol conversion are considered as providing value-added services.

5.6 PORTABILITY: A SPECIAL ISSUE

Portability of numbers is an issue of real significance, and increasingly so. Traditionally, all numbers have been associated with a geographic area (e.g., NPA and exchange code), a carrier (e.g., 800, 500, and 900 numbers), or a service offering (e.g., DID). Users prefer to retain the same number (logical address), regardless of physical location, carrier, or service offering. The intensity of the issue increased considerably with the advent of competition in the local exchange domain.

In the United States, 800 numbers (currently 888, 877, and 866 as well) have been portable across carriers since 1992 (although subject to restriction by LATA boundary). Portability of local numbers became an issue of great significance in the mid-1990s, when a small number of states began to permit competition in the local exchange. As the CLECs began to provide local service, they attacked the installed base of large ILEC customers. They were forced to require that those customers change their telephone numbers to fit into a block of DID numbers leased by the CLEC from the ILEC. Regardless of the attractiveness of the CLEC service offerings, potential customers were understandably reluctant to undergo a number change, which could involve a potentially significant loss of business, potentially considerable costs for reprinting stationary and otherwise advertising the new number, and an obvious disruption in the business of the enterprise. Further, customers would have to change numbers again if they were unhappy with the new provider and, therefore, choose either to return to the ILEC or to switch to another CLEC. The issue grew exponentially with the drafting of the Telecommunications Act of 1996 and the expectation that the CLEC business would experience dramatic growth.

Therefore, the act mandated the establishment of the Local Number Portability Administration (LNPA) to oversee the development and deployment of a mechanism for Local Number Portability (LNP). The first implementation of LNP was in the state of Illinois, which was among the first to permit competition in the local exchange and which has served as the model for the current method. That method involves the use of a Local Routing Number (LRN) of 10 digits and makes use of both the SS7 signaling and control network and the Advanced Intelligent Network (AIN) that SS7 supports. When a caller dials a telephone number, the originating CO consults a Service Control Point (SCP), which dips into a regional database. The database, as appropriate, provides the LRN, as well as the Carrier Identification Code (CIC) of the CLEC, in order that the call can route to the competitive carrier. Number Portability Administration Centers (NPACs) serve as clearinghouses for all local operators. Neustar, which currently is responsible for administration of the North American Numbering Plan (NANP), operates the NPACs. Note that LNP, as the name suggests, is local in nature; in other words, the number is portable between LECs only within the local calling area supported by the serving LEC (i.e., not across ILEC domains and not between calling areas involving toll calls).

As a footnote, 500 numbers and 900 numbers, both of which are geographically independent, are not portable across carriers, although the FCC has determined that such portability lies in the public interest [19, 20].

The ultimate in portability, as we see it today, is the concept of Personal Communications Services (PCS), which is explored in Chapter 11. In its full form, PCS involves inexpensive wireless phones that will offer two-way access anywhere and anytime for voice, data, video, and image communications. PCS, at least theoretically, will enable an individual to retain a single number (i.e., logical address) for life. That number will serve many devices (e.g., voice telephones, fax machines, and computer modems), with the caller prompted to make the appropriate selections and with the called party controlling options for the restriction of such privileges. Note: PCS is only conceptual at this point.

5.7 EQUAL ACCESS: ANOTHER SPECIAL ISSUE

Equal access is intended to ensure that the end user can access any IXC with equal ease. In other words, a user can dial a long-distance call from the residence or business premises simply by dialing the telephone number. Equal access is intended to facilitate a competitive environment through removing unnecessary technical barriers. Prior to its implementation in the United States, access to an IXC other than AT&T required dialing a lengthy carrier access number, a lengthy authorization code, and the target telephone number. This requirement clearly placed other carriers at a competitive disadvantage.

The implementation of equal access required that users in a specific geographic area be surveyed and afforded the right to choose a carrier on the basis of preselection. Users who did not respond were assigned a default carrier; such defaults were selected randomly and spread across the available carriers based on their respective local market penetration. All user choices or default selections are compiled in a centralized database residing on a database server, which is queried as each call is placed. Based on the originating circuit number, the database is consulted and the call connected through the designated IXC. This same process can apply equally to all outgoing calls, regardless of distance (i.e., local, intraLATA, interLATA, interstate, and international), subject to regulatory approval and deployment of the technology. New customers similarly have the right to choose a long-distance carrier; if they choose not to do so, they are assigned a carrier based on the same random selection process.

Alternatively, the user can access the carrier through dialing an access number (1010 XXX). Such a technique would be used in order to place a call through another carrier in the event of a failure or blockage of the network of the primary carrier. The technique also is used to access a carrier that advertises special rates, which are generally to their great advantage, not the caller's. Equal access is 100 percent implemented in the United States.

Access charges are intended to compensate the LEC for the costs of connecting the call across expensive local loop facilities, conducting the preselection survey, investing in the database server, and administering the equal-access database. While the structure of access charges varies from country to country, all include some combination of Subscriber Line Charges (SLC) and Carrier Access Charges (CACs).

The Subscriber Line Charge (SLC) is billed to the user by the LEC on a monthly basis. The SLC is a flat-rate, recurring charge that generally varies by type of facility (e.g., residence line, business line, PBX trunk, and FX line). The SLC applies to all users of LEC loops, whether or not they use the LEC network for IXC access. The FCC subsequently allowed the LECs to collect an additional SLC, in the form of a Digital Port Line Charge (DPLC), for all digital circuits, including ISDN.

The Carrier Access Charge (CAC) is billed by the LEC to the IXC in two forms. First, flat-rate, recurring charges apply for tandem exchange termination. Second, the Carrier Common Line Charge (CCLC) is a minutes-of-use charge that applies to each call connected to the IXC [21].

5.8 VoIP: NEXT-GENERATION PSTN

The future of the telephone holds forth the promise of a service, growing always greater and better, and of continued progress—the end of which no one can foresee.

Telephone Almanac, American Telephone and Telegraph Company, 1927

The incumbent voice carriers all built their networks around circuit switching. As they converted from analog to digital technology, they introduced TDM, ISDN, and SS7, but circuit switching remained the technological network foundation. The carriers introduced Asynchronous Transfer Mode (ATM) into the backbone in the mid-1980s, and by the early 1990s ATM was touted as the ultimate network-switching technology in the WAN and even in the Local Area Network (LAN) domain. Ethernet overwhelmed ATM in the LAN and the Internet Protocol (IP) is doing the same thing in the WAN. While I discuss the details of Synchronous Optical NETwork (SONET) fiber optics, ATM switching, IP, data compression, and other elements of the VoIP mix in other chapters, I find it appropriate to discuss the overall concept now as VoIP seems certain to be the foundation for the next-generation PSTN. More correctly, IP will be the dominant protocol in the next generation of networks. These networks will support a multimedia blend of voice, audio, data, fax, image, and video at broadband speeds.

As noted previously, voice originates as an acoustic signal. In order to transmit voice over a network, it must first be converted to an analog electrical signal format. To send that voice signal over a digital network, it must be encoded into a digital (data) format, and it must be decoded back into an analog signal on the receiving end. The standard encoding technique is Pulse Code Modulation (PCM), which requires that the analog signal be sampled 8000 times per second at precise and regular intervals of 125 μs (microseconds), which represents 1/8000th of a second. In other words, each sample represents exactly 125 μs of a voice information stream. Each of the PCM samples comprises eight data bits, or one data byte (think of it as a sound byte). The string of sound bytes in a voice conversation, according to the normal conventions, requires a 64-kbps channel, also known as a DS-0 (Digital Signal level Zero), which is the fundamental building block of all digital telephony. A sound byte might represent an utterance or it might represent a moment of silence (i.e., a silence byte). A voice transmission contains lots of moments of silence. Further, the human conversational convention generally involves only one active direction of the conversation at a given time. In other words, we take turns talking, rather than overtalking each other. Therefore, a circuit supporting a voice conversation generally is silent in one direction or the other.

In a conventional PSTN scenario, each of the sound bytes (and silence bytes) associated with one voice transmission is interleaved with those of other transmissions through a process of Time Division Multiplexing (TDM) and flows across the network from end to end. At every step of the way, every network element must maintain a very tight synchronization of the individual sound bytes that comprise the information stream. Essentially, all the circuits and switches must ensure that each originating sound byte in a stream of sound bytes is received in exactly the same order and at exactly the same pace as it was created. Only in this fashion will the voice stream retain its fluidity and reasonably natural sound. If a number of voice samples were to suffer loss or error in network transit, the quality would suffer noticeably. If some voice samples were to arrive in rapid succession and others were to be delayed, the voice stream would lose its fluidity and sound "herky-jerky," if you know what I mean. This variability in the data arrival rate, also known as jitter, is most unpleasant. All of the elements in the network (e.g., access circuits, end offices, multiplexers, transport circuits, repeaters, and tandem switches) must work together in a highly synchronized fashion in order to support toll quality voice communications. To ensure that the quality of the voice transmission is preserved, conventional TDM networks commit a time slot for each sampled byte, whether a sound byte or a silence byte. This approach works beautifully. This entire process is coordinated under the control of signaling and control, which is in the form of SS7, at least in contemporary digital voice networks.

Voice over I P, like fax over IP ( Chapter 4 ), involves a totally different type of network. Voice over IP supports the transmission of voice data over a highly shared packet data network running the Internet Protocol and at times involving advanced compression techniques. The first step in VoIP is the collection of a number of PCM voice samples in a buffer at the IP gateway, a protocol converter responsible for converting the PCM datastream to a compressed IP packet stream. The gateway also resolves signaling and control issues between the circuit-switched PSTN and the IP-based network. Specifically, the conventional PSTN relies on SS7, and IP-based networks variously employ H.323 or SIP, both of which I discuss in subsequent chapters. Physically, the gateway can be under the skin of a PBX or ACD or can be a stand-alone CPE device situated between the PBX or ACD switch and the local loop. The gateway can be in the form of software in a softphone that connects to the Internet over a broadband local loop such as ADSL. Alternatively, the gateway can be in the form of a router situated at the edge of the carrier network, where a CO is positioned in a conventional PSTN. Multifunctional network-based gateways commonly are known as softswitches, which are software-based switches that act not only as interfaces between circuit-switched and packet-switched networks but also as interfaces between SS7 and H.323 or SIP signaling and control systems. In any case, the gateway contains a number of Digital Signal Processors (DSPs), which are silicon chipsets on Printed Circuit Boards (PCBs) that fit into slots in a cabinet.

Using G.723.1, one of the standard compression algorithms, the buffer in the gateway gathers 160 voice samples, each representing 125 μs of the voice stream. Therefore, the set of 160 samples represents 20 μs (1/50th of a second). The set of 160 samples is evaluated as a discrete set of binary data, and any redundant data (generally quite a lot) is identified. Human speech, for example, often contains long pauses. Even during a continuous stream of utterances, there are relatively long pauses that are not noticeable to human beings but which are quite discernable to computer systems. These pauses are noted and compressed out of the data set, with the beginning and the length of the pause being noted. An utterance also can contain a lot of redunnnnnnnnnnndancy. This is noted in a similar fashion. The DSPs are responsible for the process of analog encoding to the digital format through a built-in codec and for voice compression.

Also, at the gateway, the compressed set of binary data is formed into an IP data packet (Figure 5.9). Each packet is a discrete, independent unit of data, or datagram, that is presented to the network. Each packet wends its way through a packet network, comprising various combinations of routers and switches and interconnecting links, until it reaches the terminating edge gateway, as identified by the IP address contained in the packet header. (Note that, once again, a logical address is translated into a physical address. In this case, the IP address is a set of bits in the first field of data, and the physical address is a gateway, rather than a local loop.) The key advantage to a packet data network is that all of the resources (i.e., circuits and switches) are highly shared. That is, the packets are presented to the gateway and queued up in a buffer until such time as the packet switch has computational resources available to process it. In other words, the packets are queued until the packet switch can read the address information, consult a routing table, and make a decision as to the specific route across which the packet should be forwarded. Once processed, the packet might queue in a buffer until the selected circuit is available to send it on its way. If there are many switches and links en route, the packet must endure this process many times. At the terminating gateway, the packet is received, the data packet decompressed (reinserting the periods of silence and the redundancies) and decoded, and an approximation of the original acoustic signal is reconstructed.

Figure 5.9: VoIP, with alternative methods of network access

This compression process essentially reduces the bandwidth in the network required to support the voice transmission. To the extent that bandwidth demands are reduced, efficiency is increased, more data can be sent over the same circuits and through the same switches in the same period of time, and costs are lowered. If this sounds too good to be true, it is because it is too good to be true—and the reasons are many:

1. The process of compression and decompression takes some time—not much time, but some.

2. The packets can encounter considerable delay, or latency, as they transverse the network. If the network is under a relatively light load at a particular instant, the routers and switches can fairly instantly process the packet, and the links can become available almost immediately. If the network is under relatively heavy load at a particular instant, the packet might queue up for a much longer period of time. The more routers, switches, and links that are involved along a chosen path, the greater the latency.

3. The level of delay is variable and unpredictable in nature. This variability in latency is known as jitter.

4. The stream of packets might take a relatively short physical path on one call and a relatively long path on the next call, all depending on the load on the network at the time. The longer the path taken, the greater the propagation delay involved. The more devices (e.g., routers and switches) involved, the more processes involved, and the greater the cumulative delay as the processes are performed.

5. Individual packets in a stream of packets might take different physical paths. Again, the longer the path taken, the greater the propagation delay involved. The more devices (e.g., routers and switches) involved, the more processes involved, and the greater the cumulative delay as the processes are performed. Note that each packet is treated individually. The final result can be an unac-ceptable level of jitter, even if the packets arrive in the proper sequence. If the packets arrive out of sequence, some process must be invoked to resequence them in order that they can play in the proper order. If some packets are delayed too long, they may not arrive in time to play in the proper order, in which case they are rejected.

6. Individual packets might suffer errors in transit. Errored data are of no value. In fact, errored data are of decidedly negative value. Once the packet arrives, if ever, it must either be accepted or rejected. There is no time for a retransmission of an errored voice data packet.

So, the inherent nature of the packet network is problematic. While this approach offers great efficiencies, it also imposes variable and unpredictable levels of delay on the packets. In other words, VoIP is a classic design trade-off between cost and performance. Next-generation VoIP networks propose to optimize this trade-off in several ways:

1. Voice over IP carriers deploy gateways only at the edges of the network, where the most complex decisions must be made and where the most involved (read time-consuming) processes must be invoked. They deploy high-speed ATM switches in the core of the networks, where speed is of the essence. The routers and switches currently can run at internal bus speeds in the range of 1 Tbps, at least according to the design specifications.

2. The carriers define paths from each gateway to every other gateway, thereby ensuring that all packets travel the same route between any two given points. Therefore, all the packet voice transmissions from San Francisco to Dallas, for example, likely will suffer reasonably similar levels of delay, at least.

3. The carriers deploy incredibly high-speed optical fiber transmission systems in the core. Along any given path, there may be hundreds of fibers, each of which can support numerous lambdas, each of which can run at rates in the Gbps range.

4. The compression algorithms are extreme. Traditional PCM voice requires 64 kbps. Voice over IP requires as little as 5.3 kbps, depending on the specific algorithm selected, plus IP overhead. (Note: With the IP overhead, the brings the bandwidth requirement back up to approximately 64 kbps, so clearly VoIP is not all about reducing bandwidth requirements.)

To illustrate the concept of compressed, packetized voice, consider the following analogy. You have become concerned about your health. You finally decided to take your grandmother's advice and include a bowl of stewed prunes in your daily diet. (Your grandmother has lived a long and healthy life but is not much of a gourmet!) You call your grandmother and ask her to pick some prunes from her orchard and send them to you on a regular basis. Daily, your grandmother picks the ripest prune plums (bytes) at an exact pace (samples at precise intervals), puts 160 of them (data set) in a bowl (buffer), dehydrates (compresses) them, removing the water (silence) in order to reduce their weight and volume (bandwidth) and lower the cost of postage (network cost). The result is prunes. Every day she sends you a small, numbered box (packet) of prunes through the mail, along with specific instructions that you eat them every day, at exactly the same time of the morning, and in exactly the same order in which she mailed them to you. In that fashion, you always will have fresh prunes for breakfast and you will remain regular (perfectly timed). You follow her instructions precisely for some number of days. Each day you open a box of prunes, put them in a bowl (buffer) and soak the contents in order to reinsert the water (silence), thereby reconstituting (decompressing) them to an approximation of their original form. Then disaster strikes. One box (packet) of prunes (sound bytes) arrives in sequence but crushed (errored). As the contents (compressed voice payload) are inedible (unintelligible), you throw away (discard) the box and its contents. The next day, the postal system fails you, and no box of prunes arrives (latency, or delay). The next day, two boxes arrive (jitter); you eat two bowls of prunes for breakfast and regret it. You call your grandmother and ask her to send the daily prune ration via Federal Express (high-speed network). They almost always arrive every day and at exactly the same time. Each box (packet) still wends its way through the network independently, but the overbuilt (broadband) network of high-speed access circuits (couriers), high-speed jumbo jets (transport circuits), and high-speed airports and processing centers (routers and switches) provides a good balance of cost and performance. Federal Express does such a good job that it lowers its costs. You are such a good customer that Federal Express offers you a discount; the total cost compares favorably to that of growing your own prune plums.

Now, back to the bottom line, so to speak. Circuit switching and TDM are inherently wasteful for bursty data applications but perform well for stream-oriented transmissions such as voice. Packet networks are inherently efficient but are not intended to support voice. The VoIP carriers overcome this quandary through a combination of effectively overengineering the packet network and using complex compression algorithms and buffers to improve performance. Note that, at least for the foreseeable future, the circuit-switched PSTN remains available as a backup in the event that the performance of an IP-based voice network is less than satisfactory at any given moment. In fact, VoIP service providers use the PSTN for backup, and the most capable VoIP PBXs have the ability to choose between the two networks based on user-definable performance parameters. Note that not all VoIP is alike. Much consumer-level VoIP, particularly peer-to-peer services, is over the Internet, where quality is always questionable.

This discussion of VoIP is obviously very brief, and VoIP is much more complex than is portrayed here. Among other things, VoIP requires a signaling and control mechanism, and the earlier discussion of signaling and control in this chapter was specifically oriented toward the conventional circuit-switched PSTN. The IP-based networks supporting VoIP entail entirely different signaling and control mechanisms. Where those two networks meet, signaling and control issues must be resolved through a gateway that accomplishes protocol conversion. I discuss this and other VoIP issues in subsequent chapters.