Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
INTERFACE CHANNEL UNIT
Document Type and Number:
WIPO Patent Application WO/1985/002083
Kind Code:
A1
Abstract:
Channel unit (109) for connecting a carrier channel multiplex or tie line directly to a terminating unit line such as that terminating a private branch exchange (102) or a telephone station set (117) thereby eliminating the normal local end office interconnection. In particular, the channel unit interfaces the different signaling protocols of the interconnected lines and generates call progress control signals such as dial tone and audible ringing which are normally generated by the local end office. The channel unit comprises a converter (205) for each line for converting the electrical interface signals representative of the busy and idle conditions of the line to logic levels also representative of the busy and idle conditions of the line. A predetermined series of these logic levels form a control signal that indicates the state of a call on the line. Since the control signal indicative of the state of the call on one line is typically not useable by the other line, a microprocessor (204) included in the unit generates a second control signal to advance the state of the call on the other line to an equivalent call state. An additional converter (205) then converts the logic levels of this second control signal to the electrical interface signals of the other line to advance the state of the call to the equivalent call state. The unit further comprises a receiver (201) and transmitter (202) for exchanging dial pulse and dual tone multifrequency address signals between the lines. Also, included are circuits (203, 226) for applying call progress control signals such as dial-tone, audible ringing, and power ringing to the lines.

Inventors:
BINKERD MARK STEVEN (US)
SAND WILLIAM CALVIN (US)
Application Number:
PCT/US1983/001912
Publication Date:
May 09, 1985
Filing Date:
December 06, 1983
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
WESTERN ELECTRIC CO (US)
International Classes:
H04M7/00; H04M19/02; H04M3/02; H04Q1/30; H04Q3/42; H04Q11/04; (IPC1-7): H04Q11/04
Foreign References:
DE2748052A11979-05-03
Other References:
Conference on Communications Equipment and Systems, 20-22 April 1982 (Birmingham, GB) AMES et al.: "A Universal Junction Interface for Digital Exchanges", pages 22-26 see the whole document
The Bell System Technical Journal, Vol. 61, No. 9, part 3, November 1982 (Murray Hill, US) CRUE et al.: "D4 Digital Channel Bank Family: The Channel Bank", pages 2611-2661, see pages 2618-2625, paragraph III (cited in the application)
National Telecommunications Conference Vol. 2, paper D3.4, 29 November - 3 December 1981 (New Orleans, US) OLSON: "The SLC-96 System", pages 1-5 see page 2, right-hand column, line 23 - page 3, left-hand column, line 32
The Bell System Technical Journal, Vol. 51, No. 8, October 1972 (Murray Hill, US) MADDOX et al. "D2 Channel Bank: Pu Channel Equipment", pages 1659-1673, see pages 1660-1669, paragraph II
International Conference on Communications, Vol. 3, 8-12 June 1980, pager 47.1 (Seattle, US) HEIL et al.: "LT-1B Facility Connector", pages 1-5, see page 3, left-hand column, line 24 - page 4, right-hand column, line 9
I.E.E.E. Journal of Solid-State Circuits, Vol. SC-16, No. 4, August 1981 (New York, US) GREEN et al.: "A Channel Unit Signal Controller for Shared Codec D-Type Channels Banks", pages 341-348, see page 342, paragraph II (cited in the application)
Download PDF:
Claims:
Claims
1. A channel unit for interfacing the different signaling protocols of a carrier channel multiplex line an a terminal unit line comprising: 5 means for converting first and second electrical interface signals received from the carrier line and representative of first and second conditions of the ** carrier line to first and second logic levels also representative of the first and second conditions of the 10 carrier line, respectively; control means responsive to a first predetermined series of the first and second logic levels indicative of first state of a call on the carrier line for generating a second predetermined series of the first and second logic 15 levels for the terminal unit line and indicative of a firs state of a call on the terminal unit line, the first state of the call on the terminal unit line corresponding to the first state of the call on the multiplex line; and means for converting the first and second logic 20 levels of the second predetermined series to third and fourth electrical interface signals representative of first and second conditions of the terminal unit line, respectively, to advance the call on the terminal unit line to the state corresponsing to the first state of the call 25 on the carrier line.
2. A channel unit in accordance with claim 1 further comprising means responsive to a third predetermined series of the first and second logic levels, representative of an address digit received from the 30 carrier line for generating an encoded address digit signal also representative of the address digit and means responsive to receipt of the encoded address digit signal for transmitting to the terminal unit line an analog signal representative of the address digit. 35.
3. The channel unit in accordance with claim 1 further comprising means responsive to a third predetermined series of the first and second logic levels ΓCTJTE " OMPI representative of the address digit received from the carrier line for generating an encoded address digit signal also representative of the address digit, the control means comprising means responsive to the encoded address digit 5 signal for generating a fourth predetermined series of the first and second logic levels for the terminal unit line and representative of the address digit. '.
4. The channel unit in accordance with claim 1 further comprising means for converting the third and 10 fourth electrical interface signals received from the terminal unit line, the control eajis comprising means responsive to a third predetermined series of the first and second logic levels indicative of a second state of the call on the terminal unit line for generating a fourth 15 predetermined series of the first and second logic levels for the carrier line and indicative of a second state of the call on the carrier line, and the second state of the call on the carrier line corresponding to the second supervisory state of the call on the terminal unit line; 20 and the channel unit further comprising means for converting the first and second logic levels of the fourth predetermined series to the first and second electrical interface signals to advance the call on the carrier line to a second state corresponding to the second state of the 25 call on the terminal unit line..
5. The channel unit in accordance with claim 4 further comprising means for generating a dial tone signal for the terminal unit .line.
6. The channel unit in accordance with claim 4 30 further comprising means for generating an audible ringing signal for the carrier line.
7. The channel unit in accordance with claim 4 further comprising means for applying a power ringing signal to the terminal unit line.
8. 35 8.
9. A channel unit for interfacing the different signaling protocols of a toll office line and a terminal unit line comprising: OMM control means responsive to a first set of electrical interface signals received from said toll office line and indicative of the state of a call on said toll office line for generating a first control signal and 5 means for converting said first control signal to a second set of electrical interface signals for transmission on said terminal unit line to advance the * state of a call on said terminal unit line to a state corresponding to the state of said call on said toll office 10 line.
10. The channel unit in accordance with claim 8 wherein said control means is also responsive to a third set of electrical interface signals received from said terminal unit line and indicative of the state of said call 15 on said terminal unit line for generating a second control signal and wherein said channel unit further comprises toll office transmit converter means for converting said second control signal to a fourth set of electrical interface signals for transmission of said toll office line to 20 advance the state of said call on said toll office line to a state corresponding to the state of said call on said terminal unit line.
11. A channel unit for interfacing the different signaling protocols of an office tie line and a terminal 25 unit line comprising: control means responsive to a first set of electrical interface signals* eceived from said terminal unit line and indicative of the state of a call on said terminal unit line for generating a control signal and 30 transmit converter means for converting said control signal to a second set of electrical interface signals for transmission on said tie line to advance the state of a call on said tie line to a state corresponding to the state of said call on said terminal unit line. 35 OMPI.
Description:
INTERFACE CHANNEL UNIT

Technical Field 5 This invention relates to communication systems and particularly to a channel unit for interfacing a transit switching office line and a terminal unit line. " Background of the Invention

The channel unit is well known for converting 0 message and control signals exchanged between one channel of a carrier transmission facility and a telephone switching office communications line. All of the channel units that connect to the same carrier facility have the same carrier facility interface; however, the terminal unit 5 .interface of each channel unit changes as a function of the type of service and terminal unit.

Common message service channel units interconnect telephone offices that serve the switched telephone network. These connections, called interoffice or tie 0 lines, normally interconnect two end switching offices, two transit offices, or an end office and a transit office.

Special service channel units usually interconnect a specific customer to an end office. In one application, a local customer's station set is connected to a remote end 5 office by an interoffice carrier channel line. This foreign exchange service is commonly used for a business with a large community of customers in a neighboring city. The remote end office provides call progress control signals such as dial tone and audible ringing via the message path of the interoffice carrier or tie line.

However, the remote end must usually transmit information on a separate interoffice carrier line to ring the local customer's station set.

In another special service application, a carrier facility line connects a private branch exchange (PBX) to a local end office switch, as with a large business customer. Here again, the end office supplies dial tone and audible ringing via the message path of the carrier line. Alternatively, the end office may send control information for the PBX to generate the various call progress control signals.

In most applications, the transmission facility as well as the channel unit must transmit certain control signals- in addition to the message signal. These well- known control signals include supervisory, address, and call progress control signals and are used to oversee the dynamic nature of the traffic that is usually associated with the service.

Supervisory control signals are used to: (1) seize control of the line in response to a service request; (2) oversee the flow of address signals exchanged between originating and terminating telephone offices? and (3) inform the originating office when the called party answers and disconnects. Supervisory control signals typically comprise a series or pattern of d.c. electrical interface signals, usually over some period of time, that indicate the supervisory state of the call on the line and are applied either to the message signal path or to a separate control signal path. The d.c. electrical interface signals used for the particular line represent the "on-hoo " and "off-hook" conditions of the line.

Address control signals transfer call routing information from the originating equipment to the terminating office. Address control signals may be transmitted as an analog signal within the message signal frequency band or as a series of d.c. electrical interface signals that normally change at a rate higher than d.c. supervisory signals. The detection, transmission, and reproduction of d.c. address control signals is similar to that of d.c. supervisory control signals. Thus, only one

set of electrical interface signals representative of the "on-hook" and "offτhook" conditions of the line may be needed for a particular terminal unit or carrier facility channel line. Similar to supervisory control signals, call progress control signals alert the calling and called parties as to the progress of the. call, but are usually analog as opposed to d.c. signals. As previously noted, these call progress control signals are normally provided by the end office. Prior art channel units do not generate call progress signals, but simply pass them as a supervisory, address, or message signal.

