Automatic answering method and device for network telephone

文档序号:652246 发布日期:2021-04-23 浏览:11次 中文

阅读说明:本技术 一种网络电话的自动接听方法及装置 (Automatic answering method and device for network telephone ) 是由 王贝贝 于 2020-12-22 设计创作,主要内容包括:本发明公开了一种网络电话的自动接听方法及装置。该方法包括:呼叫服务器与各个待开启自动接听功能的被叫侧话机终端接通;接收主叫侧话机终端的呼叫,判断被叫侧话机终端是否已开启自动接听功能,若已开启,则根据预设自动接听判断条件,确定是否接通;若未开启,则向被呼叫终端振铃;当已开启自动接听功能的被叫侧话机终端与对应的主叫侧话机终端结束通话时,释放主叫侧话机终端的呼叫,保持被叫侧话机终端与呼叫服务器接通,等待下次呼叫;按预设方式关闭已开启自动接听功能的被叫侧话机终端的自动接听功能。该方法使同一个呼叫服务器可以同时接入带自动接听功能的话机终端和不支持自动接听功能的话机终端,提高了呼叫系统的兼容性。(The invention discloses an automatic answering method and device for a network telephone. The method comprises the following steps: the call server is communicated with each called side phone terminal to be started with the automatic answering function; receiving a call of a calling side phone terminal, judging whether an automatic answering function is opened or not at a called side phone terminal, and if so, determining whether to be connected or not according to a preset automatic answering judgment condition; if not, ringing to the called terminal; when the called side phone terminal with the automatic answering function and the corresponding calling side phone terminal finish the conversation, releasing the call of the calling side phone terminal, keeping the called side phone terminal connected with the call server, and waiting for the next call; and closing the automatic answering function of the called side phone terminal with the automatic answering function according to a preset mode. The method enables the same call server to be simultaneously accessed into the telephone terminal with the automatic answering function and the telephone terminal which does not support the automatic answering function, thereby improving the compatibility of the call system.)

1. An automatic answering method of network telephone is characterized by comprising the following steps:

step S1, the call server is connected with each called side phone terminal to be opened with the automatic answering function;

step S2, receiving the call of the calling side phone terminal, judging whether the called side phone terminal has opened the automatic answering function, if so, determining whether to be connected according to the preset automatic answering judging condition; if not, ringing to the called terminal;

step S3, when the called side phone terminal with the automatic answering function and the corresponding calling side phone terminal finish the communication, releasing the call of the calling side phone terminal, keeping the called side phone terminal connected with the call server, and waiting for the next call;

and step S4, closing the automatic answering function of the called side phone terminal with the automatic answering function opened according to a preset mode.

2. The automatic answering method for network telephone according to claim 1, wherein:

when the call server is communicated with each called side phone terminal to be opened with the automatic answering function, the fixed number called by the called side phone terminal to be opened with the automatic answering function is identified, and the call server is directly communicated with the called side phone terminal to be opened with the automatic answering function.

3. The automatic answering method for network telephone according to claim 1, wherein:

when the call server is communicated with each called side phone terminal to be opened with the automatic answering function, identifying the fixed number called by the called side phone terminal to be opened with the automatic answering function, and communicating the call server with the called side phone terminal to be opened with the automatic answering function according to the phone terminal which is selected from a preset called side phone terminal number list and is appointed to be opened with the automatic answering function.

4. The automatic answering method for network telephone according to claim 1, wherein:

when the call server is communicated with each called side phone terminal to be opened with the automatic answering function, a call is initiated to the phone terminal which is selected from a preset called side phone terminal number list and is appointed to open the automatic answering function, and the call server is communicated with the called side phone terminal which is appointed to open the automatic answering function by the call server after the phone terminal responds to the call of the call server.

5. An automatic answering method of network telephone according to any one of claims 2 to 4, characterized in that:

and after the call server is connected with the corresponding called side phone terminal to be opened with the automatic answering function, adding the number of the phone terminal to be opened with the automatic answering function into a phone terminal list to be opened with the automatic answering function.

6. A method for automatic answering of a network phone according to claim 2 or 3, wherein:

