Telephone answering machine

Abstract: A telephone having an answering function includes a receiving section for receiving a voice signal, a command signal, and a receiving signal from a telephone line, and providing the voice signal, the command signal, and the receiving signal as an output; a sending section for sending a response message to the telephone line in response to the receiving signal; a storing section for storing the voice signal provided by the receiving section; a determining section for determining a time period during which the response message is sent to the telephone line; a judging section for judging whether the command signal provided by the receiving section is a predetermined command signal during the time period and generating a judging signal which indicates that the command signal is the predetermined command signal; an output section for converting the voice signal provided by the receiving section into a voice and for outputting the voice; and a prohibiting section for prohibiting the voice signal from being provided to the output section based on the judging signal.

Description: 1. Field of the Invention: The present invention relates to a telephone having an answering function in accordance with the precharacterizing part of claim 1. A telephone of that kind having an answering function is known from US-A-4,847,889. 2. Description of the Related Art: A conventional telephone having an answering function operates in the following manner. The user sets the telephone to an answering mode. In the answering mode, the telephone, for example, sends the caller a prerecorded message and records a message from the caller. Generally, the telephone is set to the answering mode when the user is not present where the telephone is located. When the telephone is set to the answering mode and a line controller of the telephone receives a receiving signal through a telephone line, the telephone can receive a voice signal and the like and send out a prerecorded message to the telephone line. If the caller leaves a message after the prerecorded message is sent out, the telephone records the voice of the caller onto a recording medium such as a magnetic tape or a semiconductor memory. In such a conventional telephone having an answering function, a voice signal representing a message from the caller received through the telephone line is output through an audio speaker of the telephone while being recorded onto a recording medium. Accordingly, anybody who is present near the telephone can hear the message. In order to prevent such an inconvenience, Japanese Laid-Open Patent Publication No. 6-46128, for example, discloses a telephone having an answering function which includes semiconductor memory having a plurality of memory areas. In the telephone disclosed in the above-mentioned publication, each of the plurality of memory areas is used as a mail box for storing a message. In detail, the user inputs an identification number to a mail box in advance. Guided by a prerecorded response message, the caller inputs a mail box number for storing the message in the mail box. The message stored in the mail box is reproduced only by inputting a predetermined identification number corresponding to the mail box. Thus, a person who does not know the identification number is prohibited from listening to the message. Thus, the confidentiality of the message is guaranteed. However, when a handset of the telephone is picked up while the message is being recorded, the recording is stopped and the person who picked up the handset can start a conversation with the caller.The recording of the message is undesirably stopped, and further the confidentiality of the message is broken. This telephone has a remote signal detection means detecting a secret business password DTMF signal at the time of recording the business and a control means which upon receiving the secret business password DTMF signal controls a speaker output control means to make the output sound volume of speaker to mute by setting it in the state of zero. Above cited US-A-4,847,889 describes a telephone having an answering function in accordance with the precharacterizing part of claim 1. This document describes in column 10 and depicts in Figs. 9a and 9b a lock and key mechanism to ensure privacy of each incoming message from a caller at each outgoing message from the owner of the answering machine. In column 10, lines 22 to 23 of this document is described that the lock and key mechanism comprises a spring-loaded lock which is indeed a mechanism. This lock and key mechanism is not functioning in response to a DTMF signal and not based on a judging signal from a Judging means, that is whether a message to be recorded and received from a caller is output or not is not depending on a predetermined command signal sent by the caller but on the operation of the lock and key mechanism by authorized persons at the side of the answering machine. SUMMARY OF THE INVENTION In view of the above, the invention has as its object to prohibit a message from being output from the speaker of the telephone when a recording area in which the message is to be stored is selected by the caller, thus maintaining the message confidential against an unauthorized person. This object is achieved by a telephone having an answering function comprising the features of the independent claim 1. Depending claims 2 to 9 are respectively specifying advantageous developments thereof. Therefore, a telephone having an answering function comprises in accordance with an essential aspect of the present invention receiving means for receiving a voice signal, a command signal, and a receiving signal from a telephone line, and providing the voice signal, the command signal, and the receiving signal as an output: sending means for sending a response message to the telephone line in response to the receiving signal; storing means for storing the voice signal provided by the receiving means; determining means for determining a time period during which the response message is sent to the telephone line; judging means for judging whether the command signal provided by the receiving means is a predetermined command signal during the time period and generating a judging signal which indicates that the command signal is the predetermined command signal; output means for converting the voice signal provided by the receiving means into a voice and for outputting the voice, said telephone being characterized by prohibiting means for prohibiting the voice signal from being provided to the output means based on the judging signal, wherein the prohibiting means cuts off the connection between the receiving means and the output means, thereby prohibiting the voice signal from being output through the output means. In one embodiment of the invention, the outputting section is a handset, and the handset includes a speaker. In one embodiment of the invention, the outputting section is a speaker. In one embodiment of the invention, the storing section includes a plurality of storing areas and the telephone further includes a selection section for selecting a storing area to which the voice signal is to be stored from among the plurality of storing areas. In one embodiment of the invention, the storing section stores the voice signal into the selected storing area. In one embodiment of the invention, the telephone further includes a notification section for outputting a prohibition notification signal which indicates that the prohibiting section is prohibiting the voice signal from being provided to the output section. In one embodiment of the invention, the telephone further includes an input section for receiving data which is input by an operator, wherein the notification section includes a memory for storing the prohibition notification signal therein, and a reading section for reading the prohibition notification signal in accordance with the data which is received by the input section from the memory. In one embodiment of the invention, the telephone further includes an input section for receiving an identification number which is input by an operator; an identification number memory section for storing a predetermined identification number therein; and a comparison section for comparing the identification number received by the input section and the predetermined identification number stored in the identification number memory section. When the identification number and the predetermined identification number match, the prohibiting section permits the voice signal to be provided to the output section. In one embodiment of the invention, the command signal is a DTMF signal. According to the present invention, when a recording area in which the message is to be stored is selected by the caller, the message is prohibited from being output from the speaker of the telephone. Thus, the confidentiality of the message is guaranteed against an unauthorized person. Further according to the present invention, even if the handset of the telephone is picked up while the message is being recorded, the confidential recording of the message continues until an identification number corresponding to the selected recording area or a termination signal is received. Thus, undesirable termination of the message recording and intervention by an unauthorized person are prevented. Moreover, a communication path is not routed between the handset and the caller unless the identification number corresponding to the selected recording area is input from the receiving end. Accordingly, the message is kept confidential. Thus, the invention described herein makes possible the advantage of providing a telephone having an answering function for storing a message from a caller in a predetermined mail box while guaranteeing the confidentiality of the message. These and other advantages of the present invention will become apparent to those skilled in the art upon reading and understanding the following detailed description with reference to the accompanying figures. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a telephone having an answering function in a first example according to the present invention; Figure 2 is a block diagram of a telephone having an answering function in a second example according to the present invention; Figure 3 is a block diagram of a telephone having an answering function in a third example according to the present invention; Figure 4 is a table showing exemplary messages stored in the telephone shown in Figure 3 ; Figure 5 is a table showing exemplary response messages to be sent out of the telephone shown in Figure 3 ; Figure 6 is a schematic view of an input section of the telephone shown in Figure 3; Figures 7, 8 and 9 are flowcharts illustrating the operation of the telephone shown in Figure 3 ; Figure 10 is a table showing examples of data stored in a mail box of the telephone shown in Figure 3; Figure 11 is a view showing an example of a display which is shown while a message is being recorded into a mail box of the telephone shown in Figure 3; and Figure 12 is a view showing an example of a display of the telephone shown in Figure 3, requesting input of an identification number. DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described by way of illustrative examples with reference to the accompanying drawings. Example 1 A telephone having an answering function in a first example according to the present invention will be described with reference to Figure 1. Figure 1 is a block diagram illustrating a telephone 201 having an answering function in the first example. As is shown in Figure 1, the telephone 201 includes a communication section 120, a memory section 103 for storing a voice signal or the like, a control section 104 including a regulation section 108, an output section 105 for converting a voice signal or the like to a voice and outputting the voice from the telephone 201, and a detection section 107 for detecting a receiving signal and a DTMF signal acting as a command signal. The communication section 120 includes a receiving section 102 and a sending section 106. The receiving section 102 receives a receiving signal, a termination signal indicating that the telephone 201 is disconnected from the telephone line, a DTMF signal, a voice signal representing a voice of the caller, and the like through a telephone line 101 which is connected to another party through a switchboard (not shown). The sending section 106 sends a voice signal representing a voice of the user and a voice signal or a message signal stored in the memory section 103 to the telephone line 101. The control section 104 can include the detection section 107. The telephone 201 can further include an input section 109 for setting the telephone 201 to an answering mode. In such a case, the input section 109 is connected to the control section 104 . The communication section 120 is connected to the memory section 103 , the control section 104 , the output section 105 , and the detection section 107 . Thus, the receiving section 102 in the communication section 120 can send the signal from the telephone line 101 to the memory section 103 , the control section 104 , the output section 105 , and the detection section 107 . The sending section 106 receives a signal from the memory section 103 and sends the signal to the telephone line 101 . The detection section 107 detects whether or not a signal received by the receiving section 102 includes a predetermined DTMF signal. If the predetermined DTMF signal is included, the detection section 107 informs the regulation section 108 of such detection. Upon receipt of such information, the regulation section 108 cuts off the connection between the receiving section 102 and the output section 105 in order to prohibit the receiving section 102 from outputting a voice signal sent in through the telephone line 101 to the output section 105 . Hereinafter, an example of the operation of the telephone 201 will be described. The telephone 201 is set to the answering mode by the user through the input section 109 . In the answering mode, the telephone 201 sends a predetermined response message to the caller and, if necessary, records a message from the caller. In the case where the telephone 201 does not include the input section 109 , the telephone 201 can be set to the answering mode in advance. The telephone 201 set to the answering mode operates in the following manner when a telephone call is made. When the receiving section 102 receives a receiving signal, the telephone 201 is automatically connected to the telephone line 101 to send or receive a signal to or from the telephone line 101 . Then, a response message stored in the memory section 103 is sent to the telephone line 101 by the sending section 106 . The response message can be stored at the time of production of the telephone 201 or recorded by the user. Guided by the response message, the caller can leave a message in the memory section 103 . In detail, a voice signal representing the voice of the caller is stored in the following manner. The telephone 201 can be structured so that only the message from the caller is stored or so that the response message and the message from the caller are both recorded. Based on the recorded response message, the communication section 120 determines a response message period and outputs a signal indicating the response message period to the detection section 107 . Thus, while the response message is being sent out, namely, during the response message period, the detection section 107 detects whether or not a signal from the telephone line 101 includes a predetermined DTMF signal. If the predetermined DTMF signal is detected, the regulation section 108 is informed of such detection by the detection section 107 . Then, the regulation section 108 cuts off the connection between the receiving section 102 and the output section 105 to prohibit the voice signal from the caller from being output to the output section 105 . When the output of the response message to the telephone line is completed, the communication section 120 outputs a signal to the detection section 107 , in response to which the detection section 107 stops detection of the DTMF signal. By such operation, when a signal sent in through the telephone line 101 includes a predetermined DTMF signal, the voice of the caller is not output from the telephone 201 through the output section 105 . The detection section 107 can be structured to supply the regulation section 108 with only the information that the predetermined DTMF signal is detected, or to supply the information on whether or not the predetermined DTMF signal is detected while the response message is being sent out. When the receiving section 102 receives a termination signal through the telephone line 101 , the memory section 103 stops recording. Alternatively, the memory section 103 can be structured to stop recording when a predetermined time period has passed. Next, the communication section 120 is disconnected from the telephone line 101 . Thus, one cycle of operation of the telephone 201 in the answering mode is completed. Due to the function of the regulation section 108, the voice of the caller leaving a message is prohibited from being output through the handset or the speaker of the telephone 201. Thus, the message can be kept confidential. Example 2 A telephone having an answering function in a second example according to the present invention will be described with reference to Figure 2 . Figure 2 is a block diagram illustrating a telephone 202 having an answering function in this example. Identical elements as those in the first example will bear identical reference numerals therewith and the descriptions thereof will be omitted. As is shown in Figure 2 , the telephone 202 includes an identification number memory section 132 for storing an identification number and a notification section 133 for outputting, for example, data which is input from the input section 109, in addition to the structure of the telephone 201 described in the first example. The control section 104 includes a selection section 131 and a comparison section 134 in addition to the regulation section 108 . In this example, the output section 105 outputs information visually as well as audibly. The memory section 103 includes a plurality of mail boxes. The caller can select a desired mail box from among the plurality of mail boxes using a DTMF signal and record a message into the selected mail box. A DTMF signal indicates the numerical figure representative of a desired mail box. Since a DTMF signal is used for selecting a mail box, a quantity of DTMF signals equal to the quantity of mail boxes is preferably provided. In the case where a smaller quantity of DTMF signals is provided, only the quantity of mail boxes equal to the DTMF signals can be used. The user can read a voice signal representing the caller's message from the mail box by inputting an identification number allocated for the selected mail box. When the correct identification number is input, the message is output from the telephone 202 through the output section 105 . An example of the operation of the telephone 202 will be described. The telephone 202 is set to the answering mode by the user through the input section 109 . In the case where the telephone 202 does not include the input section 109 , the telephone 202 can be set to the answering mode in advance. The telephone 202 set to the answering mode operates in the following manner when a telephone call is made. When the receiving section 102 receives a receiving signal, the telephone 202 is automatically connected to the telephone line 101 . Thus, the telephone 202 is enabled to send a signal to the telephone line 101 and/or receive a signal from the telephone line 101 . Then, a response message stored in the memory section 103 is sent to the telephone line 101 by the sending section 106 . The response message can be stored at the time of production of the telephone 202 or recorded by the user. Guided by the response message, the caller can leave a message in the memory section 103. In detail, a voice signal representing the voice of the caller is stored in the following manner. Based on the recorded response message, the communication section 120 determines a response message period and outputs a signal indicating the response message period to the detection section 107. Thus, while the response message is being sent out by the sending section 106, namely, during the response message period, the detection section 107 detects whether or not a signal sent through the telephone line 101 includes a predetermined DTMF signal. When the predetermined DTMF signal is detected, the detection section 107 sends the detected DTMF signal to the selection section 131 and the regulation section 108 . When the output of the response message to the telephone line is completed, the communication section 120 outputs a signal to the detection section 107 , in response to which the detection section 107 stops detection of the DTMF signal. The selection section 131 selects a mail box corresponding to the detected DTMF signal from among the plurality of mail boxes. The control section 104 including the selection section 131 outputs a signal representing the selected mail box to the notification section 133 . In the case where the notification section 133 is a display, the notification section 133 displays, for example, the name of the selected mail box based on the signal received from the control section 104 . Then, the control section 104 supplies the communication section 120 with a determination signal which is used by the communication section 120 to select a mail box to which a voice signal from the caller is to be sent. In accordance with the determination signal, the communication section 120 outputs the voice signal to the selected mail box. Thus, the voice signal is stored in the selected mail box. The regulation section 108 prohibits the communication section 120 from outputting the voice signal to the output section 105. Such an operation state is displayed by the notification section 133 based on the signal from the control section 104 . By such an operation, the message from the caller is not overheard while being recorded. While the communication section 120 is being prohibited from outputting the voice signal, the output section 105 displays, for example by the notification section 133 , a request for input of the identification number corresponding to the selected mail box. The user inputs the identification number through the input section 109 in accordance with the display of the notification section 133, and the identification number is sent to the control section 104. The comparison section 134 compares the identification number input by the user and the identification number stored in advance in correspondence with the selected mail box. If the two identification numbers match, the regulation section 108 cancels the prohibition and permits the voice signal to be sent to the output section 105 . Thus, the user can listen to the message from the caller. Example 3 A telephone having an answering function in a third example according to the present invention will be described with reference to Figure 3 . Figure 3 is a block diagram illustrating an telephone 203 having an answering function in the third example. As is shown in Figure 3 , the telephone 203 includes a line controller 2 , a speech network 3 , a cross point switch 4 , a hook switch 6 , a receiving signal detector 7 , a ringer 8 , a DTMF signal detector 9 , a termination signal detector 10 , a display 16 , an input section 17 , a controller 18 , a memory section 143 , and an output section 145 . The telephone 203 can further include a fax modem 150 . The line controller 2 , the speech network 3 , the cross point switch 4 , the receiving signal detector 7 , the ringer 8 , and the termination signal detector 10 shown in Figure 3 correspond to the communication section 120 shown in Figure 1 . The above-mentioned elements of the telephone 203 function in the following manner. The receiving signal detector 7 detects a receiving signal sent from the telephone line 101 and supplies the ringer 8 and the controller 18 with a signal which indicates the detection of the receiving signal. Upon receipt of such a signal, the ringer 8 rings. The line controller 2 is connected to and controls the path of the telephone line 101 or disconnected from the telephone line 101 in accordance with a signal from the controller 18 . The DTMF signal detector 9 detects whether or not a signal from the telephone line 101 includes a DTMF signal. If the DTMF signal is detected, the DTMF signal detector 9 sends the detected DTMF signal to the controller 18. The termination signal detector 10 detects whether or not a signal from the telephone line 101 includes a termination signal. If the termination signal is detected, the termination signal detector 10 supplies the controller 18 with a signal which indicates such detection. The speech network 3 routes a communication path between the telephone line 101 connected to the line controller 2 and the cross point switch 4 . The memory section 143 includes a voice data memory section 11 , a message recording section 12 , and a mail box memory section 13 . The voice data memory section 11 has voice data stored therein which represents a response message to be sent to the caller when the telephone 203 in the answering mode receives a telephone call. The message recording section 12 has a plurality of areas. Voice data which represents a message from the caller is stored in either one of the areas when the DTMF signal detector 9 does not detect a predetermined DTMF signal in the answering mode. The mail box memory section 13 also has a plurality of areas. If the DTMF signal detector 9 detects a predetermined DTMF signal while the response message is being sent out to the telephone line 101 , voice data representing a message from the caller is stored in the mail box corresponding to the detected DTMF signal. Each mail box has a sub-area for storing a name thereof and an identification number necessary for reading the voice data stored therein. An example of the mail box memory section 13 is shown in Figure 10 . The DTMF signal can represent the identification number. Figure 4 shows exemplary messages stored in the voice data memory section 11 . In the case where the telephone 203 includes the fax modem 150 , at least one of the messages 1 through 9 in Figure 4 is sent to the telephone line 101 . In the case where the telephone 203 does not include the fax modem 150 , at least one of the messages 1 , 2 , and 4 through 8 is sent to the telephone line 101 . Figure 5 shows exemplary response messages to be sent to the caller. Which response message is to be sent to the caller depends on whether only the message recording section 12 can be used, only the fax modem 150 can be used, or both can be used. In the case where the message recording section 12 and the fax modem 150 can both be used, message 5 "Leave your name and message at the tone." and message 3 "If you use the fax, please send now." are sent. In the case where only the message recording section 12 can be used, message 1 "I'm sorry, I'm not available now." and message 5 "Leave your name and message at the tone." are sent. In the case where only the fax modem 150 can be used, message 1 "I'm sorry, I'm not available now.", message 3 "If you use the fax, please send now.", message 4, "If you use the phone,", and message 2 "Please call me later." are sent. Neither the message recording section 12 nor the fax modem 150 can be used, message 1 "I'm sorry, I'm not available now." and message 2 "Please call me later." are sent. The message recording section 12 cannot be used, for example, when the message recording section 12 is out of order, or when all the areas of the message recording section 12 are full. The fax modem 150 cannot be used, for example, when the telephone 203 does not include the fax modem 150 , when the fax modem 150 is out of order, or when the fax modem 150 is out of recording paper. The output section 145 includes at least one of (a) a handset 5 including a speaker and a microphone and (b) a speaker amplifier 14 and a speaker 15. The handset 5 and the speaker 15 convert a voice signal from the telephone line 101 to a voice. The hook switch 6 detects that the handset 5 is picked up when the handset 5 is not in contact with the hook switch 6 . The cross point switch 4 controls the connection among the elements connected to the cross point switch 4 . For example, when the cross point switch 4 receives a signal from the speech network 3, the cross point switch 4 outputs the signal to at least one of the handset 5, the speaker amplifier 14, a voice data memory section 11, a message recording section 12 , and the mail box memory section 13 , based on a signal from the controller 18 . Figure 6 illustrates an example of the display 16 and the input section 17 in the case where the telephone 203 includes the fax modem 150 . The display 16 indicates, for example, the operating state. The input section 17 has a plurality of number keys and a plurality of function keys. The number keys are used to input the telephone numbers, the identification numbers, and the like. The functions keys have predetermined uses. For example, a start key 149 is used to output the data to be sent by the fax into the telephone line 101 . The controller 18 controls at least one of the line controller 2, the cross point switch 4, the speaker amplifier 14 and the display 16 based on the signals from at least one of the hook switch 6 , the receiving signal detector 7 , the DTMF signal detector 9 , the termination signal detector 10 , and the input section 17 . The operation of the telephone 203 will be described with reference to Figures 7 through 9 , which are flowcharts. With reference to Figure 7 , at the start, the user sets the telephone 203 to the answering mode by operating the input section 17 . The controller 18 clears the number of receiving signals which have been detected. In step F1, the receiving signal detector 7 detects whether or not a signal from the telephone line 101 includes a receiving signal. If a receiving signal is detected, the ringer 8 rings in response to the receiving signal. If not, the operation of step F1 is repeated. In step F2, the controller 18 counts the number of receiving signals which have been detected by the receiving signal detector 7 during a predetermined period of time. If the counting result is equal to or more than a predetermined value, the operation goes to step F3. If not, the controller 18 clears the counting result, and the operation goes back to step F1. In step F3, the controller 18 controls the line controller 2 to be connected to the telephone line 101 . In step F4, the controller 18 controls the cross point switch 4 to connect the speech network 3, the voice data memory section 11 , and the speaker amplifier 14 to the cross point switch 4 . Then, the controller 18 controls the voice data memory section 11 to send a voice signal representing one of the response messages A through D in Figure 5 to the telephone line 101 through the speech network 3 , based on the availability of the message recording section 12 and the fax modem 150 . The voice signal from the voice data memory section 11 is amplified by the speaker amplifier 14, and the speaker 15 converts the voice signal into a voice. Thus, the response message is output. In step F5, while the response message is being sent to the telephone line 101, the DTMF signal detector 9 detects whether or not a signal from the telephone line 101 includes a DTMF signal. If a DTMF signal is detected, the operation advances to step F31 (Figure 9 ). If not, the operation goes to step F6. In step F6, the controller 18 determines whether or not the output of the response message has ended. If the output of the response message has ended, the operation goes to step F21 (Figure 8 ). If the output of the response message has not ended, the operation goes to step F7. In step F7, the hook switch 6 detects whether or not the hook switch 6 is in contact with the handset 5 . If the hook switch 6 is not in contact with the handset 5 , the operation goes to step F8. If the hook switch 6 is in contact with the handset 5, the operation goes back to step F6. In step F8, the controller 18 controls the voice data memory section 11 to stop the output of the response message. In step F9, the controller 18 controls the cross point switch 4 to connect the speech network 3 and the handset 5 to the cross point switch 4 . At this point, the telephone 203 goes into a dialog mode from the answering mode. Thus, the user can directly talk to the caller through the telephone line 101 . In step F10, the hook switch 6 detects whether or not the hook switch 6 is in contact with the handset 5. If the hook switch 6 is not in contact with the handset 5 , the operation goes back to step F9. If the hook switch 6 is in contact with the handset 5, the operation goes to step F11. In step F11, the controller 18 controls the line controller 2 to release the telephone line 101. Thus, the dialog is terminated, and the telephone 203 goes into the answering mode. As is described above, if a DTMF signal is not detected in the signal from the telephone line 101 while the response message is being sent, the operation goes to step F21 from step F6 after the response message is sent out. With reference to Figure 8 , in step F21, the controller 18 controls the cross point switch 4 to connect the speech network 3 and the message recording section 12 to the cross point switch 4. Then, the controller 18 controls the message recording section 12 to record a voice signal representing a message from the caller which is sent through the telephone line 101 . At this point, the telephone 203 goes into a normal recording mode. In step F22, the termination signal detector 10 detects whether or not a signal from the telephone line 101 includes a termination signal. If a termination signal is detected, the operation goes to step F24. If not, the operation goes to step F23. In step F23, the controller 18 determines whether or not the voice signal from the telephone line 101 has been recorded for a predetermined period of time. If the voice signal has been recorded for the predetermined period of time, the operation goes to step F24. If the voice signal has not been recorded for the predetermined period of time, the operation goes to step F25. In step F25, the hook switch 6 detects whether or not the hook switch 6 is in contact with the handset 5. If the hook switch 6 is in contact with the handset 5 , the operation goes back to step F22. If the hook switch 6 is not in contact with the handset 5, the operation goes to step F26. In step F26, the controller 18 controls the message recording section 12 to stop the recording of the voice signal. Then, the operation goes to step F9 in Figure 7. In step F24, the controller 18 controls the message recording section 12 to stop the recording of the voice signal from the telephone line 101 . Then, the operation goes to step F11 in Figure 7 . The telephone 203 goes into the dialog mode. As is described above regarding step F5, if a DTMF signal is detected in the signal from the telephone line 101 while the response message is being sent, the operation goes to step F31 from step F5. With reference to Figure 9, in step F31, the controller 18 determines whether or not the detected DTMF signal requires that a voice signal representing a message from the caller should be recorded into a mail box. If such a voice signal should not be recorded into a mail box, the operation goes back to step F4 in Figure 7 . If such a voice signal should be recorded into a mail box, the operation goes to step F32, and the telephone 203 goes into a mail box recording mode. In step F32, the controller 18 determines whether or not there is a mail box corresponding to the detected DTMF signal. If there is no such mail box, the operation goes back to step F4 in Figure 7. If there is such a mail box, the operation goes to step F33. In step F33, the controller 18 reads the name of the mail box corresponding to the DTMF signal, and the display 16 indicates information as is shown in Figure 11. In step F34, the controller 18 controls the cross point switch 4 to disconnect the speech network 3 and the speaker amplifier 14 from the cross point switch 4 and to connect the speech network 3 and the mail box memory section 13 to the cross point switch 4 . Then, the controller 18 controls the mail box memory section 13 to record a voice signal representing the message from the caller which is sent through the telephone line 101 into the mail box corresponding to the detected DTMF signal. In step F35, the termination signal detector 10 detects whether or not a signal from the telephone line 101 includes a termination signal. If a termination signal is detected, the operation goes to step F37. If not, the operation goes to step F36. In step F36, the controller 18 determines whether or not the voice signal from the telephone line 101 has been recorded for a predetermined period of time. If the voice signal has been recorded for the predetermined period of time, the operation goes to step F37. If the voice signal has not been recorded for the predetermined period of time, the operation goes to step F38. In step F38, the hook switch 6 detects whether or not the hook switch 6 is in contact with the handset 5 . If the hook switch 6 is in contact with the handset 5 , the operation goes back to step F35. If the hook switch 6 is not in contact with the handset 5 , the operation goes to step F39. In step F39, the controller 18 controls the cross point switch 4 to further connect the voice data memory section 11, the handset 5, and the speaker amplifier 14 to the cross point switch 4. Then, the controller 18 controls the voice data memory section 11 to send the message "A message is now being recorded in the mail box." to the speaker of the handset 5 and to the speaker 15. The speaker of the handset 5 and the speaker 15 output the message from the telephone 203 . The telephone 203 can be structured so that one of the speaker of the handset 5 and the speaker 15 outputs the message. Then, in step F40, the controller 18 controls the display 16 to indicate the request for an identification number (Figure 12). In step F41, the user inputs the identification number corresponding to the selected mail box through the input section 17 , following an audible instruction from at least one of the speaker of the handset 5 and the speaker 15 or a visual instruction shown in the display 16 . In step F42, the controller 18 compares the identification number which is input from the input section 17 and the identification number which is stored in advance in the mail box. If the two identification numbers do not match, the operation goes back to step F35. If the two identification numbers match, the operation goes to step F43. In step F43, the controller 18 controls the mail box memory section 13 to stop the recording of the voice signal. Then, the controller 18 controls the cross point switch 4 to connect the speech network 3 and the handset 5 to the cross point switch 4. The operation goes to step F9 in Figure 7 . In step F37, the controller 18 controls the mail box memory section 13 to stop the recording of the voice signal. As has been described so far, by a telephone having an answering function according to the present invention, a person who does not know the identification number is prohibited from listening to the message from the caller while the message is being recorded in a mail box. Various other modifications will be apparent to and can be readily made by those skilled in the art and the invention is only limited by the appended claims.