Associated with the control signals on each communication line is a signaling protocol. This signaling protocol consists of those control signals that are exchanged on the line to originate a call and to advance the call from one supervisory state to another. Each control signal comprises a predetermined series, set, combination, or pattern of electrical interface signals. The d.c. electrical interface signals on each line typically represent the "on-hook/off-hook", "busy/idle", or the "open/closed loop" condition of the line. However, it is the control signals or the various combinations or patterns of electrical interface signals, usually with respect to time, that are used to indicate the supervisory state of the call on the line, such as "idle", "seized", "answer", "disconnect", etc. Prior art channel units simply convert the electrical interface signals of one line to the different electrical interface signals of another line. Prior art channel units do not recognize patterns of electrical interface signals. Thus, communication lines with different signaling protocols cannot be interconnected with prior art channel units. Previously, this interconnection could only be made through a switching office.

OMPI V i? lO

Connecting a carrier channel from a transit office directly to a PBX or a telephone station set while eliminating the end office inte rconnection creates numerous problems . First , a transit office , also referred to as a toll off ice , typically does not generate call progress control signals . Second, many types of PBX signaling protocols are incompatible with toll office signaling protocols . For example , a one-way incoming PBX line with immediate start operation does not return a wink supe rvisory signal that a one-way outgoing toll office line with a wink start ope ration expects to receive in response to seizing the PBX l ine . Third, toll offices generally do not respond to analog control signals such as dual tone multif requency address signals . Lastly, prior art channel units convert only one set of electrical inte rface signals to another, thereby requiring a separately designed channel unit for each different type of terminal unit . All of these problems are normally solved by the end office ; however, without the end office, it would be extremely costly to retrofit or redesign toll off ices to perfo rm these end off ice functions . Summary of the Invention

The foregoing problems are solved and a technical advance is ach ieved by a channel unit fo r directly interconnecting a toll office carrie r channel line and a terminal unit line such as that of a private branch exchange or a telephone station set , thereby eliminating -the local end office inte rconnection . In particular, the channel unit inte rfaces the different signaling protocols of a toll off ice line and a terminal unit line . The channel unit includes a converter fo r conve rting the electrical inte rf ace signals received f rom and representative of the "on-hook" and "off-hook" conditions of the toll off ice line to first and second logic levels that also represent the "on-hook" and "off- hook" conditions of the toll off ice line . Also included is a controller that is responsive to a first

predetermined series of the first and second logic levels that is indicative of the state of the call on the toll office line for generating a second predetermined series of first and second levels for the terminal unit line. This second predetermined series is for advancing the state of the call on the terminal unit line to a state corresponding to the state of the call on the toll office line. The unit further comprises another converter for converting the logic levels of the second predetermined series to electrical interface signals different from those for the toll office line to advance the state of the call on the terminal unit line to a state corresponding to the state of the call on the toll office line.

In one illustrative embodiment of the invention, the channel unit comprises a toll office receive line converter for converting the well-known "A" and "B" signaling bits of a digital DS-1 format signal received from a wink start toll office carrier channel line to high and low logic level signals. Responsive to a first series of logic level signals that is indicative of the state of the call on the toll office line, a stored program controller generates a second series of logic level signals for an immediate start PBX line. A second converter then converts the logic level signals of the second series to PBX electrical interface signals for transmission on the PBX line. These PBX electrical interface signals advance the state of the call on the PBX line to a state that corresponds to the state of the call on the toll office line. In addition, two additional converters are included to pass control signals in the opposite direction from the PBX line to the toll office line. When either line requires a control signal that the other is not normally expected to transmit, the controller also generates another series of logic level signals for the required control signal. For example, this occurs when the toll office seizes the toll office line and expects a wink supervisory signal back. Since an immediate

start PBX line does not return a wink signal in response to a seizure, the controller generates the wink signal after the PBX line is seized.

In accordance with another feature of this invention, the channel unit includes a receiver for converting analog address signals from the PBX line to digital address signals for the toll office line. Also included is a transmitter for sending analog address signals to the PBX line in response to digital address signals from the toll office line. The controller also converts digital address signals at one pulse rate from the PBX to another pulse rate for the toll office.

In accordance with still another feature of this invention, the channel unit converts the electrical interface signals of the toll office line to the electrical interface signals of any one of a plurality of different PBX lines.

In accordance with yet another feature of the invention, the channel comprises circuits for generating call progress control signals such as dial tone and audible ringing. Brief Description of the Drawing

The invention may be better understood from the following detailed description when read with reference to the drawing in which:

FIG. 1 shows a block diagram of a typical communications network having a digital toll switching office serving a plurality of users through a time- division multiplex terminal; FIG. 2 shows a block diagram of the channel unit of the multiplex terminal which directly interconnects the digital toll office to a private branch exchange (PBX) ;

FIG. 3 shows a more detailed block diagram of the microcontroller of the channel unit in FIG. 2; FIG. 4 shows a more detailed block diagram of the trunk interface unit of the channel unit in FIG. 2;

FIG. 5 shows a more detailed block diagram of the detector-sampler of the channel unit in FIG. 2;

FIG. 6 shows the layout of the memory in the microcontroller in FIG. 3; FIG. 7 shows a flow diagram of the

INITIALIZATION ROUTINE which is used to initialize the circuits of the channel unit when power is applied; FIG. 8 is a timing diagram of the control signals used to advance the state of a call on a one-way outgoing PBX line and a one-way incoming toll office line; FIGS. 9 through 14 show the detailed flow diagrams of the routines used by the channel unit to advance the state of a call on a one-way outgoing PBX line and a toll office line; FIG. 15 is a timing diagram of the control signals used to advance the state of a call on a one-way incoming PBX line and a one-way outgoing toll office line;

FIGS. 16 through 22 show the detailed flow diagrams of the routines used by the channel unit to advance the state of a call on a one-way incoming PBX line and a one-way outgoing toll office line;

FIGS. 23 and 24 have not been used; FIG. 25 is a timing diagram of the control signals used to advance the state of an incoming attendant call on two-way PBX line from a two-way toll office line; and

FIGS. 26 through 29 show the detailed flow diagrams of the routines used by the channel unit to advance the state of the operator assisted call depicted in FIG. 25.

Detailed Description

An illustrative digital channel unit for directly interfacing the different signaling protocols, as well as the the different types of supervisory and address electrical interface signals associated therewith, of a toll switching office line and a terminal unit line such as that of a private branch exchange (PBX) or a customer

station set is depicted in FIG . 1. FIG. 1 shows a typical communications network having digital toll switch ing off ice 101 which serves PBX 102, local central office 103 , and customer station set 117 through time-division multiplex terminal 104. Private branch exchange 102 and local central off ice 103 contain switching apparatus for providing communication services to a plurality of customer station sets such as 114 and 115. As is commonly arranged for business customers, local central office 103 also serves PBX 113 which in turn serves a plurality of customer station sets such as 116. Time-division multiplex terminal 104 interconnects digital carrie r facility 105 f rom toll off ice 101 and communication lines 106 , 107, and 112 from PBX 102, local end office 103 , and station set 117, respectively .

Digital toll switching off ice 101 is a typical

TM transit switching system such as the 4ESS switch which is manufactured by the Western Electric Company . This switching system is described in detail in The Bell System Technical Journal. Volume 56, Number 7 , September, 1977, and Volume 60, Number 6 , Part 2 , July-August, 1981 , and need not be fully described he rein for the reader to understand the present invention.

Local central office 103 is suitably an electronic pro gram- control led switch ing system of the type disclosed in The Bell System Technical Journal. Volume 43, Number 5 , Parts 1 and 2, September, 1964.

Private branch exchange 102 and 113 may be any well-known private branch exchange which is used to distribute calls to customer station sets .

Time-division multiplex terminal 104 is a digital channel bank such as the D4 digital channel' bank and comprises common equipment 108 and a plurality of individual channel units such as 109, 110 , and 111. The D4 digital channel bank is suitable for use with any well-known T-l type digital carrie r facility such as 105.

The D4 digital channel bank is disclosed in The

Bell System Technical Journal . Volume 61 , Number 9 , Part

3 , Novembe r 1982 , which may be referred to for a more comprehensive unde rstanding of the construction and ope ration of a digital channel bank . The channel bank common equipment interfaces the digital carrier facility with the individual channel units . In addition, the channel bank common equipment perfo rms pulse code modulation encoding and decoding as well as multiplexing and demultiplexing the signals between the individual channel units and the digital carrier facility . The individual channel units provide an electrical interface for the lines from the terminating equipment to the multiplex common equipment . Channel unit 110 is a well-known E and M type channel unit for interfacing end office line 107 and toll office carrier channel line 119. In a typical manner, local end office 103 connects to PBX 113 which is usually located on the premises of a business customer to inte rconnect a plurality of PBX station sets such as 116. However, in acco rdance with this invention, channel unit 109 directly inte rfaces toll off ice carrier channel line 118 and PBX line 106, thereby eliminating the connection through local end off ice 103 . Similarly, channel unit 111 interfaces toll office carrier channel line 120 and customer station line 112.

Depicted in FIG. 2 is channel unit 109 which directly interconnects PBX line 106 and toll office line 118 without a local end office interconnection. PBX line 106 is a two-wire communication line comprising TIP and RING conductors 251 and 252 that conduct both message and control signals between the channel unit and PBX 102. Toll office line 118 is a four-wire communication line comprising separate transmit and receive pulse amplitude modulated (PAM) signal buses 240 and 254 for exchanging voice- f requency message and control signals between the channel unit and common equipment 108. Toll office line

OMPI

- io ¬

ns also includes transmit and receive control signal buses 241 and 255 for exchanging digital supe rvisory and address control signals between the channel unit and the common equipment . The common equipment multiplexes the control signals into the digital bit stream to the toll office and demultiplexes the control signals out of the digital bit stream from the toll office .

Channel unit 109 includes trunk interface unit 205 for exchanging signals between the channel unit and PBX line 106 and furthe r includes detector-sampler 209 fo r exchanging signals between the channel unit and toll office line 118. Trunk inte rf ace unit 205 performs two- wire to four-wire conversion between two-wire TIP and RING conductors 251 and 252 and four-wire transmit and receive paths 280 and 281. Analog message signals on transmit path 280 are passed through summing circuit 221 and bandpass filter 222 to detecto r-sampler 209. In response to timing signals from common equipment 108, detector- sampler 209 samples the analog message signal and sends pulse amplitude modulated samples to channel bank common equipment on transmit PAM signal bus 240 . In the opposite direction, the detect o r- sampler detects PAM samples fo r the channel unit from a multiplexed signal on receive PAM signal bus 254. Low pass filter 225 then filters the PAM samples to fo rm an analog message signal that is passed through summing circuit 211 for transmission to the trunk inte rface unit on receive path 281.