before identifying a fixed number called by a called side phone terminal of which the automatic answering function is to be started, setting automatic answering judgment conditions of the phone terminals of which the automatic answering functions are to be started;

or after identifying the fixed number called by the called side phone terminal to start the automatic answering function, the calling server guides the called side phone terminal to set the automatic answering judgment condition by itself;

the automatic answering judging condition includes but is not limited to that the calling number is automatically answered when being in an automatic answering number list, or the automatic answering is automatically answered when meeting an automatic answering rule.

7. The automatic answering method for network telephone according to claim 1, wherein:

and closing the corresponding automatic answering function of the phone terminal with the opened automatic answering function by hanging up the call of one or more phone terminals with the opened automatic answering function.

8. The automatic answering method for network telephone according to claim 1, wherein:

and the automatic answering function of the phone terminal with the corresponding automatic answering function is closed by receiving all the phone terminals with the automatic answering function needing to be closed in the phone terminal list with the automatic answering function started on the call server at one time.

9. An automatic answering device for a network telephone, comprising a processor and a memory, the processor reading a computer program or instructions in the memory for performing the following operations:

the call server is communicated with each called side phone terminal to be started with the automatic answering function;

receiving a call of a calling side phone terminal, judging whether an automatic answering function is opened or not at a called side phone terminal, and if so, determining whether to be connected or not according to a preset automatic answering judgment condition; if not, ringing to the called terminal;

when the called side phone terminal with the automatic answering function and the corresponding calling side phone terminal finish the conversation, releasing the call of the calling side phone terminal, keeping the called side phone terminal connected with the call server, and waiting for the next call;

and closing the automatic answering function of the called side phone terminal with the automatic answering function according to a preset mode.

10. A computer-readable storage medium having stored thereon instructions which, when run on a computer, cause the computer to execute the method of automatically answering a network phone according to any one of claims 1-8.

Technical Field

The invention relates to an automatic answering method of a network telephone, and also relates to a corresponding automatic answering device, belonging to the technical field of IP network communication.

Background

The making and receiving of calls is one of the functions of the telephone terminal that is used most frequently by the user. At present, most of telephone terminals receive incoming calls, users usually select to answer the calls manually, and much inconvenience is often caused to the users in practical use. For example, the user is busy with some important things, and cannot timely take away the call to be answered and miss the call from the other party.

In order to solve the above problems, a telephone terminal having an automatic answering function has been developed. The telephone terminal is provided with some judgment conditions for automatic answering, when other telephone terminals send a call request, the call server can forward the call to the telephone terminal, the telephone terminal judges whether the judgment conditions for automatic answering are met, if so, the call request is automatically answered, and then call establishment is completed.

However, since all the telephone terminals with the automatic answering function need to be specially customized and developed for the second time, aiming at the existing distributed call center constructed based on the IP network, if the seat telephone realizes the automatic answering service, it needs to ensure that the used seat telephone has the automatic answering function. However, many of the existing seat phones are early phone terminals or phone terminals with simple functions, and cannot realize the function of automatic answering.

Disclosure of Invention

The invention provides an automatic answering method of a network telephone.

Another technical problem to be solved by the present invention is to provide an automatic answering device for a network phone.

In order to achieve the purpose, the invention adopts the following technical scheme:

according to a first aspect of the embodiments of the present invention, there is provided an automatic answering method for a network telephone, including the following steps:

step S1, the call server is connected with each called side phone terminal to be opened with the automatic answering function;

step S2, receiving the call of the calling side phone terminal, judging whether the called side phone terminal has opened the automatic answering function, if so, determining whether to be connected according to the preset automatic answering judging condition; if not, ringing to the called terminal;

step S3, when the called side phone terminal with the automatic answering function and the corresponding calling side phone terminal finish the communication, releasing the call of the calling side phone terminal, keeping the called side phone terminal connected with the call server, and waiting for the next call;

and step S4, closing the automatic answering function of the called side phone terminal with the automatic answering function opened according to a preset mode.

Preferably, when the call server is connected with each called side phone terminal to be opened with the automatic answering function, the fixed number called by the called side phone terminal to be opened with the automatic answering function is identified, and the call server is directly connected with the called side phone terminal to be opened with the automatic answering function.

