Automated call handling apparatus

Abstract: A computer connected to an ISDN switch via an ISDN digital subscriber line, has shared call appearances with a number of telephone stations connected to the switch and on the basis of shared call appearance associated messages from the switch, controls the forwarding of calls directed to the stations with which it has a shared call appearance. The associated messages are interpreted by the computer, which generates station status information. The computer responds to messages associated with predefined ones of the stations to select an alternate destination for the call and to transmit ISDN messages to the switch to cause the call to be forwarded to the selected alternate destination. Calls may be forwarded depending on call type, called number or other criteria. The computer responds to calls forwarded to it in the event that an associated station is busy and connects a holding party to the principal phone when the principal phone is no longer busy. The computer may be connected simultaneously to several ISDN switches via ISDN subscriber lines to receive shared call appearance associated messages from the several switching systems and forward calls for a telephone station connected to one switch, to a telephone station connected to another switch.

Description: The following U.S. applications, which are assigned to the assignee of the instant application and filed concurrently herewith, have related subject matter: (1) Telephone Agent Call Management System: by W. A. Davidson and D. S. Winter. (2) Telephone Agent Management Information System: by W. A. Davidson and S. Hossain. Field of Invention The invention relates to the performing of telephone call handling functions for a telephone subscriber on an automated basis. More particularly, it relates to the use of a computer connected to an ISDN switch for performing such functions. Background of the Invention Telephone answering machines are devices that perform call handling on an automated basis. Their limitations, however are well-known. For example, standard telephone answering machines require special circuitry for detecting the off-hook condition of the associated station and cannot provide an answering service when the line with which it is associated is busy. Other call coverage arrangements are known by which a telecommunication switching system such as a central office switch or a PBX switching system on a customer premises forwards incoming telephone calls to another number. The calls may be forwarded to an alternate destination, such as a telephone answer desk or voice mail system, when the principal telephone does not answer, is busy, or has activated a feature forwarding all calls. In one prior art system, a personal computer is interposed between a telephone station and a business communication system on a customer's premises. In that arrangement, the computer intercepts all call signaling from the communication system and creates a record of the calls. A problem with the prior art arrangements where functions such as call forwarding are performed by the switching system is that they tend to be expensive for smaller companies which may not have a private system on their premises. A problem with prior art arrangements using a computer interposed between a station and the switch on a per-line basis is that the capabilities of the computer are limited to functions that can be performed by monitoring the signal activity on a single line. Such a computer has limitations similar to a standard telephone answering machine in that it cannot provide call handling services while the line with which it is associated is busy. EP-A-0160472 discloses arrangements wherein a control processor sends a dialed call forwarding request, to a number stored in the processor, to a switch, when the line to which the processor is connected is idle but does not answer. EP-A-0238 256 describes an automated call handling apparatus for use with a telephone switching system. The recording of data defining unanswered calls is suggested. US-A-4277649 describes a method of automatically screening an incoming call, and also of indicating that a call is waiting. According to the present invention there is provided apparatus as defined in claim 1, or a method as defined in claim 14. The problems of prior art systems are overcome and a technical advance is achieved in accordance with the principals of this invention by means of a computer connected to a telecommunications switching system which transmits to the computer associated messages corresponding to call handling information exchanged between the switching system and stations connected thereto. The computer responds to an associated message indicating an incoming call to one of the stations by selecting an alternate destination station and transmitting digital messages to cause the switching system to transfer the incoming call to the selected alternate destination. In one embodiment of the invention, the switching system is adapted for the Integrated Services Digital Network (ISDN) and the computer is connected to the switch via a standard ISDN subscriber line. The computer monitors ISDN messages for a plurality of telephone stations by means of the shared call appearance feature available in ISDN switches and performs call handling functions for a plurality of telephone stations on the basis of information contained in the received messages. Advantageously, the computer can perform these functions independent of the busy or idle state of the station being served and no special equipment such as answer detection circuitry is required since the computer is connected to the switch via an ISDN subscriber line and the data being monitored reflects the information available in the switch. In accordance with one aspect of the invention, the computer forwards incoming calls in accordance with predefined criteria. Calls may be forwarded in accordance with call type or on the basis of the identity of the calling number or other criteria. Advantageously, with this capability, certain calls may be routed to a station where they may be answered by, for example, an associate of the principal or the principal's secretary and other calls may be routed to a voice mail system or the like. Similarly, calls from a particular calling number or from a specified area code may be forwarded to specified stations. In accordance with another aspect of the invention, the computer provides individual call coverage in that a first principal may have calls forwarded to a second station and in the event that there is no answer at the second station then to a third station. A second principal may have calls forwarded to the second station as well and in the event that there is no answer or other conditions exist have the call forwarded to a fourth station. In accordance with yet another aspect of the invention, the computer can screen a call forwarded by the switch when the principal telephone station is busy. In such a case the computer answers an incoming call with a recorded message which may prompt a caller to dial certain indicated digits if the caller wishes to leave a message or if the caller wishes to hold or if a caller wishes to interrupt the principal. The computer can then provide an indication, such as an electronic message to the display screen associated with the principal station, to indicate to the principal the nature of the incoming call answers well as the identity of the caller. In accordance with yet another aspect of the invention, the computer generates a list of unanswered calls on the basis of the received associated messages. In accordance with another aspect of the invention, the computer is connected to several switching systems, and, on the basis of associated messages from the several systems, selects an available alternate station connected to one switching system to receive a call directed to a station connected to another of the switching systems. Brief Description of the Drawing The invention may be better understood from the following detailed description when read in conjunction with the drawing in which: FIG. 1 is a representation of an ISDN switch together with a plurality of ISDN stations and a monitoring computer, connected to the switch via individual subscriber lines; FIG. 2 is a representation of a plurality of ISDN switches together with a plurality of principal and telephone answering stations individually connected to the switches and a computer connected to all of the switches via ISDN lines; FIG. 3 is a block diagram representation of the computer of the arrangements of FIGS. 1 and 2; FIGS. 4 through 8 are flow chart representations of functions performed by the computer and deriving agent station operational data; and FIGS. 9 through 12 are flow chart representations of call handling functions performed by the computer. Detailed Description FIG. 1 is a representation of an illustrative telecommunication system including a representative principal ISDN telephone station 120 connected via a subscriber line 103 to the ISDN central office switch 110. Associated with the principal station is a display terminal 122 connected to the ISDN station set 120, via a well-known RS232 connection. This connection supports data communications with central office switch 110, through the station set 120 and over the ISDN line 103, in a well-known manner. A plurality of such stations may be connected to the switch 110 via other subscriber lines 103. A representative secretarial station 140 is connected to the switch via subscriber line 141 and an associated secretarial display terminal 142 is connected to the central office switch via an RS232 connection in the ISDN station set 140, and ISDN line 141. Other such stations may be connected to switch 110 via other subscriber lines 141. Stations 105, connected to the central office switch 110 via subscriber lines 102, represent other subscribers connected to the switch, and may include one or more telephone answering message centers. A computer 101 is connected to the switch 110 via a standard ISDN subscriber line. A display 108 and announcement equipment 109 are connected to the computer. The computer 101, by means of a feature of ISDN switches, known as shared call appearance, shares call appearances with each of the principal stations served by the computer. It may also have a shared call appearance with a secretarial station such as represented by station 140 and any other station connected to the switch 110. When a call for a principal station such as station 120 is received by the central office switch 110 from an interoffice trunk 130, the call is extended to the station 120. This involves the interchange of ISDN messages between the station 120 and the switch. By virtue of the shared call appearance feature, so-called associated messages are transmitted by the switch, via the shared call appearance line 104, to the computer 101. The computer analyzes these messages and recognizes that this is a call for a particular associated station. Based on information stored in the computer, it will make a determination as to whether the incoming call is to be forwarded to another station. After such a determination is made, the computer initiates a call through the switch 110 to the station (e.g. secretarial station 140) to which the call is to be forwarded. The computer also sends a transfer message to the switch 110 identifying the incoming call and the computer initiated call to station 140. The switch will respond by interconnecting the two identified calls. The ISDN switch has a feature whereby the switch will forward calls to a designated number if the original destination station is busy. Such calls may be forwarded to computer 101 and the computer will perform call screening on such calls allowing the calling party an option to leave a message, hold or interrupt the principal. If the computer 101 has a shared directory number with the secretarial station 140 or with any other station to which the call is being forwarded, the computer can make a determination as to whether the station is busy or idle before it transfers the call to that station. This allows the computer 101 to initiate steps to transfer the call to a second alternate in case the first alternate is busy. By virtue of the shared call appearance with the secretarial stations, the computer 101 receives messages corresponding to all significant call handling messages exchanged between the shared call appearance stations and the switch. The computer interprets these messages and creates station activity data which includes a record of calls and data on the busy/idle state of the stations. Details of the call monitoring and call handling are described in subsequent paragraphs. In the arrangement of this invention, the ISDN switch functions simply to route and interconnect calls. The functions of selecting stations to which calls are to be forwarded and initiating of the transfers to appropriate stations are under control of the computer 101, which is connected to the switch via a standard ISDN subscriber line. Any of the stations served by the computer and any of the stations to which calls are forwarded, may be ISDN or analog stations. If a principal station 120 or a secretarial station 140 is an analog station, the associated displays will be connected to the switch 110 via modems in a well-known manner. For analog stations, the ISDN switch will transmit shared call appearance associated messages to the shared call appearance 104, while sending analog signals to the analog stations. The ISDN switch 110 may be a well-known telecommunication switch adapted for use in the Integrated Services Digital Network. One such switch is disclosed in U.S. Patent 4,592,048 of M. W. Beckner et.al., entitled "Integrated Packet Switching and Circuit Switching System". The system includes a controller 112 which controls the interchange of ISDN messages between the switch 110 and the agent stations 120 as well as the computer 101 and other stations 105. A network 113 functions under control of controller 112 to provide the necessary interconnections within the switch 110. The agent stations 120 and subscriber stations 105 may be any well-known ISDN stations adapted to interface via an ISDN digital subscriber line with an ISDN switching system or standard analog stations. The interface between an ISDN station and an ISDN switch is specified generally by the International Telegraph and Telephone Consultative Committee (CCITT) and more specifically defined in a document entitled "5ESS Switch ISDN Basic Rate Interface Specification" published by AT&T in 1985. This document specifies the messages that are transmitted from the switch to the ISDN station, also referred to as an ISDN terminal, as well as the messages that are expected to be transmitted from the terminal to the switch. The interface between the switch and the terminal is referred to as an ISDN basic rate 2B+D interface. The 2B+D designation refers to the two 64 kilobit channels for the transmission of encoded voice or data and the 16 kilobit D-channel used primarily for the transmission of control messages, contained in the ISDN subscriber line. In a typical scenario, the ISDN switch responds to an incoming call directed to a connected subscriber station by transmitting a SETUP message to the station. The station responds with an ALERTING message indicating that an alerting signal is being generated at the station. This will be followed by a CONNECT message when the station goes off hook. A DISCONNECT message may be transmitted from the switch to the terminal or vice versa depending upon whether the calling terminal or the called terminal initiates the disconnect. The aforementioned Basic Rate Interface document includes key system features, defining interactions between key systems and the central office switch for two or more associated telephone terminals sharing call appearances. As described in the afore referenced interface documents, so-called associated messages are sent from the central office switch to each of the associated telephone terminals. As mentioned above, ISDN call handling messages such as call SETUP, ALERTING, CONNECT, DISCONNECT, etc. are transmitted between the switching system and the telephone terminal. Associated messages are messages transmitted to an associated terminal and correspond to certain of the messages transmitted between a principal terminal and the switch. For example, when a call is extended to one of the agent stations 120, the agent station and the computer 101 will both receive a call SETUP message. Only the agent terminal will respond to the message. Thereafter the switch communicates with the agent terminal and transmits associated messages to the computer, which interprets the associated messages and generates data defining agent station activity. FIG. 2 is a block diagram representation of a plurality of ISDN switches 210, 211 and 212 which have the same characteristics as switch 101 of FIG. 1. The figure shows the principal stations 220 connected to the ISDN switch 210 and principal stations 230 connected to the ISDN switch 211. In this example, answer desks are connected to the ISDN switch 212. Each of the switches will have other subscriber lines and interoffice trunks represented by 215,216 and 217 for switches 210, 211 and 212, respectively. A computer 241 is connected to each of the switches. In this exemplary system the computer 241 is connected to ISDN switch 212 via a standard ISDN subscriber line and is connected to ISDN switches 210 and 211 by foreign exchange ISDN subscriber lines 270 and 271, respectively. The switches 210, 211 and 212 may be situated in geographically separated locations. Foreign exchange lines are subscriber lines from a distant central office, frequently located in another city. An ISDN foreign exchange line is a subscriber line from a distant ISDN office having the same characteristics and protocols as a standard ISDN line, described in the aforementioned basic rate interface document. By means of the subscriber lines between each of the switches 210, 211 and 212 and the computer 241, the computer can share call appearances with any of the stations connected to each of the switches. On the basis of associated ISDN messages received from each of the switches, the computer 241 generates activity data with respect to each of the stations on each of the switches with which the computer has a shared call appearance. When an incoming call is received, for example, in switch 210, to one of the principal stations 220, the computer 241 will recognize the identity of the destination station and determine whether and to what station, if any, the call is to be forwarded. The computer receives the information about the call in the form of associated messages via the ISDN foreign exchange line 270. In the event that the incoming call is to be forwarded to one of the answer desks 240, the computer 241 transmits the necessary messages over foreign exchange line 270 to establish a call via foreign exchange line 270 and one of the interoffice trunks 215 to ISDN switch 212 and to the selected answer desk. Thereafter, the computer sends a transfer message to ISDN switch 210 identifying the incoming call to the principal station and the call to the answer desk. This causes switch 210 to bridge the two calls and to clear the connections to the principal station 220 and to the computer 241. In a similar fashion, the computer 241 can control call forwarding from any station on any of the switches to which it is connected to any other station on any of these switches. If the computer is given shared call appearances with the answer desks or other stations to which a call is to be forwarded, the computer can test the busy/idle status of the call forwarding destination on any of the switches prior to transferring the call. The choice of connecting computer 241 via a regular subscriber line as opposed to a foreign exchange subscriber line, to the same switch to which the answer desks are connected, is an arbitrary choice. The actions of the computer are identical for foreign exchange ISDN lines and regular ISDN subscriber lines. The computer 101 or computer 241 may be a well-known personal computer such as the AT&T 6300 PLUS personal computer. FIG. 3 is a block diagram representation of the computers of FIGS. 1 and 2, comprising a program controller processor 300 for executing program sequences as depicted in FIGS. 4 through 12. The processor 300 is connected to the ISDN line 104 via commercially available interface cards 312. This may be the TELEOS ISDN PC card made by Teleos Communications Incorporated, which provides signal compatibility between the ISDN line and the computer. The computer further comprises a memory 310 for storing programs and data such as a State Table, a State Change Table, a Call Log and the Station Activity Data, as well as a Call Intercept Table, a Call Transfer Stack, a Timer Table, and an unanswered call list. A clock circuit 315 provides required clock signals to the processor 300 and a time-of-day signal used in generating time stamps for use in time recording. The processor 300 is connected to display 108 via cable 320 and to Announcement Equipment 109 via cable 321. FIGS. 4 through 6 are flow chart representations of functions performed by the computer 101 in response to the various associated ISDN messages which the computer will receive via subscriber line 104 by virtue of the shared call appearance with several of the stations connected to switch 110. FIGS. 7 and 8 are flow chart representations of functions performed in computing station activity data. FIGS. 9 and 10 are flow chart representations of functions performed by the computer in handling calls for selected stations. The flow charts of FIGS. 4 through 10 are described in the following paragraphs with respect to computer 101 in FIG. 1. Analogous functions will be performed by computer 241 in the system of FIG. 2. In FIGS. 4 through 6, block 400 represents the idle state of the computer 101 and blocks 401 through 408 represent eight associated message types which will be transmitted to the computer from the switch. Table 1, in the first column, shows the messages exchanged over an ISDN subscriber line between the ISDN switch 110 and an ISDN subscriber station; the second column show the direction of the messages; the third column lists the corresponding messages received by the computer and the fourth column lists the functional significance of the various messages to the computer. The computer 101 will receive these messages for the various shared call appearances as they are transmitted by the switch and may store the messages in buffers as they are received. FIGS. 4 through 6 show the sequences executed by the computer in recording relevant information extracted from the messages. By way of example, block 401 represents the processing of the ASSOCIATED (SETUP) message by the computer 101. The computer enters a program routine which advances to block 411 where it reads the origination call appearance number which is included in the ASSOCIATED (SETUP) message. Table 2 lists by way of example, typical information elements contained in a message. Each of the ISDN messages referred to herein is defined in the aforementioned Basic Rate Interface document. The call appearance number obtained from the message is translated into a station number in block 401 by means of information in the State Table stored in memory 310. The State Table contains directory numbers and call appearance numbers for each of the agent stations 120. The directory or station numbers and call appearance number are permanently assigned. Hence, the table allows for the translation between directory or station numbers and call appearance numbers. Other data in the table is altered as messages are received from the switch, including states of calls for each of the agent stations, call reference values for each of the calls and calling number information. Table 3 is an exemplary state table layout showing arbitrary directory numbers for seven agent stations 120, and arbitrarily assigned call states, call appearance numbers (CA), call reference values (CR) and calling numbers. In block 421 of FIG. 4, the computer stores the call reference value obtained from the ASSOCIATED (SETUP) message in the State Table with the corresponding call appearance number and station number. In block 431 the computer updates the state of the call in the State Table entry associated with the call appearance identified in the received message. As shown in the fourth column of Table 1, the computer interprets the ASSOCIATED (SETUP) message as corresponding to an origination dialing action. Accordingly, the state in the State Table is updated to dialing in response to this message. In block 441 a time stamp derived from the computer's clock 315 is entered in State Change Table in the computer memory 310 together with an indication of state change, i.e., idle to dialing, and the station number. An exemplary State Change Table memory layout is shown in Table 4. The contents of this table is used by the computer 101 to compile statistics reflecting agent activity, as will be described later herein with reference to FIGS. 7 and 8. In each case, upon completion of the various steps in response to the receipt of a message, the computer 101 will return to the idle state as indicated in block 451. It should be understood that FIGS. 4 through 6 are representations of the action of the computer 101 in response to each of the different types of messages that it receives. The format and content of each of the individual message is defined in the aforementioned Basic Rate Interface document. In FIGS. 4 through 6, sequences of steps to be performed by the computer 101 are shown in connection with each of the different messages which may be received. In each case, the message received will include a call reference value. The call appearance values are included only in the ASSOCIATED (SETUP) message and the SETUP message. For the other associated messages the call reference value is translated into a station number by means of the information in the State Table (Table 3) in memory 310. The call reference value is a value assigned to a call for its duration. It uniquely identifies the call and is incorporated in all messages relating to the identified call. As indicated above with reference to the ASSOCIATED (SETUP) message, the call reference value is stored in the State Table in memory 310 at the time that message is received. For subsequently received messages, the call reference value is translated to a station number based on the relationship between the station number and the call reference value defined in the State Table. This action is reflected in blocks 412, 413, 414, 416, 417, and 418. The receipt of each message by the computer causes the state of the call in the State Table (Table 3) to be updated to the state represented by the received message. Table 1 recites function statements which indicate the interpretation that the computer 101 attaches to each of the messages. The step of updating the state information in the State Table is shown for example in blocks 431, 432, 423, 424, 435, 426, 427 and 428. In response to receiving each of the messages, the computer also generates a time stamp and enters the time stamp, together with state change information and the station number, in the State Change Table of memory 310. An exemplary memory layout for the State Change Table is shown in Table 4. The action of updating the State Change Table is reflected in blocks 441, 442, 433, 434, 445, 436, 437 and 438. The sequence followed by computer 101 is essentially the same for the CONNECT, ASSOCIATED (RECONNECT), and ASSOCIATED (HOLD) and the steps have been described, generally, above. The actions of the computer 101 in response to the ALERTING message, the ASSOCIATED (CONNECT) message, the SETUP message, and the DISCONNECT message involve additional steps beyond those explained above and will be described in further detail. Block 402 represents the receipt of the ALERTING message from the switch 110. As shown in Table 1, the computer interprets this message as indicating that the far end, i.e., the called party, is being alerted. Block 412 represents a translation of the call reference value to station number with the aid of information in the State Table in memory 310. Block 422 indicates a further translation from station number to call appearance number also obtained from the State Table. In block 432 the state of the call in the state table is updated to "far end alerting". In block 442 the time stamp representing current time is entered into the State Change Table in memory 310 (Table 4) together with the station number and an indication of a state change from "dialing" to "alerting". For record keeping purposes it is desirable to record the called station directory number. The ASSOCIATED (SETUP) message, which precedes alerting, may include in its display field the outgoing call directory number. However, this field is optional and the directory number may be omitted from the ASSOCIATED (SETUP) message. In any event, the called line identification will be displayed on the agent terminal, as a normal ISDN feature, and is obtainable by an information message from the computer 101 to the switch 110. Block 461 represents the sending of such a message. Block 462 represents a follow-up message including the call appearance number which defines for the switch the identity of the desired display. Block 463 represents an information message from the switch 110 to the processor 101 providing the display information. Block 464 represents the action by the computer of reading the called number from the display information and block 465 represents entering this number in the Call Log in memory 310. An exemplary memory layout of the Call Log is shown in Table 5. The information entered in the Call Log includes a date and time stamp of current time, the station number derived in block 412, the called number obtained in block 464, the call reference value and an indication that this is the start of an outgoing call. As outlined in Table 1, for a normally progressing call, the ALERTING message is followed by the CONNECT message and a DISCONNECT message. The processing of the CONNECT message by the computer is indicated in block 404 and the actions taken in response to the receipt of that message are indicated in blocks 414,424,434 and 444, as explained earlier. The receipt of the DISCONNECT message is shown in block 408. In addition to the actions taken in blocks 418,428 and 438, which have been discussed earlier herein, the computer, in block 439, obtains the calling number, if any, from the State Table and makes an entry in the Call Log (Table 5 in memory 310, in block 448. The Call Log entry will include a date and time stamp, the station number, the far party number, the call reference value and an indication that this is the end of the call. In the event of a termination of a call to one of the shared call appearance stations, a SETUP message is transmitted from the switch to one of the stations and the same message is received by the computer 101, as illustrated in Table 1. In FIG. 5, block 405 represents analysis of the SETUP message by the computer. The SETUP message will include a call appearance number and a call reference number and key pad data which represents the called directory number. In block 405 the call appearance number is translated to a station number by means of the State Table represented by Table 2. In block 425 the call reference value defined by the message is entered in the State Table in memory 310. In block 435 the state of the call is updated to "ringing" in the State Table. An entry is made in the State Change Table in memory 103 (Table 4) including a time stamp indicating current time, the station number and an indication that the state has changed from "idle" to ringing in block 445. The SETUP message incorporates a display field defining the calling number. In block 471 this calling number is obtained from the display field and in block 472 it is entered into the State Table in memory 310. Other functions to be performed in analysis of the SETUP message are explained later herein with respect to FIG. 9. The computer 101 expects to receive an ASSOCIATED (CONNECT) message after receipt of the SETUP message for an associated station, as indicated in Table 1. The receipt of this message is shown in block 403. In blocks 413,423 and 433 the computer performs the functions of translating the call reference value to a station number based on information in the State Table, updates the State Table and updates the State Change Table. In block 443 the calling number is read from the State Table in memory 310 on the basis of the call reference value. In block 453 an entry is made in the Call Log in memory 310 including a time stamp, the station number, and "incoming" and "start" indication, the calling number and the call reference value. When a DISCONNECT message is received subsequent to the ASSOCIATED (CONNECT) message, a Call Log entry will be made showing the ending time of the call. Other functions to be performed in analyzing the ASSOCIATED (CONNECT) are explained later herein with respect to FIG. 11. The stations typically will have a Hold feature and when this is activated the computer receives an ASSOCIATED (HOLD) and a subsequent ASSOCIATED (RECONNECT). The receipt of these messages is represented by blocks 406 and 407 and the effect of these messages is to update the State Table (Table 3) and the State Change Table (Table 4) in memory 310 as described above. Table 6 is a representation of station activity data which may be used to evaluate agent station activity. The data includes the number of incoming and outgoing calls and the total number of calls handled by each of the agent stations. In addition, the average holding (i.e. activated) time for incoming calls, outgoing calls and all calls as well as the percentage of time spent on incoming and outgoing calls and time spent in the idle state, are recorded in this table as described later herein with respect to FIGS. 7 and 8. Computer 101 generates these statistics on the basis of data in the State Change Table (Table 4) and Call Log (Table 5) in the memory 310. FIGS. 7 and 8 are flow chart representations of the software of the computer 101 used to derive the information of Table 6 from the State Change Table and the Call Log. Referring to FIG. 7, the Call Log is read in block 500 and in block 501 a "start time" entry for a selected station number is recorded. In block 503 the Call Log is searched for a corresponding call reference value having the "end time" entry. In block 505 the holding time is computed as the difference between the start time and the end time. In block 506 the computed holding time is added to the total holding time for the station. In block 507 the total call count for the station is incremented by 1. Block 511 is a decision block to determine whether the call for which the computations are made is an incoming call. If so, the transfers made to block 512 where the incoming call count is incremented and the holding time computed in block 505 is added to the total incoming holding time for the selected station, in block 513. In the event that it is an outgoing call, a transfer will be made from decision block 511 to block 514 where the outgoing call count is incremented. In block 515 the computed time will then be added to the total outgoing holding time for the station. For both incoming and outgoing calls, the next action is to determine whether there are more start times for the station under consideration, as represented by decision block 520. If so, a transfer is made to block 501 and the steps between blocks 501 and 520 are repeated for the next call for station N. After all calls for a station have been recorded and holding times properly computed, the decision in block 520 will reflect the fact that there are no more start times for station N and a transfer will be made to block 522 to compute data for station N. Average holding times for incoming calls, outgoing calls and all calls for station N are computed in blocks 522 to 524. This is based on the recorded incoming, outgoing and total counts and the corresponding holding times. In blocks 526 and 528 the percentage of time spent for incoming and outgoing calls is computed based on the ratios of the total incoming and outgoing holding times with respect to the total holding time. Thereafter, in block 530 a decision is made to determine if there are other stations for which the computations need to be made. If so, the value of N is incremented in block 531 to identify the next station and the process, beginning at block 501 is repeated. When the statistics for all stations have been compiled, the program terminates as indicated in block 532. In addition to generating station activity data, the computer is adapted to generate detailed billing records for outgoing calls made from the agent stations. In blocks 514 and 515 of FIG. 7 actions are taken with respect to outgoing calls as described above. Subsequent to these actions, in block 550, the called number is read from the Call Log (Table 5) in its Far Party column. Thereafter, in block 551 the computer reads a rate table stored in memory 310. The rate table is a data table customarily provided by a telephone company or long distance carrier which defines the charges for telephone calls to other areas by area code and the office code, both of which are part of the telephone number recorded in the Call Log. In the exemplary Call Log of Table 5, the area code is omitted from some of the numbers indicating that those numbers have the same area code as the central office switch to which the computer is connected. The charges customarily depend on the time of day the call was made as well as the length of time of the call. The length of time of the call was computed in block 505 of FIG. 7. The time of day, the fact that it is an outgoing call and the number of the called party are recorded in the Call Log. On the basis of this data the computer 101 computes billing data in a well-known fashion and stores such data in the memory 310 prior to advancing to decision block 520 for further action. This type of computing and storing billing data is indicated in block 552. In this illustrative system, outgoing call data in Table 6 is intended to cover all outgoing calls, including unanswered calls. Starting times for outgoing calls are recorded in the Call Log in response to the ALERTING messages as shown in FIG. 4. However, that is before the call is answered. Hence, the billing computation shown in FIG. 7 includes ringing time and unanswered calls. If a more accurate billing computation is desired, the State Change Table may be consulted to identify unanswered calls (i.e. calls that did not make a change to the Talk State), and actual connect time, (i.e. from transition to the Talk State to disconnect). FIG. 8 is a flow chart representation of a program for computing the time spent by each station in the idle state. A time limit may be imposed on the program to recognize only idle time periods occurring during working hours in order to exclude off periods such as lunch time, etc. As shown in FIG. 8, block 600, this program reads the State Change Table of the memory 310, (Table 4). In block 601 the computer records the entry time of the transition to the idle state for a station N and in 602 obtains the first subsequent transition in time from idle to another state. In block 603 the idle time is computed as the difference between those state changes and in block 604 the total idle time for the station is computed. Block 610 is a decision block to determine if there are more transitions to idle for this station if so, a transfer is made back to block 601 to repeat the steps of block 601 through 604. When all the transitions for a particular station have den recorded, a transfer is made to decision block 612 to determine if there are other stations to be considered. If so, the station number is incremented in block 611 and a return is made to block 612, for the next station. The number N is an arbitrary designation for a station number and the step of incrementing N in block 611 represents an action by the computer to find the next station for which idle time is to be computed. When statistics have been compiled for all the stations, the program finishes as indicated in block 613. The data computed by means of the programs outlined in FIGS. 7 and 8 may be stored in memory 310 as station activity data in the form of Table 6. This information may be displayed to a manager by means of the display 108 which is connected to the computer 101 via interconnecting cabling 320. The computer 101 or 241, in addition to monitoring messages from shared call appearance stations and periodically updating the station activity data, will also perform automatic call handling. The various associated messages received from shared call appearance stations while carrying out the call handling functions, may be buffered by the computer for later analysis which may be executed periodically. Alternatively, a multitasking computer will be able to perform these various functions concomitantly. The computer answers incoming calls directed to one or more directory numbers assigned to the computer, and places outgoing calls by exchanging standard ISDN messages over the ISDN subscriber line, in the same manner as an ISDN station set. Each of the ISDN messages received by the computer includes a call reference value which uniquely ties the message to a call. Hence the computer, by reference to the State Table and information about its own calls, can readily sort out messages relating to associated stations from messages relating to calls handled by the computer. The flow charts do not specifically show the sequences executed by the computer in handling ISDN messages for calls initiated by or terminated to the computer. However, such functions are essentially the same as those performed by a standard ISDN terminal and are well-known in the art. FIGS. 9 through 12 are flow chart representations of actions performed by the computer 101 in providing call coverage for a shared call appearance station, for example a principal station such as station 120. Analogous functions are performed by computer 241 with respect to stations connected to switches 210, 211 and 212. When an incoming call is made to a station with which the computer shares the call appearance, e.g. station 120, the computer receives a SETUP message as depicted in block 405 of FIG. 5. In addition to performing a message analysis to gather data with respect to the activity of this station, a number of functions are performed to determine the call coverage action to be taken. Certain of the actions in connection with call coverage are outlined in flow chart form in FIG. 9. In block 901, a test is made to determine whether the calling number read from the display in block 471 of FIG. 5 is in the Call Transfer Stack. The Call Transfer Stack is a table in memory containing the identity of calls previously transferred by the computer. The function of the Call Transfer Stack, an example of which is shown in Table 7, will be discussed in subsequent paragraphs. In the event that the calling number is not in the Call Transfer Stack, the computer will read the Call Intercept Table which is a table stored in memory 310 recording the numbers to which intercepted calls are to be transferred for each called station and the conditions under which the transfer is to be made. An example of the Call Intercept Table is shown in FIG. 8. The step of reading this table is outlined in block 902. In decision block 903, after reading the Call Intercept Table, a test is made to determine whether the call to the covered station is to be intercepted. If not, the computer will return to the idle condition as shown in block 910. If an intercept is to be performed, the Call Intercept Table (Table 8) is consulted to determine the delay before transfer, if any, for the call. This step is performed in block 904. If there is a delay, a Timer Table entry is made in block 905. The Timer Table is a table in memory 310, an example of which is shown in Table 9. The identification number of the timer selected for this particular call is entered in the Timer Table. The call is identified by the call reference number which is also entered in the table, together with the station number, the calling number and the call type, all of which are available from information in the SETUP message. In addition, the "Transfer To" station number obtained from the Call Intercept Table (Table 8) is entered in the Timer Table. Employing the clock circuitry 315 of the computer, as shown in FIG. 3, a timer corresponding to the number entered in the Timer Table is started, and set for a time period defined in the Timer column of the Call Intercept Table (Table 8). The action of starting the timer is reflected in block 906. Thereafter, a return is made to the idle state in block 905. If the Call Intercept Table shows that there is to be no delay before transfer, i.e. no entry in the Timer column, a transfer is made from decision block 904 to block 1012 of FIG. 10. The Call Intercept Table allows different criteria for forwarding different types of calls, e.g. internal calls and external calls. This is, calls from stations in a customer terminal group or from stations external to the group. This table may also indicate forwarding for specified calling numbers only. These criteria are used by the computer in determining whether a call is to be intercepted for forwarding and to what station. Referring now to FIG. 10, the computer is shown in its idle state in block 400, which is the same state reflected in block 400 in FIG. 4. An exit from the idle state occurs when a timer expires, as indicated in block 1010. Block 1011 reflects a reading of the entry of the Timer Table (Table 9) corresponding to the number of the timer which has expired. From the Timer Table the computer will obtain the call reference number and the identity of the station to which the transfer is to be made. For example, for the first entry in Table 9 the call reference value is 4, and the station to which the transfer is to be made is 555-6015. In block 1012, a test is made to determine whether or not the transfer destination station, identified in the Timer Table in block 1011 or obtained from the Call Intercept Table in block 902, is idle. This information is readily available from the State Table (Table 3) in memory 310. If the destination station is idle, the computer 110 answers the call to be transferred by sending a CONNECT message to the ISDN switch 101. Since the computer has a shared call appearance with the station to which the incoming call was directed, the call may be answered from the computer using the call reference value obtained from the Timer Table or from the SETUP message if no delay was involved. The answering of the incoming call, referred to as call 1 in the flow charts of FIG. 10, is reflected in block 1013. In block 1014 the computer, by sending a HOLD message to the switch, places the incoming call on hold. Thereafter, as reflected in block 1015 the computer initiates a call to the station to which the incoming call is to be transferred. This is referred to in the flow chart of FIG. 10 as call 2. Subsequently, in block 1016 the computer sends a TRANSFER message to the switch identifying call 1 and call 2. The switch responds in the standard fashion of an ISDN switch by interconnecting the two calls and clearing the connections to the computer. Following this action, the call history is entered in the Call Transfer Stack (Table 7) as indicated in block 1017. This information includes the identity of the original calling station, the original called station and the station to which the call was transferred. The Call Transfer Stack entry also includes the identity of the station from which the call was transferred. In this case, that is a directory number assigned to the computer since the computer answered the incoming call and then caused it to be transferred to another number. This information is important for individual call coverage when the principal of the first station wishes to have the call forwarded to a second or other alternate destination in case the first alternate does not answer the call. For example, the first alternate may be an associate of the principal or a secretarial answer desk and the second alternate may be a call answering machine. The Call Intercept Table (Table 8) may define a first and one or more alternate destinations. The contents of the Transfer Stack (Table 7) is used to determine whether this is a first or an alternate destination transfer as discussed later herein. After adding the call history to the transfer stack in block 1017 the corresponding entry in the Timer Table (Table 9) is deleted in block 1018. Thereafter, a return is made to the idle state of the computer, as indicated in block 1020. When the transfer call is set up by the computer to an alternate destination, as discussed in the previous paragraph, and the computer has a shared directory number with the alternate destination, the computer will receive associated messages which will include the SETUP message of the call initiated and transferred by the computer. After execution of sequences outlined in FIG. 5 with respect to the SETUP message, the contents of the message will be examined in decision block 901 to determine if the calling number is in the Call Transfer Stack (Table 7), as discussed earlier. This calling number will be the number of the computer in the "Transferred From" column of the Transfer Stack. In this illustrative system, all calls transferred by the computer are assigned a single directory number (e.g. 555-6020) and the transfer stack aids in recognizing a call transferred by the computer. The computer 101 sets up the calls in sequence, the switch 110 sends its messages back to the computer in sequence and the computer handles the received messages in sequence. Therefore, while it may be possible that more than one transfer is set up by the computer, the sequence in which they are handled is well defined. In block 920 of FIG. 9, the computer reads the first entry of the Call Transfer Stack. The first entry of the stack is deleted in block 921 and an advance is made to block 922 to read the Call Intercept Table. A test is made in decision block 923 to determine if there is a second or other alternate destination for the original called number. The original called station identity of the Call Transfer Stack corresponds to the called station number in the Call Intercept Table. This information, together with the call type, identifies the relevant entry of the Call Intercept Table. The "Transfer To" of the Call Intercept Table column may indicate a first number which is the first alternate destination and a second number which is the second alternate destination, by listing alternate numbers sequentially. Corresponding delay periods may be defined in the Timer column. By way of example, Table 8 shows that external calls to 555-6012 should first he transferred to a first alternate, 555-6015, after a 20 second delay. If that station does not answer in 10 seconds, the call is to be transferred to a second alternate, 555-6016. The computer knows the identity of the station to which the SETUP message pertains and can determine whether a first alternate or second alternate has been tried from that message or from information obtained from the Call Transfer Stack. In the event that all the alternates have been tried, the computer will return to idle as indicated in block 925. Otherwise, an advance will be made to block 904 to determine if there is a listed timer value corresponding to the next alternate destination. Thereafter, the sequence is as described above. In decision block 1012 of FIG. 10 a test is made to determine whether the selected destination is idle. As mentioned earlier, this information is available to the computer in the state table in memory 310 (Table 3). If the selected destination is not idle, a return is made to a block 923 of FIG. 9 to determine if an alternate or another alternate is available. Thereafter, the sequence is as described above. When an ASSOCIATED (CONNECT) message is received, it is analyzed for monitoring purposes, as shown in FIG. 4. Additionally, a test is made in decision block 850 of FIG. 4 to test whether the call reference value of a call is included in the Timer Table. If so, this indicates that an incoming call to an associated station requesting call forwarding after a specified period of time, has been answered. Hence the call will not have to be forwarded and the entry previously made for this call in the Timer Table is deleted, as indicated in block 852. The corresponding timer is canceled as indicated in block 853. Thereafter, the computer returns to the idle state via block 855. If it is found in decision block 850 that the call reference number is not in the Timer Table, an advance is made directly to block 855 to return to idle. It is a feature of ISDN switching systems that they may be programmed to forward incoming calls to an alternate number if the original destination is busy. In this embodiment the switch 101 forwards such calls to a directory number assigned to the computer. The SETUP message from the switch extending the call to the computer will include, in the message type field, an indication that the call has been forwarded on busy. Block 700 of FIG. 11 indicates receipt of such a call by computer 101. In block 701, the Call Intercept Table is read. In block 702 a test is made to determine whether the call is to be forwarded or intercepted for call screening. If no call screening is indicated, the call will be forwarded to the number recorded in the Transfer To column of the Call Intercept Table. To accomplish the transfer, an advance will be made from decision block 702 to the call forwarding routine of FIG. 10, described earlier herein. If call screening is desired, an advance is made to block 703 of FIG. 11 where the incoming call is answered by transmitting a CONNECT message to the central office switch 110. Thereafter, the computer 101 establishes a connection to the announcement equipment 109 attached to computer 101. The announcement machine will provide a message to the caller asking the caller to dial a first, second, or third digit depending upon whether the caller wishes to leave a voice message, be placed on hold, or wishes to interrupt the principal. This announcement is provided in block 704. In block 705 the computer receives the digits and thereafter takes actions depending on the digits dialed by the caller. If a first digit is dialed, the computer connects the caller to announcement equipment 109 for a "Leave Message" announcement, as shown in block 707, allowing the caller to leave a message. Thereafter, the program returns to the idle state as shown in block 730. Alternatively, the caller may be connected to a secretary instead of an announcement. In the event that the calling party dials a second digit, the computer will place the call on hold by transmitting a HOLD message to the ISDN switch identifying the incoming call, as reflected in a block 712. In block 713, the computer 101 transmits a hold display message to the principal station display terminal (e.g. 122) via switch 110. In 714 the computer records the identity of the called station and the call reference number of the held call in the Call Wait Table (Table 10) in memory 310. Thereafter, a return is made to the idle state in block 730. In the event that the calling party dials the third digit indicating that the caller wishes to interrupt the principal, the computer will place the incoming call on hold as indicated in block 722. This is accomplished by transmitting the HOLD message to the switch identifying the incoming call. In block 724 the computer alerts the principal that a caller wishes to alert the principal by means of an interrupt display message to the principal display, for example, display 122 for the principal of the station set 120. Alternatively, the principal may be alerted by means of priority ringing. Thereafter, an advance is made to block 714 where the identity of the principal station and the call reference value of the incoming call are recorded. The computer then returns to the idle state via block 730. In providing display messages to the principal, the computer can provide the directory number of the calling party since that is included in the SETUP message received by the computer for the incoming call. The computer may also have access to a data base with the name or other identification associated with the calling number, and can then display such information as well. The transfer of information from the computer may be done by the ISDN line 104 and the central office switch 110, for example, to an ISDN line 103 to ISDN station 120 which includes an interface connection to the display. The data may be transferred simultaneously with an active call established between an ISDN station 120 and switch 110 via ISDN line 103, since the ISDN line includes two separate channels. One of the channels may be used for data while the other is used for voice. As part of normal monitoring of shared call appearance stations such as the principal to which the call has been placed, the computer receives and analyzes DISCONNECT messages as indicated in FIG. 6. Upon completion of the normal call monitoring for this message, an advance is made to block 750 to determine if the station number for the disconnected call is recorded in the Call Wait Table (Table 10). If the station to which this call pertains is not listed in that table, a return is made to the idle state via block 730. However, if the number of the principal to which the received DISCONNECT message pertains is in the table, the Call Wait Table entry is deleted in block 751 and a call is set up from the computer to that station by the transmitting of the normal ISDN messages necessary to set up a call as indicated in block 752. Thereafter, a transfer message is sent to the switch including the call reference value of the call set up by the computer and the call reference value of the held call, recorded in the Call Wait Table. This will cause the switch to connect the call which is on hold to the call placed by the computer, and to take down the connections between the switch and the computer. Thereafter, the computer will return to the idle state in block 730. In this manner the computer places an incoming call on hold and automatically connects the held call to the principal when the principal becomes available, based on information derived by the computer from the associated messages received by virtue of the shared called appearances. It is, of course, possible that the party on hold will disconnect before the principal disconnects from the existing telephone call. In that event, the computer will receive a normal DISCONNECT message, and delete the Call Wait Table entry. A further display message informing the principal of the disconnect may also be sent. In addition to the functions described above, the computer 101 has the capability of providing for a principal a list of incoming calls which were not answered. This may be desirable for some principals as an alternative to call forwarding. This list is compiled on the basis of information taken from the Call Log in the memory 310 (Table 5) which records all calls. Table 1 shows that in the event of a call terminated to a principal station, the computer receives an ASSOCIATED (CONNECT) message when the connection is fully established, i.e., when the called party goes off hook. When either party of the call disconnects, the computer receives the DISCONNECT message. The ASSOCIATED (CONNECT) message is not received by the computer if the principal station does not answer. However, the DISCONNECT message will be received when the calling party disconnects. The monitoring function of the computer for the ASSOCIATED (CONNECT) message described earlier herein, with respect to FIG. 4 includes a step in block 453 of writing the calling number in the Call Log (Table 5) together with other data. Thus, where the principal station does not answer, this entry will not be made. However, a corresponding entry will be made in the Call Log in response to the DISCONNECT message when the calling party disconnects. As indicated in block 439 in FIG. 6, the calling number associated with the DISCONNECT message is read from the State Table (Table 3) since the calling number information is typically not included in the DISCONNECT message. In block 448 the calling number is entered in the Call Log together with an indication of time and a station number call reference and the fact that it is the end of the call. The computer, by reading the Call Log readily determines the calls for which there is an ending time but no beginning time. For example, in Table 5 the last entry would indicate such a call. While the Call Log does not indicate whether the ending time entry pertains to an incoming or outgoing call, that information can be obtained by the computer from the State Change Table (Table 4). This table indicates a change from the ringing state to the idle state, when a call is not answered. The appropriate entry of the State Change Table is determined from the station number and the associated time entry. In this illustrative system, Call Log entries for outgoing calls are made in response to the ALERTING message, which in the normal operation will always be followed by a DISCONNECT message. Thus, any Call Log entry which has an End entry only, can be assumed to be an incoming call which was not answered. In an abnormal case where an outgoing call is started, but disconnected before the Alerting State, an End entry may be found without a corresponding Start entry. However, no Far Party number will be recorded, in such a case, in the Call Log. FIG. 12 shows a sequence of steps executed by the computer to generate a list of unanswered calls and store the list in the memory 310 of the computer. Block 400 in FIG. 12 represents the idle state of the computer 101. Block 801 represents the start of the sequence executed in the creation of a list of unanswered calls. The sequence may be initiated in response to a message from a keyboard connected to the computer or in response to a timing signal from clock 315. In block 801 the computer reads and records all of the "End" entries of the Call Log in memory 310 (Table 5). Thereafter, in block 803 the computer deletes from the recorded list all the "End" entries having corresponding "Start" entries. The result is a listing of unanswered incoming calls. It is not uncommon to have a data base, which may be part of memory 310, which lists the names and related data with the telephone number, for example, for employees of a corporation or for other persons who frequently call the principal. In block 805 the computer reads such a data base and obtains from the data base the available information corresponding to any of the calling numbers involved in the unanswered calls. In block 807 the computer stores the unanswered calls in the unanswered call list in the memory 310 and returns to idles via block 810. MESSAGE FLOW ON THE AGENT STATION DIRECTION MESSAGES RECEIVED BY THE COMPUTER FUNCTION STATEMENT CALL ORIGINATIONS: SETUP STATION --> SWITCH SETUP_ACK SWITCH --> STATION ASSOCIATED (SETUP) DIALING CALL_PROCEEDING SWITCH --> STATION ALERTING SWITCH --> STATION ALERTING FAR END ALERTING CONNECT SWITCH --> STATION CONNECT TALKING CONNECT_ACK STATION --> SWITCH DISCONNECT SWITCH --> STATION or STATION --> SWITCH DISCONNECT RETURN TO IDLE CALL TERMINATIONS: SETUP SWITCH --> STATION SETUP RINGING ALERTING STATION --> SWITCH CONNECT STATION --> SWITCH ASSOCIATED (CONNECT) TALKING DISCONNECT SWITCH --> STATION or STATION --> SWITCH DISCONNECT RETURN TO IDLE FEATURE ACTIVITIES: HOLD STATION --> SWITCH HOLD_ACK SWITCH --> STATION ASSOCIATED (HOLD) HOLD RECONNECT STATION --> SWITCH RECONNECT_ACK SWITCH --> STATION ASSOCIATED (RECONNECT) TALKING Message Information Elements Protocol Discriminator Call Reference Message Type Bearer Capability Channel Identification Progress Indicator Terminal Capabilities Keypad Signal Switchhook Locking Shift Selected Call Appearance Origination Call Appearance Destination Call Appearance Display Field Feature Activation Feature Indication Adjunct Control STATE TABLE Station Number Call Appearance (CA)# State Call Reference (CR) Value Calling Number 555-6012 4 Idle -- 555-6013 5 Dialing 28 555-6014 6 Dialing Complete 21 555-6015 7 Ringing 4 312-555-7000 555-6016 8 Talking 72 555-6017 9 Far End Alerting 61 555-6018 10 Hold 15 STATE CHANGE TABLE Date Time Station# State Change 12/05/88 1:52:45 555-6012 Idle to Dialing 12/05/88 1:53:00 555-6012 Dialing to Far-End-Alert 12/05/88 1:53:40 555-6012 Far-End-Alert to Talk 12/05/88 2:05:17 555-6012 Talk to Idle 12/05/88 2:15:01 555-6017 Idle to Ring 12/05/88 2:16:02 555-6017 Ring to Idle CALL LOG Date Time Station# Direction Start/End Far Party Call Ref. 12/05/88 1:12:05 555-6015 Incoming Start 312-555-7000 4 12/05/88 1:53:00 555-6012 Outgoing Start 712-5053 3 12/05/88 2:05:07 555-6015 End 312-555-7000 4 12/05/88 2:05:17 555-6012 End 3 12/05/88 2:16:02 555-6017 End 312-555-7000 9 STATION ACTIVITY DATA Measurement Station 6012 Station 6013 Station N No. of IN calls X X X No. of OUT calls X X X Total No. of calls X X X Average Holding Time IN calls X X X Average Holding Time OUT calls X X X Average Holding Time ALL calls X X X % of time spent in IN calls X X X % of time spent in OUT calls X X X time spent in idle state X X X CALL TRANSFER STACK # Original Calling Station Original Called Station Transferred From Call Type Transferred To 1 979-4240 555-6012 555-6020 Ext 555-6015 2 965-4000 555-6013 555-6020 Ext 555-6016 3 685-4112 555-6014 555-6020 Ext 555-6015 CALL INTERCEPT TABLE Called Station # Call Type Calling Number Call Screen Timer Transfer To 555-6012 Busy --- Yes --- --- 555-6012 Int --- --- 20 sec. 555-6019 555-6012 Ext --- --- 20 sec, 10 sec 555-6015, 555-6016 555-6013 --- 682-3785 --- --- 653-1240 555-6014 Busy --- --- --- 555-6015 TIMER TABLE Timer # CR # Station # Calling # Transfer To Call Type 1 4 555-6012 979-4240 555-6015 Ext CALL WAIT TABLE Incoming CR Called Station 8 555-6016