In addition to two-wire to four-wire conversion, trunk inte rface unit 205 provides limited current battery-feed and loop-closure detection and converts the different types of d. c . electrical interface signals on the PBX line such as loop, loop reve rse-batte ry, loop start, and ground start signals as will be described hereinafter . S imilarly, detecto r- sampler 209 converts the supervisory and address electrical inte rface control signals exchanged between the toll off ice line and the channel unit.

Channel unit 109 also comprises combination dual-tone multif requency (DTMF) or dial pulse (DP) address signal receiver 201, DTMF address signal transmitter 202, and combination dial tone and audible ringing tone signal 5 generator 203 all under the control of stored program- controlled microcontroller 204.

Combination DTMF/DP receiver 201 collects dial pulse address signals from the PBX through trunk interface >- unit 205, loop closure lead 253 and digital selector 208.

10 Receiver 201 collects dial pulse address signals from the toll office through detector-sampler 209, conductor 262, and digital selector 208. Responsive to a select signal on conductor 274 from microcontroller 204, digital selector 208 causes the dial pulse address signals from

15 either the toll office or PBX to be sent to receiver 201. The receiver also collects analog dual-tone multif requency address signals from the PBX through trunk interface unit . 205, transmit path 280, and analog switch 207. Analog switch 207 sends the analog address signals to DTMF/DP

20 receiver 201 in response to the select signal on conductor 274 from microcontroller 204. The DTMF/DP receiver is a well-known and commercially device and is available from the Western Electric Company as the Model 801A single chip receiver.

25 Receiving an address control signal from either toll office 101 or PBX 102, receiver 201 performs well- known intradigit as well as interdigit timing to verify the receipt of a valid address digit. When a valid address digit is received, receiver 201 interrupts

30 microcontroller 204 via a valid digit interrupt signal on lead 256 and sends a binary coded decimal (BCD) representation of the address digit to the microcontroller on input bus 257.

Dual-tone multif requency (DTMF) transmitter 202,

35 such as National's MM53130 single chip DTMF generator, sends DTMF address signals to the PBX under the control of the microcontroller. Microcontroller 204 sends a BCD

encoded address digit signal on output bus 258 to the DTMF transmitter . The transmitter then generates a tone pair representative of the address digit and sends this tone pair to receive path 281 of trunk interface unit 205 through analog switch 210. The DTMF tone pair is intro duced into the receive path of the trunk interface unit via analog summing circuit 211. The duration of this tone pair is controlled by a DTMF control signal on conductor 259 to analog switch 210. The trunk inte rface unit then passes the DTMF address signal to the tip and ring leads of the PBX.

Dial pulse address signals are sent to the PBX with the use of relay "break" contacts 212 and 213 connected serially in respective TIP and RING leads 251 and 252. For each address digit, microcontroller 204 sends a control signal representative of a dial pulse address digit to relays 231 and 232 via respective control winding leads 260 and 282 . In response , relay contacts 212 and 213 open and close the PBX loop. Microcontroller 204 also sends dial pulse address signals to the toll office via detector-sample r 209. These high and low logic level dial pulse address signals having a typical pulse rate of 16 pulses per second are sent to the detecto r- sampler via transmit signal ing lead 261. Detecto r -sampler 209 converts the dial pulse address signal into well-known "A" and "B " signaling bits that are sent to common equipment 108 via transmit control signal bus 241.

All supe rvisory as well as address signals exchanged between the toll off ice and the PBX are controlled by microcontrolle r 204. Supervisory control signals representative of the state of a call on the toll off ice line are received by detecto r-sampler 209 and sent to the microcontrolle r 204 on conducto r 262 as a series of high and low logic levels . The high and low logic levels represent the "on-hook" and "off-hook" conditions of the toll off ice line , respectively . Detector-sampler 209 converts the "A" and "B " electrical interface signal ing

bits received on receive control signal bus 255 from channel bank common equipment 108 to the high and low logic level control signal.

Dependent on the type of PBX line, microcontroller 204 also sends control signals on control leads 263 through 265 to the trunk interface unit 205 to advance the call on the PBX line to a state that is equivalent to the state of the call on the toll office line. In the opposite direction, supervisory electrical interface signals from the PBX are sent to microcontroller 204 on loop closure lead 253 from the trunk interface unit 205. Microcontroller 204 sends supervisory control signals to the detector-sampler 209 on conductor 261.

Dial tone and audible ringing tone generator 203 comprises oscillators 214 through 216, each generating a single frequency. These single frequencies are then combined in pairs through analog summing circuit 217 and 218 to send either audible ringing tone to the toll office or dial tone to the private branch exchange. For example, 440 and 480 hertz signals from oscillators 215 and 216 are combined by summing circuit 218 to form audible ringing tone for the toll office 101. Audible ringing tone is applied to the toll office transmit path through analog switch 220 and summing circuit 221. Similarly, 350 and 440 hertz frequencies from oscillators 214 and 215 are combined by summing circuit 217 to form dial tone for PBX 102. Dial tone for PBX 102 is applied to receive path 281 through analog switch 219 and summing circuit 211. In response to a control signal on conductor 276 from the microcontroller, analog switch 220 selectively applies audible ringing tone to the transmit toll office path. In response to a control signal on conductor 275 from the microcontroller, analog switch 219 sends dial tone to the receive port of the trunk interface unit which passes the dial tone to the tip and ring leads of the PBX.

Channel unit 109 also comprises ring-trip detector 226 , PBX line identification switches 229, and fault indicator 235. The ring-trip detector is a well- known circuit fo r applying a common 20-hertz power ringing signal to PBX TIP and RING leads 251 and 252 through two pairs of transfer contacts 227 and 228, respectively. Ring-trip detector 226 receives the ringing signal on conducto r 283 that is connected to a powe r ringing source . Microcontroller 204 controls the application of the ringing signal to the PBX tip and ring leads via control lead 270 and relay 230. When ope rated, relay 230 opens the "break" contacts and closes the "make" contacts of transfer contacts 227 and 228. With power ringing applied, ring-trip detector 226 senses an "off-hook" or " closed loop" condition when a low impedance is applied " across the tip and ring leads . When the answer signal is detected by ring-trip detecto r 226 , it signals microcontroller 204 via control lead 273 to deactivate relay 230 . Prio r to connecting the channel unit to the toll office and PBX lines, PBX line identification switches 229 are manually ope rated to indicate to the microcontroller the identity of the particular type of PBX line . Since the channel unit can inte rface the toll off ice line with any one of a number of different PBX lines, these switches are used to identify the particular type of supervisory and address electrical interface signals along with the necessary signaling protocol for the desired PBX line . These switches are connected to the microcontroller via input control leads 290 through 293 to identify the supervisory and address electrical inte rface signals utilized by the identif ied PBX line . When the channel unit is connected to the toll off ice and PBX lines, the microcontroller stores this info rmation in a memory fo r subsequent operation.

OMPI

.mi

Fault indicator 235, such as a light-emitting diode, is connected to microcontroller 204 via output control lead 284 to indicate various fault conditions such as a power failure or signaling irregularity. Depicted in FIG. 3 is a block diagram of microcontroller 204 which comprises central processing unit 301, oscillator 302, program memory 303, data memory 304, timers 305 and 306, and programmable input-output controller 307 which are all interconnected by address- data bus 308. All of the units of the microcontroller are well-known and commercially available devices such as members of the Intel 8051 microcomputer family. Microcontroller 204 is the processing unit of channel unit 109 and performs three basic operations; namely, it interfaces the different signaling protocols such as wink start and immediate start operation of the PBX and toll office lines; it controls the conversion of different address signals such as dual-tone multif requency to dial pulse, dial pulse to dual-tone multif requency, or dial pulse at one pulse rate to dial pulse at another pulse rate from one line to the other; and it controls the application of call progress signals such as dial tone, power ringing, and audible ringing tone to the two lines. Central processing unit 301 is the information processing unit of the microcontroller and executes the program instructions stored in program memory 303.

Oscillator 302 interfaces with timers 305 and 306 which provide timing for the supervisory and address control signals. „ Program memory 303 is a permanent memory such as programmable read-only memory (PROM) and stores program instructions which direct central processing unit 301 to sequentially perform its many functions. Included in these program instructions are well-known algorithms for converting one type of signaling protocol to any other signaling protocol. Also included are additional well- known algorithms for address signal conversions.

OMPI

Data memory 304 is a temporary and erasable memory such as a random access memory (RAM) for storing information related to supervisory and address signal conversions. The data memory is segmented to store a plurality of variables such as to perform these conversions. Depicted in FIG. 6 is the layout of data memory 304 which is segmented to store PBX line type information. PBX line type information includes the directionality of the PBX line; the type of electrical interface signals for seizure supervision, answer and disconnect supervision, and address digits; and the signaling protocol. Also included in the memory are input and output pointers which control the loading and unloading of address digits from an address digit buffer. Additionally, the data memory includes eleven software timers, four with 50 millisecond increments and seven with one millisecond increments. These software timers are incremented by respective hardware timers 305 and 306 and are used to perform various timing functions as will be described hereinafter. Data memory further comprises several software registers to store supervisory control signals indicative of the state of the call on the toll office and PBX lines as well as address digits from the address digit buffer that will be sent to the toll office and PBX.

Input-output controller 307 and parallel input- output ports 309 are used to control and monitor the various units of the channel unit . Each port may be programmed to perform either an input or an output function. The input and output ports are connected to the various units of the channel unit as shown in FIG. 3 .

Depicted in FIG. 4 is a block diagram of trunk interface unit 205 for exchanging message and control signals between the channel unit and PBX. The trunk interface unit is a transformerless battery-feed circuit that performs loop start, ground start, loop, and loop reverse -battery signaling; two-wire to four-wire