Preferably, when the call server is connected with each called side phone terminal to be opened with the automatic answering function, the fixed number called by the called side phone terminal to be opened with the automatic answering function is identified, and the call server is connected with the called side phone terminal to be opened with the automatic answering function according to the phone terminal which is received and is selected from a preset called side phone terminal number list and is appointed to open the automatic answering function.

Preferably, when the call server is connected with each called side phone terminal to be opened with the automatic answering function, a call is initiated to the phone terminal which is selected from a preset called side phone terminal number list and is appointed to open the automatic answering function, and the call server is connected with the called side phone terminal which is appointed to open the automatic answering function by waiting for the phone terminal to respond to the call of the call server.

Preferably, after the call server is connected with the corresponding called-side phone terminal to be opened with the automatic answering function, the number of the phone terminal to be opened with the automatic answering function is added to the phone terminal list to be opened with the automatic answering function.

Preferably, before identifying the fixed number called by the called side phone terminal of which the automatic answering function is to be started, setting the automatic answering judgment condition of each phone terminal of which the automatic answering function is to be started;

or after identifying the fixed number called by the called side phone terminal to start the automatic answering function, the calling server guides the called side phone terminal to set the automatic answering judgment condition by itself;

the automatic answering judging condition includes but is not limited to that the calling number is automatically answered when being in an automatic answering number list, or the automatic answering is automatically answered when meeting an automatic answering rule.

Preferably, the automatic answering function of the corresponding phone terminal with the opened automatic answering function is closed by hanging up the call of one or more phone terminals with the opened automatic answering function.

Preferably, all the phone terminals needing to close the automatic answering function are selected at one time by receiving the phone terminal list with the automatic answering function opened on the call server, so that the automatic answering function of the corresponding phone terminal with the automatic answering function opened is closed.

According to a second aspect of the embodiments of the present invention, there is provided an automatic answering device for a network telephone, including a processor and a memory, wherein the processor reads a computer program or instructions in the memory, and is configured to:

the call server is communicated with each called side phone terminal to be started with the automatic answering function;

receiving a call of a calling side phone terminal, judging whether an automatic answering function is opened or not at a called side phone terminal, and if so, determining whether to be connected or not according to a preset automatic answering judgment condition; if not, ringing to the called terminal;

when the called side phone terminal with the automatic answering function and the corresponding calling side phone terminal finish the conversation, releasing the call of the calling side phone terminal, keeping the called side phone terminal connected with the call server, and waiting for the next call;

and closing the automatic answering function of the called side phone terminal with the automatic answering function according to a preset mode.

According to a third aspect of the embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon instructions, which, when run on a computer, cause the computer to execute the above-mentioned automatic answering method of a network phone.

The automatic answering method and the device for the network telephone provided by the invention have the advantages that the call server is communicated with the called side telephone terminals to be opened with the automatic answering functions, and the called side telephone terminals opened with the automatic answering functions automatically answer the telephone based on the call server, so that the automatic answering functions are compatible with the early telephone terminals or the telephone terminals with simple functions. In addition, the automatic answering method is independent from the automatic answering function realized at the telephone terminal in the prior art, and the same call server can be simultaneously accessed to the telephone terminal with the automatic answering function and the telephone terminal which does not support the automatic answering function, thereby improving the compatibility of the call system.

Drawings

Fig. 1 is a flowchart of an automatic answering method for a network telephone according to an embodiment of the present invention;

fig. 2 is a schematic diagram illustrating an implementation manner of an automatic answering method for a network phone according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of an automatic answering device of a network phone according to an embodiment of the present invention.

Detailed Description

The technical contents of the present invention will be further described in detail with reference to the accompanying drawings and specific embodiments.

In order to make the automatic answering function compatible with an early phone terminal or a phone terminal with a simple function, as shown in fig. 1, an embodiment of the present invention provides an automatic answering method for a network phone, including the following steps:

and step S1, the call server is communicated with each called side phone terminal to be started with the automatic answering function.

