Summary of the invention
Technical problem to be solved by this invention is: propose a kind of VOIP telephone monitoring system and monitor method, realize that fail safe, flexibility, the real-time to the VOIP phone monitored.
The present invention solves the problems of the technologies described above the scheme that is adopted: VOIP telephone monitoring system comprises:
Monitor end VOIP gateway, be used to provide the monitoring right table, to be added in the monitoring right table by the telephone number after the registration checking,, utilize this number to be sent interception request to monitoring end VOIP gateway when needs utilize certain telephone number in the monitoring right table when monitoring number;
Monitored and held the VOIP gateway, be used to receive and monitor the interception request that end VOIP gateway sends, set up and monitor connection.
Further, described monitoring end VOIP gateway comprises:
Monitor the number registration module, be used to set up the monitoring right table, the telephone number that listen requirement is arranged is verified, after checking is passed through, it is added in the monitoring right table, make it obtain monitoring right;
The interception request sending module is used to judge whether call number has monitoring right, if monitoring right is arranged then sent interception request to monitoring end VOIP gateway, if do not have monitoring right then disregard.
Further, described monitoring end VOIP gateway also comprises:
Outside line monitoring service module: to need to be responsible for using the telephone number that has monitoring right in the outside line key of monitoring service and the monitoring right table to set up mapping relations, and when outside line key is initiated interception request, with telephone number corresponding in the mapping relations with monitoring right as the calling number request monitoring; And/or
Overtime cancellation module: the telephone number in the monitoring right table is carried out the timing monitoring,, then nullify the monitoring right of this telephone number if certain telephone number begins not use yet in the certain hour from obtaining monitoring right.
Further, the described end VOIP gateway of being monitored comprises:
Interception request processing module: be responsible for receiving interception request, interception request side is joined in the conversation of being monitored.
Further, described monitoring end VOIP gateway is monitored end VOIP gateway with quilt and is belonged to same VOIP gateway or belong to different VOIP gateways respectively, if monitor end VOIP gateway and belonged to different VOIP gateways respectively by monitoring end VOIP gateway, connect by IP network between two VOIP gateways, the interactive signaling agreement is a Session Initiation Protocol.
Another object of the present invention is, a kind of VOIP telephone monitoring method is provided, and concrete scheme may further comprise the steps:
A. monitor end VOIP gateway and verify whether the user's who initiates interception request incoming call has monitoring right,, then send interception request and held the VOIP gateway to monitoring if having monitoring right, and execution in step b, otherwise, disregard;
B. monitored end VOIP gateway and received interception request, interception request side is joined in the conversation of being monitored.
Further, before step a, also comprise step:
Monitor the authority registration of number: when certain number needs as the monitoring number, register checking by the monitoring Verification Number of dialing system's setting, after being proved to be successful, this number can be added in the monitoring right table and obtain monitoring right.
Further, in step a0, before outside line key need use monitoring service, by system this outside line key and the number with monitoring right are set up mapping relations earlier, when outside line key is initiated interception request, with number corresponding in the described mapping relations with monitoring right as the calling number request monitoring.
Further, among the step a0, be added in the monitoring right table at this number and open timer when obtaining monitoring right,, then upgrade timer, reclocking if this number is used in setting-up time; If this number is not used in setting-up time, then nullify the authority of this number.
The invention has the beneficial effects as follows: perfect VOIP telephone monitoring Authority Verification mechanism is provided, has satisfied the security requirement that monitoring service is used; Also be simultaneously the providing a great convenience property of use of monitoring service, the monitoring personnel also can use by any phone of outside line after going on business or coming off duty and monitor, and have so also guaranteed the flexibility and the real-time of listening mode, satisfy the demand of monitoring service.
Embodiment
For making that the solution of the present invention is more clear and be convenient to understand that the solution of the present invention is further described below in conjunction with drawings and Examples.
VOIP telephone monitoring of the present invention system, comprise connect the monitoring end VOIP gateway of monitoring phone and is connected monitored phone held VOIP gateway two large divisions by monitoring.Monitor end VOIP gateway and be used to provide the monitoring right table, to be added in the monitoring right table by the telephone number after the registration checking, when needs utilize certain telephone number in the monitoring right table when monitoring number, utilize this number to be sent interception request to monitoring end VOIP gateway.Monitored and held the VOIP gateway, be used to receive and monitor the interception request that end VOIP gateway sends, set up and monitor connection.
Embodiment 1
It can be same VOIP gateway that monitoring end VOIP gateway among the present invention in the VOIP telephone monitoring system and quilt are monitored end VOIP gateway, referring to shown in Figure 1, the VOIP gateway 1 of this moment is to monitor end VOIP gateway to be monitored end VOIP gateway again, and VOIP gateway 1 is responsible for handling and is monitored phone A to being monitored the interception request of phone B; VOIP gateway 1 can also be responsible for handling outside line C to being monitored the interception request of phone B in addition.The VOIP gateway 1 of this moment comprises monitors number registration module, interception request sending module and interception request processing module.Monitor the number registration module, be used to set up the monitoring right table, the number that listen requirement is arranged is verified, after checking is passed through, it is added in the monitoring right table, make it obtain monitoring right.In the present embodiment,, when certain number needs as the monitoring number, need register, if after the registration checking was passed through, this number can join in the monitoring right table by the monitoring Verification Number of dialing setting by the monitoring Verification Number is set in this module.The interception request sending module is used to judge whether call number has monitoring right, if monitoring right is arranged then sent interception request to monitoring end VOIP gateway, if do not have monitoring right then disregard.Interception request processing module: be responsible for receiving interception request, interception request side is joined in the conversation of being monitored.
In addition, the VOIP gateway 1 of present embodiment is in order to handle outside line C to being monitored the interception request of phone B, also comprise outside line monitoring service module, be used for using the outside line C of monitoring service and telephone number A that the monitoring right table has monitoring right to set up mapping relations needs, and when outside line C initiates interception request, with telephone number A corresponding in the mapping relations with monitoring right as the calling number request monitoring.For the fail safe that guarantees that monitoring service is used, VOIP gateway 1 in the present embodiment 1 also comprises an overtime cancellation module, be used for the telephone number of monitoring right table is carried out the timing monitoring, if certain telephone number begins not use yet in the certain hour from obtaining monitoring right, then nullify the monitoring right of this telephone number.
Embodiment 2
Monitoring end VOIP gateway among the present invention in the VOIP telephone monitoring system also can be two different VOIP gateways with monitoring end VOIP gateway, if be in different VOIP gateways and monitor to hold and monitored end, the mode that then monitoring end this moment needs to use far-end IP to monitor is monitored, referring to shown in Figure 2, the VOIP gateway 1 of this moment is to monitor end VOIP gateway, VOIP gateway 2 is monitored end VOIP gateway, VOIP gateway 1 and VOIP gateway 2 are connected by IP network, and wherein the call signaling of IP network uses the SIP signaling.The VOIP gateway 1 of this moment is disposed and is comprised monitoring number registration module and interception request sending module.Monitor the number registration module, be used to set up the monitoring right table, the number that listen requirement is arranged is verified, after checking is passed through, it is added in the monitoring right table, make it obtain monitoring right.In the present embodiment, dispose a user cipher group earlier on VOIP gateway 1, monitoring number registration module is used this user cipher group to check numbers and is authenticated.When phone A need use monitor function, A need be registered the monitoring number.The user can use phone A or other phone, by dialing the monitoring right Verification Number, as user name, input password again according to the number of pointing out input phone A, if match user cipher code set information then verify and pass through that phone A just registers the monitoring number with monitoring right.Interception request sending module on the VOIP gateway 1 is used to judge whether call number has monitoring right, if monitoring right is arranged then sent interception request to monitoring end VOIP gateway, if do not have monitoring right then disregard.VOIP gateway 2 deploy interception request processing modules are used to receive interception request, and interception request side is joined in the conversation of being monitored.In addition in order to guarantee that outside line C also can obtain monitoring right, on VOIP gateway 1, also need to dispose outside line monitoring service module, be used for using the outside line C of monitoring service and telephone number that the monitoring right table has monitoring right to set up mapping relations needs, and when outside line C initiates interception request, with telephone number corresponding in the mapping relations with monitoring right as the calling number request monitoring.For the fail safe that guarantees that monitoring service is used, VOIP gateway 1 in the present embodiment 1 also comprises an overtime cancellation module, be used for the telephone number of monitoring right table is carried out the timing monitoring, if certain telephone number begins not use yet in the certain hour from obtaining monitoring right, then nullify the monitoring right of this telephone number.Monitor end VOIP gateway 1 in the embodiment of the invention and see Fig. 3 with the structured flowchart of being monitored end VOIP gateway 2.
In the present embodiment, because VOIP gateway 1 deploy outside line monitoring service module, when the user uses the prerequisite of monitoring service to be by outside line, system sets up mapping relations with this outside line key and the number with monitoring right, the number and the intercommunication phone A that are about to outside line C set up mapping relations, and intercommunication phone A must join in the monitoring right table simultaneously.This moment is when initiating interception request as if the user whenever and wherever possible by outside line C, need authenticate by dialing the monitoring right Verification Number equally, the number of input phone A is as user name in verification process, and input password, after authentication was passed through, outside line C had promptly taken over the monitoring right of phone A.Be positioned at the far-end that connects by IP network owing to monitor phone B, when the user calls out at the remote monitoring of phone B by outside line C initiation, the monitored call of being initiated in order to ensure monitoring side phone C can arrive by the end of monitoring side phone B, can expand SIP (a kind of signaling protocol) agreement based on plain text, in interception request with on the parameter of monitor sign (as whether monitoring, purview certification information), recognize by the VOIP gateway 2 at place, monitoring side different when monitoring end VOIP gateway 1 with the gateway at its place, then call request message is converted to sip message and transmits in IP network, the Session Initiation Protocol stack in the VOIP gateway 1 can also add corresponding monitor sign such as cmd=cm according to the monitor sign field in this road message related to calls in INVITE.When the arrival of this sip message is VOIP gateway 2 by the gateway at place, monitoring side, be converted into the call request message that has the monitor sign field, therefore this road call information interception request processing module that can be sent to VOIP gateway 2 is carried out dissection process, parse monitoring side and the quilt information of monitoring side, adopt the principle of Three-Way Calling meeting, the three parts is joined in the meeting, and the side of monitoring is set to silent mode, set up and monitor.
Another object of the present invention provides the VOIP telephone monitoring method embodiment that a kind of above-mentioned VOIP telephone monitoring system is implemented.This method embodiment comprises the steps: that a. monitors end VOIP gateway and verifies whether the user's who initiates interception request incoming call has monitoring right, if have monitoring right, then send interception request and held the VOIP gateway to monitoring, and execution in step b, otherwise, disregard; B. monitored end VOIP gateway and received interception request, interception request side is joined in the conversation of being monitored.Monitoring end VOIP gateway provides the monitoring number authority registration service for checking credentials to guarantee the fail safe of monitoring service by its monitoring number registration module, implementation step is referring to Fig. 4, in system, set up the monitoring right table in advance and the monitoring Verification Number is set, when the user wishes certain number as the monitoring number, then by dialing the monitoring Verification Number, input user name (hope) as the telephone number of monitoring number, the input password, if checking by with in this telephone number adding monitoring right table, promptly had monitoring right, if checking is not passed through, then point out error message.When some telephone numbers get monitoring right, monitoring service picks up counting, if (being defaulted as 2 hours) and obtaining the monitor function of the telephone number of monitoring right in setting-up time was not used, then nullify the monitor function of phone A, otherwise, if the monitor function of phone A is used, then reclocking; This monitors the overtime cancellation service of number performing step referring to shown in Figure 5.
For being in same intrasystem telephone number, can be by directly joining in the monitoring right table after verifying, and for outside line key, because it is uncertain, therefore can not be introduced directly in the monitoring right table.If the monitoring personnel need use in the other places when outside line key is monitored arbitrarily, can can't not monitor because there being monitoring right, can realize that at this moment its flow process is referring to Fig. 6 in conjunction with the outside line monitoring service:
1. at first need to utilize the telephone number of VOIP telephone monitoring internal system to obtain monitoring right, be about to this intercom number and join in the monitoring right table;
2. when the monitoring personnel dial in VOIP telephone monitoring system by outside line key, specify itself and intercom number to set up under the prerequisite of mapping relations in advance in system, input user name (obtaining the number of monitoring right in the step 1) and password, after checking was passed through, this outside line key was taken over this monitoring number;
3. when outside line key is initiated monitored call, this road monitored call with the number taken over of calling number with monitoring right, outside line key just can normally use monitoring service as monitoring side like this;
4. it is monitored call that the monitoring service sign indicating number prefix that outside line monitoring service service has in calling out according to this road identifies this, this road message related to calls will be sent to the interception request processing module of being monitored end VOIP gateway by the interception request sending module and handle;
5. after being received monitored call message by the interception request processing module of monitoring end VOIP gateway, the call-information that obtains monitoring side's number and monitored, the principle of employing Three-Way Calling meeting joins the three parts in the meeting, and the side of monitoring is set to silent mode, thereby realize monitoring service.
The present invention has satisfied the security requirement that monitoring service is used by the safety certification and the overtime cancellation service of monitoring right table; Also be the providing a great convenience property of use of monitoring service simultaneously, the monitoring personnel also can use any outside line that the number of setting is monitored after going on business or coming off duty, so also guarantee the flexibility and the real-time of listening mode, satisfied the demand of monitoring service.The phone that the present invention is monitored is the phone in the VOIP gateway, with this telephone relation can be phone arbitrarily, comprise mobile phone etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.