conve rsion ; and PBX loop closure detection. Trunk inte rface unit 205 comprises low-voltage control circuit 401 and high-voltage interface circuit 402. The high- voltage inte rface circuit provides bidirectional current 5 sources for PBX line 106 via the tip and ring leads . The low-voltage control circuit performs two-wire to four-wire conversion between PBX line 106 and transmit and receive paths 280 and 281 and provides PBX loop closure detection

!• for microcontroller 204. The trunk interface unit is

10 disclosed in the allowed pending application of D. W. Aull et al . , entitled "Battery Feed Circuit" , Serial No . 346, 585, filed February 2, 1982, which may be referred to for a more comprehensive understanding of the construction and ope ration of the trunk interface unit .

15 In response to control signals from the microcontroller on conductors 263 through 265 , the trunk inte rface unit applies various combinations of battery . polarity and impedances to tip and ring terminals 233 and 234. In addition, the interface unit sends a loop

20 closure (LC) control signal on conductor 253 to the microcontroller when current in a particular direction is detected flowing in the tip and ring leads . The reverse battery (RB) control signal on lead 263 controls the polarity of the battery applied to tip and ring terminals

25 233 and 234. When the RB control signal is inactive, the interface unit applies "normal battery", such as -48VDC to the ring lead and ground to the tip lead. When the RB control signal is active , the trunk interface unit applies "reverse battery" . That is, -48VDC is applied to the tip

30 lead, and the ring lead is grounded. An active feed shutdown (FS ) control signal on lead 264 f rom the microcontroller causes the trunk interface unit to present a low impedance termination such as 300 ohms with "zero battery" applied to tip and ring terminals 233 and 234.

35 That is, one-half the talking battery potential

(approximately -24VDC) is applied to each of the tip and ring terminals. When the FS control signal is active, the

RB control signal is inhibited f rom controlling the battery polarity, but still controls the direction that current is detected in the tip and ring lead loop.

An active ground start (GS ) control signal on lead 265 from the microcontroller causes the trunk inte rface unit to apply -48VDC to the ring lead for ground start signaling. Tip "break" contacts 212 are opened so as to allow the inte rface unit to detect current flowing in the ring lead when the PBX line is seized. High-voltage interface circuit 402 comprises controlled bidirectional current sources 420 and 421 that couple voice-frequency and battery-feed current to tip and ring lead terminals 233 and 234, respectively . The magnitude of this current is regulated by balanced control signals on conductors 451 and 452 from low-voltage control circuit 401 which monitors the diffe rential voltage between the tip and ring leads . Interface circuit 402 furthe r comprises common-mode feedback circuit 424 that presents a low common-mode impedance to the tip and ring leads via respective feedback resisto rs 425 and 426 . A source of potential such as -24VDC (one-half of battery potential ) is applied to powe r terminal 427 . Circuit node 428 interconnects the feedback circuit and bidirectional current sources . The high-voltage inte rface circuit is described in an article by D. W. Aull, et al . , entitled "A High Voltage IC for a Transformerless Trunk and Subscriber Line Interface" in the IEEE Journal of Solid State Circuits. Volume SC-16, Numbe r 4 , August, 1981 .

The low-voltage control circuit comprises diffe rential-mode feedback circuit 403 , a . c. feedback amplif ie r 408 , hybrid 410 , loop closure (LC) detecto r 413 , receive amplif ie r 416 , and transmit amplif ie r 417 connected as shown to transmit and receive paths 280 and ' 281 , TIP and RING leads 251 and 252, and high -voltage interface circuit 402. Low-voltage control circuit 401 controls the ope ration of the trunk interface unit through an a. c. and a d. c. feedback loop. Furthermore,

OMPI "* 0

differential -mode feedback circuit 403 comprises current sources 405 and 406, differential tip-ring amplifier 407, differential d.c. feedback amplifier 409, current limiter 411, and battery polarity control circuit 415. The a.c. feedback loop consists of high-voltage interface circuit 402, differential tip-ring amplifier 407, differential a.c. feedback amplifier 408, and current limiter 411. The d.c. feedback loop consists of high -voltage interface circuit, differential tip-ring 407, differential d.c. feedback amplifier 408, and current limiter 411. The low-voltage control circuit is described in an article by D. W. Aull, et al., entitled "A Hybrid Integrated Trunk and Subscriber Line Interface" in IEEE. ISSCC Digest _____ Technical Papers. February, 1982. In response to incoming signals on receive path

281, receive amplifier 416 passes the incoming message signals to hybrid 410 and into the a.c. feedback loop via current limiter 411. Current limiter 411 sums the d.c. and a.c. feedback signals and the incoming signal into differential currents that are sent to the high-voltage circuit as balanced control signals on lead 451 and 452. Two-wire to four-wire hybrid 410 is configured by matching a transfer function from the. output of differential a.c. feedback amplifier 408 through current limiter 411 and high-voltage circuit 402, and then back to the output of differential a.c. feedback amplifier 408. The hybrid provides a balanced network that automatically matches termination impedances.

Transmit amplifier 417 subtracts the output signals from the differential a.c. feedback amplifier and hybrid for transmission on transmit path 280. Connected to the tip and ring leads, differential tip-ring amplifier 407 provides an output voltage that represents the voltage developed by the current from current sources 420 and 421 along with any a.c. voltage representing the message signals on the tip and ring leads. The a.c. voltage is coupled to transmit

path 280 via amplifiers 408 and 417. Differential tip- ring amplifier 407 is also coupled to differential d.c. feedback amplifier 409. Differential a.c. feedback amplifier 408 establishes the a.c. input impedance of the interface which is directly proportional to the impedance between the output of amplifier 407 and the input of amplifier 408.

Differential d.c. feedback amplifier 409 provides one of three gains depending on the value of the output voltage from differential tip-ring amplifier 407. This variation in gain alters the gain of current limiter 411 and, therefore, the magnitude of the control signals on leads 451 and 452 to provide a non-linear battery feed profile. The input of differential d.c. feedback amplifier 409 is also coupled to battery polarity control circuit 415 and current source 405. Current source 405 is less than battery voltage to ensure that bidirectional current sources 420 and 421 remain properly biased. That is, they do not saturate when an open circuit condition is presented across the tip and ring leads, and no feed current is generated.

Battery polarity control circuit 415 is controlled by the feed shutdown (FS) control signal and the reverse battery (RB) control signal on respective leads 263 and 264 from the microcontroller. When the RB and FS control signals are inactive, battery polarity control circuit couples current source 405 to differential d.c. feedback amplifier 409. This causes a "normal battery" condition with the tip lead grounded and a negative voltage such a -48VDC on the ring lead. When the RB control signal is active, current source 406 is coupled to the differential d.c. feedback amplifier 409 causing a " reverse battery" condition on the tip and ring leads. Current source 406 is identical to current source 405 except for a reversal of polarity. Current source 406 reverses the polarity of the control signals on leads 4 ' 51

and 452 to the high-voltage inte rface circuit 402. As a result, the "normal battery" current flow is reversed. The " reverse battery" current is equal and opposite to the "normal battery" current . The " reverse batte ry" condition is needed for signaling when TIP and RING leads 251 and 252 are connected to a PBX instead of a customer station set such as 117. In some PBX line applications, feed current is not required. In such cases, an active FS control signal causes battery polarity control circuit 415 to provide an open circuit termination to diffe rential d. c. feedback amplif ie r 409 resulting in a feed shutdown prof ile . The feed shutdown prof ile controls the removal of -48V battery from the tip and ring leads causing the trunk interface unit to appear as a low-impedance termination with the tip and ring leads at one-half the " talking battery potential (approximately -24VDC) . The RB contro l signal f rom the microcontrolle r is then inh ibited f rom controlling battery polarity, but as mentioned still controls the direction that loop closure detecto r 413 detects current .

The loop closure (LC) control signal on lead 253 is a two-level logic signal that is sent to the microcontroller . A change in the level of the LC control signal is generated by a predete rmined change in the magnitude of the voltage . This predete rmined change , typically 3 volts, is indicative of dial pulsing and/o r an "off-hook" condition on PBX loop 106 . Detecto r 413 comprises a comparator that gene rates an "off-hook" logic level signal when the output of diffe rential d. c . feedback amplif ie r 409 exceeds a f ixed threshold. When the FS control signal is active , loop closure detecto r 413 detects when current flows in the "zero batte ry" resistive termination condition such as 300 ohms. The direction in which current is detected depends on the level of the RB control signal .

The ground start (GS ) control signal in lead 265 is also a two-level logic signal from microcontroller 204. Active GS control signal causes the trunk inte rface unit 205 to enter a ground start mode . This mode is used for ground start signaling. The GS control signal disables the common-mode feedback circuit which causes -48VDC to be applied to the ring lead. In this mode, the microcontroller normally causes tip "break" contacts 212 to open. Thus, the PBX can ground the ring lead to seize the PBX line . Loop closure detector 413 functions as a ground detector in this mode . When the microcontroller 204 causes tip "break" contacts 212 to close in response to the PBX grounding the ring lead, the tip lead is grounded causing the PBX to close the tip-ring loop. Depicted in FIG. 5 is a block diagram of detector-sampler 209. The detector-sampler interfaces the message and control signals exchanged between the channel unit and common equipment . Detector-sampler 209 comprises transmit circuit 501 and receive circuit 511. Under the control of common equipment 108, transmit circuit 501 samples the band-limited analog control and message signals received f rom bandpass filter 222. The pulse amplitude modulated (PAM) samples are then sent on transmit PAM signal bus 240 to the common equipment during transmit time slots designated for the channel unit . In addition, transmit circuit 501 periodically stores the "on-hook" and "off-hook" logic levels of the control signal on lead 261 f rom the microcontroller and then sends the sto red logic level control signal on transmit signal bus 241 to the common equipment during signaling bit time slots also designated for the channel unit. Common equipment 108 encodes and multiplexes the message and control signals from all the channel units and then transmits the multiplexed pulse code modulated (PCM) signals on digital carrier facility 105 to toll office 101.

During receive time slots designated for the channel unit, receive circuit 502 receives PAM message and analog control signal samples on receive PAM signal bus 254 f rom the common equipment and passes these samples to 5 low-pass filter 225. In response to well-known "A" and "B " signaling bits on receive signal bus 255 from the common equipment during designated time slots, the receive circuit sto res the signaling bit and then sends a

<• corresponding "on-hook" or "off-hook" level control signal