In the embodiment of the invention, the called side phone terminal to be started with the automatic answering function is the phone terminal which is automatically communicated with the phone terminal meeting the preset automatic answering judgment condition when receiving the call of other phone terminals; meanwhile, the called side phone terminal to be started with the automatic answering function is also a phone terminal which completes authentication registration based on an IP network protocol and does not have the automatic answering function.

It should be noted that the called-side phone terminal and the calling-side phone terminal that are to be enabled with the automatic answering function are only relative, and are not absolute; for example, when the phone terminal a initiates a call to the phone terminal B, the phone terminal B needs to start the automatic answering function to automatically answer the incoming call of the phone terminal a, and at this time, the phone terminal B is a called-side phone terminal to be started with the automatic answering function, and the phone terminal a is a calling-side phone terminal. However, when the phone terminal B initiates a main call to the phone terminal a, the phone terminal a needs to start the automatic answering function to automatically answer the incoming call of the phone terminal B, and at this time, the phone terminal a is a called-side phone terminal to be started with the automatic answering function, and the phone terminal B is a calling-side phone terminal.

Specifically, the call server is connected to each called-side phone terminal to be opened with the automatic answering function, that is, a media channel is established between the call server and each called-side phone terminal to be opened with the automatic answering function. When the call server is connected with each called side telephone terminal which needs to start the automatic answering function, the following three methods can be adopted to realize the connection.

The first method comprises the following steps: the fixed number called by the called side phone terminal of which the automatic answering function is to be started is identified, and the calling server and the called side phone terminal of which the automatic answering function is to be started are directly communicated, so that the establishment of a media channel between the calling server and the called side phone terminal of which the automatic answering function is to be started is realized, and the number of the phone terminal of which the automatic answering function is to be started is added into a phone terminal list of which the automatic answering function is started. The fixed number called to the call server by the called side phone terminal to start the automatic answering function is a number preset by the call server and used for starting the automatic answering function of the called side phone terminal. For example, the number for starting the automatic answering function is 888888, and as long as the call server recognizes the called number 888888 of the called-side phone terminal to which the automatic answering function is to be started, the call server and the called-side phone terminal to which the automatic answering function is to be started are connected, so that the automatic answering function of the corresponding called-side phone terminal is started.

The second method comprises the following steps: the fixed number called by the called side phone terminal of the automatic answering function to be started is identified, the phone terminal of the automatic answering function to be started is appointed according to the received phone terminal selected from a preset called side phone terminal number list, the calling server is communicated with the called side phone terminal of the automatic answering function to be started, and therefore the media channel establishment between the calling server and the called side phone terminal of the automatic answering function to be started is achieved, and the number of the phone terminal of the automatic answering function to be started is added into the phone terminal list of the automatic answering function to be started. For example, a called side phone terminal number list preset in a call server includes the numbers of 100 phone terminals, if an automatic answering function needs to be opened for 15 called side phone terminals, the numbers corresponding to the 15 called side phone terminals can be found from a called side phone terminal number list displayed on a user interface of the call server and selected, the call server identifies the fixed number called by the called side phone terminal to be opened with the automatic answering function, the 15 phone terminals are connected with the call server according to the selected numbers of the 15 called side phone terminals, and the request of opening the automatic answering function for phone terminals except the 15 phone terminals is rejected. Therefore, the automatic answering function of the called side phone terminal can be opened in batch through the call server.

The third method comprises the following steps: the method comprises the steps of initiating a call to a phone terminal which is selected from a preset phone terminal number list of a called side and is appointed to start an automatic answering function, waiting for the phone terminal to respond to the call of a call server, connecting the call server with the phone terminal of the called side which is appointed to start the automatic answering function, establishing a media channel between the call server and the phone terminal of the called side which is appointed to start the automatic answering function, and adding the number of the phone terminal which is started to start the automatic answering function into the phone terminal list which is started to start the automatic answering function. For example, a called-side phone terminal number list preset in a call server includes the numbers of 600 phone terminals, if an automatic answering function needs to be opened for 320 phone terminals in the list, a call is initiated to the 320 phone terminals through the call server, and after the called 320 phone terminals are answered, a voice is sent to the called 320 phone terminals, that is, a user does not hang up, the automatic answering function is opened, and the user needs to open a hands-free mode to ensure that the function is normal.