Claims: A telephone (201) having an answering function, comprising: receiving means (102) for receiving a voice signal, a command signal, and a receiving signal from a telephone line (101), and providing the voice signal, the command signal, and the receiving signal as an output; sending means (106) for sending a response message to the telephone line in response to the receiving signal; storing means (103) for storing the voice signal provided by the receiving means (102); determining means (107) for determining a time period during which the response message is sent to the telephone line (101); judging means (104) for judging whether the command signal provided by the receiving means (102) is a predetermined command signal during the time period and generating a judging signal which indicates that the command signal is the predetermined command signal; output means (105) for converting the voice signal provided by the receiving means (102; 7, 9, 10) into a voice and for outputting the voice, said telephone (201) being characterized by prohibiting means (108) for prohibiting the voice signal from being provided to the output means (105) based on the judging signal, wherein the prohibiting means (108) is adapted to cut off the connection between the receiving means (102) and the output means (105), thereby prohibiting the voice signal from being output through the output means (105). A telephone (201) having an answering function according to claim 1, wherein the output means (105) is a handset and the handset includes a speaker. A telephone having an answering function according to claim 1, wherein the output means (105) is a speaker. A telephone (201) having an answering function according to claim 1, wherein the storing means (103) includes a plurality of storing areas, and the telephone (201) further comprises selection means (131) for selecting a storing area to which the voice signal is to be stored from among the plurality of storing areas. A telephone (201) having an answering function according to claim 4, wherein the storing means (103) stores the voice signal into the selected storing area. A telephone (201) having an answering function according to claim 1, further comprising notification means (133) for outputting a prohibition notification signal which indicates that the prohibiting means (108) is prohibiting the voice signal from being provided to the output means (105). A telephone (201) having an answering function according to claim 6, further comprising input means (109) for receiving data which is input by an operator, wherein the notification means (133) includes memory means for storing the prohibition notification signal therein, and reading means for reading the prohibition notification signal in accordance with the data which is received by the input means (109) from the memory means (132). A telephone (201) having an answering function according to claim 1, further comprising: input means (109) for receiving an identification number which is input by an operator; identification number memory means (132) for storing a predetermined identification number therein; and comparison means (134) for comparing the identification number received by the input means (109) and the predetermined identification number stored in the identification number memory means (132), wherein, when the identification number and the predetermined identification number match, the prohibiting means (108) permits the voice signal to be provided to the output means (105). A telephone (201) having an answering function according to claim 1, wherein the command signal is a DTMF signal.

Inventors: MATSUDA TOSHIHIRO, MATSUDA, TOSHIHIRO
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1996
Main classification: H04M1
IPC codes: H04M1