10 on conductor 262 to the microcontroller.

Transmit circuit 501 comprises transmit signaling logic 502, transmit driver enable circuit 503, junction field-effect transistor (JFET) driver 504, JFET 505, and limiter 506 interconnected as shown to

15 microcontroller 204, bandpass filter 222, transmit PAM " signal bus 240, and transmit control signal bus 241. Common equipment 108 controls the transmit circuit via enable, address, and timing leads 551. Similarly, receive circuit 511 comprises receive signaling logic 512, receive

20 driver enable 513, JFET driver 514, and JFET 515 interconnected as shown to microcontroller 204, low pass filter 225, receive PAM signal bus 254, and receive control signal bus 255. The common equipment also controls the receive circuit via disable, address and

25 timing leads 552.

The detector -sampler is disclosed in an article by J. H . Green et al . , entitled "A Channel Unit S ignal Controller for Shared Codec D-Type Channel Banks-", in the IEEE Journal of Solid-State Circuits. Vol .- SC-16, No . 4,

30 August 1981 , and in an article by R. M. Goldstein, entitled "Custom-Integrated Circuits for Digital Terminals", in The Bell System Technical Journal. Vol . 61, No . 9, Part 3 , November, 1982. The reader is referred to these and other articles in the same Bell System Technical

35 Journal for a more comprehensive understanding of the construction and operation of the detector -sampler and need not be fully described herein to understand the

OMPI

present invention.

As previously mentioned, microcontroller 204 performs three basic operations; namely, it inte rfaces the different signaling protocols such as wink start and immediate start ope ration of the PBX and toll office lines ; it controls the conversion of different address signals such as dual-tone multif requency to dial pulse, dial pulse to dual-tone multif requency, or dial pulse at one pulse rate to dial pulse at another pulse rate from one line to the other ; and it controls the application of call progress signals such as dial tone, power ringing, and audible ringing tone to the two lines . All of these microcontroller ope rations are controlled by program instructions that are stored in program memory 303 and direct central processing unit 301.

Associated with each toll office and private branch exchange line is a set of signaling characteristics that identif ies the type of supe rvisory, address, and call progress electrical interface signals along with a signal ing protocol that are utilized to originate and advance a call on the line f rom one state to another . The signaling protocol of each line is the set of control signals or the various series of electrical inte rface signals, usually with respect to time , that are exchanged on the line to advance a call the reon f rom one call state to anothe r such as f rom " idle" to " seized" , "talk" to "disconnect" , etc. However, with such a large variety of diffe rent PBX line characteristics, the control signals on the PBX line are typically not useable by the toll office line and vice versa .

In acco rdance with this invention, the channel unit interfaces the different signaling characteristics and, in particular, the different signaling protocols of the PBX and toll off ice lines . By way of example, the signaling characteristics of a two-way digital T-l carrie r channel line between the channel unit and the toll office are commonly identified as four-wire E _. M supe rvisory

OMPI

signaling with dial pulse address signal ing. In addition, the signal ing protocol of the incoming toll off ice line may be characterized as having immediate start ope ration, whereas the signal ing protocol of the outgoing toll off ice line may be characterized as having wink start ope ration. The PBX line between the channel unit and the private branch exchange may be characte rized by any numbe r of different signaling characteristics. By way of example, a two-way, two-wire PBX l ine may have ground start seizure supervisory signaling and loop answer and disconnect supe rvisory signaling with immediate start ope ration in both the incoming and outgoing directions . In addition, address signal ing may be dual-tone multif requency and dial pulse address signaling. As is obvious, it is necessary for the channel unit to inte rf ace the diffe rent signaling characteristics of the PBX and toll off ice lines . Listed in the following TABLE A are the characteristics of th ree types of two-wire private branch exchange lines . Each type of PBX l ine has a different directionality such as one-way outgoing, one-way incoming, and two-way. For each direction, two types of supe rvisory electrical inte rface signals, one type of address electrical interface signals, and a signaling protocol are provided. The illustrative embodiment of the invention implements the listed signaling characte ristics ; howeve r, any numbe r of additional combinations of supe rvisory, address, and call progress electrical interf ace signals and signaling protocols may be implemented.

TABLE A PBX LINE TYPES

ONE-WAY OUTGOING φ Immediate Start Ope ration β» Dual-Tone Multif requency Address S ignaling Φ Ground Start Seizure Supervisory Signaling Φ Loop Answer and Disconnect S upe rviso ry S ignaling

ONE-WAY INCOMING Immediate Start Ope ration

OMPI

Φ Dial Pulse Address S ignaling Φ Loop Start Seiz ure Supe rvisory S ignaling Φ Loop Reverse Battery Answe r and Disconnect S upe rvisory S ignaling TWO-WAY

A. Outgoing φ Immediate Start Operation φ Dial Pulse Address S ignal ing Φ Ground Start Seizure Supervisory S ignaling Φ Loop Answer and Disconnect Supe rvisory

S ignaling

B . Incoming φ Immediate Start Operation φ Power Ringing Call Progress Signaling Φ Ground Start Seizure Supe rvisory S ignaling φ Loop Answer and Disconnect S upe rvisory Signaling Before power is applied to channel unit 109, PBX line identification switches 229 on the channel unit are manually operated to identify the particular type of PBX line . When power is applied, channel unit 109 executes an INITIALIZATION ROUTINE which is depicted in FIG. 7. Under the control of this routine , central processing unit 301 inhibits all inte rrupt signals and in a well-known manner initializes all the circuits of the channel unit to a known state or condition (block 701) . Next, the central processing unit determines the PBX line type f rom the PBX line identification switches 229 (block 702) and enters this information in PBX line type memory location 601 of data memo ry 304 (block 703) . As shown in FIG. 6 , the PBX line type info rmation includes the directional ity of the PBX line ; the type of electrical inte rface signals used fo r seizure supe rvisory signaling, answer and disconnect supervisory signaling, and address signaling; and the signaling protocol of the PBX line . Depending on the directionality of the PBX line (block 704) , control of the microcontroller is transferred to one of three routines : PBX ONE-WAY OUTGOING IDLE STATE ROUTINE (block 705) , PBX

ONE-WAY INCOMING IDLE STATE ROUTINE (block 706) , or PBX TWO-WAY IDLE STATE ROUTINE (block 707) .

S upe rvisory electrical inte rface signals represent the "on-hook" and "off-hook" conditions of the line . A seiz ure control signal comprising a particular patte rn or se ries of line seizure supervisory electrical interf ace signals, such as well-known loop start or ground start signals, is use d to indicate when a calling station originates a call on the PBX line . Answer and disconnect control signals comprising diffe rent patte rns or se ries of answe.r and disconnect supe rvisory electrical inte rface signals, such as well-known loop and loop reverse -bat ery, are used to indicate when the called party answe rs the call and when either the calling or called party "hangs up" the receiver, thereby disconnecting the call .

Address control signals are typically eithe r well-known dial pulse or dual-tone multif requency electrical inte rface signals that represent address digits . Like supe rvisory signals, dial pulse address electrical inte rf ace signals represent the "on-hook" and "off-hook" or, more particularly, the "open" and "closed" loop conditions of the line ; however, dial pulse address signals usually have shorte r "on-hoo k" and "off-hook" pulse durations . A particular series of dial pulse signals represents the address digit .

As previously mentioned, the signaling protocol of the PBX l ine is the set of control signals or the various series of elect rical inte rf ace signals that are exchanged on a line to cause the call thereon to advance f rom one call state to anothe r . Some call state transitions may require the exchange of only one control signal ; whereas other call state transitions may require a numbe r of control signals to be exchanged back and forth between the PBX and the channel unit . Fo r example, with a one-way incoming PBX line with well-known immediate start ope ration, the PBX l ine need only be seized before address digits are sent to the PBX. With well-known wink start

ope ration, a " seized" PBX line will return a wink signal before the channel unit sends any address digits . When a one-way outgoing toll office line with wink start ope ration is connected by the channel unit to a PBX line with immediate start ope ration, the signaling protocols of the two lines are incompatible. That is, the toll office line will not send an address digit to the PBX until a wink signal is returned. In acco rdance with one feature of this invention, the "seized" channel unit interfaces the different signaling protocols by, for example, generating and returning a wink signal to the toll office . The signaling protocol of a line not only includes supervisory control signals, but address and call progress control signals as well. The operation of an illustrative channel unit for interconnecting a two-wire, one-way outgoing PBX line with ground start seizure supervisory signaling, loop answer and disconnect supervisory signaling, and dual-tone multif requency address signaling and a four-wire, one-way incoming toll office line with E and M supervisory and address signaling may be better understood with reference to the timing diagram of FIG. 8 and the flow diagrams of FIG. 9 through 14.

Depicted in the timing diagram of FIG. 8 is a graphical representation of idealized PBX to channel unit d. c. control signal 801, channel unit to toll office control signal 802, toll office to channel unit control signal 803 , and PBX to channel unit a. c. control signai 804 that are all plotted with respect to time . Idealized PBX to channel unit d. c. control signal 801 has two logic levels and is sent on loop closure lead 253 f rom trunk interface unit 205 to microcontroller 204 and digital selector 208. As previously described, the trunk interface unit converts the different d. c. supe rvisory and address electrical interface signals from the PBX to the two logic levels of PBX control signal 801 that represent the "on-hook" and "off-hook" conditions of the PBX line .

Idealized channel unit to toll office and toll office to channel unit control signals 802 and 803 also have two logic levels that are exchanged on respective leads 261 and 262 between the microcontroller and detector -sampler 209 and that represent the "on-hook" and "off-hook" conditions of the toll office line. The "on-hook" and "off-hook" logic levels of channel unit to toll office control signal 802 are converted to d.c. supervisory and address electrical interface signals by detector-sampler 209 for transmission to the toll office. Similarly, the d.c. supervisory and address electrical interface signals from the toll office line are converted by detector- sampler 209 to the "on-hook" and "off-hook" logic levels of toll office to channel unit control signal 803. PBX to channel unit a.c. control signal 804 on trunk interface unit receive path 281 has "tone-off" and "tone-on" levels that represent the absence and presence of dual -tone multif requency address signals to the PBX, respectively. Each dual-tone multif requency address signal represents a particular address digit ranging in value, for example, from zero to nine. As shown, various segments of control signals 801 through 804 indicate the state of a call at any given time on the PBX and toll office lines, such as "idle", "seized", "addressing", "talk", and "disconnect". For ease of understanding, the call state of the line and the call thereon may be used interchangeably, although it is to be understood that it is the different electrical interface signals and signaling protocol of each line that are used to advance the call on the line from one state to another. For example, at time Tl, control signals 801-803 are all at a logic level representative of the "on-hook" condition of the PBX and toll office lines, and control signal 804 is at a level representative of the absence of DTMF tone from the PBX. Thus, the call on both lines is in a well-known "idle" state. When the lines are in the "idle" call state, channel unit 109 is under the control of an "idle" state routine.