Step S2, receiving the call of the calling side phone terminal, judging whether the called side phone terminal has opened the automatic answering function, if so, determining whether to be connected according to the preset automatic answering judging condition; if not, ringing to the called terminal.

When the calling server identifies the number called by the calling side phone terminal, whether the number is in the phone terminal list with the automatic answering function opened or not is judged, if yes, the called side phone terminal which initiates a call by the calling side phone terminal has the automatic answering function opened, at the moment, the calling server can determine whether the phone terminal which carries out a main call is connected with the called phone terminal or not according to the preset automatic answering judgment condition of the corresponding called phone terminal, and therefore the establishment of a media channel between the calling server and the called side phone terminal which is appointed to be opened and has the automatic answering function is achieved.

The automatic answering judgment condition of each phone terminal needing to start the automatic answering function can be preset in a calling server in any one mode of configuration files, databases, command lines and the like before a fixed number called by a called side phone terminal needing to start the automatic answering function is identified; the automatic answering judgment condition of each phone terminal needing to start the automatic answering function can be preset, and the calling server provides a corresponding interface to guide the called side phone terminal to automatically set the automatic answering judgment condition after identifying the fixed number called by the called side phone terminal needing to start the automatic answering function.

The preset automatic answering judgment condition includes but is not limited to that the calling number is automatically answered in an automatic answering number list or meets an automatic answering rule, and then the calling number is automatically answered; the automatic answering rule can be that the user answers automatically after ringing for a preset time (such as 10s), the automatic answering rule can also be that a certain field answers automatically, and the automatic answering rule can also call a priority answer with high priority, but the automatic answering rule is not limited to this. If the automatic answering judgment condition is that the calling number is in the automatic answering number list, the automatic answering is carried out, when the calling server identifies the number called by the calling side phone terminal, whether the number is in the automatic answering number list or not is judged, if the number is in the automatic answering number list, the phone terminal carrying out the calling is connected with the called phone terminal, and in the process of connecting the calling phone terminal with the called phone terminal, if the audio and video codes are not matched, the calling server completes media transcoding and forwarding.

If the number called by the calling side telephone terminal identified by the calling server is not in the telephone terminal list with the automatic answering function, the called side telephone terminal which initiates the call by the calling side telephone terminal does not start the automatic answering function, and at the moment, the calling server rings to the called terminal like normal calling, and the called terminal determines whether to answer the call.

Step S3, when the called-side phone terminal with the automatic answering function has been opened and the corresponding calling-side phone terminal have finished the call, releasing the call of the calling-side phone terminal, keeping the called-side phone terminal connected with the call server, and waiting for the next call.

The calling server connects the telephone terminal which carries out the main calling with the called side telephone terminal which has opened the automatic answering function, then carries out the conversation, when the conversation is finished, the telephone terminal which carries out the main calling hangs up the telephone, at the moment, the calling server releases the calling of the calling side telephone terminal, keeps the called side telephone terminal connected with the calling server, and waits for the next calling.

And step S4, closing the automatic answering function of the called side phone terminal with the automatic answering function opened according to a preset mode.

If one or more phone terminals with the opened automatic answering function need to close the automatic answering function, the automatic answering function can be closed by hanging up the call of the corresponding phone terminal with the opened automatic answering function, and after the call server identifies that the phone terminal with the opened automatic answering function hangs up the call, the automatic answering function of the corresponding phone terminal with the opened automatic answering function is closed, a media channel between the corresponding phone terminal with the opened automatic answering function and the call server is released, and the automatic answering function is waited to be opened again next time.

If one or more phone terminals with the automatic answering function need to close the automatic answering function, all phone terminals with the automatic answering function needing to be closed can be selected at one time by receiving the phone terminals with the automatic answering function opening list on the calling server, the automatic answering function is closed, a media channel between the corresponding phone terminal with the automatic answering function opening and the calling server is released, and meanwhile, a voice 'you are removed from the phone terminal list with the automatic answering function' is sent to the phone terminals with the automatic answering function closed.

Therefore, the following specific process shown in fig. 2 can be implemented through the above steps S1 to S4:

A. the terminal B is a common telephone and does not support the automatic answering function. And calling the fixed number of the automatic answering function by using the terminal B.

