Voice communication method and device, IPPBX server and storage medium
By feeding back the answering status of the called terminal to the IPPBX server, and re-determining and making the call when the phone is picked up by mistake, the problems of cumbersome operations and low voice call efficiency in the existing technology are solved, and the effects of simplifying operations and improving voice call efficiency are achieved. .
Patent Information
- Application Number
- CN202410997026.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-01
AI Technical Summary
When the existing voice call system goes off-hook by mistake, the calling party needs to repeat the call operation multiple times, resulting in cumbersome operations and low voice call efficiency, and cannot effectively avoid the number of calls and the occupation of voice channel resources.
By feedbacking the answering situation from the called terminal to the IPPBX server, and re-determining the number to call again when picking up the phone by mistake and making the call, the operation process is simplified, the number of calls is reduced, and the occupation of voice channel resources is reduced.
This eliminates the need for the calling party to repeat the call initiating operation multiple times when the phone is off-hook by mistake, simplifying the operation process, reducing the number of calls, and improving the efficiency of voice calls.
Smart Images

Figure CN118740990A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a voice call method, device, IPPBX server and storage medium. Background Art
[0002] At present, most companies' external calls, such as customer service calls, use the simultaneous / sequential ringing function in voice calls, that is, to bind external calls with multiple internal calls to prevent missed calls or no one answering the customer service calls, and to avoid setting the current phone multiple times in the shift system. In addition, personal phones can use the simultaneous / sequential ringing function to bind landlines and mobile phones to increase the answering rate of calls.
[0003] Phone simultaneous ringing / sequential ringing means that users can register simultaneous ringing services for their fixed phones, mobile phones, such as PHS phones or other phone numbers. In a simultaneous ringing service, all registered phone numbers are called simultaneous ringing phone numbers, and the phone number published to the public is called the simultaneous ringing triggering phone number. When the phone number published to the public is called, the simultaneous ringing is triggered, that is, the registered phones start ringing at the same time or in sequence, and any of the phones can pick up the phone to talk to the caller. When a phone picks up the phone to talk, the other phones stop ringing and return to the idle state.
[0004] Although the simultaneous ringing / sequential ringing function can ring multiple terminals at the same time for answering, if a terminal picks up the phone by mistake (that is, it should not answer the call but it does), the caller must perform the dialing operation again to call other terminals, resulting in the number of the called party that is determined not to be the answering party being called multiple times. Although it is currently possible to divide the levels when configuring the numbers and call the numbers according to the levels, this method requires the caller to perform the dialing operation multiple times to initiate the call. Another method is that the user selects the answering terminal on his own, that is, the caller transfers the call to other terminals when he finds that he has picked up the phone by mistake, but in actual business, the caller usually does not know which terminal to transfer to. Therefore, there are problems of cumbersome operation and low voice call efficiency. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a voice call method, device, IPPBX server and storage medium.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0007] In a first aspect, the present invention provides a voice call method, the voice call method comprising:
[0008] Receiving a call request sent by a calling terminal and obtaining a called number in the call request;
[0009] In the case where the called number has the simultaneous ringing / sequential ringing function enabled, each number called for the first time is determined from the called number and all the numbers bound to it, and a called terminal corresponding to each number called for the first time is called;
[0010] If key information is received after any called terminal erroneously picks up the phone, each number to be called again is redetermined according to the key information, and the called terminal corresponding to each redetermined number to be called again is called until the call corresponding to the call request is successfully established.
[0011] In an optional implementation manner, the step of re-determining each number to be called again according to the key information includes:
[0012] The calling mode is determined according to the key information and the wrong off-hook information corresponding to the calling request is recorded. According to the calling mode and the wrong off-hook information, each number to be called again is re-determined among the called number and all the numbers bound thereto.
[0013] In an optional implementation manner, the step of determining the call mode according to the key information and recording the wrong off-hook information corresponding to the call request includes:
[0014] When the key information is a key corresponding to the simultaneous ringing function, the call mode is determined to be an intra-group simultaneous ringing call mode, and the wrong off-hook information including the number corresponding to the called terminal that is off-hook is recorded.
[0015] In an optional implementation manner, the called number and each number bound to it have a corresponding simultaneous ringing group;
[0016] The step of re-determining each number to be called again from among the called number and all the numbers bound thereto according to the call mode and the erroneous off-hook information comprises:
[0017] When the call mode is an intra-group simultaneous ringing call mode, determining the simultaneous ringing group to which the number corresponding to the called terminal that has erroneously picked up the phone belongs, and taking each number in the simultaneous ringing group as a candidate number;
[0018] After excluding the numbers recorded with the erroneous off-hook information from the candidate numbers, each number to be called again is re-determined.
[0019] In an optional implementation manner, the called number and each number bound to it have a corresponding simultaneous ringing group, and each simultaneous ringing group has a group number;
[0020] The step of determining the call mode according to the key information and recording the wrong off-hook information corresponding to the call request includes:
[0021] When the key information is a key corresponding to the sequential ringing function, the call mode is determined to be an inter-group sequential ringing call mode, and the wrong off-hook information including the number corresponding to the called terminal that wrongly off-hook and the group number of the simultaneous ringing group to which it belongs is recorded.
[0022] In an optional implementation, each simultaneous ringing group has a corresponding priority;
[0023] The step of re-determining each number to be called again from among the called number and all the numbers bound thereto according to the call mode and the erroneous off-hook information comprises:
[0024] When the call mode is an inter-group sequential ringing call mode, taking the simultaneous ringing group corresponding to each group number not recorded in the erroneous off-hook information as each candidate simultaneous ringing group;
[0025] The candidate simultaneous ringing group with the highest priority among all candidate simultaneous ringing groups is used as the target simultaneous ringing group, and each number in the target simultaneous ringing group is used as each number to be re-determined to be called again.
[0026] In an optional embodiment, the method further comprises:
[0027] When any called terminal goes off-hook, a call is established between the off-hook called terminal and the calling terminal, and calls to each other called terminal are canceled.
[0028] In a second aspect, the present invention provides a voice communication device, the voice communication device comprising:
[0029] A receiving module, used to receive a call request sent by a calling terminal and obtain a called number in the call request;
[0030] A calling module, configured to determine each number to be called for the first time from among the called number and all the numbers bound to it, and to call the called terminal corresponding to each number to be called for the first time, when the simultaneous ringing / sequential ringing function is enabled for the called number;
[0031] If key information is received after any called terminal erroneously picks up the phone, each number to be called again is redetermined according to the key information, and the called terminal corresponding to each redetermined number to be called again is called until the call corresponding to the call request is successfully established.
[0032] In a third aspect, the present invention provides an IPPBX server, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the voice call method described in any one of the aforementioned implementation modes is implemented.
[0033] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the voice call method described in any one of the aforementioned embodiments.
[0034] The present invention provides a voice call method, device, IPPBX server and storage medium, the method comprising: receiving a call request sent by a calling terminal, and obtaining a called number in the call request; in the case where the called number has the simultaneous / sequential ringing function turned on, determining each number called for the first time among the called number and all the numbers bound to it, and calling the called terminal corresponding to each number called for the first time; if key information sent after any called terminal is erroneously picked up, re-determining each number called again according to the key information, and calling the called terminal corresponding to each re-determined number called again, until the call corresponding to the call request is successfully established. The present invention feeds back the answering status to the IPPBX server through the called terminal, and the IPPBX server re-determines the number called again and makes the call when the phone is erroneously picked up. Thus, in the case of erroneous picking up, the calling party does not need to repeatedly perform the call initiation operation, which simplifies the operation, reduces the number of calls, reduces the occupation of voice channel resources, and improves the efficiency of voice calls.
[0035] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 A schematic diagram of a system provided by an embodiment of the present invention is shown;
[0038] Figure 2 A schematic diagram of an electronic device provided by an embodiment of the present invention is shown;
[0039] Figure 3 A schematic diagram showing a flow chart of a voice call method provided by an embodiment of the present invention;
[0040] Figure 4 An example diagram showing a voice call method provided by an embodiment of the present invention is shown;
[0041] Figure 5 A functional module diagram of a voice communication device provided by an embodiment of the present invention is shown.
[0042] Icons: 100 - electronic device; 110 - processor; 120 - memory; 130 - communication module; 300 - voice call device; 310 - receiving module; 330 - call module. DETAILED DESCRIPTION
[0043] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0044] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0045] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0046] Please refer to Figure 1, is a schematic diagram of a system provided by an embodiment of the present invention. The system includes a calling terminal, an IPPBX server and multiple called terminals, and the IPPBX server is respectively connected to the calling terminal and each called terminal in communication. Among them, the calling terminal and the called terminal can be landline phones, mobile phones, personal computers, tablet computers, netbooks, laptop computers, etc., which are not limited in the embodiment of the present invention. The IPPBX server can be an independent server or a server cluster composed of multiple servers. In addition, the IPPBX (Internet Protocol Private Branch eXchange, network telephone exchange system) server is an IP-based corporate telephone system that can fully integrate voice communications into the company's data network, thereby establishing a unified voice and data network that can connect office locations and employees distributed around the world.
[0047] Please refer to Figure 2 , is a block diagram of an electronic device provided by an embodiment of the present invention. The structure of the electronic device 100 can be used to implement the above Figure 1 The electronic device 100 includes a processor 110, a memory 120 and a communication module 130, and each component is directly or indirectly electrically connected to each other to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0048] The processor 110 is used to read / write data or programs stored in the memory 120 and execute corresponding functions. It can be a general-purpose processor, including a CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be a DSP digital signal processor, an ASIC application-specific integrated circuit, an FPGA off-the-shelf programmable gate array or other programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
[0049] The memory 120 is used to store programs or data. The memory 120 can be a RAM (Random Access Memory), a ROM (Read Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable Programmable Read-Only Memory), an EEPROM (Electric Erasable Programmable Read-Only Memory), etc.
[0050] The communication module 130 is used to perform signaling or data communications with other devices.
[0051] Understandably, Figure 2 The structure shown is only a schematic diagram of the structure of the electronic device 100. The electronic device 100 may also include Figure 2 More or fewer components as shown, or with Figure 2 Different configurations are shown. Figure 2 Each component shown in the figure can be implemented by hardware, software or a combination thereof.
[0052] The following will take the above-mentioned IPPBX server as the execution subject to introduce the voice call method provided by the embodiment of the present invention.
[0053] See also Figure 3 , is a flow chart of a voice call method provided by an embodiment of the present invention.
[0054] Step S202: receiving a call request sent by the calling terminal, and obtaining the called number in the call request.
[0055] Step S204: when the simultaneous ringing / sequential ringing function is enabled for the called number, each number to be called for the first time is determined from the called number and all the numbers bound to it, and a call is made to the called terminal corresponding to each number to be called for the first time.
[0056] Step S206, if key information is received after any called terminal erroneously picks up the phone, each number to be called again is redetermined according to the key information, and the called terminal corresponding to each redetermined number to be called again is called until the call corresponding to the call request is successfully established.
[0057] For ease of understanding, the embodiment of the present invention is described with an example. For example, calling terminal A sends a call request to the IPPBX server, and the IPPBX server receives the call request and obtains the called number carried therein, such as 2000. Then the IPPBX server detects the service authority corresponding to the called number 2000 to determine whether the called number 2000 has the simultaneous ringing / sequential ringing function enabled.
[0058] If the called number 2000 does not have the simultaneous ringing / sequential ringing function enabled, then only the called terminal corresponding to the called number 2000 is called. If the called number 2000 has the simultaneous ringing / sequential ringing function enabled, then all the numbers bound to the called number 2000 are obtained through the dial plan of the telephone soft switch platform in the IPPBX server. For example, if the obtained numbers are 2001, 2002, 2003, 2004, 2005, 2006 and 2007, then it is determined that numbers 2000 to 2007 form a simultaneous ringing group.
[0059] For the convenience of description, the eight called terminals corresponding to the eight numbers 2000, 2001, 2002, 2003, 2004, 2005, 2006 and 2007 are referred to as called terminal 0, called terminal 1, called terminal 2, called terminal 3, called terminal 4, called terminal 5, called terminal 6 and called terminal 7 respectively.
[0060] Then the IPPBX server uses each number in the simultaneous ringing group, that is, numbers 2000 to 2007, as each number for the first call, and calls called terminals 0 to 7 through One Number Paraller (One Number Parallel service function) to ensure that the call initiated by calling terminal A can be answered.
[0061] If the IPPBX server receives the key information corresponding to the wrong off-hook sent by any called terminal after it picks up the phone, it means that the answered called terminal is not the correct answering party. In this case, each number to be called again is redetermined in the same ringing group, i.e., numbers 2000 to 2007, and a call is made to the called terminal corresponding to each redetermined number to be called again, i.e., the next call is made, until the call corresponding to the call request is successfully established, i.e., the call between the host terminal A and the called terminal of the correct answering party is successfully established.
[0062] It can be understood that the embodiment of the present invention is to have the called terminal feedback the answering situation to the IPPBX server after the wrong off-hook, and the IPPBX server re-determines the number to be called and makes the call. Therefore, in the case of wrong off-hook, the calling party does not need to repeatedly perform the call initiation operation, which simplifies the operation, reduces the number of calls, reduces the occupation of voice channel resources, and improves the voice call efficiency.
[0063] It can be seen that based on the above steps, the call request sent by the calling terminal is received, and the called number in the call request is obtained; when the simultaneous / sequential ringing function is turned on for the called number, each number called for the first time is determined in the called number and all the numbers bound to it, and the called terminal corresponding to each number called for the first time is called; if the key information sent by any called terminal after the wrong off-hook is received, each number called again is re-determined according to the key information, and the called terminal corresponding to each re-determined number called again is called, until the call corresponding to the call request is successfully established. The present invention feeds back the answering status to the IPPBX server through the called terminal, and the IPPBX server re-determines the number called again and makes the call when the off-hook is wrong. Thereby, in the case of wrong off-hook, there is no need for the calling party to repeatedly perform the call initiation operation, which simplifies the operation, reduces the number of calls, reduces the occupation of voice channel resources, and improves the efficiency of voice calls.
[0064] Optionally, after the above step S204, the embodiment of the present invention further provides a possible implementation manner, that is, when any called terminal goes off-hook, a call is established between the off-hook called terminal and the calling terminal, and calls to each other called terminal are canceled.
[0065] For ease of understanding, the above example is used for further explanation. Assuming that the IPPBX server determines that the number to be called again is 2001, and all the numbers bound to this number are 2000 and 2002, the IPPBX server will call called terminal 0 and called terminal 2 by establishing a bridge between calling terminal A and called terminal 0, and a bridge between calling terminal A and called terminal 2.
[0066] When the IPPBX server detects that any called terminal, such as called terminal 0, has picked up the phone, it creates a call between calling terminal A and called terminal 0, and disconnects the bridge between calling terminal A and called terminal 2 to cancel the call to called terminal 2.
[0067] Optionally, for the process of re-determining each number to be called again according to the key information in step S206, an embodiment of the present invention provides a possible implementation manner.
[0068] Step S206-1, determining the call mode according to the key information and recording the wrong off-hook information corresponding to the call request.
[0069] Step S206-3, re-determine each number to be called again from the called number and all the numbers bound to it according to the call mode and the wrong off-hook information.
[0070] For ease of understanding, the above example is continued for explanation. When the IPPBX server calls each number of the first call, that is, the called terminal corresponding to numbers 2000 to 2007, that is, called terminal 0 to called terminal 7, called terminals 0 to called terminal 7 will ring at the same time. Assuming that the called terminal corresponding to number 2001, that is, called terminal 1, answers the call but does not pick up the phone properly, it sends key information to the IPPBX server. The key information can be transmitted by the called terminal 1 by setting parameters in the call channel between it and the IPPBX server.
[0071] When the IPPBX server receives the key information, it controls the called terminal 1 to hang up to cut off the call between the called terminal 1 and the calling terminal A, and then determines the call mode according to the key information sent by the called terminal 1 and records the wrong off-hook information corresponding to the call request, and determines and re-determines each number of the second call in numbers 2000 to 2007 according to the call mode and the wrong off-hook information, and calls the called terminal corresponding to each number of the second call, and so on, until the call corresponding to the call request in step S202 is successfully established. Among them, the wrong off-hook information is the channel variable of the call request. When there are multiple calls for the same call request and the called terminal has wrong off-hook, the wrong off-hook information will be superimposed.
[0072] Optionally, when the called party turns on the simultaneous ringing / sequential ringing function, the embodiment of the present invention also pre-sets the keys corresponding to the simultaneous ringing function and the sequential ringing function, so that the corresponding functions can be used to make a call. Therefore, for step S206-1, the embodiment of the present invention provides two implementation methods, and the first implementation method is described below.
[0073] Step S206-1A: when the key information is a key corresponding to the simultaneous ringing function, the call mode is determined to be the intra-group simultaneous ringing call mode, and the wrong off-hook information including the number corresponding to the called terminal that wrongly off-hook is recorded.
[0074] It is understandable that the called number and all the numbers bound to it can be grouped in advance according to the organization department or business group to obtain multiple simultaneous ringing groups. For example, the grouping of numbers 2000 to 2007 is shown in the following table:
[0075] Co-vibration group ① Co-vibration group② Co-vibration group③ 2000、2001、2002 2003、2004、2005 2006、2007
[0076] To make it easier to understand, continue with the above example and refer to Figure 4 , Figure 4 It is an example diagram provided by an embodiment of the present invention.
[0077] Assuming that the key carried in the key information sent by the called terminal 1 is the key corresponding to the simultaneous ringing function, such as *7, it means that the service of the host terminal A should be handled by other numbers in the same group, and the simultaneous ringing function is used to make the second call. Then the IPPBX server will use the call mode corresponding to the simultaneous ringing function, that is, the simultaneous ringing call mode within the group, as the second call mode, and add the number corresponding to the called terminal 1, that is, 2001, to the wrong off-hook information to obtain the latest wrong off-hook information.
[0078] Optionally, based on the fact that the call mode in step S206-1A is a simultaneous ringing call mode within the group, the embodiment of the present invention provides a corresponding implementation method for step S206-3:
[0079] Step S206-3A-1, when the call mode is the intra-group simultaneous ringing call mode, determining the simultaneous ringing group to which the number corresponding to the called terminal that erroneously picked up the phone belongs, and taking each number in the simultaneous ringing group as a candidate number;
[0080] Step S206-3A-3, after excluding the numbers with erroneous off-hook information records from the candidate numbers, each number to be called again is re-determined.
[0081] To make it easier to understand, continue with the above example and refer to Figure 4 After the IPPBX server determines that the second call mode is the intra-group simultaneous ringing call mode, it determines the simultaneous ringing group to which the number corresponding to the called terminal 1, 2001, belongs, namely, simultaneous ringing group ①, and uses each number in simultaneous ringing group ①, 2000, 2001, and 2002, as a candidate number. Then, each candidate number not recorded in the error off-hook information, 2000 and 2002, is used as the second number to be called, and calls are made to the called terminal 0 and the called terminal 2.
[0082] It can be understood that the intra-group simultaneous ringing call mode corresponding to the simultaneous ringing function is to make a call in the simultaneous ringing group where the called terminal that has picked up the phone by mistake is located. Since the called terminal that has picked up the phone by mistake is not the correct answering party, the number corresponding to the called terminal that has picked up the phone by mistake will be recorded in the wrong off-hook information, so that when making a call in the simultaneous ringing group, the called terminal that has picked up the phone by mistake will not be called, thereby reducing the number of calls and reducing the occupation of voice channel resources.
[0083] For step S206-1, a second implementation method will be introduced below.
[0084] Step S206-1B, when the key information is a key corresponding to the sequential ringing function, determine that the call mode is an inter-group sequential ringing call mode, and record the incorrect off-hook information including the number corresponding to the called terminal that incorrectly off-hook and the group number of the simultaneous ringing group to which it belongs.
[0085] To make it easier to understand, continue with the above example and refer to Figure 4 When the IPPBX server calls the called terminal 0 and the called terminal 2, the called terminal 0 and the called terminal 2 ring at the same time.
[0086] Assuming that the called terminal corresponding to number 2000, that is, called terminal 0, answers the call but does not pick up the phone properly, it sends key information to the IPPBX server. After receiving the key information, the IPPBX server controls called terminal 0 to hang up to cut off the call between called terminal 0 and calling terminal A, and re-determines each number of the third call to make the third call.
[0087] Assuming that the key carried in the key information sent by the called terminal 0 is the key corresponding to the sequential ringing function, such as *9, it means that the service of the host terminal A should be handled by other simultaneous ringing groups, and the sequential ringing function is used to make the third call. Then the IPPBX server will use the call mode corresponding to the sequential ringing function, that is, the inter-group sequential ringing call mode, as the third call mode, and add the number corresponding to the called terminal 0, that is, 2000, and the group number of the simultaneous ringing group to which it belongs, that is, ①, to the wrong off-hook information to obtain the latest wrong off-hook information.
[0088] Optionally, based on the fact that the call mode in step S206-1B is a simultaneous ringing call mode within the group, the embodiment of the present invention provides a corresponding implementation method for step S206-3:
[0089] Step S206-3B-1, when the call mode is an inter-group sequential ringing call mode, the simultaneous ringing group corresponding to each group number not recorded in the erroneous off-hook information is used as each candidate simultaneous ringing group;
[0090] Step S206-3B-3: The candidate simultaneous ringing group with the highest priority among all candidate simultaneous ringing groups is used as the target simultaneous ringing group, and each number in the target simultaneous ringing group is used as each number to be re-determined to be called again.
[0091] It is understandable that each simultaneous ringing group has a corresponding priority. For example, the priority of the simultaneous ringing group can be represented by the group number of the simultaneous ringing group, and the smaller the group number, the higher the priority. For example, the priority of simultaneous ringing group ① is higher than that of simultaneous ringing group ②, and the priority of simultaneous ringing group ② is higher than that of simultaneous ringing group ③.
[0092] To make it easier to understand, continue with the above example and refer to Figure 4 After the IPPBX server determines that the third call mode is an inter-group sequential ringing call mode, it uses the simultaneous ringing groups corresponding to each group number not recorded in the error off-hook information as candidate simultaneous ringing groups, that is, simultaneous ringing group ② and simultaneous ringing group ③ are both used as candidate simultaneous ringing groups. Then, in simultaneous ringing group ② and simultaneous ringing group ③, the candidate simultaneous ringing group with the highest priority, namely simultaneous ringing group ②, is used as the target simultaneous ringing group. Then, each number in simultaneous ringing group ②, namely 2003, 2004 and 2005, is used as the third number to be called, and calls are made to called terminal 3, called terminal 4 and called terminal 5.
[0093] When the IPPBX server calls the called terminal 3, the called terminal 4 and the called terminal 5, the called terminal 3, the called terminal 4 and the called terminal 5 will ring at the same time. Assuming that the called terminal 5 answers and picks up the phone correctly, the call between the called terminal 5 and the host terminal A is maintained until the called terminal 5 is detected to hang up, and the wrong pick-up information is deleted to prevent the wrong pick-up information from affecting other business functions.
[0094] It can be understood that the inter-group sequential ringing call mode corresponding to the sequential ringing function is to determine the highest priority sequential ringing group among other sequential ringing groups except the sequential ringing group where the called terminal that picked up the phone incorrectly is located, and make a call in the sequential ringing group. Since the sequential ringing group where the called terminal that picked up the phone incorrectly is located is not the correct answering party, the group number of this sequential ringing group will be recorded in the incorrect off-hook information, so as to exclude this sequential ringing group when determining the highest priority sequential ringing group, thereby reducing the number of calls and reducing the occupancy of voice channel resources.
[0095] In order to execute the corresponding steps in the above embodiments and various possible methods, a method for implementing a voice communication device is provided below. Figure 5 , Figure 5 This is a functional module diagram of a voice communication device 300 provided in an embodiment of the present invention. It should be noted that the basic principle and technical effects of the voice communication device 300 provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for matters not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The voice communication device 300 includes:
[0096] The receiving module 310 is used to receive a call request sent by the calling terminal and obtain the called number in the call request;
[0097] The calling module 330 is used to determine each number called for the first time from the called number and all the numbers bound to it, and call the called terminal corresponding to each number called for the first time when the simultaneous ringing / sequential ringing function is enabled for the called number;
[0098] If a key message is received after any called terminal erroneously picks up the phone, each number to be called again is redetermined according to the key message, and the called terminal corresponding to each redetermined number to be called again is called until the call corresponding to the call request is successfully established.
[0099] Optionally, the calling module 330 is further used to: determine the calling mode according to the key information and record the wrong off-hook information corresponding to the call request, and redetermine each number to be called again among the called number and all the numbers bound to it according to the calling mode and the wrong off-hook information.
[0100] Optionally, the calling module 330 is further configured to: when the key information is a key corresponding to the simultaneous ringing function, determine the calling mode as the intra-group simultaneous ringing calling mode, and record the wrong off-hook information including the number corresponding to the called terminal that wrongly off-hook.
[0101] Optionally, the call module 330 is also used for: when the call mode is an intra-group simultaneous ringing call mode, determining the simultaneous ringing group to which the number corresponding to the called terminal that erroneously picked up the phone belongs, and using each number in the simultaneous ringing group as a candidate number; after excluding the number with the erroneous off-hook information record from the candidate numbers, obtaining each number to be called again after being redetermined.
[0102] Optionally, the calling module 330 is further used to: when the key information is a key corresponding to the sequential ringing function, determine that the calling mode is an inter-group sequential ringing calling mode, and record the erroneous off-hook information including the number corresponding to the called terminal of the erroneous off-hook and the group number of the simultaneous ringing group to which it belongs.
[0103] Optionally, the call module 330 is also used for: when the call mode is an inter-group sequential ringing call mode, taking the sequential ringing group corresponding to each group number not recorded in the erroneous off-hook information as each candidate sequential ringing group; taking the candidate sequential ringing group with the highest priority among all the candidate sequential ringing groups as the target sequential ringing group, and taking each number in the target sequential ringing group as each number to be re-determined and called again.
[0104] Optionally, the calling module 330 is further configured to: when any called terminal goes off-hook, establish a call between the off-hook called terminal and the calling terminal, and cancel calls to each other called terminal.
[0105] The embodiment of the present invention further provides an IPPBX server, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the voice call method disclosed in the embodiment of the present invention is implemented.
[0106] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the voice call method disclosed in the embodiment of the present invention is implemented.
[0107] In several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0108] In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.
[0109] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0110] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A voice call method, characterized in that: The voice call method comprises: Receiving a call request sent by a calling terminal and obtaining a called number in the call request; In the case where the called number has the simultaneous ringing / sequential ringing function enabled, each number called for the first time is determined from the called number and all the numbers bound to it, and a called terminal corresponding to each number called for the first time is called; If key information is received after any called terminal erroneously picks up the phone, each number to be called again is redetermined according to the key information, and the called terminal corresponding to each redetermined number to be called again is called until the call corresponding to the call request is successfully established.
2. The voice call method according to claim 1, characterized in that: The step of re-determining each number to be called again according to the key information comprises: The calling mode is determined according to the key information and the wrong off-hook information corresponding to the calling request is recorded. According to the calling mode and the wrong off-hook information, each number to be called again is re-determined among the called number and all the numbers bound thereto.
3. The voice call method according to claim 2, characterized in that: The step of determining the call mode according to the key information and recording the wrong off-hook information corresponding to the call request includes: When the key information is a key corresponding to the simultaneous ringing function, the call mode is determined to be an intra-group simultaneous ringing call mode, and the wrong off-hook information including the number corresponding to the called terminal that wrongly off-hook is recorded.
4. The voice call method according to claim 3, characterized in that: The called number and each number bound to it have a corresponding simultaneous ringing group; The step of re-determining each number to be called again from among the called number and all the numbers bound thereto according to the call mode and the erroneous off-hook information comprises: When the call mode is an intra-group simultaneous ringing call mode, determining the simultaneous ringing group to which the number corresponding to the called terminal that has erroneously picked up the phone belongs, and taking each number in the simultaneous ringing group as a candidate number; After excluding the numbers recorded with the erroneous off-hook information from the candidate numbers, each number to be called again is re-determined.
5. The voice call method according to claim 2, characterized in that: The called number and each number bound to it have a corresponding simultaneous ringing group, and each simultaneous ringing group has a group number; The step of determining the call mode according to the key information and recording the wrong off-hook information corresponding to the call request includes: When the key information is a key corresponding to the sequential ringing function, the call mode is determined to be an inter-group sequential ringing call mode, and the wrong off-hook information including the number corresponding to the called terminal that wrongly off-hook and the group number of the simultaneous ringing group to which it belongs is recorded.
6. The voice call method according to claim 5, characterized in that: Each simultaneous ringing group has a corresponding priority; The step of re-determining each number to be called again from among the called number and all the numbers bound thereto according to the call mode and the erroneous off-hook information comprises: When the call mode is an inter-group sequential ringing call mode, taking the simultaneous ringing group corresponding to each group number not recorded in the erroneous off-hook information as each candidate simultaneous ringing group; The candidate simultaneous ringing group with the highest priority among all candidate simultaneous ringing groups is used as the target simultaneous ringing group, and each number in the target simultaneous ringing group is used as each number to be re-determined to be called again.
7. The voice call method according to claim 1, characterized in that: The method further comprises: When any called terminal goes off-hook, a call is established between the off-hook called terminal and the calling terminal, and calls to each other called terminal are canceled.
8. A voice communication device, characterized in that: The voice communication device comprises: A receiving module, used to receive a call request sent by a calling terminal and obtain a called number in the call request; A calling module, configured to determine each number to be called for the first time from among the called number and all the numbers bound to it, and to call the called terminal corresponding to each number to be called for the first time, when the simultaneous ringing / sequential ringing function is enabled for the called number; If key information is received after any called terminal erroneously picks up the phone, each number to be called again is redetermined according to the key information, and the called terminal corresponding to each redetermined number to be called again is called until the call corresponding to the call request is successfully established.
9. An IPPBX server, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the voice call method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the voice call method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Voice communication method and device based on distributed communication simulator
CN118921428A