The PBX ONE-WAY OUTGOING IDLE STATE ROUTINE is depicted in FIG. 9. Unde r the control of this routine, the channel unit repeatedly determines the "on-hook/off-hook" condition of the PBX line (block 901) . In the " idle" call state, tip "break" contacts 212 are open, and trunk interface unit applies -48VDC battery to the ring lead. The PBX seizes the line by grounding the ring lead. Current flows in the ring lead, and the trunk interface unit sends an "off-hook" logic level control signal to the microcontroller . This is indicated in FIG. 8 at time T2 by PBX control signal 801 changing f rom an "on-hook" to an "off-hook" logic level representative of the "off-hook" condition of the PBX l ine . This "off -hook" condition usually indicates the origination of an outgoing call on the line f rom the PBX. To assure that this is the case, the microcontroller resets software hit timer 602 to perfo rm well-known hit timing on "off-hook" control signal 801. When the PBX control signal remains at the "off- hook" logic level for a predete rmined interval such as 30 milliseconds, a valid seizure is conf irmed at time T3 (block 902) . The call on the PBX line and the channel unit assumes the " seized" state, and control of the microcontroller is then transferred to the PBX ONE-WAY OUTGOING SEIZED STATE ROUTINE which is depicted in FIG. 11 (block 903) .

Unde r the control of the PBX ONE-WAY OUTGOING SEIZED STATE ROUTINE , microcontrolle r 204 first causes relay 231 to close tip "break" contacts 212 (block 1101) . The PBX removes the ground on the ring lead and inte rconnects the tip and ring leads to form a closed loop. With the trunk interface unit applying "normal battery" to the closed loop, cur rent continues to flow, and PBX control signal 801 remains at the "off-hook" logic level . Next, analog switch 219 closes to send dial tone from generator 203 to the tip and ring leads via receive path 281 and trunk interface unit 205 (block 1102) . DTMF/DP receive r 201 is then connected to the PBX l ine via

transmit path 280 and analog switch 207 to receive DTMF address signals and al so connected to the PBX l ine via loop closure lead 253 to receive DP address signals (block 1103) . And lastly, microcontroller 204 sends an "off- 5 hook" logic level signal to the toll office such as channel unit to toll off ice control signal 802 at time T4 (block 1104) and starts software permanent signal time r

603 for a permanent signal timing interval such as 12-15 ι» seconds (block 1105) . When "off-hook" logic level control

10 signal 802 is sent to toll office at time T4, the on the toll office line assumes the "seized" state.

During the permanent signal timing interval, microcontroller 204 compares input and output address digit buffer pointers 604 and 605 to determine if an

15 address digit has been stored in address digit buffer 606 (block 1106) . When an address digit has not been stored, microcontroller 204 repeatedly examines permanent signal timer 603 (block 1107) and compares the input and output address digit buffer pointers until either the timing

20 interval elapses or an address digit is stored in the buffer. When the permanent signal timing interval has elapsed, control is transferred to the PBX ONE-WAY OUTGOING DISCONNECT STATE ROUTINE which causes the toll office to abandon the call (block 1109) .

25 When a valid DTMF digit is received from the PBX such as between times T5 and T6 of PBX a.c. control signal 804, DTMF/DP receiver 201 sends the microcontroller an interrupt signal on input control lead 256 and a hexadecimal representation of the received address " digit

30 on input bus 257. After the receipt of a valid address digit, the call on the PBX line and channel unit assumes the "addressing" state. A valid DTMF address signal such as PBX a.c. control 804 between times T5 and T6 typically comprises a burst of DTMF tone lasting, for example, 65

35 milliseconds followed by an interval of silence lasting, for example, 55 milliseconds.

&?NAT1

Likewise, when the PBX line utilizes DP address signaling instead of DTMF address signal ing, DTMF/DP receiver 201 may also receive a valid DP address signal such as PBX d. c. control signal 801 between times T5 and T6 f rom the PBX. However, the "on-hook" and "off-hook" logic level inte rvals, such as 60 and 40 milliseconds, may differ f rom the "tone-on" and "tone-off " inte rvals of the DTMF a. c. address signal .

In response to the interrupt signal, the microcontroller suspends execution of the present program and calls the ADDRESS DIGIT INTERRUPT ROUTINE which is depicted in FIG. 10. Under -the control of this routine, microcontroller 204 enters the received address digit into address digit buffer 606 of data memory 304 (block 1001) . Upon completion of the interrupt routine, control is returned to the interrupted program (block 1002) . This interrupt routine is called each time DTMF/DP receive r 201 receives another valid DTMF address digit such as PBX a. c. control signal 804 between times T9 and T10. Returning to the PBX ONE-WAY OUTOING SEIZED

STATE ROUTINE depicted in FIG . 11, it can be seen that when the first address digit is sto red in address digit buffe r 606, control is transferred to the PBX ONE-WAY OUTGOING ADDRESS ING STATE ROUTINE (block 1108) . The PBX ONE-WAY OUTOING ADDRESSING STATE ROUTINE of FIG. 12 controls the transmission of stored address digits to the toll office until either the toll office returns an answer signal or the PBX sends a disconnect signal . Unde r the control of this routine , microcontrolle r 204 sends the f irst address digit sto red in buffer 606 to the toll off ice using software toll DP timer 608 (block 1201) . The transmission of the first address digit is illustrated by channel unit signal 802 between times T7 and T8. Using toll interdigit timer 609, the controller continues to send any other stored digits such as signal 802 between times Til and T12 until the address digit buffe r is empty (blocks 1201-1203) . When

OMP

the toll office line 118 receives the first address digit such as control signal 802 at time T8, the call on the toll office line assumes the "addressing" state. The microcontroller compares input and output address digit buffer pointers 604 and 605 to determine if any digits are in the buffer. When the buffer is empty, the microcontroller scans for a disconnect signal from the PBX (block 1204) and an answer signal from the toll office (block 1205) until the toll office returns an answer signal (block 1206) or the PBX sends a valid disconnect signal (block 1208) .

When the toll office returns an answer signal such as "off-hook" control signal 803 at time T13, control of the microcontroller is transferred to the PBX ONE-WAY OUTGOING TALK STATE ROUTINE which is depicted in FIG. 13 * (block 1209) .

When a valid disconnect signal is received from the PBX, control is transferred to the PBX ONE-WAY OUTOING DISCONNECT ROUTINE to abandon the call (block 1210) . Normally, the toll office returns an answer signal such as toll office control signal 803 at time T13, and the call on the PBX and toll office lines as well as the channel unit assumes the well-known "talk" state. Under control of the PBX ONE-WAY OUTOING TALK STATE ROUTINE of FIG. 13, microcontroller 204 disconnects

DTMF/DP receiver 201 from the PBX line (block 1301) and scans for a disconnect signal from the PBX until a valid disconnect signal has been confirmed (blocks 1302-1303) . For example, when PBX control signal 801 assumes "on-hook" logic level at time T14, microcontroller 204 resets software disconnect timer 611. After a predetermined interval such as 160 milliseconds at T15, "on-hook" logic level control signal 801 is considered a valid disconnect signal from the PBX. When a valid disconnect signal is received (block 1303), the call on the PBX line and the channel unit assume the "disconnect" state, and control is transferred to the PBX OUTGOING DISCONNECT STATE

ROUTINE (block 1304) .

The PBX OUTGOING DISCONNECT STATE ROUTINE is depicted in FIG. 14. Under the control of this routine, the channel unit sends a disconnect signal to the toll office such as "on-hook" logic level channel unit control signal 802 at time T16 (block 1401) . A short time later, toll off ice 101 returns a disconnect signal, such as "on- hook" logic level toll off ice control signal 803 at time T18, indicating that the call on the toll office line has assumed the "disconnect" state (block 1402) .

Microcontroller 204 resets software guard timer 607 for a predetermined guard timing interval in which the channel unit ignores any toll office and PBX control signal level changes (block 1403 ) . During this interval, microcontroller 204 causes tip relay 231 to open tip

"break" contacts 212 and also causes trunk inte rface unit to apply -48VDC battery to the ring lead by activating the ground start control signal . At the end of the guard timing interval at time T18 (block 1404) , the call on the two lines and channel unit again assume the "idle" state, and control is transferred to the PBX ONE-WAY OUTGOING IDLE STATE ROUTINE (block 1405) .

The second type of PBX line with respect to directionality is the one-way incoming l ine . As previously described, the unpowered channel unit is designated for a particular type of PBX l ine by selectively setting the PBX l ine identification switches on the channel unit . When powe r is applied to the channel unit, the PBX l ine type is entered in the data memory of the channel unit . When the directionality of the PBX l ine is one-way incoming, control is transferred to the PBX ONE-WAY INCOMING IDLE STATE ROUTINE .

The ope ration of the channel unit for nte rconnecting a two-wire, one-way incoming PBX l ine with ioop start seizure supervisory signaling, loop reverse battery answer and disconnect supe rvisory signaling, DP address signaling, an immediate start signaling protocol .

OMPI

and a four-wire, one-way outgoing toll office line with E & M supervisory and address signaling and a wink start signaling protocol may be better understood with reference to the timing diagram of FIG. 15 and the flow diagrams of FIGS. 16 through 22.