B. And the signaling service module of the call server identifies the called fixed number as the automatic answering function, responds to the call, connects the call server and the terminal B, and adds the number of the terminal B into a phone terminal list with the automatic answering function.

C. The terminal A initiates a call and is called as a terminal B.

D. A signaling service module of a calling server receives a call of a terminal A, judges whether a called terminal B starts automatic answering or not, responds to a calling terminal A if the called terminal B is started, and connects a media channel between the terminal A and the terminal B through a media service module; if the audio and video codes are not matched, the media transcoding and forwarding are completed by the call server.

E. The media service module releases the call of the calling side terminal A, and the called side terminal B keeps communicating and waits for the next call.

F. If the terminal B wants to close the automatic answering function, the call can be hung up, the signaling service module of the call server recognizes, and the media service module closes the automatic answering function of the terminal B. This function can be turned back on.

The terminal B can be understood as a called side phone terminal as an execution subject; the signaling service module and the media service module of the call server can be understood as the call server as an execution subject; the terminal a can be understood as a calling-side telephone terminal as an executing body. The processes a to F are only for the purpose of clearly and intuitively understanding the present invention by those skilled in the art, and are not intended to limit the present invention.

In addition, as shown in fig. 3, an embodiment of the present invention further provides an automatic answering device for a network telephone, which includes a processor 32 and a memory 31, and may further include a communication component, a sensor component, a power component, a multimedia component, and an input/output interface according to actual needs. The memory, communication components, sensor components, power components, multimedia components, and input/output interfaces are all connected to the processor 32. As mentioned above, the memory 31 may be a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read Only Memory (EEPROM), an Erasable Programmable Read Only Memory (EPROM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a magnetic memory, a flash memory, etc.; the processor 32 may be a Central Processing Unit (CPU), Graphics Processing Unit (GPU), Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Digital Signal Processing (DSP) chip, or the like. Other communication components, sensor components, power components, multimedia components, etc. may be implemented using common components found in existing smartphones and are not specifically described herein.

In addition, the automatic answering device for the network telephone provided by the embodiment of the invention comprises a processor 32 and a memory 31, wherein the processor 32 reads a computer program or an instruction in the memory 31 and is used for executing the following operations:

the calling server is communicated with each called side telephone terminal which needs to start the automatic answering function.

Receiving a call of a calling side phone terminal, judging whether an automatic answering function is opened or not at a called side phone terminal, and if so, determining whether to be connected or not according to a preset automatic answering judgment condition; if not, ringing to the called terminal.

When the called side phone terminal with the automatic answering function is started and the corresponding calling side phone terminal finishes the conversation, the call of the calling side phone terminal is released, the called side phone terminal is kept to be communicated with the call server, and the next call is waited.

And closing the automatic answering function of the called side phone terminal with the automatic answering function according to a preset mode.

In addition, an embodiment of the present invention further provides a computer-readable storage medium, where instructions are stored on the computer-readable storage medium, and when the instructions are run on a computer, the computer is enabled to execute the method for automatically answering the network phone as described in fig. 1, and details of a specific implementation manner of the method are not described herein again.

In addition, an embodiment of the present invention further provides a computer program product including instructions, which when run on a computer, causes the computer to execute the method for automatically answering a network phone as described in fig. 1, and details of the implementation of the method are not repeated herein.

The automatic answering method and the device for the network telephone provided by the invention have the advantages that the call server is communicated with the called side telephone terminals to be opened with the automatic answering functions, and the called side telephone terminals opened with the automatic answering functions automatically answer the telephone based on the call server, so that the automatic answering functions are compatible with the early telephone terminals or the telephone terminals with simple functions. In addition, the automatic answering method is independent from the automatic answering function realized at the telephone terminal in the prior art, and the same call server can be simultaneously accessed to the telephone terminal with the automatic answering function and the telephone terminal which does not support the automatic answering function, thereby improving the compatibility of the call system.

The method and the device for automatically answering the network telephone provided by the invention are explained in detail above. It will be apparent to those skilled in the art that various modifications can be made without departing from the spirit of the invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种通话控制方法及其装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类