Abstract:
A transfer apparatus which calls a predetermined transferring destination number when an incoming call on a communication line is detected. The transfer apparatus compares a calling-party number received on an incoming-call received line with the predetermined transferring destination number, and if they do not coincide, the transfer apparatus calls the predetermined transferring destination number; however if they coincide, the transfer apparatus does not perform transferring operation. Accordingly, meaningless transmission such as to transfer an incoming call received from a calling party who is located in the transferring destination can be obviated.

Description:
BACKGROUND OF THE INVENTION 
     Present invention relates to a transfer apparatus connected to a switch network for notifying the telephone number of the calling party to a called party. 
     Conventionally, a transfer apparatus, which performs dialing operation for transferring an incoming call to a predetermined destination, has been suggested. 
     Alternatively, when an incoming call is received, the call is once answered and a message notifying transferring operation is sent to the received line wire, and the transferring operation can be stopped or a transferring destination can be changed in accordance with a PB signal on the received line wire. 
     Moreover, by setting the transfer apparatus, it is possible to automatically answer a call received on a line wire and transfer the call by caller dial operation following a guidance message. 
     However, in the above described conventional example, once the transferring function is activated, it is impossible for a person located in the transferring destination to change the transferring destination or inactivate the transferring function. In addition, since the transfer apparatus always answers an incoming call even when the transferring destination is busy or there is no person to take the call at the destination, the calling party must always be charged for the phone call. Moreover, an additional dialing operation is necessary for each phone call despite the necessity of transferring operation, thus the operation was complicated. 
     SUMMARY OF THE INVENTION 
     The present invention has been made in consideration of the above situation, and has as its object to improve transferring performed in response to an incoming call received on a communication line. 
     Another object of the present invention is to prevent an incoming call received on a communication line from being inappropriately transferred. 
     Another object of the present invention is to judge that a calling party does not desire transferring, at the time of receiving a call on a communication line without requiring additional operation of the calling party. 
     Another object of the present invention is to obviate meaningless transmission such as to transfer an incoming call received on a communication line to the calling party who is located in a transferring destination. 
     Another object of the present invention is to allow a user of the apparatus to change a transferring destination, activate and inactivate a transfer mode via a communication line. 
     Another object of the present invention is to provide a transfer apparatus and a method thereof which judge whether or not a call is to be transferred, by comparing a telephone number of a calling party received on a communication line and a telephone number of a transferring destination, and a memory medium which stores a program for transferring. 
     Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention. 
     FIG. 1 is a block diagram of a telephone apparatus which adopts the present invention; 
     FIG. 2 is a flowchart showing receiving steps of the telephone apparatus which adopts the present embodiment; 
     FIG. 3 is a flowchart showing analyzing processing of an instruction to change a transfer mode of the telephone apparatus which adopts the present invention; 
     FIG. 4 is a transferring data table; 
     FIG. 5 is an abbreviated dial list; and 
     FIG. 6 is an instruction list. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Preferred embodiment of the present invention will be described in detail in accordance with the accompanying drawings. 
     Referring to FIG. 1, reference numeral 10 denotes a main device of a telephone apparatus having a transferring function according to the present embodiment; 11, an external-line interface circuit having an interface with a plurality of telephone lines 30; 12, a switch circuit network connecting communication paths; 13, an internal-line interface having an interface with a plurality of extension telephone units 20; 14, a sound source storing various service tones; 15, a PB receiver which detects a PB signal; and 16, a calling party&#39;s number detecting unit which detects the telephone number of the calling party sent from the telephone lines 30. Reference numeral 17 denotes a control unit which controls the entire system in accordance with a program stored in a memory 17M. Reference numeral 20 denotes extension telephone units comprising display devices. 
     Referring to FIG. 1, the extension telephone units 20 are telephone units which enables control operation such as data setting operation or the like, in addition to normal phone call operation. By using a special number or a function button or the like of the extension telephone units 20, activating or inactivating of a transfer function for each of the telephone lines 30, or transferring destinations are set by the control unit 17 via the internal-line interface 13. 
     In the present embodiment, as shown in FIG. 4, each transferring destination of the telephone lines A, B, C and D is set by an abbreviated dial number of each line. When the transferring function is activated, transfer setting is set to &#34;1&#34;, and when the function is stopped, the setting is set to &#34;0&#34;. A registering example of the abbreviated dial numbers is shown in FIG. 5. For the abbreviated dial number 00, &#34;030123456&#34; is registered. When an incoming call is received by any of the lines A, B, C and D, an open line is captured and &#34;030123456&#34; is dialed. The registered numbers are stored in the memory 17M of the control unit 17. 
     Based on the foregoing setting, operation at the time of receiving an incoming call on a line wire will be described with reference to FIG. 2. Note that the flowchart in FIG. 2 describes a part of a program stored in the memory 17M. 
     When the interface circuit 11 detects an incoming call (YES in step S1), the control unit 17 refers to a setting table shown in FIG. 4 to determine if a transferring mode is set for the incoming-call received line (step S2). If the transferring mode is not set, the processing proceeds to step S18 where other incoming-call processing is performed (e.g., ring one of the extension telephone units 20). If the transferring mode is set, the processing proceeds to step S3 and awaits for the detection result from the calling party&#39;s number detection unit 16. If a telephone number of a calling party is not detected, the processing proceeds to step S19 to perform transfer processing (an open line is captured and the content of the abbreviated dial number 00 is dialed). An incoming-call received line and a dialing line are connected after a transferring destination responds to the call, by the controlling operation of the control unit 17 via the switch circuit network 12. When a telephone number of a calling party is detected, the telephone number of the calling party and a telephone number of the transferring destination are compared (step S4). If the numbers do not coincide as a result of comparison, the processing proceeds to step S19. 
     If the numbers coincide, the interface circuit 11 responds (close the loop) to the incoming-call received line, following an instruction from the control unit 17 (step S5). Then the control unit 17 controls the switch circuit network 12 to connect a communication path between the sound source 15 and interface 11 in order to send a service tone requesting an instruction to the incoming-call received line (step S6). The control unit 17 then controls the switch circuit network 12 to connect a communication path between the interface 11 and the PB receiver 15 to receive an instruction from the incoming-call received line (step S7). To monitor whether or not an instruction is received from the a calling party within a predetermined period of time, a timer is started (step S8). If a number representing a predetermined instruction is not received in the predetermined period of time, the processing proceeds from step S9 to step S15, and the control unit 17 controls the switch circuit network 12 to connect a communication path between the sound source 14 and the interface 11 to send a tone which notifies the incoming-call received line that an instruction cannot be recognized. Then the communication path connection between the incoming-call received line and the PB receiver 15 is released (step S16) and the incoming-call received line is disconnected (step S17). When input reception from the PB receiver 15 is detected in step S10, the monitoring timer is stopped (step S11) and analysis processing of the received instruction is performed (step S12). 
     The analysis processing of an instruction will be described in detail with reference to the flowchart in FIG. 3. Note that the flowchart in FIG. 3 describes a part of a program stored in the memory 17M. 
     It is set in advance that the mark * and a two-digit number denote abbreviated dial number setting, and the mark # and a three-digit number denote an instruction shown in FIG. 6. 
     If the number received in step S21 is * and a two-digit number, the processing proceeds to step S22 where the abbreviated dial list shown in FIG. 5 is checked to determine whether or not the designated abbreviated number has registered data. If no registered data is found in the abbreviated dial list, the processing returns to step S13 to perform processing (steps S15, S16 and S17) for instruction failure. 
     If registered data is found in the abbreviated dial list, the designated number is set in a transferring destination abbreviated number in the table shown in FIG. 4 (step S23) and the processing proceeds to YES in step S13. The control unit 17 controls the switch circuit network 12 to connect the communication path between the sound source 14 and the interface 11 to send a sound notifying to the incoming-call received line that processing is completed as instructed (step S14). Then the control unit 17 releases the communication path connection between the incoming-call received line and the PB receiver 15 (step S16), resulting in disconnection of the incoming-call received line (step S17), and processing is completed. 
     If the received number is # and a three-digit number (step S24), whether or not the received number is found in an instruction list shown in FIG. 6 is checked (step S25). If it is not found in the instruction list, the processing returns to step S13 to perform processing (steps S15, S16 and S17) for instruction failure. If it is found in the instruction list, processing according to the instruction is performed (step S26). For instance, if 000 is received, transfer setting of the incoming-call received line shown in the table in FIG. 4 is changed to 0. If 201 is received, the transferring destination abbreviated number corresponding to the line 2 in the table shown in FIG. 4 is set to 01. Then the processing returns to step S13 to perform the above described normal call-completing operation in steps S14, S16 and S17. 
     If the received number is not # and a three-digit number in step S24, the processing returns to step S13 to perform the aforementioned failure processing in steps S15, S16 and S17. 
     In addition, a transferring destination is not limited to telephone numbers registered in the abbreviated dial list in FIG. 5, but all figures of a telephone number may be registered. 
     An instruction is not limited to a PB signal. An instruction may be sent via a control channel if it is via an ISDN circuit. Moreover, the number may have arbitrary figures. A telephone number of a calling party may be received via ISDN. Note that in the case of using ISDN circuit, a service for the ISDN may be requested via an incoming call ISDN circuit, and transfer processing can be realized by utilizing the ISDN service. 
     Upon responding to an incoming-call received line, for the purpose of security, password input or the like may be requested at the time of executing an instruction. 
     The instruction request sound, instruction failure sound, instruction confirmation sound may be substituted with voice guidance. 
     As has been described above, when a telephone number of a transferring destination and the telephone number of a calling party coincide, the transferring destination can be changed from an external location. By virtue of this, a person located in the transferring destination can freely change setting of the transferring function without impairing operability, thus facility of the transferring function can be improved. 
     Note that if the number received in step S25 in FIG. 3 is *01, the incoming-call receiving method is set in a voice message. In the case where the incoming-call receiving method is set in a voice message, in step S18 in FIG. 2, the control unit 17 activates a voice message device (not shown) connected to the switch circuit network 12 in parallel with the sound source 14. The control unit 17 then controls the switch circuit network 12 to connect the incoming-call received line and the voice message device, and sends the voice message from the voice message device to a calling party via the incoming-call received line. As described above, according to the present embodiment, in addition to activating or inactivating a transferring mode and changing a transferring destination, it is possible to set an incoming-call receiving mode other than transferring mode. 
     Furthermore, a program stored in the control unit 17 may be stored in the memory 17M in advance, or may be read from a disk (not shown) to the memory 17M when the power is turned on. Moreover, the program in the control unit 17 may be written from an external computer (not shown), which is connected to the internal-line interface 13, into the memory 17M. 
     The present invention is not limited to the above embodiments and various changes and modifications can be made within the spirit and scope of the present invention. Therefore, to appraise the public of the scope of the present invention, the following claims are made.