Depicted in the timing diagram of FIG. 15 is a graphical representation of idealized toll office to channel unit control signal 1501, channel unit to PBX control signal 1502, channel unit to toll office control signal 1503, and PBX to channel unit control signal 1504 that are all plotted with respect to time. Toll office to channel unit control signal 1501 on lead 262 and channel unit to toll office control signal 1503 on lead 261 indicate the state of the call on receive control signal bus 254 from and transmit control signal bus 240 to the " toll office, respectively. Changes in these signals for predetermined periods of time cause transitions from one call state to another as shown in the diagram. The "on- hook" and "off-hook" logic levels of control signals 1501 and 1503 represent the "on-hook" and "off-hook" conditions of receive PAM signal bus 254 from and transmit PAM signal bus 240 to the toll office. Channel unit to PBX control signal 1502 on lead 260 and PBX to channel unit control 1504 on loop closure lead 253 indicate the state of the call on PBX line 106. Changes in PBX control signals 1502 and 1504, for predetermined periods of time, cause transitions from one call state to another similar to toll office control sig ' nals 1501 and 1503. Again, the "on- hook" and "off-hook" logic levels of the PBX control signal 1502 and 1504 represent the "on-hook" and "off- hook" condition of the PBX line from and to the PBX. The call states between the time segments shown on the bottom of the diagram indicate the call state of the channel " unit. The channel unit assumes the most advanced state of the call on either one of the toll office and PBX lines and then advances the state of the call on the other line to that state.

OMPI

By way of example, control signals 1501-1504 at time Tl are all at an "on-hook" logic level representative of the "on-hook" condition of the PBX and toll office lines . S ince the call on the PBX and toll office lines as well as the channel unit are in an "idle" state, channel unit 109 is under the control of the PBX ONE-WAY INCOMING IDLE STATE ROUTINE .

The ONE-WAY INCOMING IDLE STATE ROUTINE is depicted in FIG. 16. Under the control of this routine, the channel unit repeatedly scans the toll office line for a change from an "on-hook" to an "off-hook" condition (block 1601) . This is indicated in FIG. 15 at time T2 by toll office control signal 1501 changing f rom an "on-hook" to an "off-hook" logic level representative of the "off- hook" condition of the line . As previously described, hit timing is performed to assure that the "off-hook" condition indicates a valid seizure of the line . When hit timing is completed at time T3 , a valid seizure is conf irmed (block 1602) , the channel unit and the call on the line from the toll off ice assume the " seized" state (block 1603 ) .

The PBX ONE-WAY INCOMING SEIZED STATE ROUTINE is depicted in FIG . 17. Under the control of this routine, the channel unit f irst seizes the PBX line (block 1901) . When the one-way incoming PBX l ine is in an "on-hook" condition and the call thereon is in an "idle" state, the PBX applies normal battery to the open line, i .e . , ground on the lead and -48VDC on the lead. Tip and ring "break" contacts 212 and 213 are open. By activating feed shutdown (FS ) lead 264, microcontroller 204 causes trunk interface unit 205 to present a termination impedance such as 300 ohms across tip and ring terminals 233 and 234. The microcontroller seizes the PBX l ine by sending a control signal such as 1502 at time T4 on leads 260 and 282 that cause relays 231 and 232 to close tip and ring "break" contacts 212 and 213 (block 1701) . Normally, the PBX line should now be a closed loop with current flowing

OMPi

therein. When current flows in the closed PBX loop, trunk interface unit 205 so indicates to the microcontroller by activating loop closure lead 253. The call on the PBX line is now in the "seized" state. The microcontroller performs a continuity check of the PBX line by examining the level of the signal on loop closure lead 253 (block 1702) . When an open circuit condition is detected ("on-hook" logic level), control is transferred to the FAILURE ROUTINE (block 1703). As a result, an expected wink supervisory signal is not sent to the toll office. Accordingly, this causes the toll office to abandon the call after some predetermined time interval.

The FAILURE STATE ROUTINE is depicted in FIG. 22. Under the control of this routine, microcontroller activates lead 284 to cause fault indicator 235 to light (block 2201) . Next, the channel unit repeatedly scans the line from the toll office for a valid disconnect signal such as control signal 1501 between times T17 and T18 (block 2202 and 2203) . When a valid disconnect signal from the toll office is confirmed, control is transferred to the TOLL OFFICE DISCONNECT STATE ROUTINE.

When continuity to the PBX is established ("off-hook" logic level), the channel unit sends the start of the wink supervisory signal to the toll office such as channel unit control signal 1503 at time T5 (block 1704) and starts wink duration timer 610 (block 1705) . The channel unit then repeatedly determines the "on-hook/of f- hook" condition of the line from the toll office (block 1801) until either a valid disconnect signal from the toll office is confirmed (block 1802) or wink duration timer 610 times out (block 1803) . When a valid disconnect signal from the control toll office is confirmed before the wink duration interval elapses, control is transferred to the TOLL OFFICE DISCONNECT STATE ROUTINE (block 2009) . When the wink duration interval has elapsed, the channel

unit sends the end of the wink supervisory signal to the toll off ice such as channel unit control signal 1503 at time T6 (block 1805 ) . The channel unit and the call on the toll office line assume the "addressing" state, and control is transferred to the PBX ONE-WAY INCOMING ADDRESSING STATE ROUTINE (block 1806) . Since the signal ing protocols of the two lines are diffe rent, it should be kept in mind that the channel unit gene rated the wink supervisory signal and not the PBX line . Unde r the control of the PBX ONE-WAY INCOMING

ADDRESS ING STATE ROUTINE of FIG. 19, the channel unit collects dial pulse address signals f rom the toll office and sends either dial pulse or dual-tone multif requency address signals to the PBX until either an answer signal is returned f rom the PBX or the toll office sends a disconnect signal . First, the microcontroller connects DTMF/DP receiver 201 to the toll off ice line (block 1901 ) . Next, the channel unit scans for an answer signal f rom the PBX (block 1902) o r a disconnect signal f rom the toll office (block 1903 ) until an address digit is stored in the address digit buffer (block 1904) . When an address digit is received f rom the toll off ice such as toll office control signal 1501 between times T7 and T8 , the DTMF/DP receiver sends an interrupt signal to the microcontroller . The ADDRESS DIGIT INTERRUPT ROUTINE is then called to load the address digit buffer with the incoming digit. Depending on the address signaling type of the PBX line, the channel unit sends eithe r dial pulse or DTMF address digits to the PBX (block 1905) . When the PBX l ine requires DTMF address signals, the microcontroller sends a hexadecimal representation of the address digit to DTMF transmitter 201 which sends the address digit to the PBX as a dual-tone multif requency signal (block 1907) . When the PBX line requires dial pulse address signals, the microcontrolle r causes relays 231 and 232 to send the address digit such as control signal 1502 between time T9 and T10 to the PBX by opening and closing "break" contacts

OMPI

212 and 213. Upon receipt of the first valid address digit at time T10, the call on the PBX line assumes the "addressing" state . This procedure is repeated each time an address digit is received f rom the toll off ice as depicted by control signals 1501 and 1502 between times Til and T14. The channel unit will continue to send address digits until an answe r signal is received f rom the PBX or a valid disconnect signal from the toll office is conf irmed. When an answer signal such as control signal 1504 at time T15 is received f rom the PBX (block 1908) , the channel unit and the call on the PBX l ine assume the "talk" state , and control is transferred to the PBX ONE¬ WAY INCOMING TALK STATE ROUTINE (block 1909) . When a valid disconnect signal f rom the toll office is conf irmed (block 1910 ) , control is transferred to the TOLL OFFICE DISCONNECT ROUTINE (block 1911) .

The PBX ONE-WAY INCOMING TALK STATE ROUTINE is depicted in FIG. 20. Under the control of th is routine , the channel unit sends a PBX answer signal to the toll office (block 2001) . The answer signal f rom the PBX is indicated by a battery reversal on the tip and ring leads of the PBX l ine . First , the microcontroller activates the reverse battery (RB ) control signal on lead 263 which causes the polarity of the trunk inte rf ace unit loop closure detector to be reversed. When the PBX reverses the battery on the tip and ring leads, trunk interface unit 205 activates the loop closure signal such as control signal 1504 at time T15 on lead 253 to the microcontroller . In response , microcontroller 204 sends an "off-hook" logic level signal such as control signal 1503 at time T16 to the toll off ice, and the call on the toll off ice line assumes the "talk" state . Next, the microcontroller disconnects the dial pulse receiver from the toll office (block 2002) . The channel unit then scans the PBX line for any supe rvisory signal changes (block 2003 ) and scans the toll office line for a disconnect signal ( block 2004) . As long as the channel unit detects

the "off-hook" supervisory signal from the PBX line during the "talk" call state (block 2005), the microcontroller continues to send the "off-hook" supervisory signal to the toll office (block 2006). However, when an "on-hook" supervisory signal from the PBX is detected, the microcontroller converts and sends this "on-hook" supervisory signal to the toll office (block 2007) . When a disconnect signal such as control signal 1501 at time T17 is received from the toll office, microcontroller 204 resets software disconnect timer 611. After a predetermined interval such as 160 milliseconds at time T18, the "on-hook" control signal is considered a valid disconnect signal from the toll office (block 2008), and the channel unit and the call on the toll office line assume the "disconnect" state. Control is transferred to the TOLL OFFICE DISCONNECT STATE ROUTINE (block 2009) .

Under the control of the TOLL OFFICE DISCONNECT STATE ROUTINE of. FIG. 21, the channel unit sends a disconnect signal to the PBX such as "on-hook" control signal 1502 at time T19 (block 2101) . This is accomplished by opening tip and ring lead "break" contacts 212 and 213. When the contacts are opened, such as control signal 1504 at time T20, PBX control signal 1504 assumes the "forward battery" logic level, and the call on the PBX line assumes the "disconnect" state. The microcontroller sends a disconnect signal such as "on- hook" control signal 1503 at time T21 to the toll office (block 2102) and resets guard timer 607 for a predetermined guard timing interval in which the channel unit ignores any toll office and PBX control signal level changes (block 2103) . At the end of the guard timing interval at time T22 (block 2104), the call on the two lines as well as the channel unit again assume the "idle" state, and control is transferred to the PBX ONE-WAY INCOMING IDLE STATE ROUTINE (block 2105) .