Claims: Automated call handling apparatus for use with a telecommunication switching system transmitting associated messages corresponding to call handling information exchanged between said switching system and a telephone station connected thereto, comprising: means for connecting said apparatus to said system (104); and means for selecting an alternate destination (101); CHARACTERIZED IN THAT said apparatus comprises: means responsive to certain of said associated messages indicating an incoming call to said telephone station for selecting an alternate destination for said call (901-923, 1012) and for transmitting (1013-1016) to said switching system digital messages for causing said switching system to transfer said call to said selected alternate destination; wherein said switching system comprises a plurality of subscriber lines, wherein said station is connected to one of said subscriber lines and wherein said means for selecting is responsive to associated messages transmitted on another of said subscriber lines. Automated call handling apparatus in accordance with claim 1, wherein said other subscriber line is an ISDN subscriber line and said means for selecting is responsive to ISDN shared call appearance associated messages. Automated call handling apparatus in accordance with claim 1, and further comprising means for recording information defining different alternate destinations for different types of calls to said station and wherein said means for selecting selects said alternate destination on the basis of said recorded information and call type information defined by said associated messages. Automated call handling apparatus in accordance with claim 1, and further comprising means for recording information defining the identity of certain calls to said station to be forwarded and wherein said means for selecting is responsive to said recorded information and data defined by said associated messages identifying one of said certain calls to select said alternate destination. Automated call handling apparatus in accordance with claim 1, and further comprising: means for recording a first and a second alternate destination for calls directed to said telephone station; and means for recording the identity of calls forwarded to a first alternate destination; and wherein said means for selecting is responsive to said certain of said associated messages for selecting said second alternate destination when said certain associated messages define data identified in said means for recording as relating to a call having been previously forwarded to said first alternate destination. Automated call handling apparatus in accordance with claim 1, further comprising; memory means for recording information defining call activity status of said alternate destination; and wherein said means for selecting is responsive to certain of said associated messages for recording said status information in said memory means and responsive to other of said associated messages and to said recorded information to transmit said digital messages for causing said switching system to connect said call to said selected alternate destination only when the recorded information indicates that the alternate station is idle. Automated call handing apparatus in accordance with claim 1 further adapted for use with a plurality of telecommunications switching systems, wherein said means for selecting comprises means for selecting for use with said plurality of telecommunication switching systems; wherein each of said systems transmit associated messages corresponding to call handling information exchanged between said switching systems and telecommunication stations connected to said systems; further comprising : means for connecting said means for selecting to each of said systems; said means for selecting responsive to associated messages from one of said systems indicating an incoming call to a station connected to said one system for selecting for said call an alternate destination station connected to another of said systems, and for transmitting to said one system call handling information for causing said one system to connect said call to said alternate destination station connected to said other system. Automated call handing apparatus in accordance with claim 7, wherein said telecommunication systems are ISDN systems and said means for selecting is responsive to ISDN shared call appearance associated messages. Automated call handing apparatus in accordance with claim 7, wherein said means for selecting further comprises means for recording information defining different alternate destinations for different types of calls to said station connected to said one system, and wherein said means for selecting selects said alternate destination station on the basis of said recorded information and call type information defined by said associated messages form said one system. Automated call handing apparatus in accordance with claim 7, and further comprising means for recording information defining the identity of certain calls to said station connected to said one system, and wherein said means for selecting is responsive to said recorded data and data defined by said associated messages identifying one of said certain calls to select said alternate destination station. Automated call handing apparatus in accordance with claim 7, wherein said means for selecting comprises : means for recording information defining call activity status for said alternate destination station; and wherein said means for selecting is responsive to certain of said associated messages for recording said status information in said memory means and responsive to other of said associated messages and said recorded information for transmitting said call handling information for causing said one system to connect said call to said alternate destination station only when said recorded information indicates that said alternate station is idle. Automated call handling apparatus in accordance with claim 1 wherein said means for selecting is responsive to a call forwarded to said predetermined number and to said associated messages to transmit to said switching system call handling information for causing said system to connect said call to said station when said station is no longer busy. Automated call handling apparatus in accordance with claim 12 and further comprising recorded announcement means, and wherein said means for selecting is responsive to said forwarded call to connect said call to said announcement means prior to transmitting said call handling information and is responsive to information received in response to connecting said call to said announcement means for transmitting a call waiting indication to said station. A method of forwarding telephone calls in a computer connected to a switching system, comprising the steps of: selecting an alternate destination for said call; and transmitting to said system signals for causing said system to forward said call to said selected alternate destination; CHARACTERIZED IN THAT the method comprises the steps of: prior to the step of selecting, receiving at said computer associated messages corresponding to call handling messages exchanged between said system and a predetermined station connected to said system; and in response to said associated messages, recognizing an incoming call to said station; wherein said signals comprise digital messages; wherein said switching system comprises a plurality of subscriber lines, wherein said station is connected to one of said subscriber lines and wherein said computer is responsive to associated messages transmitted on another of said subscriber lines. The method in accordance with claim 14 wherein the step of transmitting includes the steps of transmitting a message for causing said system to set up a call between said computer and said selected station and the step of sending a message for causing said system to interconnect said incoming call and said call set up between said computer and said selected station. The method in accordance with claim 14 further comprising a method screening, further comprising the steps of: answering said call by the computer; connecting said call to recorded announcement equipment connected to said computer; in response to signaling received in association with said call, transmitting to said station a message indicating that a call is waiting; and in response to an associated message from said switching system, transmitting to said system call handling messages for causing said system to connect said incoming call to said station.

Inventors: DAVIDSON WAYNE ALAN, WINTER DIANA SCHLAG, DAVIDSON, WAYNE ALAN, WINTER, DIANA SCHLAG
Applicants: AT & T CORP, AT&T CORP.
Application year: 1989
Main classification: H04Q11
IPC codes: H04Q11, H04M3, H04Q3