CN108650425B - Monitoring method and monitoring system - Google Patents
Monitoring method and monitoring system Download PDFInfo
- Publication number
- CN108650425B CN108650425B CN201810462526.XA CN201810462526A CN108650425B CN 108650425 B CN108650425 B CN 108650425B CN 201810462526 A CN201810462526 A CN 201810462526A CN 108650425 B CN108650425 B CN 108650425B
- Authority
- CN
- China
- Prior art keywords
- terminal
- media gateway
- monitoring
- media
- stream information
- 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.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 200
- 238000000034 method Methods 0.000 title claims abstract description 91
- 238000012806 monitoring device Methods 0.000 claims abstract description 33
- 230000008569 process Effects 0.000 claims description 58
- 230000004048 modification Effects 0.000 claims description 23
- 238000012986 modification Methods 0.000 claims description 23
- 238000004891 communication Methods 0.000 claims description 4
- 230000011664 signaling Effects 0.000 description 18
- 230000006835 compression Effects 0.000 description 9
- 238000007906 compression Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
- H04M3/2218—Call detail recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
- H04M3/2281—Call monitoring, e.g. for law enforcement purposes; Call tracing; Detection or prevention of malicious calls
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0081—Network operation, administration, maintenance, or provisioning
- H04M7/0084—Network monitoring; Error detection; Error recovery; Network testing
Abstract
The invention discloses a monitoring method and a monitoring system. The monitoring method comprises the following steps: the soft switch equipment sends a first recording instruction to the first media gateway; the first media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction; and the first media gateway sends the first media stream information and the second media stream information to a monitoring device. The monitoring method and the monitoring system provided by the invention realize the monitoring of the conversation content between the first terminal administered by the first media gateway and the second terminal administered by the second media gateway, and reduce the complexity and the cost of the soft switch equipment and the monitoring equipment.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a monitoring method and a monitoring system.
Background
Currently, a method for implementing interception, for example, a VOIP/NGN interception and monitoring method based on data stream redirection, includes: 1) a VOIP/NGN user initiates a call, a monitoring system checks whether a user number or an IP address in a call signaling is a monitoring target, if the user number or the IP address in the signaling is not the monitoring target, the signaling interaction is normally carried out, if the user number or the IP address in the signaling is the monitoring target, an RTP address and a port in a call signaling SDP are modified, the address and the port point to a specific RTP transit address, a monitoring device informs a corresponding RTP transit device to open the port to receive a media data stream of the call corresponding to the signaling, and monitors and records the media data stream of the call corresponding to the signaling; 2) the call signaling passes through the signaling proxy equipment and/or the signaling application server and reaches the called user end according to the route indicated by the soft switch equipment; 3) the called user answers after receiving the call signaling, the monitoring system also points the RTP address and the port number in the answer signaling SDP to the specific RTP forwarding address, informs the corresponding RTP forwarding equipment to open the port to receive the media data stream called by the answer signaling, and monitors and records the media data stream called by the answer signaling; 4) the response signaling passes through the signaling proxy equipment and/or the signaling application server and reaches the signaling initiating user end according to the route indicated by the soft switch equipment.
The existing method for realizing monitoring has the following disadvantages:
1) the soft switch device is required to have the function of modifying the SDP, thereby increasing the complexity of the soft switch device and improving the cost of the device.
2) RTP switching equipment needs to be built by the monitoring system, complexity of the monitoring system is increased, and cost of the monitoring system is improved.
3) The RTP media stream needs to pass through the RTP switching equipment, so that the time delay of the RTP media stream is increased, and the service quality is reduced.
Disclosure of Invention
The invention provides a monitoring method and a monitoring system, which are used for realizing monitoring and reducing the complexity and cost of equipment.
In order to achieve the above object, the present invention provides a monitoring method, including:
the soft switch equipment sends a first recording instruction to the first media gateway;
the first media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction;
the first media gateway sends the first media stream information and the second media stream information to a monitoring device; alternatively, the first and second electrodes may be,
the soft switch device sends a second recording instruction to a second media gateway;
the second media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction;
and the second media gateway sends the first media stream information and the second media stream information to a monitoring device.
Optionally, before the sending, by the softswitch apparatus, the recording instruction to the first media gateway, the method further includes:
the soft switch device inquires out the monitoring attribute corresponding to the terminal number of the first terminal from the pre-established corresponding relation between the terminal number of the first terminal and the monitoring attribute;
the soft switch equipment judges whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the first terminal;
and if the soft switch equipment judges that monitoring is needed through the monitoring attribute corresponding to the terminal number of the first terminal, the soft switch equipment executes the step of sending a recording instruction to the first media gateway.
Optionally, if the soft switch device determines that monitoring is not needed according to the monitoring attribute corresponding to the terminal number of the first terminal, the monitoring method further includes:
the soft switch device inquires out the monitoring attribute corresponding to the terminal number of the second terminal from the pre-established corresponding relation between the terminal number of the second terminal and the monitoring attribute;
the soft switch equipment judges whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the second terminal;
and if the soft switch equipment judges that monitoring is needed through the monitoring attribute corresponding to the terminal number of the second terminal, the soft switch equipment executes the step of sending a second recording instruction to a second media gateway.
Optionally, the sending, by the softswitch device, the first recording instruction to the first media gateway includes: and the soft switch equipment sends a modification command to the first media gateway, wherein the modification command comprises the first recording instruction.
Optionally, in a process of establishing a call between the first terminal and the second terminal, the soft switch device performs a step of sending a first recording instruction to the first media gateway;
in the process of communication between the first terminal and the second terminal, the first media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction;
after the first terminal and the second terminal finish the call, the first media gateway executes the step of sending the first media stream information and the second media stream information to the monitoring equipment.
Optionally, in the process of establishing a call between the first terminal and the second terminal, the soft switch device performs a step of sending a second recording instruction to the second media gateway;
in the process of the conversation between the first terminal and the second terminal, the second media gateway executes the step of storing first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction;
and after the first terminal and the second terminal finish the conversation, the second media gateway sends the first media stream information and the second media stream information to the monitoring equipment.
In order to achieve the above object, the present invention provides a monitoring system, which includes a soft switch device, a first media gateway, a second media gateway and a monitoring device;
the soft switch device is used for sending a first recording instruction to the first media gateway;
the first media gateway is used for storing first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction; sending the first media stream information and the second media stream information to a monitoring device; alternatively, the first and second electrodes may be,
the soft switch device is used for sending a second recording instruction to a second media gateway;
the second media gateway is used for storing first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction; and sending the first media stream information and the second media stream information to the monitoring equipment.
Optionally, the monitoring system further includes a first terminal;
the soft switch device is specifically used for inquiring the monitoring attribute corresponding to the terminal number of the first terminal from the pre-established corresponding relation between the terminal number of the first terminal and the monitoring attribute; judging whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the first terminal; and if the monitoring is needed according to the monitoring attribute corresponding to the terminal number of the first terminal, executing the step of sending a recording instruction to the first media gateway.
Optionally, the monitoring system further includes a second terminal;
if the soft switch device judges that monitoring is not needed through the monitoring attribute corresponding to the terminal number of the first terminal, the soft switch device is specifically further used for inquiring the monitoring attribute corresponding to the terminal number of the second terminal from the pre-established corresponding relationship between the terminal number of the second terminal and the monitoring attribute; judging whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the second terminal; and if the monitoring attribute corresponding to the terminal number of the second terminal judges that monitoring is needed, the step of sending a second recording instruction to a second media gateway is executed.
Optionally, the softswitch is specifically configured to send a modification command to the first media gateway, where the modification command includes the first recording instruction.
Optionally, the soft switch device is specifically configured to, in a process of establishing a call between the first terminal and the second terminal, execute a step of sending a first recording instruction to the first media gateway;
the first media gateway is specifically configured to, during a call between the first terminal and the second terminal, execute a step of storing, according to the first recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway; and after the first terminal and the second terminal finish the conversation, executing the step of sending the first media stream information and the second media stream information to the monitoring equipment.
Optionally, the soft switch device is specifically configured to, in a process of establishing a call between the first terminal and the second terminal, execute a step of sending a second recording instruction to the second media gateway;
the second media gateway is specifically configured to, during a call between the first terminal and the second terminal, execute a step of storing, according to the second recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway; and after the first terminal and the second terminal finish the conversation, executing the step of sending the first media stream information and the second media stream information to the monitoring equipment.
The invention has the following beneficial effects:
in the technical scheme of the monitoring method and the monitoring system provided by the invention, in the process of communication between a first terminal administered by a first media gateway and a second terminal administered by a second media gateway, the first media gateway stores first media stream information sent to the second media gateway by the first media gateway and second media stream information sent to the first media gateway by the second media gateway according to a first recording instruction, and sends the first media stream information and the second media stream information to monitoring equipment; or the second media gateway stores first media stream information sent to the second media gateway by the first media gateway and second media stream information sent to the first media gateway by the second media gateway according to the second recording instruction, and sends the first media stream information and the second media stream information to the monitoring device. Therefore, the monitoring of the conversation content between the first terminal under the jurisdiction of the first media gateway and the second terminal under the jurisdiction of the second media gateway is realized, and the complexity and the cost of the soft switch equipment and the monitoring equipment are reduced.
Drawings
Fig. 1A is a flowchart of a monitoring method according to an embodiment of the present invention;
fig. 1B is a flowchart of another monitoring method according to an embodiment of the present invention;
fig. 2 is a flowchart of a monitoring method according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a process for establishing a call between a first terminal and a second terminal;
fig. 4 is a schematic diagram of a process of a call between a first terminal and a second terminal when a terminal number of the first terminal is a monitored object;
fig. 5 is a schematic diagram of a call process between a first terminal and a second terminal when a terminal number of the second terminal is a monitored object;
fig. 6 is a schematic structural diagram of a monitoring system according to a third embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the following describes the monitoring method and the monitoring system provided by the present invention in detail with reference to the accompanying drawings.
Fig. 1A is a flowchart of a monitoring method according to an embodiment of the present invention, as shown in fig. 1A, the monitoring method includes:
Fig. 1B is a flowchart of another monitoring method according to an embodiment of the present invention, as shown in fig. 1B, the monitoring method includes:
and step 101B, the soft switch equipment sends a second recording instruction to the second media gateway.
And step 102B, the second media gateway stores the first media stream information sent by the first media gateway to the second media gateway and the second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction.
In the technical solution of the monitoring method provided in this embodiment, in a process of a call between a first terminal governed by a first media gateway and a second terminal governed by a second media gateway, the first media gateway stores, according to the first recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway, and sends the first media stream information and the second media stream information to a monitoring device; or the second media gateway stores first media stream information sent to the second media gateway by the first media gateway and second media stream information sent to the first media gateway by the second media gateway according to the second recording instruction, and sends the first media stream information and the second media stream information to the monitoring device. Therefore, the monitoring of the conversation content between the first terminal under the jurisdiction of the first media gateway and the second terminal under the jurisdiction of the second media gateway is realized, and the complexity and the cost of the soft switch equipment and the monitoring equipment are reduced.
Fig. 2 is a flowchart of a monitoring method according to a second embodiment of the present invention, and as shown in fig. 2, the monitoring method includes:
In this embodiment, the monitoring device sends the terminal number to be monitored to the soft switch device in advance, and the soft switch device extends a corresponding monitoring attribute for all the terminal numbers in the number database in advance, for example, 0 or 1, where 0 indicates that monitoring is required and 1 indicates that monitoring is not required, so as to establish a corresponding relationship between the terminal number of the first terminal and the monitoring attribute, and a corresponding relationship between the terminal number of the second terminal and the monitoring attribute.
For example, the determining, by the soft switch device, whether monitoring is required according to the monitoring attribute corresponding to the terminal number of the first terminal includes: the soft switch device determines that the monitoring attribute corresponding to the terminal number of the first terminal is 0 or 1, if so, executes step 203, and if so, executes step 207.
In this embodiment, in the process of establishing a call between the first terminal and the second terminal, if the soft switch device determines that monitoring is required through the monitoring attribute corresponding to the terminal number of the first terminal, it indicates that the terminal number of the first terminal is the monitored object, and therefore step 203 is executed.
In this embodiment, the first media gateway is provided with a recording module. Specifically, in the process of establishing a call between a first terminal and a second terminal, the soft switch device sends a first recording instruction to the first media gateway to request the first media gateway to start the recording module.
In this embodiment, after receiving the first media stream information and the second media stream information, the monitoring device may decode the first media stream information to generate the first voice information, and decode the second media stream information to generate the second voice information, thereby implementing monitoring of the call content between the first terminal and the second terminal.
In this embodiment, in the process of establishing a call between the first terminal and the second terminal, if the soft switch device determines that monitoring is not required through the monitoring attribute corresponding to the terminal number of the first terminal, it indicates that the terminal number of the first terminal is not the monitored object, and therefore, it is also required to determine whether monitoring is required to be performed on the monitoring attribute corresponding to the terminal number of the second terminal, and therefore, step 207 is executed.
In this embodiment, for the description of the pre-established correspondence between the terminal number of the second terminal and the monitoring attribute, refer to step 201 above, and details are not described here.
And step 208, the soft switch device judges whether monitoring is needed or not through the monitoring attribute corresponding to the terminal number of the second terminal, if so, step 209 is executed, and if not, the soft switch device only establishes a normal call for the first terminal and the second terminal.
In this embodiment, in the process of establishing a call between the first terminal and the second terminal, if the soft switch device determines that monitoring is required through the monitoring attribute corresponding to the terminal number of the second terminal, it indicates that the terminal number of the second terminal is the monitored object, so step 209 is executed.
In this embodiment, the second media gateway is provided with a recording module. Specifically, in the process of establishing a call between the first terminal and the second terminal, the soft switch device sends a second recording instruction to the second media gateway to request the second media gateway to start the recording module.
The description of the step may refer to the description of the step 205, and is not repeated here.
Fig. 3 is a schematic diagram of a process of establishing a call between a first terminal and a second terminal, and as shown in fig. 3, in this embodiment, specifically, if a terminal number of the first terminal is a monitored object, in step 201, the process of establishing a call between the first terminal and the second terminal specifically includes:
In this embodiment, the first terminal is a terminal governed by a first media gateway, for example, the first terminal is a mobile phone.
This step is equivalent to step 201 described above, and for the specific description, refer to step 201 described above, and will not be described herein again. In this embodiment, for example, the terminal number is a mobile phone number.
This step is equivalent to the step 202, and the detailed description refers to the step 202, which is not repeated herein.
Step 2007, the soft switch device sends the first recording instruction to the first media gateway, and waits for the first terminal to input the terminal number of the second terminal.
In this step, the step 203 is equivalent to that the soft switch device sends the first recording instruction to the first media gateway, and for the specific description, reference may be made to the step 203, which is not described herein again. Specifically, the sending, by the softswitch device, the first recording instruction to the first media gateway includes: the soft switch device sends a modification command to the first media gateway, wherein the modification command comprises a first recording instruction. Specifically, in the process of establishing a call between a first terminal and a second terminal, the soft switch device sends a modification command to the first media gateway to request the first media gateway to start the recording module, and meanwhile, waits for the first terminal to input a terminal number of the second terminal.
In this embodiment, when the first terminal inputs the terminal number of the second terminal, the first terminal listens to the dial tone.
Step 2008, the first media gateway sends the terminal number of the second terminal to the soft switch device.
Specifically, the first media gateway starts the recording module according to the first recording instruction, and sends the terminal number of the second terminal to the soft switch device.
Specifically, the information that the first media gateway sets the new context includes: the first media gateway adds a circuit endpoint (TDM Termination) and a real-time transport protocol endpoint (RTP Termination) in a new context, wherein the Mode (Mode) of the new context is set to a send receive (SendReceive) Mode, and a jitter buffer and a voice compression algorithm are set.
Wherein, the first port number is the RTP port number of the first media gateway.
Step 2012, the soft switch device sends the ringing tone, the first port number and the first voice compression algorithm to the second media gateway.
In this embodiment, after receiving the ringing tone, the second media gateway sends the ringing tone to the second terminal, and the second terminal plays the ringing tone.
Step 2013, the second media gateway sends the second port number and the corresponding second voice compression algorithm to the soft switch device.
Wherein, the second port number is the RTP port number of the second media gateway.
In this embodiment, after the first media gateway receives the ring back tone, the second media gateway sends the ring back tone to the first terminal, and the first terminal plays the ring back tone.
Step 2015, when the second terminal is off-hook, the second media gateway sends a notification command to the soft switch device to report the off-hook event of the second terminal to the soft switch device.
In this embodiment, the second terminal is a terminal governed by a second media gateway, for example, the second terminal is a mobile phone.
In this embodiment, after receiving the ring tone stop command, the second media gateway cuts off the ring tone, and the second terminal stops playing the ring tone.
In this embodiment, after receiving the ring-back tone stop command, the first media gateway cuts off the ring-back tone, and the first terminal stops playing the ring-back tone. And the first terminal and the second terminal start a conversation process.
Fig. 4 is a schematic diagram of a process of a call between a first terminal and a second terminal when a terminal number of the first terminal is a monitored object, as shown in fig. 4, in this embodiment, specifically, if in step 2002, the softswitch device determines that monitoring is required through a monitoring attribute corresponding to the terminal number of the first terminal, that is, when the terminal number of the first terminal is the monitored object, after step 2017, in step 204, the process of the call between the first terminal and the second terminal specifically includes:
Specifically, the first media gateway generates first media stream information by encoding the first voice information. Wherein, the first media stream information is an RTP media stream of the first media gateway.
In step 2020, the first media gateway sends the first media stream information to the second media gateway.
In this embodiment, the execution sequence of step 2020 and step 2021 is not limited at all, and step 2020 may be executed first, and then step 2021 may be executed, or may be executed simultaneously. Specifically, the first media gateway stores the first media stream information to the recording module according to the first recording instruction.
It should be noted that this step is equivalent to the step in which the first media gateway stores the first media stream information sent by the first media gateway to the second media gateway according to the first recording instruction in step 204.
Specifically, the second media gateway generates the first voice information by decoding the first media stream information.
In this embodiment, in the process of a call between the first terminal and the second terminal, steps 2018 to 2023 are the process of the first terminal sending the first voice message to the second terminal.
Specifically, the second media gateway generates the second media stream information by encoding the second voice information. Wherein, the second media stream information is an RTP media stream of the second media gateway.
In this embodiment, the execution sequence of step 2026 and step 2027 is not limited at all, and step 2026 may be executed first, and then step 2027 may be executed, or step 2027 may be executed first, and then step 2026 may be executed. Specifically, the first media gateway stores the second media stream information to the recording module according to the first recording instruction.
It should be noted that this step is equivalent to the step in which the first media gateway stores the second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction in step 204.
Specifically, the second media gateway decodes the second media stream information to generate second voice information.
In this embodiment, in the process of a call between the first terminal and the second terminal, steps 2024 to 2029 are the process of the second terminal sending the second voice message to the first terminal.
In this embodiment, the execution sequence of the process of sending the first voice message from the first terminal to the second terminal and the execution sequence of the process of sending the second voice message from the second terminal to the first terminal are not limited at all, and may be executed according to the actual situation of the call between the first terminal and the second terminal.
Thereafter, after the first terminal and the second terminal have finished talking, the above steps 205 and 206 are executed.
As shown in fig. 3, in this embodiment, specifically, if the terminal number of the second terminal is the monitored object, in step 207, the process of establishing the call between the first terminal and the second terminal specifically includes:
In this embodiment, the first terminal is a terminal governed by a first media gateway, for example, the first terminal is a mobile phone.
This step is equivalent to step 201 described above, and for the specific description, refer to step 201 described above, and will not be described herein again.
If the softswitch determines that monitoring is not needed through the monitoring attribute corresponding to the terminal number of the first terminal, for example, if the softswitch determines that the monitoring attribute corresponding to the terminal number of the first terminal is 1, it indicates that monitoring is not needed for the terminal number of the first terminal, but it is not clear whether the terminal number of the second terminal, which is the called terminal, is the target to be monitored, so step 2030 and the following steps need to be executed.
In this embodiment, when the first terminal inputs the terminal number of the second terminal, the first terminal listens to the dial tone.
It should be noted that this step is equivalent to step 207, and for a detailed description, refer to step 207, which is not described herein again.
In this embodiment, when the soft switch device determines that monitoring is not needed through the monitoring attribute corresponding to the terminal number of the second terminal, it indicates that, in both parties of the call, the terminal number of the first terminal and the terminal number of the second terminal are not objects to be monitored, so that the soft switch device only establishes a normal call for the first terminal and the second terminal, that is, in the subsequent step, step 2035 to step 2043 are directly performed without performing step 2034.
It should be noted that this step is equivalent to the step 208, and the detailed description refers to the step 208, which is not described herein again.
Specifically, the sending, by the soft switch device, the recording instruction to the second media gateway includes: and the soft switch equipment sends a modification command to the second media gateway, wherein the modification command comprises a second recording instruction. Specifically, in the process of establishing a call between the first terminal and the second terminal, the soft switch device sends a modification command to the second media gateway to request the second media gateway to start the recording module. This step corresponds to step 209 described above.
For the detailed description of this step, reference may be made to the description of step 2009 above, which is not repeated herein.
For a detailed description of this step, reference may be made to the description of step 2010 above, which is not described herein again.
For a detailed description of this step, reference may be made to the description of step 2011, which is not repeated herein.
Step 2038, the soft switch device sends the ringing tone, the first port number and the first voice compression algorithm to the second media gateway.
For a detailed description of this step, reference may be made to the above description of step 2012, which is not repeated herein.
Step 2039, the second media gateway sends the second port number and the corresponding second voice compression algorithm to the soft switch device.
For the detailed description of this step, reference may be made to the description of step 2013, which is not described herein again.
For the detailed description of this step, reference may be made to the description of step 2014 above, which is not repeated herein.
Step 2041, when the second terminal goes off-hook, the second media gateway sends a notification command to the soft switch device to report the off-hook event of the second terminal to the soft switch device.
For the detailed description of this step, reference may be made to the description of step 2015, which is not described herein again.
For the detailed description of this step, reference may be made to the description of step 2016 above, which is not repeated herein.
For the detailed description of this step, reference may be made to the description of step 2017, which is not described herein again.
Fig. 5 is a schematic diagram of a process of a call between a first terminal and a second terminal when a terminal number of the second terminal is a monitored object, as shown in fig. 5, in this embodiment, specifically, if, in step 2033, the softswitch device determines that monitoring is required through a monitoring attribute corresponding to the terminal number of the second terminal, that is, when the terminal number of the second terminal is a monitored object, after step 2043, in step 210, a process of the call between the first terminal and the second terminal specifically includes:
For the detailed description of this step, reference may be made to the description of step 2019, which is not described herein again.
For the detailed description of this step, reference may be made to the above description of step 2021, which is not repeated herein. It should be noted that this step is equivalent to the step in which the second media gateway stores the first media stream information sent by the first media gateway to the second media gateway according to the second recording instruction in step 210.
For the detailed description of this step, reference may be made to the description of step 2022, which is not described herein again.
For the detailed description of this step, reference may be made to the description of step 2023, which is not described herein again.
And step 2050, in the process of the call between the first terminal and the second terminal, the second terminal sends the second voice message to the second media gateway.
And step 2051, the second media gateway generates second media stream information according to the second voice information.
For the detailed description of this step, reference may be made to the description of step 2025, which is not described herein again.
And step 2053, the second media gateway stores the second media stream information according to the second recording instruction.
For the detailed description of this step, reference may be made to the above description of step 2027, which is not described herein again. It should be noted that this step is equivalent to the step in which the second media gateway stores the second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction in step 210.
And step 2054, the first media gateway generates second voice information according to the second media stream information.
For the detailed description of this step, reference may be made to the above description of step 2028, which is not described herein again.
For the detailed description of this step, reference may be made to the description of step 2029, which is not described herein again.
Thereafter, after the first terminal and the second terminal have finished talking, the above steps 211 and 212 are executed.
In this embodiment, if the soft switch device determines that monitoring is not needed through the monitoring attribute corresponding to the terminal number of the second terminal in step 2033, in the subsequent process of the call between the first terminal and the second terminal, step 2047 and step 2053 do not need to be executed, that is, the call content between the first terminal and the second terminal does not need to be stored and recorded.
In this embodiment, when a first terminal initiates a call to a second terminal, in a process of establishing a call between the first terminal and the second terminal, if a soft switch device determines that a terminal number of the first terminal is an object to be monitored, the soft switch device sends a first recording instruction to a first media gateway to which the first terminal belongs, so that the first media gateway stores first media stream information and second media stream information according to the first recording instruction, and sends the first media stream information and the second media stream information to a monitoring device, thereby monitoring call content between the first terminal and the second terminal; and if the soft switch device judges that the terminal number of the second terminal is the object to be monitored, the soft switch device sends a first recording instruction to a second media gateway to which the second terminal belongs, so that the second media gateway stores first media stream information and second media stream information according to the second recording instruction, and sends the first media stream information and the second media stream information to the monitoring device, thereby realizing monitoring of the conversation content between the first terminal and the second terminal. In this embodiment, only the recording modules need to be arranged on the first media gateway and the second media gateway, and when the first media gateway or the second media gateway receives the recording instruction, the recording and monitoring of the call content between the terminals under jurisdiction can be realized, so that the complexity and cost of the soft switch device and the monitoring device are reduced, and the service quality is not affected.
In the technical solution of the monitoring method provided in this embodiment, in a process of a call between a first terminal governed by a first media gateway and a second terminal governed by a second media gateway, the first media gateway stores, according to the first recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway, and sends the first media stream information and the second media stream information to a monitoring device; or the second media gateway stores first media stream information sent to the second media gateway by the first media gateway and second media stream information sent to the first media gateway by the second media gateway according to the second recording instruction, and sends the first media stream information and the second media stream information to the monitoring device. Therefore, the monitoring of the conversation content between the first terminal under the jurisdiction of the first media gateway and the second terminal under the jurisdiction of the second media gateway is realized, and the complexity and the cost of the soft switch equipment and the monitoring equipment are reduced.
Fig. 6 is a schematic structural diagram of a monitoring system according to a third embodiment of the present invention, as shown in fig. 6, the monitoring system includes: a soft switch device 301, a first media gateway 302, a second media gateway 303 and a listening device 304.
The soft switch device 301 is configured to send a first recording instruction to the first media gateway 302; the first media gateway 302 is configured to store, according to the first recording instruction, first media stream information sent by the first media gateway 302 to the second media gateway 303 and second media stream information sent by the second media gateway 303 to the first media gateway 302, and send the first media stream information and the second media stream information to the monitoring device 304. Or, the soft switch device 301 is configured to send a second recording instruction to the second media gateway 303; the second media gateway 303 is configured to store, according to the second recording instruction, first media stream information sent by the first media gateway 302 to the second media gateway 303 and second media stream information sent by the second media gateway 303 to the first media gateway 302, and send the first media stream information and the second media stream information to the monitoring device 304.
Specifically, the listening system further comprises a first terminal 305.
Specifically, the soft switch device 301 is specifically configured to query the monitoring attribute corresponding to the terminal number of the first terminal 305 from the pre-established correspondence between the terminal number of the first terminal 305 and the monitoring attribute; judging whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the first terminal 305; if the monitoring attribute corresponding to the terminal number of the first terminal 305 determines that monitoring is required, a step of sending a recording instruction to the first media gateway 302 is performed.
In particular, the listening system further comprises a second terminal 306.
Specifically, if the soft switch device 301 determines that monitoring is not needed through the monitoring attribute corresponding to the terminal number of the first terminal 305, the soft switch device 301 is further specifically configured to query the monitoring attribute corresponding to the terminal number of the second terminal 306 from the pre-established correspondence between the terminal number of the second terminal 306 and the monitoring attribute; judging whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the second terminal 306; if the monitoring attribute corresponding to the terminal number of the second terminal 306 determines that monitoring is required, a step of sending a second recording instruction to the second media gateway 303 is performed.
Specifically, the softswitch 301 is specifically configured to send a modification command to the first media gateway 302, where the modification command includes a first recording instruction.
Specifically, the soft switch device 301 is specifically configured to execute the step of sending the first recording instruction to the first media gateway 302 in the process of establishing the call between the first terminal 305 and the second terminal 306.
The first media gateway 302 is specifically configured to, during a call between the first terminal 305 and the second terminal 306, execute a step of storing, according to a first recording instruction, first media stream information sent by the first media gateway 302 to the second media gateway 303 and second media stream information sent by the second media gateway 303 to the first media gateway 302; after the first terminal 305 and the second terminal 306 finish the call, the step of sending the first media stream information and the second media stream information to the monitoring device 304 is executed.
Specifically, the soft switch device 301 is specifically configured to execute the step of sending the second recording instruction to the second media gateway 303 in the process of establishing the call between the first terminal 305 and the second terminal 306.
The second media gateway 303 is specifically configured to, during a call between the first terminal 305 and the second terminal 306, execute a step of storing, according to a second recording instruction, first media stream information sent by the first media gateway 302 to the second media gateway 303 and second media stream information sent by the second media gateway 303 to the first media gateway 302; after the first terminal 305 and the second terminal 306 finish the call, the step of sending the first media stream information and the second media stream information to the monitoring device 304 is executed.
In the technical scheme of the monitoring system provided in this embodiment, in a process of a call between a first terminal governed by a first media gateway and a second terminal governed by a second media gateway, the first media gateway stores, according to the first recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway, and sends the first media stream information and the second media stream information to a monitoring device; or the second media gateway stores first media stream information sent to the second media gateway by the first media gateway and second media stream information sent to the first media gateway by the second media gateway according to the second recording instruction, and sends the first media stream information and the second media stream information to the monitoring device. Therefore, the monitoring of the conversation content between the first terminal under the jurisdiction of the first media gateway and the second terminal under the jurisdiction of the second media gateway is realized, and the complexity and the cost of the soft switch equipment and the monitoring equipment are reduced.
It will be understood that the above embodiments are merely exemplary embodiments taken to illustrate the principles of the present invention, which is not limited thereto. It will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the spirit and substance of the invention, and these modifications and improvements are also considered to be within the scope of the invention.
Claims (10)
1. A listening method, comprising:
the soft switch equipment sends a first recording instruction to the first media gateway;
the first media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction; the first media gateway sends the first media stream information and the second media stream information to a monitoring device; alternatively, the first and second electrodes may be,
the soft switch device sends a second recording instruction to a second media gateway; the second media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction; the second media gateway sends the first media stream information and the second media stream information to a monitoring device;
before the soft switch device sends the recording instruction to the first media gateway, the method further comprises:
in the process of establishing a call between a first terminal and a second terminal, the soft switch device queries a monitoring attribute corresponding to the terminal number of the first terminal from a pre-established corresponding relationship between the terminal number of the first terminal and the monitoring attribute, wherein the monitoring attribute is a corresponding extended monitoring attribute of the soft switch device which is pre-arranged in a number database and is received for the terminal number which is required to be monitored and is pre-sent by the monitoring device; the soft switch equipment judges whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the first terminal; and if the soft switch equipment judges that monitoring is needed through the monitoring attribute corresponding to the terminal number of the first terminal, the soft switch equipment executes the step of sending a recording instruction to the first media gateway.
2. The monitoring method according to claim 1, wherein if the softswitch device determines that monitoring is not required according to the monitoring attribute corresponding to the terminal number of the first terminal, the monitoring method further comprises:
the soft switch device inquires out the monitoring attribute corresponding to the terminal number of the second terminal from the pre-established corresponding relation between the terminal number of the second terminal and the monitoring attribute;
the soft switch equipment judges whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the second terminal;
and if the soft switch equipment judges that monitoring is needed through the monitoring attribute corresponding to the terminal number of the second terminal, the soft switch equipment executes the step of sending a second recording instruction to a second media gateway.
3. The listening method of claim 1, wherein the soft switch device sending a first recording instruction to the first media gateway comprises: and the soft switch equipment sends a modification command to the first media gateway, wherein the modification command comprises the first recording instruction.
4. The listening method of claim 1,
in the process of establishing a call between a first terminal and a second terminal, the soft switch equipment executes the step of sending a first recording instruction to a first media gateway;
in the process of communication between the first terminal and the second terminal, the first media gateway stores first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction;
after the first terminal and the second terminal finish the call, the first media gateway executes the step of sending the first media stream information and the second media stream information to the monitoring equipment.
5. The listening method of claim 1,
in the process of establishing a call between a first terminal and a second terminal, the soft switch equipment executes the step of sending a second recording instruction to a second media gateway;
in the process of the conversation between the first terminal and the second terminal, the second media gateway executes the step of storing first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction;
and after the first terminal and the second terminal finish the conversation, the second media gateway sends the first media stream information and the second media stream information to the monitoring equipment.
6. A monitoring system is characterized by comprising a soft switch device, a first media gateway, a second media gateway and a monitoring device;
the soft switch device is used for sending a first recording instruction to the first media gateway;
the first media gateway is used for storing first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the first recording instruction; sending the first media stream information and the second media stream information to a monitoring device; alternatively, the first and second electrodes may be,
the soft switch device is used for sending a second recording instruction to a second media gateway;
the second media gateway is used for storing first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway according to the second recording instruction; sending the first media stream information and the second media stream information to the monitoring device;
the monitoring system also comprises a first terminal and a second terminal;
in the process of establishing a call between the first terminal and the second terminal, the soft switch device is specifically configured to query a monitoring attribute corresponding to the terminal number of the first terminal from a pre-established correspondence between the terminal number of the first terminal and the monitoring attribute, where the monitoring attribute is a corresponding extended monitoring attribute of the soft switch device, in a number database, for the received terminal number to be monitored, which is sent by the monitoring device in advance; judging whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the first terminal; and if the monitoring is needed according to the monitoring attribute corresponding to the terminal number of the first terminal, executing the step of sending a recording instruction to the first media gateway.
7. The listening system of claim 6,
if the soft switch device judges that monitoring is not needed through the monitoring attribute corresponding to the terminal number of the first terminal, the soft switch device is specifically further used for inquiring the monitoring attribute corresponding to the terminal number of the second terminal from the pre-established corresponding relationship between the terminal number of the second terminal and the monitoring attribute; judging whether monitoring is needed or not according to the monitoring attribute corresponding to the terminal number of the second terminal; and if the monitoring attribute corresponding to the terminal number of the second terminal judges that monitoring is needed, the step of sending a second recording instruction to a second media gateway is executed.
8. The monitoring system of claim 6, wherein the softswitch is further configured to send a modification command to the first media gateway, the modification command including the first recording instruction.
9. The listening system of claim 6,
the soft switching equipment is specifically used for executing the step of sending a first recording instruction to the first media gateway in the process of establishing a call between the first terminal and the second terminal;
the first media gateway is specifically configured to, during a call between the first terminal and the second terminal, execute a step of storing, according to the first recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway; and after the first terminal and the second terminal finish the conversation, executing the step of sending the first media stream information and the second media stream information to the monitoring equipment.
10. The listening system of claim 6,
the soft switching equipment is specifically used for executing the step of sending a second recording instruction to the second media gateway in the process of establishing a call between the first terminal and the second terminal;
the second media gateway is specifically configured to, during a call between the first terminal and the second terminal, execute a step of storing, according to the second recording instruction, first media stream information sent by the first media gateway to the second media gateway and second media stream information sent by the second media gateway to the first media gateway; and after the first terminal and the second terminal finish the conversation, executing the step of sending the first media stream information and the second media stream information to the monitoring equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810462526.XA CN108650425B (en) | 2018-05-15 | 2018-05-15 | Monitoring method and monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810462526.XA CN108650425B (en) | 2018-05-15 | 2018-05-15 | Monitoring method and monitoring system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108650425A CN108650425A (en) | 2018-10-12 |
CN108650425B true CN108650425B (en) | 2021-03-19 |
Family
ID=63755785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810462526.XA Active CN108650425B (en) | 2018-05-15 | 2018-05-15 | Monitoring method and monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108650425B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112272258A (en) * | 2020-09-25 | 2021-01-26 | 承德石油高等专科学校 | Interception system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642117A (en) * | 2004-07-07 | 2005-07-20 | 华为技术有限公司 | Method for realizing monitoring based on soft switch |
CN101132303A (en) * | 2006-08-22 | 2008-02-27 | 中兴通讯股份有限公司 | Device and method for monitoring multiple heterogeneous network elements |
CN101350742A (en) * | 2007-07-20 | 2009-01-21 | 中兴通讯股份有限公司 | Method and system for implementing voice listen of next generation network |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040165709A1 (en) * | 2003-02-24 | 2004-08-26 | Pence Robert Leslie | Stealth interception of calls within a VoIP network |
CN100473026C (en) * | 2006-03-03 | 2009-03-25 | 中兴通讯股份有限公司 | Method for controlling realtime monitor service |
JP4589263B2 (en) * | 2006-04-10 | 2010-12-01 | 日本電信電話株式会社 | Voice monitoring recording system |
CN100502328C (en) * | 2006-12-22 | 2009-06-17 | 华为技术有限公司 | A method, system and monitoring media gateway for multimedia monitoring |
CN101237359B (en) * | 2008-02-27 | 2011-08-24 | 中兴通讯股份有限公司 | Monitoring system and method |
CN101594433A (en) * | 2008-05-30 | 2009-12-02 | 鸿富锦精密工业(深圳)有限公司 | Networking telephone audio monitoring system and method |
JP5214368B2 (en) * | 2008-08-12 | 2013-06-19 | 株式会社エヌ・ティ・ティ・ドコモ | Communication monitoring system and communication monitoring method |
CN101742011B (en) * | 2008-11-13 | 2013-09-18 | 中国科学院计算机网络信息中心 | Lawful interception method for internetwork telephone domain and system thereof |
CN101772084B (en) * | 2008-12-29 | 2013-01-02 | 华为技术有限公司 | Media stream control method, related equipment and network system |
CN105577465B (en) * | 2014-10-17 | 2019-11-05 | 南京中兴新软件有限责任公司 | Port numbers determine processing, determine method and device |
US10015309B2 (en) * | 2016-01-25 | 2018-07-03 | Netscout Systems Texas, Llc | Conditional two stage distributed correlation of CP-UP for IMS protocols |
-
2018
- 2018-05-15 CN CN201810462526.XA patent/CN108650425B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1642117A (en) * | 2004-07-07 | 2005-07-20 | 华为技术有限公司 | Method for realizing monitoring based on soft switch |
CN101132303A (en) * | 2006-08-22 | 2008-02-27 | 中兴通讯股份有限公司 | Device and method for monitoring multiple heterogeneous network elements |
CN101350742A (en) * | 2007-07-20 | 2009-01-21 | 中兴通讯股份有限公司 | Method and system for implementing voice listen of next generation network |
Also Published As
Publication number | Publication date |
---|---|
CN108650425A (en) | 2018-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7738638B1 (en) | Voice over internet protocol call recording | |
KR20100058432A (en) | Method and application server for providing early-media service based on session initiation protocol | |
US10320972B2 (en) | Enhanced session initiation protocol recording | |
JP3873048B2 (en) | Ringback tone transmission method, terminal, ringback tone generation method, and system for generating ringback tone | |
US20080273671A1 (en) | Method, system and application server for preventing crosstalk of color ring back tone | |
US20070263794A1 (en) | Method and apparatus for recording calls | |
CN106161357B (en) | method, device and application server for realizing lawful interception in IMS network | |
US9071690B2 (en) | Call transfer processing in SIP mode | |
WO2012113209A1 (en) | Method and system for realizing broadband playback in narrowband service | |
US8897436B2 (en) | Method and apparatus for providing emergency ring tones for urgent calls | |
CN108650425B (en) | Monitoring method and monitoring system | |
CN115190468B (en) | Redialing method and terminal equipment | |
CN1976376B (en) | Method for calling session, IP telephone system and IP telephone terminal | |
CN103297630B (en) | Method and device for playing multimedia information | |
US7630488B2 (en) | DTMF tone generation in a media gateway | |
US8625577B1 (en) | Method and apparatus for providing audio recording | |
CN108881180B (en) | Recording method and recording system | |
KR20060097948A (en) | Method for providing multimedia contents using the display of caller information | |
CN111212192B (en) | Method, device and storage medium for playing voice when IMS fixed telephone user dials VOLTE user | |
CN102668487B (en) | Method and system for implementing call by media gateway | |
KR100809398B1 (en) | Method and system for transmitting SMS for VoIP service supproting Multi-protocol | |
JP2011239015A (en) | Network apparatus and telephone system | |
US10039033B2 (en) | Systems, methods, and media for implementing call handoff between networks | |
US8837459B2 (en) | Method and apparatus for providing asynchronous audio messaging | |
CN113099041B (en) | Ring back tone playing control method and system |
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 |