The third type of PBX line with respect to directionality is the two-way line. Either the toll office or the PBX may originate calls on a two-way line. For direct outward dialed calls on a two-way PBX line, the channel unit may implement the same state routines utilized for a call on the one-way outgoing PBX line as -depicted in FIGS. 8 through 14. For attendant-assisted incoming calls on a two-way PBX line with either immediate start or wink start operation, the call does not assume an "addressing" state. Instead, the channel unit utilizes an "alerting" call state routine to send audible ringing to the toll office and in the immediate start case, power ringing to the PBX.

When power is applied to a channel unit designated for a two-way PBX line, the PBX line type is entered into the data memory of the channel unit, and control of the channel unit is transferred to the PBX TWO-WAY IDLE STATE ROUTINE as shown in FIG. 7. As previously described, channel unit identification switches 229 are selectively positioned to designate the channel unit for two-way operation.

The operation of the channel unit for interconnecting a two-wire, two-way PBX and four-wire, two-way toll office line may be better understood with reference to the timing diagram of FIG. 25 and the flow diagrams of FIG. 26 through 29. Furthermore, the two-way toll office line uses E and M supervisory and address signaling with immediate start operation when calls are originated from the toll office and wink start operation when calls are originated from the toll office. The two- way PBX line utilizes ground start seizure supervisory signaling and loop answer and disconnect supervisory signaling for calls in both directions, dial pulse address signaling for calls originated from the PBX, and immediate start operation for calls in both directions. It is to be kept in mind that. the one-way PBX line description was with reference to loop start seizure supervisory signaling

and loop reverse battery answe r and disconnect supe rvisory signaling rather than ground start seiz ure supe rvisory signaling and loop answer and disconnect supe rvisory signaling. However, this difference is not important for the reader to understand the present invention. For direct outward dialed calls originated f rom the PBX, the reader is again referenced to the description on the one¬ way outgoing PBX line associated with FIGS . 8 through 14. Depicted in the timing diagram of FIG. 25 is a graphical representation of idealized control signals 2501 through 2506 , plotted with respect to time, for an incoming call to the PBX on an attendant-assisted two-way PBX line . Toll office to channel unit d. c. control signal 2501 on detector-sampler lead 262, channel unit to PBX d. c. control signal 2502 on relay control lead 260 , PBX to channel unit d. c. control signal 2503 on loop closure lead 253 , and channel unit to toll office d. c. control signal 2504 on detector-sampler lead 261 represent the "on-hook" and "off-hook" conditions of the lines to and f rom the PBX and toll off ice at various times. Channel unit to toll office a. c. control signal 2505 and channel unit to PBX a. c. control signal 2506 represent call progress control signals such as audible ringing and power ringing that are sent to the toll office and PBX at particular times . In addition, the d. c. component of channel unit to PBX control signal 2506 is used during the "alerting" slate of the call to advance the call to anothe r call state .

By way of example, d. c. control signals 2501- 2504 at time Tl are all at an "on-hook" logic level representative of the "on-hook" condition of the PBX and toll off ice lines . In addition, control signals 2505 and 2506 have a zero level d. c. component and no a. c. component . Tip "break" contact 212 is open, and ring " ?break" contact 213 is closed with "normal batte ry" such as -48VDC applied to the ring terminal and lead. Ground start (GS ) control signal on lead 265 is activated causing trunk interface unit 205 to place a current detector

between "normal battery" (-48VDC) and ring terminal 234. Since the call on the PBX and toll office lines as well as the channel unit are in an "idle" state, channel unit 109 is under the control of the PBX TWO-WAY IDLE STATE ROUTINE.

Under the control of the PBX TWO-WAY IDLE STATE ROUTINE of FIG. 26, microcontroller 204 repeatedly scans the PBX and the toll office lines for an "off-hook" condition (blocks 2601 and 2602) . When an "off-hook" condition of the PBX line has been confirmed as a valid seizure from, the PBX (block 2603), control of the channel unit is transferred to the PBX ONE-WAY OUTGOING SEIZED STATE ROUTINE (block 2604) . The call is then completed in the same manner as with the one-way outgoing PBX line using dial pulse or dual-tone multif requency address signaling, which was previously described.

The "off-hook" condition of the line from the toll office is indicated in FIG. 25 at time T2 by toll office control signal 2501 changing from an "on-hook" to an "off-hook" logic level. Hit timing is then performed to assure that the "off-hook" condition indicates a valid seizure of the line or, moreover, that a call has been originated on the line from the toll office. When hit timing is completed at time T3, a valid seizure is confirmed (block 2605), and the channel unit and the call on the toll office assume the "seized" state. Control is then transferred to the PBX TWO-WAY INCOMING SEIZED STATE ROUTINE depicted in FIG. 27 (block 2606) . Under the control of this routine, microcontroller 204 examines the PBX line for a valid seizure which would indicate a well- known glare condition (block 2701) . When a glare condition exists, control is transferred to the PBX OUTGOING ROUTINE (block 2702), and the call is treated as an outgoing call from the PBX. In the absence of a valid PBX seizure, the microcontroller seizes the PBX line by connecting ring-trip detector 226 to the tip and ring leads of the PBX line through the "make" contacts of tip

O-ylPI

WIIPPOO *

and ring "t ransfer" contacts 227 and 228 (block 2703) . Microcontroller 204 causes relay 230 to close the "make " transfer contacts by activating lead 270. The ring-trip detector appl ies to the tip and ring leads a common 20- hertz power ringing signal, such as a. c. control signal 2506 at time T4, that seizes the PBX l ine . Next, microcontroller 204 gene rates a wink supe rvisory signal such as control signal 2504 between times T5 and T6 for transmission to the toll office (block 2704) . This wink supe rvisory signal is gene rated and sent to the toll switch off ice even though a wink supervisory signal is not received from the PBX. After the wink supe rvisory signal has been sent to the toll off ice such as at time T6 , the channel unit and the call on the toll office and PBX lines assume the "alerting" state, and control is transferred to the PBX TWO-WAY INCOMING ALERTING STATE ROUTINE of FIG. 28 (block 2705) .

Under the control of the PBX TWO-WAY INCOMING ALERTING STATE ROUTINE , microcont oller causes an inte rrupted audible ringing signal such as a. c. control signal 2505 at time T7, to be sent to the toll off ice by connecting audible ringing gene rator 203 to detector- sampler 209 through analog switch 220 and summing circuit 221 (block 2801) . The call on the PBX and toll office lines remain in the "alerting" state until either the PBX returns an answer signal (block 2802 ) o r the toll off ice sends a disconnect signal to abandon the call ( block 2803 ) . When a valid disconnect signal f rom the toll office is conf irmed (block 2804) , control is transferred to the TOLL OFFICE DIS CONNECT STATE ROUTINE which is depicted in FIG. 21 (block 2805) .

Microcontroller 204 scans fo r an answer signal f rom the PBX by examining the level of the signal on lead 273 f rom the ring-trip detector (block 2803 ) . The PBX sends an answer signal to the channel unit by terminating the tip and ring leads with a low impedance . The magnitude of the power ringing signal will reach a

- rø

OMPI

threshold level such as a. c. control signal 2506 at time T8. When this occurs, ring-trip detector 226 activates lead 273 to the microcontroller which causes relay 230 to disconnect the ring-trip detector f rom the tip and ring leads . Relay 230 accompl ishes this by opening and closing respe ctive "make" and "break" tip and ring transfer contacts 227 and 228. As a result, a. c. control signal 2506 at time T9 is disconnected along with the ring-trip detector f rom the tip and ring leads . The microcontrolle r activates the control signal on lead 260, such as control signal 2502 at time T10 which in turn causes tip "break" contact 212 to close . The PBX also interconnects the tip and ring leads, if not already connected, and d. c. current flows in the closed loop. Trunk interface unit 205 activates loop closure lead 253 , and d. c. control signal 2503 assumes an "off-hook" level at time Til . Rece iving an answe r signal such as control signal 2503 at time Til from the PBX, the channel unit and the call on the PBX l ine assume the "talk" state . Audible ringing to the toll off ice is discontinued (block 2807 ) , and control is transfe rred to the PBX TWO-WAY TALK STATE ROUTINE depicted in FIG. 29 (block 2808 ) .

Unde r the control of the PBX TWO-WAY TALK STATE ROUTINE , the channel unit sends an answer signal , such as "off-hook" control signal 2504 at time T12 to the toll office (block 2901) , and the call on the toll off ice line assumes the "talk" state . While the call remains in a "talk" state, the microcontroller repeatedly scans both the PBX and toll office lines for a disconnect signal (blocks 2902 and 2903) . Since only the toll off ice can abandon the call, the microcontroller scans the toll office trunk until a disconnect signal such as "on-hook" control signal 2501 at time T13 is rece ived f rom the toll off ice . Microcontroller 204 simply converts and sends any PBX supervisory signals to the toll off ice (block 2903) . When a val id toll off ice disconnect signal such as control signal 2501 at time T14 is conf irmed ( " block 2904) , the

' =$T_fRl OMP

channel unit and the call on the line from the toll office assumes the "disconnect" state, and control is transferred to the TOLL DISCONNECT STATE ROUTINE (block 2905) of FIG. 21. Under the control of the TOLL DISCONNECT STATE

ROUTINE, microcontroller 204 sends a disconnect signal such as control signal 2502 at time T15 to the PBX by causing tip "break" contact 212 to open (block 2101) . When the closed PBX loop is opened, the call on the PBX line assumes the "disconnect" state, and trunk interface unit 205 sends a disconnect signal such as control signal 2503 at time T16 to the microcontroller. In response, microcontroller 204 sends a disconnect signal such as control signal 2504 at time T17 on the line to the toll office (block 2102), and the call thereon assumes the

"disconnect" state. Guard timing is then started (block 2103), and when completed at time T18 (block 2104), the channel unit and the call on the PBX and toll office lines, once again, assumes the "idle" state. It is to be understood that the above-described channel unit is merely an illustrative embodiment of the principles of this invention and that numerous other arrangements may be devised by those skilled in the art without departing from the spirit and scope of the invention. In particular, one skilled in the art may easily develop a number of other routines to handle the conversion of address supervisory and electrical signaling between any two lines types.

OM__




 
Previous Patent: DATA RETRIEVAL SYSTEM

Next Patent: LOW FREQUENCY SOUND TRANSDUCER