CN111901345A - Method, device, equipment and storage medium for realizing voice call - Google Patents

Method, device, equipment and storage medium for realizing voice call Download PDF

Info

Publication number
CN111901345A
CN111901345A CN202010742373.1A CN202010742373A CN111901345A CN 111901345 A CN111901345 A CN 111901345A CN 202010742373 A CN202010742373 A CN 202010742373A CN 111901345 A CN111901345 A CN 111901345A
Authority
CN
China
Prior art keywords
voice
signaling
call
equipment
subscription
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010742373.1A
Other languages
Chinese (zh)
Other versions
CN111901345B (en
Inventor
林炎章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN202010742373.1A priority Critical patent/CN111901345B/en
Publication of CN111901345A publication Critical patent/CN111901345A/en
Application granted granted Critical
Publication of CN111901345B publication Critical patent/CN111901345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1093In-session procedures by adding participants; by removing participants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/58Arrangements for transferring received calls from one subscriber to another; Arrangements affording interim conversations between either the calling or the called party and a third party

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for realizing voice call, and relates to the technical field of voice transmission. The method comprises the following steps: analyzing the received first subscription signaling; determining whether the first subscription signaling is a call voice forwarding signaling from the second voice equipment according to the analysis result of the first subscription signaling; the second voice equipment is management equipment of the first voice equipment; and if the first subscription signaling is a call voice forwarding signaling, performing voice call among the first voice equipment, the second voice equipment and the third voice equipment through a pre-established call channel of the first voice equipment and the second voice equipment and a call channel of the first voice equipment and the third voice equipment. Compared with the prior art, the problem that the voice call needs to depend on a server, the voice call that a boss joins a secretary and a third party client cannot be realized, and the three-party call cannot be realized is solved.

Description

Method, device, equipment and storage medium for realizing voice call
Technical Field
The present application relates to the field of voice transmission technologies, and in particular, to a method, an apparatus, a device, and a storage medium for implementing a voice call.
Background
With the development of the internet, the internet phone is more and more common in the life of people, and compared with the traditional phone, the internet phone is convenient to dial and has smaller cost; the internet phone is a voice call technology, and achieves a voice call or a multimedia conference through an Internet Protocol (IP). However, in a company, how to realize a three-party call between a "boss", a customer service/secretary and a third party "client" is an important problem.
The traditional function of the boss secretarial needs to rely on the service resource of the server, and the network telephone between the customer service/secretarial and the client is forwarded to the boss through the server, so that the monitoring of the boss on the conversation between the customer service/secretarial and the third party client is realized.
However, the implementation of the method needs to depend on a server, so that the limitation is large, the method cannot realize the co-online voice of a secretary, a boss and a third party client, the boss cannot join the voice, and the three-party call cannot be realized.
Disclosure of Invention
An object of the present application is to provide a method, an apparatus, a device, and a storage medium for implementing a voice call, so as to solve the problem that the implementation of a voice call in the prior art needs to rely on a server, and the voice call of "a boss" joining a secretary "and a third party" a client "cannot be implemented, and the three-party call cannot be implemented.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a method for implementing a voice call, where the method includes:
analyzing the received first subscription signaling;
determining whether the first subscription signaling is a call voice forwarding signaling from second voice equipment according to the analysis result of the first subscription signaling; the second voice equipment is management equipment of the first voice equipment;
if the first subscription signaling is a call voice forwarding signaling, performing voice call among the first voice device, the second voice device and a third voice device through a pre-established call channel of the first voice device and the second voice device and a call channel of the first voice device and the third voice device; and the third voice equipment is voice equipment which is communicated with the first voice equipment.
Optionally, before parsing the received first subscription invitation signaling, the method further includes:
receiving invitation signaling from the second voice device;
analyzing the invitation signaling;
and establishing a voice channel between the first voice device and the second voice device according to the analysis result of the invitation signaling.
Optionally, the establishing a voice channel between the first voice device and the second voice device according to the parsing result of the invitation signaling includes:
determining whether the invitation signaling is a call monitoring signaling from the second voice equipment or not according to the analysis result of the invitation signaling;
if the invitation signaling is a call monitoring signaling, establishing a voice channel between the first voice device and the second voice device, and forwarding the call voice of the first voice device and the third voice device to the second voice device without forwarding the call voice of the second voice device.
Optionally, before the voice call between the first voice device, the second voice device, and the third voice device is performed through the pre-established call channel between the first voice device and the second voice device, and the call channel between the first voice device and the third voice device, the method further includes:
acquiring the call voice of the second voice device through the call channel of the first voice device and the call channel of the second voice device;
and synchronously forwarding the call voice of the second voice equipment to the third voice equipment through a call channel between the first voice equipment and the third voice equipment, so that the first voice equipment is used as a call voice relay between the second voice equipment and the third voice equipment.
Optionally, the determining, according to the analysis result of the invitation signaling, whether the invitation signaling is a call monitoring signaling from the second voice device includes:
determining whether the invitation signaling has preset call monitoring indication information or not according to the analysis result of the invitation signaling;
if the invitation signaling has the call monitoring indication information, determining that the invitation signaling is a call monitoring signaling;
and if the invitation signaling does not have the call monitoring indication information, determining that the invitation signaling is not the call monitoring signaling.
Optionally, the determining, according to the analysis result of the first subscription signaling, whether the first subscription signaling is a call voice forwarding signaling from a second voice device includes:
determining whether the first subscription signaling has preset relay indication information of call voice according to the analysis result of the first subscription signaling;
if the first subscription signaling contains the relay indication information, determining that the first subscription signaling is a call voice forwarding signaling;
and if the first subscription signaling does not have the relay indication information, determining that the first subscription signaling is not a call voice forwarding signaling.
Optionally, before the receiving the invite signaling from the second voice device, the method further includes:
receiving second subscription signaling from the second voice device;
analyzing the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling;
and if the second subscription signaling is a subscription instruction of the call state, sending a notification signaling to the second voice device to indicate the call state of the first voice device.
Optionally, the sending of the notification signaling to the second voice device includes:
if the second subscription signaling is a subscription instruction of a call state, determining whether the second voice device is in a management subscription list of the first voice device; the management subscription list includes: at least one managing voice device of the first voice devices;
and if the second voice equipment is in the management subscription list, sending a notification signaling to the second voice equipment.
Optionally, before the determining whether the second voice device is in the management subscription list of the first voice device, the method further includes:
sending an authentication request to the second voice equipment;
receiving an authentication message of the second voice equipment;
authenticating the second voice equipment according to the authentication message;
and if the second voice equipment passes the authentication, adding the second voice equipment into the management subscription list.
Optionally, the authentication message is a message constructed by using a control password of the second voice device; the authenticating the second voice device according to the authentication message includes:
determining whether a control password for constructing the authentication message is a password corresponding to the first voice equipment;
if so, determining that the second voice equipment passes the authentication;
if not, determining that the second voice equipment is not authenticated.
Optionally, the method further comprises:
and if receiving an ending signaling from the second voice equipment, disconnecting the communication channel of the first voice equipment and the second voice equipment.
In a second aspect, another embodiment of the present application provides a method for implementing a voice call, which is applied to a second voice device, and the method includes:
receiving a notification signaling sent by first voice equipment;
if the notification signaling indicates that the first voice equipment is in a call, sending a first subscription signaling to the first voice equipment;
when the first voice device determines that the first subscription signaling is a call voice forwarding signaling, the first subscription signaling is used for enabling the first voice device to perform voice call among the first voice device, the second voice device and a third voice device through a pre-established call channel of the first voice device and the second voice device and a call channel of the first voice device and the third voice device; and the third voice equipment is the communication voice equipment of the first voice equipment.
Optionally, before the sending the first subscription signaling to the first voice device, the method further includes:
sending an invitation signaling to the first voice equipment; the invitation signaling is used for enabling the second voice equipment to analyze the invitation signaling, and establishing a voice channel between the first voice equipment and the second voice equipment according to an analysis result of the invitation signaling.
Optionally, before sending the invite signaling to the first voice device, the method includes:
sending a second subscription signaling to the first voice device; the second subscription signaling is used for enabling the second voice equipment to analyze the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling;
the notification signaling is a notification signaling sent by the second voice device when the second subscription signaling is determined to be a subscription instruction of a call state.
Optionally, the notification signaling is a subscription instruction for determining, by the second voice device, that the second subscription signaling is in a call state, and the notification signaling is sent by the second voice device in a management subscription list of the first voice device;
wherein the management subscription list includes: at least one of the first voice devices manages a voice device.
Optionally, after the sending of the second subscription signaling to the first voice device, the method further includes:
receiving an authentication request sent by the first voice equipment;
sending an authentication message to the first voice equipment; and the authentication message is used for enabling the first voice equipment to authenticate the second voice equipment according to the authentication message, and if the second voice equipment passes the authentication, the second voice equipment is added into the management subscription list.
Optionally, the authentication message is a message constructed by using a control password of the second voice device.
Optionally, an end signaling is sent to the first voice device, where the end signaling is used to enable the first voice device to disconnect the call channel between the first voice device and the second voice device.
In a third aspect, another embodiment of the present application provides an apparatus for implementing a voice call, which is applied to a first voice device, and the apparatus includes: the receiving module, analyze the module and transmit the module, wherein:
the receiving module is used for analyzing the received first subscription signaling;
the analysis module is used for determining whether the first subscription signaling is a call voice forwarding signaling from second voice equipment according to the analysis result of the first subscription signaling; the second voice equipment is management equipment of the first voice equipment;
the forwarding module is configured to perform voice call among the first voice device, the second voice device, and the third voice device through a pre-established call channel between the first voice device and the second voice device and a call channel between the first voice device and the third voice device if the first subscription signaling is a call voice forwarding signaling; and the third voice equipment is voice equipment which is communicated with the first voice equipment.
Optionally, the apparatus further comprises: a building block, wherein:
the receiving module is specifically configured to receive an invitation signaling from the second voice device;
the analysis module is specifically configured to analyze the invitation signaling;
and the establishing module is used for establishing a voice channel between the first voice device and the second voice device according to the analysis result of the invitation signaling.
Optionally, the apparatus further comprises: a determining module, configured to determine whether the invitation signaling is a call monitoring signaling from the second voice device according to a parsing result of the invitation signaling;
the establishing module is specifically configured to establish a voice channel between the first voice device and the second voice device if the invitation signaling is a call monitoring signaling, and forward the call voice of the first voice device and the third voice device to the second voice device without forwarding the call voice of the second voice device.
Optionally, the apparatus further comprises: the acquisition module is used for acquiring the call voice of the second voice device through the call channels of the first voice device and the second voice device;
the forwarding module is specifically configured to synchronously forward the call voice of the second voice device to a third voice device through a call channel between the first voice device and the third voice device, so that the first voice device serves as a call voice relay between the second voice device and the third voice device.
Optionally, the determining module is specifically configured to determine whether the invitation signaling has preset call monitoring indication information according to an analysis result of the invitation signaling; if the invitation signaling has the call monitoring indication information, determining that the invitation signaling is a call monitoring signaling; and if the invitation signaling does not have the call monitoring indication information, determining that the invitation signaling is not the call monitoring signaling.
Optionally, the determining module is specifically configured to determine, according to an analysis result of the first subscription signaling, whether the first subscription signaling has relay indication information of a preset call voice; if the first subscription signaling contains the relay indication information, determining that the first subscription signaling is a call voice forwarding signaling; and if the first subscription signaling does not have the relay indication information, determining that the first subscription signaling is not a call voice forwarding signaling.
Optionally, the receiving module is specifically configured to receive a second subscription signaling from the second voice device;
the analysis module is specifically configured to analyze the second subscription signaling, and determine whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling;
the sending module is specifically configured to send a notification signaling to the second voice device to indicate the call state of the first voice device if the second subscription signaling is a subscription instruction of the call state.
Optionally, the determining module is specifically configured to determine whether the second voice device is in the management subscription list of the first voice device if the second subscription signaling is a subscription instruction of a call state; the management subscription list includes: at least one managing voice device of the first voice devices;
the sending module is specifically configured to send a notification signaling to the second voice device if the second voice device is in the management subscription list.
Optionally, the sending module is specifically configured to send an authentication request to the second speech device;
the receiving module is specifically configured to receive an authentication message of the second voice device;
the determining module is specifically configured to authenticate the second voice device according to the authentication message; and if the second voice equipment passes the authentication, adding the second voice equipment into the management subscription list.
Optionally, the determining module is specifically configured to determine whether a control password for constructing the authentication message is a password corresponding to the first voice device; if so, determining that the second voice equipment passes the authentication; if not, determining that the second voice equipment is not authenticated.
Optionally, the apparatus further comprises: and the disconnection module is used for disconnecting the communication channel of the first voice equipment and the second voice equipment if receiving the ending signaling from the second voice equipment.
In a fourth aspect, another embodiment of the present application provides an apparatus for implementing a voice call, which is applied to a second voice device, and the apparatus includes: receiving module and sending module, wherein:
the receiving module is used for receiving a notification signaling sent by the first voice equipment;
the sending module is configured to send a first subscription signaling to the first voice device if the notification signaling indicates that the first voice device is in a call;
when the first voice device determines that the first subscription signaling is a call voice forwarding signaling, the first subscription signaling is used for enabling the first voice device to perform voice call among the first voice device, the second voice device and a third voice device through a pre-established call channel of the first voice device and the second voice device and a call channel of the first voice device and the third voice device; and the third voice equipment is the communication voice equipment of the first voice equipment.
Optionally, the sending module is specifically configured to send an invitation signaling to the first voice device; the invitation signaling is used for enabling the second voice equipment to analyze the invitation signaling, and establishing a voice channel between the first voice equipment and the second voice equipment according to an analysis result of the invitation signaling.
Optionally, the sending module is specifically configured to send a second subscription signaling to the first voice device; the second subscription signaling is used for enabling the second voice equipment to analyze the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling; the notification signaling is a notification signaling sent by the second voice device when the second subscription signaling is determined to be a subscription instruction of a call state.
Optionally, the receiving module is specifically configured to receive an authentication request sent by the first speech device;
the sending module is specifically configured to send an authentication message to the first voice device; and the authentication message is used for enabling the first voice equipment to authenticate the second voice equipment according to the authentication message, and if the second voice equipment passes the authentication, the second voice equipment is added into the management subscription list.
Optionally, the sending module is specifically configured to send an end signaling to the first voice device, where the end signaling is used to enable the first voice device to disconnect a call channel between the first voice device and the second voice device.
In a fifth aspect, another embodiment of the present application provides a speech device, including: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when the device for implementing voice call runs, the processor and the storage medium communicate with each other through the bus, and the processor executes the machine-readable instructions to perform the steps of the method according to any one of the first aspect and the second aspect.
In a sixth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the method according to any one of the first or second aspects.
The beneficial effect of this application is: by adopting the method for realizing the voice call provided by the application, the received first subscription signaling can be analyzed through the first voice equipment, if the first subscription signaling is determined to be the call voice forwarding signaling from the second voice equipment, the voice call among the first voice equipment, the second voice equipment and the third voice equipment is carried out through the pre-established call channels of the first voice equipment and the second voice equipment and the call channels of the first voice equipment and the third voice equipment, wherein the second voice equipment is the management equipment of the first voice equipment, the third voice equipment is the call voice equipment of the first voice equipment, the setting mode ensures that the second voice equipment can be added in the voice call process of the first voice equipment and the third voice equipment to realize the three-party call, and the information interaction among the voice equipment is realized in a signaling mode, and the method does not need to depend on a server, so that the application is more flexible.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a method for implementing a voice call according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for implementing a voice call according to another embodiment of the present application;
fig. 3 is a schematic flowchart of a method for implementing a voice call according to another embodiment of the present application;
fig. 4 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application;
fig. 5 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application;
fig. 6 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application;
fig. 8 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application;
fig. 9 is a schematic diagram of an architecture of a method for implementing a voice call according to an embodiment of the present application;
fig. 10 is an interaction diagram of a method for implementing a voice call according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an apparatus for implementing a voice call according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of an apparatus for implementing a voice call according to another embodiment of the present application;
fig. 13 is a schematic structural diagram of an apparatus for implementing a voice call according to another embodiment of the present application;
fig. 14 is a schematic structural diagram of a device for implementing a voice call according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Additionally, the flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
The method for realizing the voice call can be applied to three-party calls involving a plurality of voice devices to realize the three-party calls, wherein each voice device can be a device supporting the voice call function, such as a mobile phone, a tablet computer, a desktop computer, a network phone and any other device with the call function. It should be noted that the first voice device of the three-party call may be a controlled voice device, for example, a voice device held by "customer service/secretary"; the second voice device may be a management voice device of the first voice device to manage the call of the first voice device, for example, a voice device held by a "boss"; the third voice device may be a third party voice device that is engaged in a voice call with the first voice device, such as a voice device held by a "customer". It should be noted that the "customer service/secretary", "boss", and "client" are merely examples of roles of holders of voice devices, and in practical applications, the roles of the holders corresponding to the first voice device, the second voice device, and the third voice device may not be limited to the above examples, and may also be other roles having similar functions.
It should also be noted that the Voice call function mentioned above may be, for example, a network Voice function, such as a Voice Over Internet Protocol (VOIP) function, but may also be other forms of Voice functions.
The following explains a method for implementing a voice call provided in the embodiments of the present application with reference to a plurality of specific application examples. Fig. 1 is a flowchart illustrating a method for implementing a voice call according to an embodiment of the present application, and is applied to a first voice device, where the first voice device may be the above-mentioned controlled voice device. As shown in fig. 1, the method includes:
s101: and analyzing the received first subscription signaling.
The first subscription (Subscribe) signaling may be used to Subscribe the call state of the first voice device, and after the subscription is successful, the device that sends the first subscription signaling is the monitoring device. The monitoring device can be used for monitoring the call state of the first voice device. The monitoring mode may be, for example: monitoring the first voice equipment by the monitoring equipment in real time; or after the call state of the first voice equipment is changed, sending a state change instruction to the monitoring equipment, and selecting whether the current call needs to be monitored by the monitoring equipment; the specific listening mode may be set according to the user requirement, and is not limited to the embodiment described above. In addition, the first voice device may be monitored by one or more other devices, and the specific setting mode may be flexibly adjusted according to the user needs, which is not limited herein.
S102: and determining whether the first subscription signaling is a call voice forwarding signaling from the second voice equipment according to the analysis result of the first subscription signaling.
The second voice equipment is management equipment of the first voice equipment. In one embodiment of the present application, the second speech device may be, for example, a speech device used by "Boss", and the first speech device may be, for example, a speech device used by "Secretary". Only after the first subscription signaling is determined to be sent by the second voice equipment, subsequent processing is carried out, otherwise, the first voice equipment does not process the first subscription information, and the first subscription information can be directly ignored; or sending out a prompt to prompt that the first voice equipment currently has other voice equipment attempting to monitor the call.
If the first subscription signaling is a call voice forwarding signaling, S103 is executed.
S103: and carrying out voice call among the first voice equipment, the second voice equipment and the third voice equipment through the pre-established call channels of the first voice equipment and the second voice equipment and the call channels of the first voice equipment and the third voice equipment.
And the third voice equipment is the voice equipment which is communicated with the first voice equipment.
In an embodiment of the present application, the third speech device may be, for example, a speech device corresponding to "client (client)". In an embodiment, the first voice device and the third voice device may use a Real-time transport Protocol (RTP) for voice call. The voice call may be initiated from the first voice device to the third voice device, or from the third voice device to the first voice device, and the specific voice call initiating manner may be flexibly adjusted according to the user needs, which is not limited herein.
The communication channel from the first voice device to the third voice device can be established at the beginning of the voice communication between the first voice device and the third voice device. The communication channel of the first voice device and the second voice device may be established at any stage of the voice communication between the first voice device and the third voice device, and the specific time for establishing the communication channel and the specific establishing manner of the communication channel may be asymmetrically limited in this embodiment.
The setting mode can enable the second voice equipment to join in the voice call between the first voice equipment and the second voice equipment in real time after the second voice equipment is analyzed and verified through the first voice equipment, and in the process of three-party call, for example, the current content of the voice call can be guided through a holder of the second voice equipment such as a boss, and the like, so that three-party simultaneous voice call among the three voice equipment can be realized.
By adopting the method for realizing the voice call provided by the application, the received first subscription signaling can be analyzed through the first voice equipment, if the first subscription signaling is determined to be the call voice forwarding signaling from the second voice equipment, the voice call among the first voice equipment, the second voice equipment and the third voice equipment is carried out through the pre-established call channels of the first voice equipment and the second voice equipment and the call channels of the first voice equipment and the third voice equipment, wherein the second voice equipment is the management equipment of the first voice equipment, the third voice equipment is the call voice equipment of the first voice equipment, the setting mode ensures that the second voice equipment can be added in the voice call process of the first voice equipment and the third voice equipment to realize three-party call, and the information interaction among the voice equipment is realized in a signaling mode, and the method does not need to depend on a server, so that the application is more flexible.
Optionally, on the basis of the foregoing embodiment, an implementation method of a voice call may also be provided in the embodiments of the present application, and an implementation process of analyzing the first subscription signaling in the foregoing method is described as follows with reference to the accompanying drawings. Fig. 2 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application, where as shown in fig. 2, before S101, the method further includes:
s104: an invitation signaling is received from the second voice device.
Wherein, in one implementation of the present application, the INVITE (INVITE) is used to INVITE the first voice device to establish a voice channel therewith. The voice channel may be used to forward voice between the second voice device and the first voice device, and the forwarding may be, for example: the first voice device and the second voice device can perform bidirectional voice forwarding between the two voice devices and also can perform unidirectional voice forwarding, the setting of a specific forwarding rule can be designed according to the needs of a user, and the application is not limited at all.
For example, in an embodiment of the present application, before S104, it is required to receive a second subscription signaling from the second voice device; analyzing the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling; and if the second subscription signaling is a subscription instruction of the call state, sending a notification signaling to the second voice equipment to indicate the call state of the first voice equipment.
In some possible embodiments, the second subscription signaling is used to subscribe to a call state of the first voice device, and the second subscription signaling may initiate a call subscription request to the first voice device, for example, in a manner of carrying preset call listening event information. The call listening Event information is carried in the header field information of the second subscription signaling, for example, the header field information of the second subscription signaling may carry an Event: call _ monitor to indicate call listening. After receiving the second subscription signaling, the first voice device may analyze header information thereof, and determine whether the current subscription signaling is a call state subscription signaling.
The second subscription information sent by the second voice device is analyzed and judged, whether the current second voice device is the monitoring device corresponding to the first voice device or not can be determined, namely whether the second voice device has the authority of monitoring the call of the first voice device or not can be determined, and the second voice device can monitor the call of the first voice device only under the condition of monitoring the authority, so that the call safety in the call process is ensured. Preventing the current call from being monitored by other equipment; if the subscription information of the second voice device is verified and determined to be the monitoring device of the first voice device, the first voice device sends a notification signaling to the second voice device in real time to notify the current call state of the first voice device, so that the second voice device determines whether to monitor the current call of the first device.
In an embodiment of the present application, the manner of sending the notification signaling to the second voice device may be, for example: receiving a second subscription signaling, judging whether the second subscription signaling is a subscription signaling of a call state, and if the second subscription signaling is a subscription instruction of the call state, determining whether the second voice equipment is in a management subscription list of the first voice equipment; managing the subscription list includes: at least one managing voice device of the first voice devices; and if the second voice equipment is in the management subscription list, sending a notification signaling to the second voice equipment.
The management subscription list can be a preset list and is used for storing equipment information with monitoring authority, and only the second voice equipment in the management subscription list has the authority of subscribing and monitoring the call state of the first voice equipment; in an embodiment of the present application, only the authenticated second voice device may be added to the management subscription list, and the manner of authenticating the second voice device may be, for example: after receiving second subscription information sent by second voice equipment, the first voice equipment sends an authentication request to the second voice equipment; then receiving an authentication message returned by the second voice equipment; authenticating the second voice equipment according to the authentication message; and if the second voice equipment passes the authentication, adding the second voice equipment into the management subscription list.
Optionally, in an embodiment of the present application, the authentication mode may perform authentication in a manner of presetting a password, for example, to determine whether a control password for constructing the authentication message is a password corresponding to the first voice device; if so, determining that the second voice equipment passes the authentication; if not, determining that the second voice equipment is not authenticated.
The preset password may be preset, for example, the account information of the first voice device may be preset by the second voice device, where the account information may be, for example, a registration account and a control password of the first voice device, the account information of the second voice device may also be preset by the first voice device, and the registration account and the control password of the second voice device, and a specific mode of presetting the password may be flexibly adjusted according to a user requirement, and is not limited to the mode given in the above embodiment; the specific authentication manner may be, for example, that the second speech device constructs an authentication header field (authentication header field) through a preset control password, and sends the authentication header field to the first speech device, and the first speech device verifies the control password in the authentication header field, and if the control password is the preset control password, it is determined that the second speech device passes the authentication.
S105: the invitation signaling is parsed.
Optionally, in an embodiment of the present application, the parsing manner of the invitation signaling may be, for example: and analyzing the header field information of the invitation signaling, and determining whether the invitation signaling is the monitoring equipment corresponding to the first voice equipment according to the analysis result of the header field information of the invitation signaling. The header field information carried in the invite signaling may be, for example, information carrying an Event: call _ monitor, representing call listening.
S106: and establishing a voice channel between the first voice equipment and the second voice equipment according to the analysis result of the invitation signaling.
Optionally, in an embodiment of the present application, it may be determined whether the invite signaling is a call monitoring signaling from the second voice device according to a parsing result of the invite signaling; if the invitation signaling is a call monitoring signaling, establishing a voice channel between the first voice equipment and the second voice equipment, forwarding the call voice of the first voice equipment and the third voice equipment to the second voice equipment, and not forwarding the call voice of the second voice equipment, wherein the forwarding mode enables the second voice equipment to monitor the current call of the first voice equipment but not join the call between the first voice equipment and the third voice equipment; in an embodiment of the present application, different first voice devices or second voice devices are distinguished from each other by unique identifiers, where the unique identifiers may be, for example: the specific monitoring rule and the unique identity can be designed according to the needs of the user, and the application is not limited herein.
The method for determining whether the invite signaling is the call monitoring signaling from the second voice device may be: determining whether the invitation signaling has preset call monitoring indication information or not according to the analysis result of the invitation signaling; if the invitation signaling has call monitoring indication information, determining the invitation signaling as the call monitoring signaling; and if the invitation signaling does not have the call monitoring indication information, determining that the invitation signaling is not the call monitoring signaling.
For example, before establishing the communication channel and the voice communication, the communication voice of the second voice device may be obtained through the communication channels of the first voice device and the second voice device; and synchronously forwarding the call voice of the second voice equipment to the third voice equipment through the call channel of the first voice equipment and the third voice equipment, so that the first voice equipment is used as a call voice relay between the second voice equipment and the third voice equipment.
The monitoring mode not only ensures the safety of the voice call between the first voice device and the third voice device, but also can realize the monitoring of the voice call between the first voice device and the third voice device through the analyzed second voice device.
Optionally, on the basis of the foregoing embodiment, an implementation method of a voice call may also be provided in the embodiments of the present application, and how to determine that the first subscription signaling is a call voice forwarding signaling in the foregoing method is described as follows with reference to the accompanying drawings. Fig. 3 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application, and as shown in fig. 3, S102 may include:
s107: and determining whether the first subscription signaling has preset relay indication information of call voice according to the analysis result of the first subscription signaling.
The relay indication information is used for indicating whether the second voice equipment needs to be added into the current voice call between the first voice equipment and the third voice equipment; in an embodiment of the present application, the first subscription signaling may carry call relay indication information, where the call relay indication information may be carried in header information of the first subscription signaling, for example, the header information carries an Event: the call _ media _ relay header information may determine whether the first subscription signaling includes the relay indication information by analyzing the header information of the first subscription signaling.
If the first subscription signaling has the relay indication information, S108a is executed, and then S103 is executed.
S108 a: and determining that the first subscription signaling is a call voice forwarding signaling.
If the first subscription signaling does not have the relay indication information, S108b is executed.
S108 b: and determining that the first subscription signaling is not call voice forwarding signaling.
The method enables the second voice device to be added into the voice call between the first voice device and the third voice device in real time through the first subscription signaling with the relay indication information in the monitoring process, so as to realize the guidance of the call or the direct communication with the third voice device.
Optionally, on the basis of the foregoing embodiment, an implementation method of a voice call may also be provided in the embodiments of the present application, and how to determine that the first subscription signaling is a call voice forwarding signaling in the foregoing method is described as follows with reference to the accompanying drawings. Fig. 4 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application, where as shown in fig. 4, the method further includes:
s109: and if receiving a termination (Bye) signaling from the second voice equipment, disconnecting the call channel of the first voice equipment and the second voice equipment.
The disconnection of the communication channels of the first voice equipment and the second voice equipment does not affect the communication channels of the first voice equipment and the third voice equipment, the first voice equipment and the third voice equipment can still carry out normal voice communication, and only the second voice equipment exits from three-party communication and does not monitor the current communication.
Optionally, in an embodiment of the present application, the signaling is sent through a Session Initiation Protocol (SIP), and a specific signaling sending manner may be flexibly adjusted according to a user requirement, which is not limited herein.
By adopting the method for realizing the voice call, the second voice equipment can monitor the call of the first voice equipment in real time, and can join in the call process of the first voice equipment and the third voice equipment in real time, so that the guidance of the voice call of the first voice equipment and the third voice equipment is realized.
The following explains a method for implementing a voice call provided in the embodiments of the present application with reference to a plurality of specific application examples. Fig. 5 is a flowchart illustrating a method for implementing a voice call according to an embodiment of the present application, which is applied to a second voice device, and as shown in fig. 5, the method includes:
s201: and receiving notification signaling sent by the first voice equipment.
In an embodiment of the present application, the first voice device may send the notification signaling to the second voice device once every preset time interval, or may send the notification signaling to the second voice device only after the current call state changes (for example, a call is established or a call is hung up), where a sending manner of the specific notification signaling may be flexibly adjusted according to a user requirement, and the present application is not limited herein.
S202: and if the notification signaling indicates that the first voice equipment is in a call, sending a first subscription signaling to the first voice equipment.
The first subscription signaling is used for enabling the first voice equipment to perform voice call among the first voice equipment, the second voice equipment and the third voice equipment through a pre-established call channel of the first voice equipment and the second voice equipment and a call channel of the first voice equipment and the third voice equipment when the first voice equipment determines that the first subscription signaling is a call voice forwarding signaling; and the third voice equipment is the communication voice equipment of the first voice equipment.
The above method is the same as the method described in fig. 1 to fig. 4, and is only applied to different voice device sides, so the beneficial effects brought by the method are not described herein again.
Optionally, on the basis of the foregoing embodiment, an implementation method of a voice call may also be provided in the embodiments of the present application, and the following further illustrates an implementation process in the foregoing method with reference to the accompanying drawings. Fig. 6 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application, as shown in fig. 6, before S202, the method may further include:
s203: and sending an invitation signaling to the first voice equipment.
The invitation signaling is used for enabling the second voice equipment to analyze the invitation signaling, and a voice channel between the first voice equipment and the second voice equipment is established according to the analysis result of the invitation signaling.
Optionally, on the basis of the foregoing embodiment, an implementation method of a voice call may also be provided in the embodiments of the present application, and the following further illustrates an implementation process in the foregoing method with reference to the accompanying drawings. Fig. 7 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application, as shown in fig. 7, before S203, the method may further include:
s204: and sending second subscription signaling to the first voice equipment.
The second subscription signaling is used for enabling the second voice device to analyze the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling.
Optionally, in an embodiment of the present application, after receiving the second subscription signaling sent by the first voice device, the first voice device further needs to be authenticated, and a flow of the authentication operation may be, for example: receiving an authentication request sent by first voice equipment; sending an authentication message to the first voice equipment; the authentication message is used for enabling the first voice equipment to authenticate the second voice equipment according to the authentication message, and if the second voice equipment passes the authentication, the second voice equipment is added into the management subscription list.
The authentication request may be, for example, a 401 response, and authentication is requested through the 401 response.
The authentication message may be, for example, a message constructed using a control password of the second voice device. The notification signaling is a subscription instruction for determining that the second subscription signaling is in a call state for the second voice equipment, and the notification signaling is sent by the second voice equipment in a management subscription list of the first voice equipment; in one embodiment of the present application, managing the subscription list may include: at least one of the first voice devices manages the voice devices.
Optionally, on the basis of the foregoing embodiment, an implementation method of a voice call may also be provided in the embodiments of the present application, and the following further illustrates an implementation process in the foregoing method with reference to the accompanying drawings. Fig. 8 is a flowchart illustrating a method for implementing a voice call according to another embodiment of the present application, where as shown in fig. 8, the method may further include:
s206: and sending an ending signaling to the first voice equipment.
The ending signaling is used for enabling the first voice equipment to disconnect the call channel of the first voice equipment and the second voice equipment.
Optionally, in an embodiment of the present application, the signaling is sent through a Session Initiation Protocol (SIP), and a specific signaling sending manner may be flexibly adjusted according to a user requirement, which is not limited herein.
Fig. 9 is a schematic diagram of an architecture of a method for implementing a voice call according to an embodiment of the present application; fig. 10 is an interaction diagram of a method for implementing a voice call according to an embodiment of the present application; as shown in fig. 9 and fig. 10, taking the first voice device as secretry, the second voice device as Boss, and the third voice device as client, each signaling is sent through SIP, each voice call is transmitted through RTP, and the interaction flow between the voice devices is as follows:
f1: and the second voice equipment prefabricates account information of the first voice equipment.
I.e. the account information of Boss's pre-manufactured secretry. In an embodiment of the present application, the control password is not a password corresponding to the registered account, but a password customized by Boss and secretry in advance, and is used for determining the identity of each other. In addition, secretry can also pre-prepare the account information of Boss (registered account and control password of Boss).
F2: and the second voice equipment initiates the call state subscription to the first voice equipment by using the second subscription signaling.
That is, Boss initiates a talk state subscription to secretry using Subscribe signaling. In an embodiment of the present application, a Subscribe signaling in F2 corresponds to the second subscription signaling in the foregoing embodiment, and the Subscribe signaling may be, for example, a signaling carrying Event: signaling of call _ monitor header field information, wherein the call _ monitor header field information is used for representing call monitoring; after receiving the subscription signaling, the secretry analyzes the header field of the subscription signaling, and if the subscription signaling is determined to be a phone monitoring request from the Boss, the secretry returns a 401 response (namely an authentication request) to the Boss for requesting authentication from the Boss. After receiving the 401 response, the Boss uses the pre-established control password to construct an authentication signaling message containing an authentication header field (authentication header field) and returns the authentication signaling message to the secretry, and the secretry adds the Boss into a management subscription list of the Boss after authentication.
F3: the first voice device sends notification signaling to the second voice device.
Namely secretry sends Notify signaling to Boss. The secretry sends notification signaling (Notify signaling) to each Boss in the subscription list to Notify the Boss of the current call state, and the subsequent call state change (call setup/call hang-up) mode sends the Notify signaling to the Boss again.
F4: the first voice device establishes a call with an external third voice device.
Namely, secretry establishes a call with an external client. In an embodiment of the present application, an IP-based Voice over Internet Protocol (VoIP) service occurs between the secretry and the external Clientle, and the call establishment mode may be a call establishment after an incoming call or a call establishment after dialing to another person, which is not limited herein.
F5: the first voice equipment announces that the first voice equipment is in the conversation to the second voice equipment through the notification signaling.
Namely, secretry announces itself to Boss that it is in a call through Notify signaling.
F6: and after receiving the notification signaling, the second voice equipment selects whether to carry out call monitoring.
That is, after receiving the Notify signaling, the Boss selects whether to perform call monitoring. After receiving the Notify signaling, the Boss knows that the secretry is currently in a call state, and at this time, the Boss can select whether to monitor the current call. If monitoring is selected, sending an INVITE signaling (carrying Event: call _ monitor header field information, representing call monitoring) to the secretry, after receiving the INVITE signaling, analyzing the header field in the signaling, if determining that the signaling is call monitoring sent by the Boss, sending an acknowledgement signaling (ACK signaling) to the Boss and immediately receiving the acknowledgement signaling, building a voice channel by the Boss and the secretry in the background, and forwarding the client and the voice of the client to the Boss through the voice channel by the secretry, but not forwarding the voice of the Boss to the client, so that the effect that the Boss only monitors the voice, but the client can only hear the voice of the secretry is achieved.
F7: and the second voice equipment sends the first subscription signaling.
That is, Boss sends the first subscription signaling through the Subscibe signaling. Wherein, if the instruction is needed, the Boss sends the first subscription signaling through the subframe signaling. The first subscription signaling carries Event: and (3) a guidance signaling of call _ media _ relay header information, after receiving the subscribe signaling, the secretor analyzes the header of the signaling, and then synchronously forwards the voice of the Boss to the Clientle, so that the Boss, the secretor and the Clientle can hear the voice of each other, and the effect of quickly switching into the voice call by the Boss is achieved.
F8: the second voice device hangs up the monitoring conversation through the ending signaling.
That is, Boss will listen to the call hang up through Bye signaling. If the Boss wants to cancel the monitoring of the current voice call, the monitoring call can be hung up through the ending signaling (Bye signaling), but the hanging up operation of the Boss does not affect the continuing call between the secret and the client.
By adopting the method for implementing voice call provided by the embodiment, the second voice device can monitor the call of the first voice device in real time, and can join in the call process of the first voice device and the third voice device in real time, so as to implement guidance on the voice call of the first voice device and the third voice device.
The following explains the implementation apparatus of voice call provided in the present application with reference to the accompanying drawings, where the implementation apparatus of voice call can execute the implementation method of any one of the voice calls in fig. 1 to 4, and specific implementation and beneficial effects of the implementation method refer to the above description, which is not described again below.
Fig. 11 is a schematic structural diagram of an apparatus for implementing a voice call according to an embodiment of the present application, and as shown in fig. 11, the apparatus includes: a receiving module 301, a parsing module 302 and a forwarding module 303, wherein:
a receiving module 301, configured to parse the received first subscription signaling.
The parsing module 302 is configured to determine whether the first subscription signaling is a call voice forwarding signaling from the second voice device according to a parsing result of the first subscription signaling; the second voice device is a management device of the first voice device.
A forwarding module 303, configured to perform, if the first subscription signaling is a call voice forwarding signaling, a voice call between the first voice device, the second voice device, and the third voice device through a pre-established call channel between the first voice device and the second voice device and a call channel between the first voice device and the third voice device; and the third voice equipment is the communication voice equipment of the first voice equipment.
Fig. 12 is a schematic structural diagram of an apparatus for implementing a voice call according to another embodiment of the present application, and as shown in fig. 12, the apparatus further includes: a setup module 304, wherein:
the receiving module 301 is specifically configured to receive an invitation signaling from the second voice device.
The parsing module 302 is specifically configured to parse the invitation signaling.
The establishing module 304 is configured to establish a voice channel between the first voice device and the second voice device according to the parsing result of the invitation signaling.
As shown in fig. 12, the apparatus further includes: the determining module 305 is configured to determine whether the invite signaling is a call monitoring signaling from the second voice device according to a parsing result of the invite signaling.
The establishing module 304 is specifically configured to establish a voice channel between the first voice device and the second voice device if the invitation signaling is a call monitoring signaling, and forward the call voice of the first voice device and the third voice device to the second voice device without forwarding the call voice of the second voice device.
As shown in fig. 12, the apparatus further includes: the obtaining module 306 is configured to obtain a call voice of the second voice device through a call channel of the first voice device and the second voice device.
The forwarding module 303 is specifically configured to synchronously forward the call voice of the second voice device to the third voice device through the call channel between the first voice device and the third voice device, so that the first voice device serves as a call voice relay between the second voice device and the third voice device.
Optionally, the determining module 305 is specifically configured to determine, according to an analysis result of the invitation signaling, whether the invitation signaling has preset call monitoring indication information; if the invitation signaling has call monitoring indication information, determining the invitation signaling as the call monitoring signaling; and if the invitation signaling does not have the call monitoring indication information, determining that the invitation signaling is not the call monitoring signaling.
Optionally, the determining module 305 is specifically configured to determine, according to an analysis result of the first subscription signaling, whether the first subscription signaling has relay indication information of a preset call voice; if the first subscription signaling has the relay indication information, determining that the first subscription signaling is a call voice forwarding signaling; and if the first subscription signaling does not have the relay indication information, determining that the first subscription signaling is not a call voice forwarding signaling.
As shown in fig. 12, the apparatus further includes: a sending module 307, wherein:
the receiving module 301 is specifically configured to receive a second subscription signaling from a second voice device.
The parsing module 302 is specifically configured to parse the second subscription signaling, and determine whether the second subscription signaling is a subscription instruction in a call state according to a parsing result of the second subscription signaling.
The sending module 307 is configured to send a notification signaling to the second voice device to indicate the call state of the first voice device if the second subscription signaling is a subscription instruction of the call state.
Optionally, the determining module 305 is specifically configured to determine, if the second subscription signaling is a subscription instruction of a call state, whether the second voice device is in a management subscription list of the first voice device; managing the subscription list includes: at least one of the first voice devices manages the voice devices.
The sending module 307 is specifically configured to send a notification signaling to the second voice device if the second voice device is in the management subscription list.
Optionally, the sending module 307 is specifically configured to send an authentication request to the second speech device.
The receiving module 301 is specifically configured to receive an authentication message of the second voice device.
A determining module 305, configured to authenticate the second voice device according to the authentication message; and if the second voice equipment passes the authentication, adding the second voice equipment into the management subscription list.
Optionally, the determining module 305 is specifically configured to determine whether a control password for constructing the authentication message is a password corresponding to the first voice device; if so, determining that the second voice equipment passes the authentication; if not, determining that the second voice equipment is not authenticated.
As shown in fig. 12, the apparatus further includes: the disconnecting module 308 is configured to disconnect the call channel between the first voice device and the second voice device if an end signaling from the second voice device is received.
The following explains the implementation apparatus of voice call provided in the present application with reference to the accompanying drawings, where the implementation apparatus of voice call can execute the implementation method of any one of the voice calls in fig. 5 to 7, and specific implementation and beneficial effects thereof refer to the above description, and are not described again below.
Fig. 13 is a schematic structural diagram of an apparatus for implementing a voice call according to another embodiment of the present application, as shown in fig. 13, applied to a second voice device, where the apparatus includes: a receiving module 401 and a sending module 402, wherein:
a receiving module 401, configured to receive a notification signaling sent by the first voice device.
A sending module 402, configured to send a first subscription signaling to the first voice device if the notification signaling indicates that the first voice device is in a call.
The first subscription signaling is used for enabling the first voice equipment to perform voice call among the first voice equipment, the second voice equipment and the third voice equipment through a pre-established call channel of the first voice equipment and the second voice equipment and a call channel of the first voice equipment and the third voice equipment when the first voice equipment determines that the first subscription signaling is a call voice forwarding signaling; and the third voice equipment is the communication voice equipment of the first voice equipment.
Optionally, the sending module 402 is specifically configured to send an invitation signaling to the first voice device; the invitation signaling is used for enabling the second voice equipment to analyze the invitation signaling, and a voice channel between the first voice equipment and the second voice equipment is established according to the analysis result of the invitation signaling.
Optionally, the sending module 402 is specifically configured to send the second subscription signaling to the first voice device; the second subscription signaling is used for enabling the second voice equipment to analyze the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling; the notification signaling is notification signaling sent by the second voice device when determining that the second subscription signaling is a subscription instruction of a call state.
Optionally, the receiving module 401 is specifically configured to receive an authentication request sent by the first speech device.
A sending module 402, specifically configured to send an authentication message to a first voice device; the authentication message is used for enabling the first voice equipment to authenticate the second voice equipment according to the authentication message, and if the second voice equipment passes the authentication, the second voice equipment is added into the management subscription list.
Optionally, the sending module 402 is specifically configured to send an end signaling to the first voice device, where the end signaling is used to enable the first voice device to disconnect a call channel between the first voice device and the second voice device.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 14 is a schematic structural diagram of a device for implementing a voice call according to an embodiment of the present application, where the device for implementing a voice call may be integrated in a terminal device or a chip of the terminal device.
The voice call implementation device comprises: a processor 501, a storage medium 502, and a bus 503.
The processor 501 is used for storing a program, and the processor 501 calls the program stored in the storage medium 502 to execute the method embodiment corresponding to fig. 1-10. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application also provides a program product, such as a storage medium, on which a computer program is stored, including a program, which, when executed by a processor, performs embodiments corresponding to the above-described method.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to perform some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (22)

1. A method for realizing voice call is applied to a first voice device, and is characterized in that the method comprises the following steps:
analyzing the received first subscription signaling;
determining whether the first subscription signaling is a call voice forwarding signaling from second voice equipment according to the analysis result of the first subscription signaling; the second voice equipment is management equipment of the first voice equipment;
if the first subscription signaling is a call voice forwarding signaling, performing voice call among the first voice device, the second voice device and a third voice device through a pre-established call channel of the first voice device and the second voice device and a call channel of the first voice device and the third voice device; and the third voice equipment is voice equipment which is communicated with the first voice equipment.
2. The method of claim 1, wherein prior to parsing the received first subscription invitation signaling, the method further comprises:
receiving invitation signaling from the second voice device;
analyzing the invitation signaling;
and establishing a voice channel between the first voice device and the second voice device according to the analysis result of the invitation signaling.
3. The method of claim 2, wherein the establishing a voice channel between the first voice device and the second voice device according to the resolution result of the invitation signaling comprises:
determining whether the invitation signaling is a call monitoring signaling from the second voice equipment or not according to the analysis result of the invitation signaling;
if the invitation signaling is a call monitoring signaling, establishing a voice channel between the first voice device and the second voice device, and forwarding the call voice of the first voice device and the third voice device to the second voice device without forwarding the call voice of the second voice device.
4. The method of claim 3, wherein before the voice call between the first voice device, the second voice device and the third voice device is performed through the pre-established call channel of the first voice device and the second voice device and the call channel of the first voice device and the third voice device, the method further comprises:
acquiring the call voice of the second voice device through the call channel of the first voice device and the call channel of the second voice device;
and synchronously forwarding the call voice of the second voice equipment to the third voice equipment through a call channel between the first voice equipment and the third voice equipment, so that the first voice equipment is used as a call voice relay between the second voice equipment and the third voice equipment.
5. The method of claim 3, wherein the determining whether the invite signaling is call listening signaling from the second voice device according to the parsing result of the invite signaling comprises:
determining whether the invitation signaling has preset call monitoring indication information or not according to the analysis result of the invitation signaling;
if the invitation signaling has the call monitoring indication information, determining that the invitation signaling is a call monitoring signaling;
and if the invitation signaling does not have the call monitoring indication information, determining that the invitation signaling is not the call monitoring signaling.
6. The method of claim 1, wherein the determining whether the first subscription signaling is a call voice forwarding signaling from a second voice device according to the parsing result of the first subscription signaling comprises:
determining whether the first subscription signaling has preset relay indication information of call voice according to the analysis result of the first subscription signaling;
if the first subscription signaling contains the relay indication information, determining that the first subscription signaling is a call voice forwarding signaling;
and if the first subscription signaling does not have the relay indication information, determining that the first subscription signaling is not a call voice forwarding signaling.
7. The method of claim 2, wherein prior to the receiving the invitation signaling from the second voice device, the method further comprises:
receiving second subscription signaling from the second voice device;
analyzing the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling;
and if the second subscription signaling is a subscription instruction of the call state, sending a notification signaling to the second voice device to indicate the call state of the first voice device.
8. The method of claim 7, wherein said sending notification signaling to the second voice device comprises:
if the second subscription signaling is a subscription instruction of a call state, determining whether the second voice device is in a management subscription list of the first voice device; the management subscription list includes: at least one managing voice device of the first voice devices;
and if the second voice equipment is in the management subscription list, sending a notification signaling to the second voice equipment.
9. The method of claim 8, wherein the determining whether the second voice device is on the administrative subscription list of the first voice device further comprises:
sending an authentication request to the second voice equipment;
receiving an authentication message of the second voice equipment;
authenticating the second voice equipment according to the authentication message;
and if the second voice equipment passes the authentication, adding the second voice equipment into the management subscription list.
10. The method of claim 9, wherein the authentication message is a message constructed using a control password of the second voice device; the authenticating the second voice device according to the authentication message includes:
determining whether a control password for constructing the authentication message is a password corresponding to the first voice equipment;
if so, determining that the second voice equipment passes the authentication;
if not, determining that the second voice equipment is not authenticated.
11. The method of any one of claims 1-10, wherein the method further comprises:
and if receiving an ending signaling from the second voice equipment, disconnecting the communication channel of the first voice equipment and the second voice equipment.
12. A method for realizing voice call is applied to a second voice device, and is characterized in that the method comprises the following steps:
receiving a notification signaling sent by first voice equipment;
if the notification signaling indicates that the first voice equipment is in a call, sending a first subscription signaling to the first voice equipment;
when the first voice device determines that the first subscription signaling is a call voice forwarding signaling, the first subscription signaling is used for enabling the first voice device to perform voice call among the first voice device, the second voice device and a third voice device through a pre-established call channel of the first voice device and the second voice device and a call channel of the first voice device and the third voice device; and the third voice equipment is the communication voice equipment of the first voice equipment.
13. The method of claim 12, wherein prior to said sending the first subscription signaling to the first voice device, the method further comprises:
sending an invitation signaling to the first voice equipment; the invitation signaling is used for enabling the second voice equipment to analyze the invitation signaling, and establishing a voice channel between the first voice equipment and the second voice equipment according to an analysis result of the invitation signaling.
14. The method of claim 13, wherein prior to said sending invitation signaling to said first voice device, said method comprises:
sending a second subscription signaling to the first voice device; the second subscription signaling is used for enabling the second voice equipment to analyze the second subscription signaling, and determining whether the second subscription signaling is a subscription instruction of a call state according to an analysis result of the second subscription signaling;
the notification signaling is a notification signaling sent by the second voice device when the second subscription signaling is determined to be a subscription instruction of a call state.
15. The method of claim 14, wherein the notification signaling is a subscription instruction for the second voice device to determine that the second subscription signaling is a talk state, and wherein the second voice device is a notification signaling sent in an administrative subscription list of the first voice device;
wherein the management subscription list includes: at least one of the first voice devices manages a voice device.
16. The method of claim 15, wherein after said sending second subscription signaling to the first voice device, the method further comprises:
receiving an authentication request sent by the first voice equipment;
sending an authentication message to the first voice equipment; and the authentication message is used for enabling the first voice equipment to authenticate the second voice equipment according to the authentication message, and if the second voice equipment passes the authentication, the second voice equipment is added into the management subscription list.
17. The method of claim 16 wherein the authentication message is a message constructed using a control password of the second voice device.
18. The method of any of claims 12-17, wherein an end signaling is sent to the first voice device, the end signaling being used to cause the first voice device to disconnect a talk channel of the first voice device and the second voice device.
19. An apparatus for implementing voice call, applied to a first voice device, the apparatus comprising: the receiving module, analyze the module and transmit the module, wherein:
the receiving module is used for analyzing the received first subscription signaling;
the analysis module is used for determining whether the first subscription signaling is a call voice forwarding signaling from second voice equipment according to the analysis result of the first subscription signaling; the second voice equipment is management equipment of the first voice equipment;
the forwarding module is configured to perform voice call among the first voice device, the second voice device, and the third voice device through a pre-established call channel between the first voice device and the second voice device and a call channel between the first voice device and the third voice device if the first subscription signaling is a call voice forwarding signaling; and the third voice equipment is voice equipment which is communicated with the first voice equipment.
20. An apparatus for implementing voice call, applied to a second voice device, the apparatus comprising: receiving module and sending module, wherein:
the receiving module is used for receiving a notification signaling sent by the first voice equipment;
the sending module is configured to send a first subscription signaling to the first voice device if the notification signaling indicates that the first voice device is in a call;
when the first voice device determines that the first subscription signaling is a call voice forwarding signaling, the first subscription signaling is used for enabling the first voice device to perform voice call among the first voice device, the second voice device and a third voice device through a pre-established call channel of the first voice device and the second voice device and a call channel of the first voice device and the third voice device; and the third voice equipment is the communication voice equipment of the first voice equipment.
21. A speech device, characterized in that the speech device comprises: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the voice call implementing apparatus is operated, the processor executing the machine-readable instructions to perform the method of any one of claims 1-18.
22. A storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, performs the method of any of the preceding claims 1-18.
CN202010742373.1A 2020-07-29 2020-07-29 Method, device, equipment and storage medium for realizing voice call Active CN111901345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010742373.1A CN111901345B (en) 2020-07-29 2020-07-29 Method, device, equipment and storage medium for realizing voice call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010742373.1A CN111901345B (en) 2020-07-29 2020-07-29 Method, device, equipment and storage medium for realizing voice call

Publications (2)

Publication Number Publication Date
CN111901345A true CN111901345A (en) 2020-11-06
CN111901345B CN111901345B (en) 2023-04-28

Family

ID=73183762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010742373.1A Active CN111901345B (en) 2020-07-29 2020-07-29 Method, device, equipment and storage medium for realizing voice call

Country Status (1)

Country Link
CN (1) CN111901345B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931618A (en) * 2010-03-17 2010-12-29 华中科技大学 SIP protocol extension based conversation service realizing method
CN102625005A (en) * 2012-03-05 2012-08-01 广东天波信息技术股份有限公司 Call center system with function of real-timely monitoring service quality and implement method of call center system
EP2509386A1 (en) * 2011-04-05 2012-10-10 Panasonic Corporation Improved release of radio resources for machine-type-communication devices
CN103929409A (en) * 2013-01-15 2014-07-16 深圳市中航比特通讯技术有限公司 SIP user forced insertion service achievement method based on soft exchange
CN110073641A (en) * 2016-12-23 2019-07-30 高通股份有限公司 Technology and equipment for the call treatment during user equipment ringing condition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931618A (en) * 2010-03-17 2010-12-29 华中科技大学 SIP protocol extension based conversation service realizing method
EP2509386A1 (en) * 2011-04-05 2012-10-10 Panasonic Corporation Improved release of radio resources for machine-type-communication devices
CN102625005A (en) * 2012-03-05 2012-08-01 广东天波信息技术股份有限公司 Call center system with function of real-timely monitoring service quality and implement method of call center system
CN103929409A (en) * 2013-01-15 2014-07-16 深圳市中航比特通讯技术有限公司 SIP user forced insertion service achievement method based on soft exchange
CN110073641A (en) * 2016-12-23 2019-07-30 高通股份有限公司 Technology and equipment for the call treatment during user equipment ringing condition

Also Published As

Publication number Publication date
CN111901345B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
US11595453B2 (en) Method, device, and system for facilitating group conference communication
CN107707868B (en) Video conference joining method, multi-access conference server and video conference system
KR101120279B1 (en) Method and apparatuses of setting up a call-back by a user receiving a media stream
US10320972B2 (en) Enhanced session initiation protocol recording
US9585185B1 (en) Methods and systems to facilitate conferencing using mobile device
US20140106720A1 (en) Controlling communications equipment
CN105376194B (en) Real-time communication method, system and platform device
CN107770142A (en) Call method, media server and terminal in videoconference
EP2882175B1 (en) Establishing a communication session
US11678149B2 (en) Communications network
US20140169230A1 (en) Systems and methods of conducting conference calls
WO2013037244A1 (en) Call method and mobile terminal in voice communication
CN102724214B (en) Calling device and method and device for establishing conversation based on instant messaging (IM) client-side
WO2017000578A1 (en) Conference call method and apparatus
CN111641602A (en) Session creation method and device and electronic equipment
CN111901345B (en) Method, device, equipment and storage medium for realizing voice call
EP2767078A1 (en) Apparatus and method for conferencing
US20140211788A1 (en) Method and a system to discover and establish an enriched communication channel in a voice call
US10750027B1 (en) Call control in telephony-capable communications networks
KR101080383B1 (en) Method for voice over internet protocol call setup and communication system performing the same
US20130101106A1 (en) Processing Data
KR20180077720A (en) Apparatus and method for interworking between call based on id and call based on phone number
CN110505070B (en) Method and device for establishing three-party session
US9124693B2 (en) Method and system for on-hold messaging for off network calls
KR100940982B1 (en) System and Method of surveillance services using VoIP systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant