[go: up one dir, main page]

JP2018022954A - Information recording control apparatus and information recording control method - Google Patents

Information recording control apparatus and information recording control method Download PDF

Info

Publication number
JP2018022954A
JP2018022954A JP2016151393A JP2016151393A JP2018022954A JP 2018022954 A JP2018022954 A JP 2018022954A JP 2016151393 A JP2016151393 A JP 2016151393A JP 2016151393 A JP2016151393 A JP 2016151393A JP 2018022954 A JP2018022954 A JP 2018022954A
Authority
JP
Japan
Prior art keywords
packet
information
call
recording
stream
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
JP2016151393A
Other languages
Japanese (ja)
Other versions
JP6780978B2 (en
Inventor
淳史 安島
Atsushi Yasujima
淳史 安島
明弘 大森
Akihiro Omori
明弘 大森
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.)
NextGen Inc
Original Assignee
NextGen Inc
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 NextGen Inc filed Critical NextGen Inc
Priority to JP2016151393A priority Critical patent/JP6780978B2/en
Publication of JP2018022954A publication Critical patent/JP2018022954A/en
Application granted granted Critical
Publication of JP6780978B2 publication Critical patent/JP6780978B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

【課題】呼制御情報の利用の可否に関わらず、網羅的な録音を実現できる情報記録制御装置及び情報記録制御方法を提供する。【解決手段】通話録音装置(7)は、呼制御情報に対応するパケットストリームを録音対象と判定するSIPセッション部(43)と、呼制御情報に対応しないパケットストリームを録音対象と判定するRTPセッション部(44)と、録音対象のパケットストリームを収集するRTPストリーム部(45)とパケットストリームを構成する複数のRTPパケットから主情報を生成し、記録装置に記録させる主情報記録部と、ネットワークを流れる受信パケットが、既知の録音対象のパケットストリームを構成するRTPパケットか否かを判定し、その判定結果に基づいて、受信パケットを、RTPセッション部及びパケットストリーム処理部のうちいずれか1つに処理させる受信パケット分配部(42)を具備する。【選択図】図4PROBLEM TO BE SOLVED: To provide an information recording control device and an information recording control method capable of realizing comprehensive recording regardless of availability of call control information. A call recording device (7) includes a SIP session unit (43) that determines a packet stream corresponding to call control information as a recording target, and an RTP session that determines a packet stream not corresponding to call control information as a recording target. A part (44), an RTP stream part (45) for collecting a packet stream to be recorded, a main information recording part for generating main information from a plurality of RTP packets constituting the packet stream and recording the main information in a recording device, and a network. It is determined whether or not the received packet flowing is an RTP packet forming a known recording target packet stream, and the received packet is assigned to one of the RTP session section and the packet stream processing section based on the determination result. A reception packet distributor (42) for processing is provided. [Selection diagram] Fig. 4

Description

本発明は、情報記録制御装置及び情報記録制御方法に関する。   The present invention relates to an information recording control device and an information recording control method.

従来、VoIP(Voice over IP)環境で通話録音を行う通話録音装置が開発されている。VoIP環境では、音声は、RTP(Real−time Transport Protocol)パケットにより運ばれる。そのため、VoIP環境で通話録音を行うには、RTPパケットから録音を行う仕組みが必要になる。   2. Description of the Related Art Conventionally, a call recording device that records a call in a VoIP (Voice over IP) environment has been developed. In the VoIP environment, voice is carried by RTP (Real-time Transport Protocol) packets. Therefore, in order to record a call in a VoIP environment, a mechanism for recording from an RTP packet is required.

例えば、ネットワークスイッチのミラーポートに接続された通話録音システムにおいて、IPネットワークを流れるRTPパケットをミラーポートから取得し、上りと下りのRTPパケットを1つの通話と判断し、録音を行い、録音ファイルを生成し、格納している(例えば、特許文献1参照)。   For example, in a call recording system connected to a mirror port of a network switch, an RTP packet flowing through an IP network is acquired from the mirror port, an upstream RTP packet and a downstream RTP packet are determined as one call, recording is performed, and a recording file is recorded. Generated and stored (see, for example, Patent Document 1).

RTPパケットから、通話を構成する上りと下りのRTPパケットストリームを取得するには、例えば、SIPサーバを介して、発呼側の端末と、着呼側の端末との間でやり取りされるSIPメッセージの呼制御情報から、発呼側の端末及び着呼側の端末のIPアドレスを取得し、これらのIPアドレスを送信先アドレスとするIPパケットを、上りと下りのRTPパケットとみなし、取得している。   In order to obtain the upstream and downstream RTP packet streams constituting the call from the RTP packet, for example, an SIP message exchanged between the calling terminal and the called terminal via the SIP server. From the call control information, the IP addresses of the calling terminal and the called terminal are acquired, and IP packets having these IP addresses as destination addresses are regarded as upstream and downstream RTP packets and acquired. Yes.

特開2013−187733号公報JP 2013-187733 A

通話録音というサービスは、例えば、商取引及び顧客サポート対応の証拠を残すという性格上、音声の取りこぼしが発生しないことが要請される。   For example, a service called call recording is required not to miss voice due to the nature of leaving evidence of dealings and customer support.

上述のような従来の通話録音装置では、SIPメッセージの呼制御情報に基づいて通話録音の開始終了を行っている。しかしながら、SIPサーバの制御処理の変更があると、通話録音装置が変更に追随できないため、呼制御情報を利用できず、通話録音ができない場合があり、取りこぼしが発生する。   In the conventional call recording apparatus as described above, the start and end of call recording are performed based on the call control information of the SIP message. However, if there is a change in the control processing of the SIP server, the call recording device cannot follow the change, so call control information cannot be used, and call recording may not be possible, resulting in a loss.

また、1つのネットワーク内に複数の内線網が構築され、しかも、各内線網で異なるSIPサーバが運用されている場合がある。この場合、通話録音装置が、一方のSIPサーバを追随できていても、他方のSIPサーバを追随できていないという事態が発生し得る。このような事態では、一部の通話では、呼制御情報を利用できず、通話録音ができないので、取りこぼしが発生する。   In some cases, a plurality of extension networks are constructed in one network, and different SIP servers are operated in each extension network. In this case, even if the call recording device can follow one of the SIP servers, it may occur that the other SIP server cannot follow. In such a situation, in some calls, call control information cannot be used, and call recording cannot be performed, so that the call is lost.

また、通話録音装置には、構内電話交換機(以下、「PBX」ともいう)と連携し、呼制御情報を取得するタイプがある。このタイプでも、PBXに新しい機能・サービスが追加され、通話録音装置が変更に追随できないため、PBXと連携できず、通話録音ができない場合があり、取りこぼしが発生する。   Further, there is a type of call recording device that acquires call control information in cooperation with a private branch exchange (hereinafter also referred to as “PBX”). Even in this type, new functions / services are added to the PBX, and the call recording device cannot follow the change. Therefore, the PBX cannot cooperate with the call recording and may not be able to record the call.

また、通話録音装置は、呼制御情報に基づいて、通話録音の開始終了のみならず、発信者番号などの付加情報を呼制御情報から取得している。このため、通話録音装置はSIPメッセージ又はPBXとの連携による通話録音を主として行いつつ、これらとの連携だけでは網羅されない通話も録音できることが望まれている。   Further, the call recording device acquires not only the start / end of call recording but also additional information such as a caller number from the call control information based on the call control information. For this reason, it is desired that the call recording device can mainly record calls recorded in cooperation with SIP messages or PBX, and can also record calls that are not covered only in cooperation with these.

このような課題は、上述の通話録音以外のテレビ電話間で送受信される映像データを記録する際も同様である。   Such a problem is the same when recording video data transmitted and received between videophones other than the above-mentioned call recording.

本発明は、かかる点に鑑みてなされたものであり、呼制御情報の利用の可否に関わらず、網羅的な録音を実現できる情報記録制御装置及び情報記録制御方法を提供することを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to provide an information recording control apparatus and an information recording control method capable of realizing comprehensive recording regardless of whether or not call control information can be used. .

本発明の情報記録制御装置の一態様は、呼制御情報に対応するパケットストリームを録音対象と判定する第1セッション処理部と、前記呼制御情報に対応しないパケットストリームを録音対象と判定する第2セッション処理部と、前記第1セッション処理部及び前記第2セッション処理部が判定した前記録音対象のパケットストリームを収集するパケットストリーム処理部と、前記パケットストリーム処理部が収集した前記パケットストリームを構成する複数の主情報パケットから主情報を生成し、記録装置に記録させる主情報記録部と、を具備し、ネットワークを流れる複数の受信パケットのそれぞれについて、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定し、その判定結果に基づいて、前記受信パケットを、前記第2セッション処理部及び前記パケットストリーム処理部のうちいずれか1つに処理させることを特徴とする。   According to one aspect of the information recording control apparatus of the present invention, a first session processing unit that determines that a packet stream corresponding to call control information is a recording target, and a second that determines a packet stream that does not correspond to the call control information is a recording target. A session processing unit, a packet stream processing unit that collects the packet stream to be recorded determined by the first session processing unit and the second session processing unit, and the packet stream collected by the packet stream processing unit A main information recording unit for generating main information from a plurality of main information packets and recording the main information on a recording device, and for each of a plurality of received packets flowing through a network, a main packet stream constituting a known packet stream to be recorded It is determined whether the packet is an information packet, and the received packet is determined based on the determination result. Preparative, characterized in that to be processed by any one of the second session processing unit and the packet stream processing unit.

この構成により、ネットワークを流れる複数の受信パケットのそれぞれについて、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定し、その判定結果に基づいて、前記受信パケットを、前記第2セッション処理部及び前記パケットストリーム処理部のうちいずれか1つに処理させるので、呼制御情報の利用の可否に関わらず、網羅的な録音を実現できる。   With this configuration, for each of a plurality of received packets flowing through the network, it is determined whether or not it is a main information packet that constitutes the known packet stream to be recorded, and based on the determination result, the received packet is Since any one of the two-session processing unit and the packet stream processing unit is processed, comprehensive recording can be realized regardless of whether the call control information can be used.

本発明の情報記録制御装置の一態様において、前記呼制御情報が、呼制御パケットから取得したノードに関する情報であることが好ましい。   In one aspect of the information recording control apparatus of the present invention, it is preferable that the call control information is information related to a node acquired from a call control packet.

本発明の情報記録制御装置の一態様において、前記受信パケットが前記呼制御パケットである場合、前記受信パケットを前記第1セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームでない場合、前記受信パケットを前記第2セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームである場合、前記受信パケットを前記パケットストリーム処理部へ出力する受信パケット分配部をさらに具備することが好ましい。   In one aspect of the information recording control apparatus of the present invention, when the received packet is the call control packet, the received packet is output to the first session processing unit, and the received packet is a known packet to be recorded When the received packet is not a stream, the received packet is output to the second session processing unit, and when the received packet is a known packet stream to be recorded, the received packet is output to the packet stream processing unit. It is preferable to further comprise a part.

本発明の情報記録制御装置の一態様において、前記呼制御情報が、構内電話交換機から取得したノードに関する情報であることが好ましい。   In one aspect of the information recording control apparatus of the present invention, it is preferable that the call control information is information relating to a node acquired from a private branch exchange.

本発明の情報記録制御装置の一態様において、前記受信パケットが、構内電話交換機から取得したノードに関する情報に基づいて既知の前記呼制御パケットであるか否か判定し、前記受信パケットが、既知の前記録音対象のパケットストリームでない場合、前記受信パケットを前記第2セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームである場合、前記受信パケットを前記パケットストリーム処理部へ出力する受信パケット分配部をさらに具備することが好ましい。   In one aspect of the information recording control apparatus of the present invention, it is determined whether the received packet is a known call control packet based on information about a node acquired from a private branch exchange, and the received packet is a known If it is not the packet stream to be recorded, the received packet is output to the second session processing unit. If the received packet is the known packet stream to be recorded, the received packet is sent to the packet stream processing unit. It is preferable to further include a reception packet distribution unit for outputting.

本発明の情報記録制御装置の一態様において、前記主情報パケットが、RTPパケットであることが好ましい。   In one aspect of the information recording control apparatus of the present invention, the main information packet is preferably an RTP packet.

本発明の情報記録制御装置の一態様において、前記主情報が、音声、画像、映像及びテキストから選択される少なくとも1つであることが好ましい。   In one aspect of the information recording control apparatus of the present invention, it is preferable that the main information is at least one selected from voice, image, video and text.

本発明の情報記録制御方法の一態様は、呼制御情報に対応するパケットストリームを録音対象と判定する第1判定工程と、ネットワークを流れる受信パケットが、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定する第2判定工程と、判定結果に基づき、前記受信パケットを、前記呼制御情報に対応しないパケットストリームを録音対象と判定する第3判定処理、及び、前記パケットストリームを構成する複数の主情報パケットを収集し、前記複数の主情報パケットから主情報を生成させ、記録装置に記録させるパケットストリーム処理のうちいずれか1つに付する工程と、を具備することを特徴とする。   In one aspect of the information recording control method of the present invention, a first determination step of determining a packet stream corresponding to call control information as a recording target, and a received packet flowing through the network constitute the known recording target packet stream. A second determination step of determining whether or not the packet is a main information packet; a third determination process of determining a packet stream not corresponding to the call control information as a recording target based on the determination result; and the packet stream Collecting a plurality of main information packets that form a plurality of main information packets, generating main information from the plurality of main information packets, and recording the recording apparatus on any one of the packet stream processes. Features.

この構成により、ネットワークを流れる複数の受信パケットのそれぞれについて、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定し、その判定結果に基づいて、前記受信パケットを、前記呼制御情報に対応しないパケットストリームを録音対象と判定する第3判定処理、及び、前記パケットストリームを構成する複数の主情報パケットを収集し、前記複数の主情報パケットから主情報を生成させ、記録装置に記録させるパケットストリーム処理のうちいずれか1つに付するので、呼制御情報の利用の可否に関わらず、網羅的な録音を実現できる。   With this configuration, it is determined whether each of a plurality of received packets flowing through the network is a main information packet constituting the known packet stream to be recorded, and based on the determination result, the received packet is A third determination process for determining a packet stream that does not correspond to the control information as a recording target, and collecting a plurality of main information packets constituting the packet stream, generating main information from the plurality of main information packets, and a recording apparatus Is attached to any one of the packet stream processes to be recorded, so that comprehensive recording can be realized regardless of whether or not the call control information is used.

本発明によれば、呼制御情報の利用の可否に関わらず、網羅的な録音を実現できる情報記録制御装置及び情報記録制御方法を提供できる。   According to the present invention, it is possible to provide an information recording control apparatus and an information recording control method capable of realizing comprehensive recording regardless of whether or not call control information can be used.

第1の実施の形態に係る通話録音装置を含む通話録音システムの全体構成を示す模式図である。It is a schematic diagram which shows the whole structure of the call recording system containing the call recording apparatus which concerns on 1st Embodiment. 図1に示す通話録音システムにおける第1内線網及び第2内線網を示す模式図である。It is a schematic diagram which shows the 1st extension network and the 2nd extension network in the telephone call recording system shown in FIG. 第1の実施の形態に係る通話録音装置を構成するサーバのハードウェアを示すブロック図である。It is a block diagram which shows the hardware of the server which comprises the call recording apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る通話録音装置を示す機能ブロック図である。It is a functional block diagram which shows the call recording apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る通話録音装置における受信パケット分配部での処理を示すフローチャートである。It is a flowchart which shows the process in the received packet distribution part in the call recording apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る通話録音装置におけるRTPセッション部での処理を示すフローチャートである。It is a flowchart which shows the process in the RTP session part in the telephone call recording apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。It is a sequence diagram which shows the call recording procedure in the call recording apparatus which concerns on 1st Embodiment. 第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。It is a sequence diagram which shows the call recording procedure in the call recording apparatus which concerns on 1st Embodiment. 図8に示す上り下り双方のパケットストリームを構成するRTPパケットに対するRTPセッション処理を示す説明図である。It is explanatory drawing which shows the RTP session process with respect to the RTP packet which comprises the packet stream of both the uplink and downlink shown in FIG. 第2の実施の形態に係る通話録音装置を含む通話録音システムの全体構成を示す模式図である。It is a schematic diagram which shows the whole structure of the call recording system containing the call recording apparatus which concerns on 2nd Embodiment. 図10に示す通話録音システムにおける第1内線網及び第2内線網を示す模式図である。It is a schematic diagram which shows the 1st extension network and the 2nd extension network in the telephone call recording system shown in FIG. 第2の実施の形態に係る通話録音装置を示す機能ブロック図である。It is a functional block diagram which shows the call recording apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係る通話録音装置における受信パケット分配部での処理を示すフローチャートである。It is a flowchart which shows the process in the received packet distribution part in the call recording apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。It is a sequence diagram which shows the call recording procedure in the call recording apparatus which concerns on 2nd Embodiment. 第2の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。It is a sequence diagram which shows the call recording procedure in the call recording apparatus which concerns on 2nd Embodiment.

以下、本発明の実施の形態について、添付図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

(概要)
本実施の形態に係る情報記録制御装置は、呼制御情報に対応するパケットストリームを録音対象と判定する第1セッション処理部と、前記呼制御情報に対応しないパケットストリームを録音対象と判定する第2セッション処理部と、前記第1セッション処理部及び前記第2セッション処理部が判定した前記録音対象のパケットストリームを収集するパケットストリーム処理部と、前記パケットストリーム処理部が収集した前記パケットストリームを構成する複数の主情報パケットから主情報を生成し、記録装置に記録させる主情報記録部と、を具備し、ネットワークを流れる受信パケットが、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定し、その判定結果に基づいて、前記受信パケットを、前記第2セッション処理部及び前記パケットストリーム処理部のうちいずれか1つに処理させる。
(Overview)
The information recording control apparatus according to the present embodiment includes a first session processing unit that determines a packet stream corresponding to call control information as a recording target, and a second session that determines a packet stream that does not correspond to the call control information as a recording target. A session processing unit, a packet stream processing unit that collects the packet stream to be recorded determined by the first session processing unit and the second session processing unit, and the packet stream collected by the packet stream processing unit A main information recording unit that generates main information from a plurality of main information packets and records the main information on a recording device, and whether or not the received packet flowing through the network is a main information packet constituting the known packet stream to be recorded And determining that the received packet is the second set based on the determination result. ® emission processing unit and among the packet stream processing unit to process to any one.

また、本実施の形態に係る情報記録制御方法は、呼制御情報に対応するパケットストリームを録音対象と判定する第1判定工程と、ネットワークを流れる受信パケットが、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定する第2判定工程と、判定結果に基づき、前記受信パケットを、前記呼制御情報に対応しないパケットストリームを録音対象と判定する第3判定処理、及び、前記パケットストリームを構成する複数の主情報パケットを収集し、前記複数の主情報パケットから主情報を生成させ、記録装置に記録させるパケットストリーム処理のうちいずれか1つに付する工程と、を具備する。   In addition, the information recording control method according to the present embodiment includes a first determination step of determining a packet stream corresponding to call control information as a recording target, and a received packet flowing through the network is a known packet stream to be recorded. A second determination step for determining whether the packet is a main information packet to be configured; a third determination process for determining a packet stream not corresponding to the call control information as a recording target based on a determination result; Collecting a plurality of main information packets constituting a packet stream, generating main information from the plurality of main information packets, and attaching the data to one of packet stream processes to be recorded by a recording device. .

本実施の形態に係る情報記録制御装置において、第1セッション処理部は、呼制御情報に対応するパケットストリームを録音対象と判定する。   In the information recording control apparatus according to the present embodiment, the first session processing unit determines that the packet stream corresponding to the call control information is to be recorded.

ここで、呼制御情報とは、2以上のノードの間でセッションを確立するために用いられるノードに関する情報である。ノードに関する情報は、例えば、ノードに割り当てられたIPアドレス、及び、ノードに割り当てられた電話番号(外線番号及び内線番号)を含むが特に限定されない。   Here, the call control information is information related to a node used for establishing a session between two or more nodes. The information on the node includes, for example, an IP address assigned to the node and a telephone number (external line number and extension number) assigned to the node, but is not particularly limited.

呼制御情報は、例えば、呼制御情報を含む呼制御パケットから取得することができる。この場合、呼制御情報は、具体的には、SIP(Session Initiation Protocol)及びH.323プロトコル等で使用されるものであるが、特に限定されない。以下、SIPを例に挙げて説明する。   The call control information can be acquired from a call control packet including the call control information, for example. In this case, the call control information specifically includes SIP (Session Initiation Protocol) and H.264. Although it is used by H.323 protocol etc., it is not specifically limited. Hereinafter, description will be given by taking SIP as an example.

SIPでは、呼制御情報であるSIPメッセージはテキスト形式であり、スタートライン、ヘッダ部及びボディ部に分けられ、ボディ部に、SDP(Session Discription Protocol)という記述構文で、メディアストリーミングの発信元アドレスや圧縮形式などの呼制御情報が記述される。   In SIP, a SIP message that is call control information is in a text format, and is divided into a start line, a header part, and a body part. The body part has a description syntax of SDP (Session Description Protocol), and the source address of media streaming and the like. Call control information such as a compression format is described.

呼制御パケットとは、上述の呼制御情報を含むIPパケットである。   The call control packet is an IP packet including the above call control information.

SIPの場合、例えば、INVITEリクエストのボディ部から発呼側アドレスを取得できる。一方、200 OKレスポンスのボディ部から着呼側アドレスを取得できる。しかし、他の呼制御パケットから発呼側アドレス及び着呼側アドレスを取得してもよい。   In the case of SIP, for example, the calling party address can be acquired from the body part of the INVITE request. On the other hand, the callee address can be acquired from the body part of the 200 OK response. However, the calling side address and the called side address may be acquired from other call control packets.

第1セッション処理部は、例えば、呼制御パケットに含まれる呼制御情報を解析し、発呼側ノードのIPアドレスである発呼側アドレス及び着信側のIPアドレスである着呼側アドレスを取得する。   For example, the first session processing unit analyzes call control information included in the call control packet, and obtains a calling side address that is an IP address of the calling side node and a called side address that is an IP address of the called side. .

また、呼制御情報は、構内電話交換機(PBX)から取得することもできる。この場合、第1セッション処理部は、PBXを構成するサーバが提供するAPI(アプリケーションプログラムインターフェイス)を利用し、PBXからノードに関する情報を取得する。   Call control information can also be obtained from a private branch exchange (PBX). In this case, the first session processing unit acquires information about the node from the PBX using an API (Application Program Interface) provided by the server configuring the PBX.

第1セッション処理部は、呼制御パケット又はPBXから取得した呼制御情報に基づいて、呼制御情報に対応するパケットストリームを録音対象と判定する。   The first session processing unit determines that the packet stream corresponding to the call control information is to be recorded based on the call control packet or the call control information acquired from the PBX.

ここで、パケットストリームとは、発呼側ノード及び着呼側ノードの間で送受信される、主情報を送信するためのデータストリームであり、複数の主情報パケットで構成される。   Here, the packet stream is a data stream for transmitting main information transmitted / received between the calling side node and the called side node, and is composed of a plurality of main information packets.

第1セッション処理部では、例えば、呼制御情報から取得した発呼側アドレス(A)及び着呼側アドレス(B)に基づいて、発呼側アドレス(A)を送信先アドレスとするパケットストリーム(上りのパケットストリーム)及び着呼側アドレス(B)を送信先アドレスとするパケットストリーム(下りのパケットストリーム)を、録音対象と判定する。   In the first session processing unit, for example, based on the calling side address (A) and the called side address (B) acquired from the call control information, a packet stream (with the calling side address (A) as the transmission destination address ( The packet stream (upstream packet stream) and the destination address (B) as the transmission destination address are determined to be recorded.

第1セッション処理部は、判定結果に基づいて録音対象として判定したパケットストリームに関する情報を、パケットストリーム処理部へ出力する。   The first session processing unit outputs information on the packet stream determined as the recording target based on the determination result to the packet stream processing unit.

一方、第2セッション処理部は、呼制御情報に対応しないパケットストリームを録音対象と判定する。   On the other hand, the second session processing unit determines that a packet stream that does not correspond to the call control information is to be recorded.

呼制御情報に対応しないパケットストリームとは、上述の呼制御パケット又はPBXから取得した呼制御情報に基づいて識別できないパケットストリームをいう。   The packet stream that does not correspond to the call control information refers to a packet stream that cannot be identified based on the call control packet or the call control information acquired from the PBX.

第2セッション処理部では、呼制御情報を用いずに、例えば、同一の送信先アドレスを持つ、複数の主情報パケットを解析し、当該パケットストリームを録音対象として判定する。判定の方法は、特に限定されないが、例えば、主情報パケットのデータ構造、主情報パケットの同期送信元(SSRC)識別子の同一性、主情報パケットのシーケンス番号の連続性、及び、主情報パケットの数などの判定条件のうち少なくとも1つを利用する。   The second session processing unit analyzes, for example, a plurality of main information packets having the same transmission destination address without using call control information, and determines the packet stream as a recording target. The determination method is not particularly limited. For example, the data structure of the main information packet, the identity of the synchronization source (SSRC) identifier of the main information packet, the continuity of the sequence number of the main information packet, and the main information packet At least one of the determination conditions such as the number is used.

第2セッション処理部は、判定結果に基づいて録音対象として判定したパケットストリームに関する情報を、パケットストリーム処理部へ出力する。   The second session processing unit outputs information on the packet stream determined as the recording target based on the determination result to the packet stream processing unit.

パケットストリーム処理部は、第1セッション処理部及び第2セッション処理部から入力された録音対象のパケットストリームに関する情報を保持する。パケットストリームに関する情報は、例えば、パケットストリームを構成する主情報パケットの送信元アドレス(srcaddr)及び送信先アドレス(dstaddr)であるが、特に限定されない。   The packet stream processing unit holds information regarding the packet stream to be recorded input from the first session processing unit and the second session processing unit. The information regarding the packet stream is, for example, the transmission source address (srcaddr) and the transmission destination address (dstaddr) of the main information packet constituting the packet stream, but is not particularly limited.

パケットストリーム処理部は、録音対象のパケットストリームに関する情報を用いて、録音対象のパケットストリームを構成する主情報パケットを収集し、主情報記録部へ入力する。   The packet stream processing unit collects main information packets constituting the packet stream to be recorded using information on the packet stream to be recorded, and inputs the collected information to the main information recording unit.

主情報記録部は、パケットストリーム処理部から入力された複数の主情報パケットから主情報を生成し、主情報を記憶装置に記憶させる。   The main information recording unit generates main information from a plurality of main information packets input from the packet stream processing unit, and stores the main information in the storage device.

ここで、主情報とは、ノード間で送受信されるデータである。例えば、主情報は、マルチメディアデータであり、より具体的には、音声、画像、映像及びテキストから選択される少なくとも1つである。VoIPを用いたIP電話では、主情報は音声及び/又は映像である。以下、主情報が音声の場合を例に挙げて説明する。   Here, main information is data transmitted and received between nodes. For example, the main information is multimedia data, more specifically, at least one selected from audio, image, video, and text. In an IP phone using VoIP, main information is audio and / or video. Hereinafter, the case where the main information is voice will be described as an example.

主情報パケットとは、主情報の一部を含むIPパケットである。主情報が音声である場合、主情報を送受信するプロトコルとして、例えば、RTPが用いられる。   The main information packet is an IP packet including a part of main information. When the main information is voice, for example, RTP is used as a protocol for transmitting / receiving the main information.

RTPは、例えば、UDPをベースとするが、これに限定されない。RTPパケットは、IPヘッダ、UDPヘッダ、RTPヘッダ及びデータ部で構成され、データ部に、分割された音声データが格納される。RTPには、シーケンス番号及びタイムスタンプが含まれている。RTPでは、送信側のノードが送信した音声データを正しく伝達するために、受信側のノードで、シーケンス番号によってパケットを正しい順番に並び替える。また、受信側のノードで、タイムスタンプ情報で音声再生のタイミングを決定することで音声通話を実現する。このように、順番に並べられた複数の主情報パケットを、パケットストリームと呼ぶ。   RTP is based on, for example, UDP, but is not limited thereto. The RTP packet is composed of an IP header, a UDP header, an RTP header, and a data portion, and the divided audio data is stored in the data portion. RTP includes a sequence number and a time stamp. In RTP, in order to correctly transmit the voice data transmitted by the transmitting node, the receiving node rearranges the packets in the correct order according to the sequence number. In addition, a voice call is realized by determining the timing of voice reproduction based on the time stamp information at the receiving node. A plurality of main information packets arranged in this way are called a packet stream.

RTPに代表されるように、本発明は、パケットに、送信先アドレス及び送信元アドレスを含め、主情報としてマルチメディアデータを含み、かつ、シーケンス番号等によりパケットの順番を示す情報を含めるデータ通信プロトコルに適用することが可能である。   As represented by RTP, the present invention is a data communication in which a packet includes a transmission destination address and a transmission source address, includes multimedia data as main information, and includes information indicating a packet order by a sequence number or the like. It can be applied to protocols.

ここで説明したVoIPの場合は、呼制御パケットはSIPに、主情報パケットはRTPにそれぞれ準拠しているが、呼制御パケット及び主情報パケットが同じプロトコルに準拠していても構わない。このような例としては、WebRTC(Web Real−Time Communication)が挙げられる。   In the case of VoIP described here, the call control packet conforms to SIP and the main information packet conforms to RTP, but the call control packet and the main information packet may conform to the same protocol. An example of this is WebRTC (Web Real-Time Communication).

RTPの場合、主情報記録部は、上述のように、パケットストリームを構成する複数のRTPパケットを、シーケンス番号によって正しい順番に並び替えると共に、タイムスタンプ情報で音声再生のタイミングを決定し、上り下り双方のパケットストリームから通話音声データを生成する。また、主情報記録部は、生成した通話音声データを、音声ファイルに変換する。   In the case of RTP, as described above, the main information recording unit rearranges the plurality of RTP packets constituting the packet stream in the correct order according to the sequence number, determines the timing of audio reproduction based on the time stamp information, and Call voice data is generated from both packet streams. The main information recording unit converts the generated call voice data into a voice file.

主情報を記憶させる記憶装置は、情報記録制御装置に内蔵されていても、外部から接続されていても、いずれでもよい。記憶装置は、シリアルケーブル、USB等で情報記録制御装置に接続されていてもよいし、有線LAN、無線LAN等のネットワークで情報記録制御装置に接続されていてもよい。記憶装置は、ハードディスクドライブ、ソリッドステートドライブ(SSD)、磁気ディスクドライブ、光ディスクドライブ等であるが、特に限定されない。   The storage device for storing the main information may be either built in the information recording control device or connected from the outside. The storage device may be connected to the information recording control device via a serial cable, USB, or the like, or may be connected to the information recording control device via a network such as a wired LAN or a wireless LAN. The storage device is a hard disk drive, solid state drive (SSD), magnetic disk drive, optical disk drive, or the like, but is not particularly limited.

記憶装置は、より好ましくは、情報記録制御装置にネットワークを介して接続された情報記録サーバである。情報記録サーバは、ネットワークを介して接続されたパーソナルコンピュータ(PC)から、記憶した主情報を検索し、再生することができるように構成されている。   More preferably, the storage device is an information recording server connected to the information recording control device via a network. The information recording server is configured to be able to search and reproduce stored main information from a personal computer (PC) connected via a network.

本実施の形態に係る情報記録制御装置において、受信パケットが既知の録音対象のパケットストリームを構成するか否かを判定し、その判定結果に基づいて受信パケットを、前記第2セッション処理部及びパケットストリーム処理部のうちいずれか1つに処理させる。   In the information recording control apparatus according to the present embodiment, it is determined whether or not the received packet constitutes a known packet stream to be recorded, and the received packet is determined based on the determination result, the second session processing unit and the packet Any one of the stream processing units is processed.

既知の録音対象のパケットストリームとは、録音対象のパケットストリームに関する情報がパケットストリーム処理部で保持されているパケットストリームをいう。   The known packet stream to be recorded means a packet stream in which information related to the packet stream to be recorded is held in the packet stream processing unit.

呼制御情報が呼制御パケットから取得したノードに関する情報であるとき、受信パケットが呼制御パケットである場合、受信パケットを第1セッション処理部に処理させ、受信パケットが、既知の録音対象のパケットストリームでない場合、受信パケットを第2セッション処理部に処理させ、受信パケットが、既知の録音対象のパケットストリームである場合、受信パケットをパケットストリーム処理部に処理させることが好ましい。   When the call control information is information related to a node acquired from the call control packet, when the received packet is a call control packet, the received packet is processed by the first session processing unit, and the received packet is a known packet stream to be recorded. If not, it is preferable that the received packet is processed by the second session processing unit, and if the received packet is a known packet stream to be recorded, the received packet is processed by the packet stream processing unit.

呼制御情報がPBXから取得したノードに関する情報であるとき、受信パケットが、PBXから取得したノードに関する情報に基づいて既知のパケットストリームか否か判定し、既知の録音対象のパケットストリームでない場合、受信パケットを第2セッション処理部に処理させ、受信パケットが、既知の録音対象のパケットストリームである場合、受信パケットをパケットストリーム処理部に処理させることが好ましい。   When the call control information is information related to the node acquired from the PBX, it is determined whether or not the received packet is a known packet stream based on the information related to the node acquired from the PBX. When the second session processing unit processes the packet and the received packet is a known packet stream to be recorded, the received packet is preferably processed by the packet stream processing unit.

上述のような構成により、本実施の形態に係る情報記録制御装置によれば、受信パケットが既知の録音対象のパケットストリームか否か判定し、その判定結果に基づいて、受信パケットを、第2セッション処理部及びパケットストリーム処理部のうちいずれか1つに処理させる。パケットストリームが呼制御情報に対応している場合、第1セッション処理部は、録音対象と判定し、当該パケットストリームに関する情報をパケットストリーム処理部に入力し、保持させる。パケットストリーム処理部が管理する、録音対象のパケットストリームに関する情報に基づいて、受信パケットが、既知の録音対象のパケットストリームを構成すると判定してパケットストリーム処理部に処理させる。パケットストリーム処理部は、受信パケットを主情報パケットとして収集し、主情報記録部に入力する。主情報記録部は、主情報を生成し、記録装置に記録させる。   With the configuration as described above, the information recording control device according to the present embodiment determines whether or not the received packet is a known packet stream to be recorded, and based on the determination result, Either one of the session processing unit and the packet stream processing unit is processed. When the packet stream corresponds to the call control information, the first session processing unit determines that the packet is to be recorded, and inputs information about the packet stream to the packet stream processing unit and holds it. Based on the information regarding the packet stream to be recorded, which is managed by the packet stream processing unit, it is determined that the received packet constitutes a known packet stream to be recorded, and the packet stream processing unit processes the received packet. The packet stream processing unit collects received packets as main information packets and inputs them to the main information recording unit. The main information recording unit generates main information and causes the recording device to record the main information.

一方、パケットストリームが呼制御情報に対応していない場合には、パケットストリーム処理部は、当該パケットストリームに関する情報を未だ持っていないので、受信パケットが既知の録音対象のパケットストリームを構成しないと判定し、第2セッション処理部に処理させる。第2セッション処理部は、受信パケットが、未知の録音対象のパケットストリームを構成するか否か判断し、その結果、未知の録音対象のパケットストリームであると判断した場合、当該パケットストリームに関する情報をパケットストリーム処理部に入力し、保持させる。したがって、これ以降の受信パケットについては、既知の録音対象のパケットストリームを構成すると判定し、パケットストリーム処理部に処理させる。パケットストリーム処理部は、受信パケットを主情報パケットとして収集し、主情報記録部に入力する。主情報記録部は、主情報を生成し、記録装置に記録させる。このような結果、パケットストリームが呼制御情報に対応するか否かに関わらず、主情報を網羅的に記録することができる。   On the other hand, if the packet stream does not correspond to the call control information, the packet stream processing unit determines that the received packet does not constitute a known packet stream to be recorded because it does not have information on the packet stream yet. Then, the second session processing unit is processed. The second session processing unit determines whether or not the received packet constitutes an unknown packet stream for recording, and as a result, determines that the received packet is an unknown packet stream for recording, Input to the packet stream processing unit and hold it. Therefore, subsequent received packets are determined to constitute a known packet stream to be recorded, and are processed by the packet stream processing unit. The packet stream processing unit collects received packets as main information packets and inputs them to the main information recording unit. The main information recording unit generates main information and causes the recording device to record the main information. As a result, the main information can be comprehensively recorded regardless of whether the packet stream corresponds to the call control information.

(第1の実施の形態)
以下、VoIP環境での音声通話を録音する通話録音システムに、本発明の情報記録制御装置を適用した第1の実施の形態について説明する。以下の説明では、情報記録制御装置として通話録音装置を例示する。
(First embodiment)
Hereinafter, a first embodiment in which the information recording control apparatus of the present invention is applied to a call recording system for recording a voice call in a VoIP environment will be described. In the following description, a call recording device is exemplified as the information recording control device.

<システム>
図1は、第1の実施の形態に係る通話録音装置を含む通話録音システムの全体構成を示す模式図である。図1に示すように、通話録音システム1では、光通信ネットワーク2に、光回線終端装置(ONU)3を介してゲートウェイ(GW)4が通信可能に接続されている。
<System>
FIG. 1 is a schematic diagram showing an overall configuration of a call recording system including a call recording apparatus according to the first embodiment. As shown in FIG. 1, in the call recording system 1, a gateway (GW) 4 is communicably connected to an optical communication network 2 via an optical line termination unit (ONU) 3.

ゲートウェイ4は、光通信ネットワーク2等の固定回線による通信サービスにおいて、固定回線と加入者側ネットワークの橋渡しを行うネットワーク機器である。   The gateway 4 is a network device that bridges the fixed line and the subscriber network in a communication service using a fixed line such as the optical communication network 2.

ゲートウェイ4は、NAT装置の一例であり、NAT機能を内蔵している。   The gateway 4 is an example of a NAT device and incorporates a NAT function.

ゲートウェイ4には、第1内線網5及び第2内線網6に設けられたスイッチングハブ21(21’)が接続されている。第1内線網5及び第2内線網6については後述する。   The gateway 4 is connected to a switching hub 21 (21 ′) provided in the first extension network 5 and the second extension network 6. The first extension network 5 and the second extension network 6 will be described later.

スイッチングハブ21、21’は、ミラーポート21a、21a’を備えている。スイッチングハブ21、21’は、第1内線網5及び第2内線網6が接続されたポートが送受信するデータを、同時にミラーポート21a、21a’から送出する。   The switching hubs 21 and 21 'include mirror ports 21a and 21a'. The switching hubs 21 and 21 ′ simultaneously transmit data transmitted and received by the port connected to the first extension network 5 and the second extension network 6 from the mirror ports 21 a and 21 a ′.

ミラーポート21a、21a’には、通話録音装置7が通信可能に接続されており、スイッチングハブ21、21’を介して流れるIPパケットを受信するように構成されている。   The call recording device 7 is communicably connected to the mirror ports 21a and 21a ', and is configured to receive IP packets flowing through the switching hubs 21 and 21'.

通話録音装置7には、スイッチングハブ8が通信可能に接続されている。スイッチングハブ8には、音声サーバ9及びPC10a〜10cが通信可能に接続されている。   A switching hub 8 is communicably connected to the call recording device 7. The voice server 9 and the PCs 10a to 10c are connected to the switching hub 8 so as to communicate with each other.

音声サーバ9は、通話録音装置7が生成した音声ファイルを受け取って、ストレージデバイスに格納する。音声サーバ9は、ストレージデバイスに格納した音声ファイルを、録音関連情報と対応付けて管理する。録音関連情報とは、例えば、発呼側の電話番号、着信側の電話番号、録音開始時刻及び録音(通話)時間の長さである。   The voice server 9 receives the voice file generated by the call recording device 7 and stores it in the storage device. The voice server 9 manages the voice file stored in the storage device in association with the recording related information. The recording-related information is, for example, the telephone number on the calling side, the telephone number on the receiving side, the recording start time, and the length of the recording (call) time.

PC10a〜10cは、音声サーバ9に対して、音声ファイルの検索を依頼したり、音声サーバ9から送信された音声ファイルを再生したり、するように構成されている。   The PCs 10a to 10c are configured to request the audio server 9 to search for an audio file and to reproduce the audio file transmitted from the audio server 9.

本実施の形態では、音声サーバ9は、通話録音装置7と同じローカルエリアネットワーク内に設置されているが、例えば、インターネット網(図示せず)を介して、ローカルエリアネットワークの外部に設置されていてもよい。   In the present embodiment, the voice server 9 is installed in the same local area network as the call recording device 7, but is installed outside the local area network, for example, via the Internet network (not shown). May be.

光通信ネットワーク2には、外部電話端末11が通信可能に接続されている。   An external telephone terminal 11 is communicably connected to the optical communication network 2.

<内線網>
図2は、図1に示す通話録音システムにおける第1内線網及び第2内線網を示す模式図である。まず、第1内線網5について説明する。図2に示すように、第1内線網5は、スイッチングハブ21を備えている。スイッチングハブ21は、図1のゲートウェイ4のポートに通信可能に接続されている。
<Extension network>
FIG. 2 is a schematic diagram showing a first extension network and a second extension network in the call recording system shown in FIG. First, the first extension network 5 will be described. As shown in FIG. 2, the first extension network 5 includes a switching hub 21. The switching hub 21 is communicably connected to the port of the gateway 4 in FIG.

スイッチングハブ21の複数のポートには、図1のSIPサーバ22及び局内電話端末23a〜23cが接続されている。   The SIP server 22 and intra-office telephone terminals 23a to 23c in FIG. 1 are connected to a plurality of ports of the switching hub 21.

SIPサーバ22は、SIPを利用したIP電話サービスの管理及び制御を行うサーバであり、電話番号などの利用者の識別情報とIPアドレスなどのネットワーク上の所在の対応データを管理し、発信者と通話先の間で発呼情報の仲介を行う。   The SIP server 22 is a server that manages and controls an IP telephone service using SIP. The SIP server 22 manages user identification information such as a telephone number and correspondence data on a network location such as an IP address. Mediates call information between callees.

局内電話端末23a〜23cは、SIP対応機器であり、SIPのUA(User Agent)として機能する。局内電話端末23a〜23cは、IP電話機、IP電話アダプタ、SIP対応アプリケーションが動作するパーソナルコンピュータ(PC)及びスマートフォン等であるが、特に限定されない。   The intra-office telephone terminals 23a to 23c are SIP-compatible devices and function as SIP UAs (User Agents). The intra-office telephone terminals 23a to 23c are IP telephones, IP telephone adapters, personal computers (PCs) on which SIP-compatible applications operate, smartphones, and the like, but are not particularly limited.

局内電話端末23a〜23cは、スイッチングハブ21に接続されると自らの電話番号とIPアドレスをSIPサーバ22に知らせる。また、局内電話端末23a〜23cは、発呼時は、SIPサーバ22に着呼側の電話端末の電話番号を通知する。SIPサーバ22は、通知された電話番号に対応する着呼側の電話端末のIPアドレスに宛てて発信通知を転送し、通信開始が許諾(「受話器を上げる」動作)されたら発呼側と着呼側が直接接続して通話を開始する。   When the intra-office telephone terminals 23 a to 23 c are connected to the switching hub 21, the intra-office telephone terminals 23 a to 23 c inform the SIP server 22 of their telephone numbers and IP addresses. Further, the intra-office telephone terminals 23a to 23c notify the SIP server 22 of the telephone number of the called telephone terminal when making a call. The SIP server 22 transfers the outgoing call notification to the IP address of the called telephone terminal corresponding to the notified telephone number, and when the communication start is permitted ("pick up the handset" operation), the calling server and the called party are called. The caller connects directly and initiates a call.

第2内線網6は、図2に示すように、スイッチングハブ21’、SIPサーバ22’、局内電話端末23a’〜23c’を備え、上述の第1内線網5のスイッチングハブ21、SIPサーバ22、局内電話端末23a〜23cと同等の構成及び機能を有する。   As shown in FIG. 2, the second extension network 6 includes a switching hub 21 ′, a SIP server 22 ′, and intra-office telephone terminals 23 a ′ to 23 c ′. The switching hub 21 and the SIP server 22 of the first extension network 5 described above. Have the same configuration and function as the in-office telephone terminals 23a to 23c.

第1内線網5及び第2内線網6の相違点は、第1内線網5のSIPサーバ22が送出するSIPメッセージ中の呼制御情報を通話録音装置7が利用可能であるが、第2内線網6のSIPサーバ22’が送出するSIPメッセージ中の呼制御情報を通話録音装置7が利用可能でない点である。   The difference between the first extension network 5 and the second extension network 6 is that the call recording device 7 can use the call control information in the SIP message sent out by the SIP server 22 of the first extension network 5, but the second extension network The call recording device 7 cannot use the call control information in the SIP message sent out by the SIP server 22 ′ of the network 6.

この要因は種々あるが、本実施の形態では、第2内線網6で運用されるSIPサーバ22’が提供するサービスが変更になり、SIPサーバ22’で動作するソフトウエアのバージョンがアップグレードされたため、通話録音装置7が、SIPサーバ22’のSIPセッションで送受信される呼制御パケットから呼制御情報を取得できない場合を想定している。   There are various reasons for this, but in the present embodiment, the service provided by the SIP server 22 ′ operated in the second extension network 6 has been changed, and the version of software operating on the SIP server 22 ′ has been upgraded. It is assumed that the call recording device 7 cannot acquire the call control information from the call control packet transmitted / received in the SIP session of the SIP server 22 ′.

<サーバ>
図3は、第1の実施の形態に係る通話録音装置を構成するサーバのハードウェアを示すブロック図である。
<Server>
FIG. 3 is a block diagram showing hardware of the server that constitutes the call recording apparatus according to the first embodiment.

図3に示すように、サーバ100は、中央制御部101、ネットワーク制御部102、ストレージデバイス103及びメモリ104を備えている。   As illustrated in FIG. 3, the server 100 includes a central control unit 101, a network control unit 102, a storage device 103, and a memory 104.

中央制御部101は、サーバ100の各部を制御するプロセッサである。具体的には、中央制御部101は、CPU等を備え、メモリ104を用いてOSや各種処理プログラムに従って各種の制御動作を行う。   The central control unit 101 is a processor that controls each unit of the server 100. Specifically, the central control unit 101 includes a CPU and the like, and uses the memory 104 to perform various control operations according to the OS and various processing programs.

ネットワーク制御部102は、ネットワークを介してデータ通信等を遂行する。   The network control unit 102 performs data communication and the like via the network.

ストレージデバイス103は、例えば、ハードディスクドライブ、不揮発性メモリ等により構成され、中央制御部101の動作に必要な各種プログラムやデータを記憶している。   The storage device 103 is composed of, for example, a hard disk drive, a nonvolatile memory, and the like, and stores various programs and data necessary for the operation of the central control unit 101.

メモリ104は、例えば、DRAM等により構成され、中央制御部101等によって処理されるデータ等を一時的に記憶するバッファメモリや、中央制御部101等のワーキングメモリとして機能する。   The memory 104 is configured by, for example, a DRAM or the like, and functions as a buffer memory that temporarily stores data processed by the central control unit 101 or the like, or a working memory such as the central control unit 101.

以上説明したサーバ100において、目的に応じてプログラムやデータを適宜用意し、中央制御部101に実行させることで通話録音装置7を実現することができる。図2のSIPサーバ22、22’及び図1の音声サーバ9もサーバ100で実現することができる。   In the server 100 described above, the call recording device 7 can be realized by appropriately preparing programs and data according to the purpose and causing the central control unit 101 to execute the programs and data. The SIP servers 22 and 22 ′ in FIG. 2 and the voice server 9 in FIG. 1 can also be realized by the server 100.

<通話録音装置>
図4は、第1の実施の形態に係る通話録音装置を示す機能ブロック図である。図4に示す通り、通話録音装置7において、中央制御部101(図3参照)により実現されるパケットキャプチャ部41が、ネットワーク制御部102(図3参照)を制御し、図1のスイッチングハブ21、21’のミラーポート21a、21a’からIPパケットを受信する。パケットキャプチャ部41は、受信したIPパケット(以下、受信パケットという)を、中央制御部101により実現される受信パケット分配部42に出力する。
<Call recording device>
FIG. 4 is a functional block diagram showing the call recording device according to the first embodiment. As shown in FIG. 4, in the call recording device 7, the packet capture unit 41 realized by the central control unit 101 (see FIG. 3) controls the network control unit 102 (see FIG. 3), and the switching hub 21 in FIG. , 21 ′ receive IP packets from the mirror ports 21a, 21a ′. The packet capture unit 41 outputs the received IP packet (hereinafter referred to as a received packet) to the received packet distribution unit 42 realized by the central control unit 101.

受信パケット分配部42は、入力された受信パケットを後述の判定フローに従って、中央制御部101により実現されるSIPセッション部43、RTPセッション部44及びRTPストリーム部45のいずれか1つに出力する。   The reception packet distribution unit 42 outputs the input reception packet to any one of the SIP session unit 43, the RTP session unit 44, and the RTP stream unit 45 realized by the central control unit 101 according to a determination flow described later.

SIPセッション部43は、本発明の第1セッション処理部の一例であり、受信パケットからSIPメッセージを含む呼制御パケットを識別し、呼制御パケットを解析して、SIPメッセージのSDPに含まれる発呼側のノードのアドレスを示す発呼側アドレス及び着呼側のノードのIPアドレスを示す着呼側アドレス等を取得する。   The SIP session unit 43 is an example of the first session processing unit of the present invention, identifies a call control packet including a SIP message from a received packet, analyzes the call control packet, and makes a call included in the SDP of the SIP message. The caller side address indicating the address of the callee node and the callee address indicating the IP address of the callee node are acquired.

RTPセッション部44は、本発明の第2セッション処理部の一例であり、受信パケットからRTPパケットを識別し、RTPパケットを解析して、IPヘッダに含まれる送信先アドレス及び送信元アドレス等を取得する。   The RTP session unit 44 is an example of a second session processing unit of the present invention, identifies an RTP packet from a received packet, analyzes the RTP packet, and acquires a transmission destination address and a transmission source address included in the IP header. To do.

RTPストリーム部45は、本発明のパケットストリーム処理部の一例である。RTPストリーム部45は、SIPセッション部43が取得した発呼側アドレス及び着呼側アドレスを受け取り、録音対象のパケットストリームに関する情報としてRTPストリームマップに登録する。RTPストリームマップは、中央制御部101によって、記憶装置の一例であるストレージデバイス103(図3参照)又はメモリ104(図3参照)に格納される。RTPストリームマップは、録音対象とするパケットストリームの送信元アドレス(srcaddr)と送信先アドレス(dstaddr)を一対として登録するように構成されている。RTPストリーム部45は、SIPセッション部43が取得した発呼側アドレスを送信先アドレスに、着呼側アドレスを送信元アドレスとする、上りパケットストリームと、SIPセッション部43が取得した発呼側アドレスを送信元アドレスに、着呼側アドレスを送信先アドレスとする、下りパケットストリームとを、録音対象のパケットストリームとしてRTPストリームマップに登録する。   The RTP stream unit 45 is an example of a packet stream processing unit of the present invention. The RTP stream unit 45 receives the calling party address and the called party address acquired by the SIP session unit 43, and registers them in the RTP stream map as information relating to the packet stream to be recorded. The RTP stream map is stored by the central control unit 101 in the storage device 103 (see FIG. 3) or the memory 104 (see FIG. 3), which is an example of a storage device. The RTP stream map is configured to register a transmission source address (srcaddr) and a transmission destination address (dstaddr) of a packet stream to be recorded as a pair. The RTP stream unit 45 includes an upstream packet stream having the calling party address acquired by the SIP session unit 43 as a transmission destination address and the called party address as a transmission source address, and the calling party address acquired by the SIP session unit 43. Is registered in the RTP stream map as a packet stream to be recorded, with the source address as the source address and the destination address as the destination address.

また、RTPストリーム部45は、RTPセッション部44が取得した送信先アドレス及び送信元アドレスを受け取り、録音対象のパケットストリームに関する情報としてRTPストリームマップに登録する。   Further, the RTP stream unit 45 receives the transmission destination address and the transmission source address acquired by the RTP session unit 44, and registers them in the RTP stream map as information related to the packet stream to be recorded.

また、RTPストリーム部45は、受信パケット分配部42から入力されたIPパケットから、RTPストリームマップに登録された送信先アドレス及び送信アドレスが一致するパケットストリームを構成するRTPパケットを検出及び収集し、RTPパケットから音声データを取り出し、音声キュー46へ順次出力する。   Further, the RTP stream unit 45 detects and collects RTP packets constituting a packet stream having a transmission destination address and a transmission address registered in the RTP stream map from the IP packet input from the reception packet distribution unit 42, Audio data is extracted from the RTP packet and sequentially output to the audio queue 46.

音声キュー46は、中央制御部101によって、例えば、メモリ104に用意される待ち行列であり、先に入力された音声データから順次出力するように構成されている。   The voice queue 46 is, for example, a queue prepared in the memory 104 by the central control unit 101, and is configured to sequentially output voice data that has been input first.

通話録音装置7は、少なくとも1つの音声チャネルを管理する録音チャネル管理部47を具備する。録音チャネル管理部47は、中央制御部101によって実現され、例えば、記憶装置の一例であるストレージデバイス103に、使用可能な録音領域、すなわち録音チャネルを用意する。   The call recording device 7 includes a recording channel management unit 47 that manages at least one voice channel. The recording channel management unit 47 is realized by the central control unit 101 and prepares a usable recording area, that is, a recording channel, in the storage device 103 which is an example of a storage device.

音声ファイル生成部48は、中央制御部101により実現され、音声キュー46から音声データを順次取り出し、音声データに変換し、録音チャネル管理部47が用意した録音チャネルに音声ファイルの形式で出力し、記憶させる。また、音声ファイル生成部48は、音声ファイルの生成開始の時刻及び生成終了の時刻から録音開始時刻及び録音(通話)時間を求め、記憶する。   The audio file generation unit 48 is realized by the central control unit 101, sequentially extracts audio data from the audio queue 46, converts the audio data into audio data, and outputs it to the recording channel prepared by the recording channel management unit 47 in the form of an audio file. Remember. The audio file generation unit 48 obtains and stores the recording start time and the recording (call) time from the generation start time and the generation end time of the audio file.

音声ファイル送信部49は、中央制御部101により実現され、音声ファイル生成部48が生成した音声ファイルを、音声サーバ9に送信する。音声ファイル送信部49は、録音開始時刻及び録音(通話)時間を含む録音関連情報を、音声ファイルと共に音声サーバ9に送信する。   The audio file transmission unit 49 is realized by the central control unit 101, and transmits the audio file generated by the audio file generation unit 48 to the audio server 9. The audio file transmission unit 49 transmits the recording related information including the recording start time and the recording (call) time to the audio server 9 together with the audio file.

上述のように、RTPストリーム部45は、音声ファイル生成部48に、収集したRTPパケットから上り下り双方のパケットストリームの音声データを生成させ、かつ、音声ファイル送信部49に、音声ファイルを図1の音声サーバ9に記憶させる。したがって、音声ファイル生成部48及び音声ファイル送信部49は、本実施の形態の主情報記録部に相当する。   As described above, the RTP stream unit 45 causes the audio file generation unit 48 to generate audio data of both upstream and downstream packet streams from the collected RTP packets, and causes the audio file transmission unit 49 to generate the audio file in FIG. Are stored in the voice server 9. Therefore, the audio file generation unit 48 and the audio file transmission unit 49 correspond to the main information recording unit of the present embodiment.

<受信パケットの分配>
次に、受信パケット分配部42(図4参照)での処理について説明する。図5は、第1の実施の形態に係る通話録音装置における受信パケット分配部での処理を示すフローチャートである。図5に示すように、受信パケット分配部42は、まず、パケットを受信したか否か判定する(S1)。パケットを受信したならば、受信パケットが呼制御パケットか否か判定する(S2)。この判定は、例えば、先頭行の行頭又は末尾に「SIP/2.0」のようなSIPの呼制御パケットに特有の文字列が含まれるか否かにより行われる。ただし、判定はこの例に限定されない。受信パケット分配部42は、ステップS2で判定がYesであれば、受信パケットをSIPセッション部43へ出力する(S3)。
<Distribution of received packets>
Next, processing in the received packet distribution unit 42 (see FIG. 4) will be described. FIG. 5 is a flowchart showing processing in the received packet distribution unit in the call recording apparatus according to the first embodiment. As shown in FIG. 5, the received packet distributor 42 first determines whether or not a packet has been received (S1). If a packet is received, it is determined whether the received packet is a call control packet (S2). This determination is made, for example, based on whether a unique character string is included in the SIP call control packet such as “SIP / 2.0” at the beginning or end of the first line. However, the determination is not limited to this example. If the determination in step S2 is Yes, the reception packet distribution unit 42 outputs the reception packet to the SIP session unit 43 (S3).

ステップS2で判定がNoであれば、受信パケット分配部42は、既知の録音対象のパケットストリームを構成するRTPパケットか否か判定する(S4)。この判定は、例えば、RTPパケット中に含まれる送信元アドレス(srcaddr)及び送信先アドレス(dstaddr)をキーとしてRTPストリーム部45が保持するRTPストリームマップに登録された録音対象のパケットストリームに関する情報を検索し、既に当該情報が存在するか否かに基づいて行われる。ステップS4で判定がYesであれば、受信パケット分配部42は、受信パケットをRTPストリーム部45へ出力する(S5)。   If the determination in step S2 is No, the received packet distribution unit 42 determines whether the packet is an RTP packet constituting a known packet stream to be recorded (S4). This determination is performed by, for example, information on the packet stream to be recorded registered in the RTP stream map held by the RTP stream unit 45 using the transmission source address (srcaddr) and the transmission destination address (dstaddr) included in the RTP packet as keys. The search is performed based on whether or not the information already exists. If the determination in step S4 is Yes, the received packet distribution unit 42 outputs the received packet to the RTP stream unit 45 (S5).

ステップS4での判定がNoであれば、受信パケット分配部42は、受信パケットをRTPセッション部44へ出力する(S6)。ステップS3、S5、S6で受信パケットをSIPセッション部43、RTPセッション部44及びRTPストリーム部45のいずれかに出力した後は、ステップS1に戻り、次のパケットを待つ。   If the determination in step S4 is No, the received packet distribution unit 42 outputs the received packet to the RTP session unit 44 (S6). After the received packet is output to any of the SIP session unit 43, the RTP session unit 44, and the RTP stream unit 45 in steps S3, S5, and S6, the process returns to step S1 and waits for the next packet.

<RTPセッション処理>
次に、RTPセッション部44(図4参照)での処理(以下、RTPセッション処理ともいう)について説明する。図6は、第1の実施の形態に係る通話録音装置におけるRTPセッション部での処理を示すフローチャートである。図6に示すように、RTPセッション部44は、まず、受信パケットがRTPパケットらしいか否か判定する(S11)。この判定は、例えば、受信パケットが、RTPヘッダに含まれるバージョン番号を含むか否か及び受信パケットがヘッダーサイズ以上のデータサイズであるか否か等の条件に基づいて行われる。
<RTP session processing>
Next, processing in the RTP session unit 44 (see FIG. 4) (hereinafter also referred to as RTP session processing) will be described. FIG. 6 is a flowchart showing processing in the RTP session unit in the call recording apparatus according to the first embodiment. As shown in FIG. 6, the RTP session unit 44 first determines whether or not the received packet is an RTP packet (S11). This determination is made based on conditions such as whether or not the received packet includes a version number included in the RTP header and whether or not the received packet has a data size equal to or larger than the header size.

ステップS11での判定がNoであれば、処理を終了する。ステップS11での判定がYesであれば、RTPセッション部44は、RTPセッションが存在するか否か判定する(S12)。RTPセッションは、送信元アドレス及び送信先アドレスが同一の受信パケット群に対して1つ作成される。通常、1つの通話に対して、上り下りのパケットストリームが存在するので、1つの通話で2つのRTPセッションが生成される。ステップS12での判定がNoである場合、つまり、RTPセッション部44は、送信元アドレス及び送信先アドレスの対が同一である複数の受信パケットのうち1番目の受信パケットを受信した場合、RTPセッションを新規に作成する(S13)。この際、RTPセッション部44は、RTPセッションに関する情報を生成し、記憶部の一例であるストレージデバイス103又はメモリ104(図2参照)に記憶させる。RTPセッションに関する情報は、例えば、送信元アドレス及び送信先アドレスの他に、生成時刻、受信パケットの最終シーケンス番号(seq#)、1つ目の受信パケットの同期送信元(SSRC)識別子及び連続カウンタ値を含む。なお、連続カウンタ値の初期値はゼロである。ステップS13の処理を完了した後、処理を終了する。   If the determination in step S11 is No, the process ends. If the determination in step S11 is Yes, the RTP session unit 44 determines whether there is an RTP session (S12). One RTP session is created for a group of received packets having the same source address and destination address. Usually, since there are upstream and downstream packet streams for one call, two RTP sessions are generated in one call. If the determination in step S12 is No, that is, if the RTP session unit 44 receives the first received packet among a plurality of received packets having the same source address and destination address pair, Is newly created (S13). At this time, the RTP session unit 44 generates information on the RTP session and stores the information in the storage device 103 or the memory 104 (see FIG. 2), which is an example of a storage unit. The information on the RTP session includes, for example, the generation time, the last sequence number (seq #) of the received packet, the synchronous source (SSRC) identifier of the first received packet, and the continuous counter in addition to the source address and destination address Contains a value. Note that the initial value of the continuous counter value is zero. After completing the process of step S13, the process ends.

一方、ステップS12での判定がYesである場合、RTPセッション部44は、受信パケットに含まれるSSRC識別子が、RTPセッションに関する情報に含まれるSSRC識別子と同一か否か判定する(S14)。ステップS14での判定がNoである場合、最終シーケンス番号及び連続カウンタ値をリセットし(S15)、処理を終了する。   On the other hand, when the determination in step S12 is Yes, the RTP session unit 44 determines whether or not the SSRC identifier included in the received packet is the same as the SSRC identifier included in the information related to the RTP session (S14). If the determination in step S14 is No, the final sequence number and the continuous counter value are reset (S15), and the process ends.

ステップS14での判定がYesである場合、受信パケットのシーケンス番号が、最終シーケンス番号と連続しているか否か判定する(S16)。ステップS16での判定がNoである場合、処理を終了する。一方、ステップS16での判定がYesであれば、最終シーケンス番号を更新すると共に、連続カウンタ値を1インクリメントする(S17)。次に、RTPセッション部44は、連続カウンタ値が閾値(例えば、3)を超えたか否かを判定する(S18)。   If the determination in step S14 is Yes, it is determined whether the sequence number of the received packet is continuous with the final sequence number (S16). If the determination in step S16 is No, the process ends. On the other hand, if the determination in step S16 is Yes, the final sequence number is updated and the continuous counter value is incremented by 1 (S17). Next, the RTP session unit 44 determines whether or not the continuous counter value exceeds a threshold value (for example, 3) (S18).

ステップS18での判定がYesであれば、現在のRTPセッションに対応するパケットストリームを録音対象のパケットストリームと判定し、当該パケットストリームに関する情報をRTPストリーム部45へ出力し、通話録音を開始させる(S19)。その後、RTPセッション部44は、現在のRTPセッションを解放し(S20)、処理を終了する。   If the determination in step S18 is Yes, it is determined that the packet stream corresponding to the current RTP session is a packet stream to be recorded, information related to the packet stream is output to the RTP stream unit 45, and call recording is started ( S19). Thereafter, the RTP session unit 44 releases the current RTP session (S20) and ends the process.

一方、ステップS18での判定がNoであれば、1番目の受信パケットを受信し、RTPセッションを新規に作成してから一定時間経過したか否か判定する(S21)。ステップS21での判定がNoである場合、処理を終了する。一方、ステップS21での判定がYesである場合、閾値以下のRTPパケットを受信したが継続しないため、当該RTPセッションを解放し(S20)、処理を終了する。   On the other hand, if the determination in step S18 is No, it is determined whether or not a fixed time has elapsed since the first received packet was received and a new RTP session was created (S21). If the determination in step S21 is No, the process ends. On the other hand, if the determination in step S21 is Yes, an RTP packet equal to or smaller than the threshold value has been received but does not continue, the RTP session is released (S20), and the process ends.

<通話録音手順>
ここで、第1内線網5(図2参照)の局内電話端末23aと、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合を例に挙げて説明する。
<Call recording procedure>
Here, an example of recording a call between the local telephone terminal 23a of the first extension network 5 (see FIG. 2) and the external telephone terminal 11 which is one of the nodes connected to the optical communication network 2 will be described. Will be described.

図7は、第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。図7に示すように、まず、局内電話端末23aで外部電話端末11の呼び出しの操作を行う(S101)と、外部電話端末11を呼び出すためのINVITEリクエストが、第1内線網5のSIPサーバ22(図2参照)へ送信される(S102)。図7中、「INVITE W/A」とあるのは、INVITEリクエストを構成する呼制御パケットに、局内電話端末23aのIPアドレス(A)が含まれていることを示している。SIPサーバ22は、局内電話端末23aから受信したINVITEリクエストを、外部電話端末11へ転送する(S103)。通話録音装置7では、パケットキャプチャ部41が、図1のスイッチングハブ21、21’のミラーポート21a、21a’からINVITEリクエストを構成する呼制御パケットを取り込み、受信パケット分配部42へ出力する。受信パケット分配部42は、呼制御パケットを、SIPセッション部43へ出力する。SIPセッション部43は、INVITEリクエストの呼制御パケットを解析し、発呼側アドレスとして、局内電話端末23aのIPアドレス(A)を取得する(S104)。   FIG. 7 is a sequence diagram showing a call recording procedure in the call recording apparatus according to the first embodiment. As shown in FIG. 7, first, when the in-office telephone terminal 23a performs an operation for calling the external telephone terminal 11 (S101), an INVITE request for calling the external telephone terminal 11 is sent to the SIP server 22 of the first extension network 5. (See FIG. 2) (S102). In FIG. 7, “INVITE W / A” indicates that the IP address (A) of the in-office telephone terminal 23a is included in the call control packet constituting the INVITE request. The SIP server 22 transfers the INVITE request received from the in-office telephone terminal 23a to the external telephone terminal 11 (S103). In the call recording device 7, the packet capture unit 41 captures the call control packet constituting the INVITE request from the mirror ports 21 a and 21 a ′ of the switching hubs 21 and 21 ′ in FIG. 1 and outputs it to the received packet distribution unit 42. The received packet distribution unit 42 outputs the call control packet to the SIP session unit 43. The SIP session unit 43 analyzes the call control packet of the INVITE request, and acquires the IP address (A) of the intra-station telephone terminal 23a as the calling party address (S104).

外部電話端末11で、INVITEリクエストに対応して応答処理として受話器が上げられると(S105)、200 OKレスポンス(図7中、200/INVITEと記す)をSIPサーバ22へ送信する(S106)。図7中、「200/INVITE W/B」とあるのは、200 OKレスポンスを構成する呼制御パケットに、外部電話端末11のIPアドレス(B)が含まれていることを示している。   When the external telephone terminal 11 raises the handset as a response process in response to the INVITE request (S105), a 200 OK response (denoted as 200 / INVITE in FIG. 7) is transmitted to the SIP server 22 (S106). In FIG. 7, “200 / INVITE W / B” indicates that the IP address (B) of the external telephone terminal 11 is included in the call control packet constituting the 200 OK response.

通話録音装置7では、パケットキャプチャ部41が、図1スイッチングハブ21、21’のミラーポート21a、21a’から200 OKレスポンスを構成する呼制御パケットを取り込み、受信パケット分配部42へ出力する。受信パケット分配部42は、呼制御パケットを、SIPセッション部43へ出力する。SIPセッション部43は、200 OKレスポンスの呼制御パケットを解析し、着呼側アドレスとして、外部電話端末11のIPアドレス(B)を取得する(S107)。SIPサーバ22は、外部電話端末11から受信した200 OKレスポンスを局内電話端末23aへ転送する(S108)。   In the call recording device 7, the packet capture unit 41 captures the call control packet constituting the 200 OK response from the mirror ports 21 a and 21 a ′ of the switching hubs 21 and 21 ′ in FIG. 1 and outputs it to the received packet distribution unit 42. The received packet distribution unit 42 outputs the call control packet to the SIP session unit 43. The SIP session unit 43 analyzes the call control packet of the 200 OK response, and acquires the IP address (B) of the external telephone terminal 11 as the called side address (S107). The SIP server 22 transfers the 200 OK response received from the external telephone terminal 11 to the intra-office telephone terminal 23a (S108).

局内電話端末23a及び外部電話端末11の間では、相互に交換した相手側のIPアドレス(A)、(B)を用いて通話を開始する(S109)。すなわち、局内電話端末23aでは、話し手の音声を音声データに変換し、さらに、音声データを、外部電話端末11のIPアドレス(B)を送信先アドレスに設定したRTPパケットに変換し、送出する(S110)。これを、下りパケットストリームと呼ぶ。図7中、「A→B」は、RTPパケットの送信元アドレスがIPアドレス(A)であり、かつ、送信先IPアドレス(B)であることを示している。一方、外部電話端末11では、話し手の音声を音声データに変換し、さらに、音声データを、局内電話端末23aのIPアドレス(A)を送信先アドレスに設定したRTPパケットに変換し、送出する(S111)。これを、上りパケットストリームと呼ぶ。図4中、「B→A」は、RTPパケットの送信元アドレスがIPアドレス(B)であり、かつ、送信先IPアドレス(A)であることを示している。   Between the in-office telephone terminal 23a and the external telephone terminal 11, a call is started using the other party's IP addresses (A) and (B) exchanged with each other (S109). That is, the in-office telephone terminal 23a converts the voice of the speaker into voice data, and further converts the voice data into an RTP packet in which the IP address (B) of the external telephone terminal 11 is set as the transmission destination address and sends it out ( S110). This is called a downstream packet stream. In FIG. 7, “A → B” indicates that the source address of the RTP packet is the IP address (A) and the destination IP address (B). On the other hand, the external telephone terminal 11 converts the voice of the speaker into voice data, and further converts the voice data into an RTP packet in which the IP address (A) of the in-office telephone terminal 23a is set as the transmission destination address and sends it out ( S111). This is called an upstream packet stream. In FIG. 4, “B → A” indicates that the source address of the RTP packet is the IP address (B) and the destination IP address (A).

通話録音装置7は、上り下り双方のパケットストリームを取り込み、通話録音を行う。すなわち、通話録音装置7において、まず、パケットキャプチャ部41が、図1のスイッチングハブ21、21’のミラーポート21a、21a’から受信した受信パケットを、受信パケット分配部42に出力する。   The call recording device 7 captures both upstream and downstream packet streams and performs call recording. That is, in the call recording device 7, first, the packet capture unit 41 outputs the received packets received from the mirror ports 21 a and 21 a ′ of the switching hubs 21 and 21 ′ in FIG. 1 to the received packet distribution unit 42.

受信パケット分配部42は、受信パケットが、既知の録音対象のパケットストリームを構成するRTPパケットであると判定し、RTPストリーム部45に出力する。   The received packet distributor 42 determines that the received packet is an RTP packet that constitutes a known packet stream to be recorded, and outputs the RTP packet to the RTP stream unit 45.

RTPストリーム部45が、受信パケットから、SIPセッション部43により検出された、上り下り双方のパケットストリームを構成する、送信先アドレスがIPアドレス(A)及びIPアドレス(B)であるRTPパケットを取得し(S112、S113)、取得したRTPパケットから音声データを取り出し、音声キュー46へ順次出力する。   The RTP stream unit 45 acquires, from the received packet, an RTP packet that is detected by the SIP session unit 43 and that constitutes both upstream and downstream packet streams whose destination addresses are the IP address (A) and the IP address (B). The voice data is extracted from the acquired RTP packet and sequentially output to the voice queue 46 (S112, S113).

音声ファイル生成部48は、音声キュー46から音声データを順次音声データに変換し、録音チャネル管理部47が用意した録音チャネルに音声ファイルの形式で出力する。出力された音声ファイルは、音声ファイル送信部49が音声サーバ9に送信する。   The audio file generator 48 sequentially converts the audio data from the audio queue 46 into audio data, and outputs the audio data to the recording channel prepared by the recording channel manager 47 in the form of an audio file. The audio file transmission unit 49 transmits the output audio file to the audio server 9.

次に、例えば、外部電話端末11では、受話器が下げられると(S114)、通話終了を通知するBYEリクエストをSIPサーバ22へ送信する(S115)。SIPサーバ22は、外部電話端末11から受信したBYEリクエストを、局内電話端末23aへ転送する(S116)。局内電話端末23aは、BYEリクエストを受信すると、200 OKレスポンス(図7中、200/BYEと記す)を送信する(S117)。通話録音装置7では、パケットキャプチャ部41が、図1のスイッチングハブ21、21’のミラーポート21a、21a’から200 OKレスポンスを構成する呼制御パケットを取り込み、受信パケット分配部42に出力する。受信パケット分配部42は、呼制御パケットをSIPセッション部43へ出力する。SIPサーバ22は、局内電話端末23aから受信した200 OKレスポンスを、外部電話端末11へ転送する(S118)。SIPセッション部43は、200 OKレスポンスの呼制御パケットを解析して、通話の終了を判定し、録音を終了させる(S119)。この結果、局内電話端末23a及び外部電話端末11の間の通話が終了する(S120)と共に録音を終了できる。   Next, for example, in the external telephone terminal 11, when the handset is lowered (S114), a BYE request notifying the end of the call is transmitted to the SIP server 22 (S115). The SIP server 22 transfers the BYE request received from the external telephone terminal 11 to the intra-office telephone terminal 23a (S116). Upon receiving the BYE request, the in-office telephone terminal 23a transmits a 200 OK response (denoted as 200 / BYE in FIG. 7) (S117). In the call recording device 7, the packet capture unit 41 captures the call control packet constituting the 200 OK response from the mirror ports 21 a and 21 a ′ of the switching hubs 21 and 21 ′ in FIG. 1 and outputs it to the received packet distribution unit 42. The received packet distribution unit 42 outputs the call control packet to the SIP session unit 43. The SIP server 22 transfers the 200 OK response received from the in-office telephone terminal 23a to the external telephone terminal 11 (S118). The SIP session unit 43 analyzes the call control packet of the 200 OK response, determines the end of the call, and ends the recording (S119). As a result, the call between the intra-station telephone terminal 23a and the external telephone terminal 11 is terminated (S120), and the recording can be terminated.

次に、第2内線網6(図2参照)の局内電話端末23a’と、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合について説明する。図8は、第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。図8中、図7と同じ手順については、同一の符号を付し、説明を省略する。   Next, a case of recording a call between the local telephone terminal 23a ′ of the second extension network 6 (see FIG. 2) and the external telephone terminal 11 which is one of the nodes connected to the optical communication network 2 will be described. explain. FIG. 8 is a sequence diagram showing a call recording procedure in the call recording apparatus according to the first embodiment. In FIG. 8, the same procedures as those in FIG. 7 are denoted by the same reference numerals, and description thereof is omitted.

S101〜S109で示す通話開始までの手順は、基本的には、図7を参照して説明したのと同様に、SIPサーバ22’の制御の下で、局内電話端末23a’と外部電話端末11との間で呼制御情報が交換され、通話が開始される。   The procedure up to the start of the call shown in S101 to S109 is basically the same as described with reference to FIG. 7, and the in-office telephone terminal 23a ′ and the external telephone terminal 11 are controlled under the control of the SIP server 22 ′. The call control information is exchanged with and the call is started.

しかし、SIPサーバ22’は、通話録音装置7のSIPセッション部43が解析できないINVITEリクエスト及び200 OKレスポンスの呼制御パケットを用いているため、局内電話端末23a’のIPアドレス(A)及び外部電話端末11のIPアドレス(B)の取得ができない(S104’及びS107’)。この結果、RTPストリーム部45には、録音対象のパケットストリームに関する情報がRTPストリームマップに存在しない状態になる。   However, since the SIP server 22 'uses the call control packet of the INVITE request and 200 OK response that cannot be analyzed by the SIP session unit 43 of the call recording device 7, the IP address (A) of the in-office telephone terminal 23a' and the external telephone The IP address (B) of the terminal 11 cannot be acquired (S104 ′ and S107 ′). As a result, the RTP stream unit 45 is in a state where no information regarding the packet stream to be recorded exists in the RTP stream map.

したがって受信パケット分配部42は、下りパケットストリーム(S110)及び上りパケットストリーム(S111)を構成する受信パケットを受信したとき(図8参照)、図5を参照して説明したステップS4において、既知の録音対象のパケットストリームではないため、Noと判定し、ステップS6に進み、RTPセッション部44へ出力する。この結果、RTPセッション部44が、図6を参照して説明したRTPセッション処理を実行する(図8中、S201、S202)。   Therefore, when the reception packet distribution unit 42 receives the reception packets constituting the downlink packet stream (S110) and the uplink packet stream (S111) (see FIG. 8), the reception packet distribution unit 42 is known in step S4 described with reference to FIG. Since it is not a packet stream to be recorded, it is determined No, the process proceeds to step S6, and is output to the RTP session unit 44. As a result, the RTP session unit 44 executes the RTP session process described with reference to FIG. 6 (S201 and S202 in FIG. 8).

図9は、図8に示す上り下り双方のパケットストリームを構成するRTPパケットに対するRTPセッション処理を示す説明図である。図9に示すように、通話録音装置7において、1番目のRTPパケットを受信したならば、図6中のステップS17において連続カウンタ値が1インクリメントされ、1になる。同様に、2〜4番目のRTPパケットを受信したならば、図6中のステップS17において連続カウンタ値が1インクリメントされ、2、3、4とカウントアップされる。4番目のRTPパケットを受信すると、連続カウンタ値が4となり、閾値3を超えるので、図6中のステップS18での判定がYesとなり、録音が開始される(図6中、S19)。   FIG. 9 is an explanatory diagram showing RTP session processing for the RTP packets constituting both the upstream and downstream packet streams shown in FIG. As shown in FIG. 9, when the call recording device 7 receives the first RTP packet, the continuous counter value is incremented by 1 in step S17 in FIG. Similarly, if the 2nd to 4th RTP packets are received, the continuous counter value is incremented by 1 in step S17 in FIG. When the fourth RTP packet is received, the continuous counter value becomes 4 and exceeds the threshold 3, so the determination in step S18 in FIG. 6 is Yes and recording starts (S19 in FIG. 6).

このような結果、RTPセッション部44が、図6に示すステップS11〜S18の処理を行い、送信元アドレス及び送信先アドレスをRTPストリーム部45に出力し、録音を開始させることが可能になる。   As a result, the RTP session unit 44 performs the processing of steps S11 to S18 shown in FIG. 6, outputs the transmission source address and the transmission destination address to the RTP stream unit 45, and can start recording.

一方、通話録音装置7のSIPセッション部43は、200 OKレスポンスの呼制御パケットを解析して、通話の終了を判定し、録音を終了させることができない。このため、RTPストリーム部45は、例えば、最新のRTPパケットが受信パケット分配部42から入力されてから一定時間経過しても次のRTPパケットが入力されないことを判定条件として、通話の終了を推定し、録音を終了する(S203)。   On the other hand, the SIP session unit 43 of the call recording device 7 analyzes the call control packet of the 200 OK response, determines the end of the call, and cannot end the recording. For this reason, the RTP stream unit 45 estimates the end of the call, for example, on the condition that the next RTP packet is not input even if a predetermined time has elapsed after the latest RTP packet is input from the received packet distribution unit 42. The recording ends (S203).

<効果>
以上説明した第1の実施の形態に係る通話録音装置7によれば、まず、SIPセッション部43が、第1内線網5から送出された呼制御パケットから呼制御情報を取得し、録音対象のパケットストリームに関する情報をRTPストリーム部45に入力し、RTPストリームマップに登録させる。受信パケット分配部42は、RTPストリームマップを参照し、受信パケットが既知の録音対象のパケットストリームを構成すると判定し、RTPストリーム部45へ出力する。RTPストリーム部45は、受信パケットをRTPパケットとして収集し、音声キュー46に入力する。
<Effect>
According to the call recording device 7 according to the first embodiment described above, first, the SIP session unit 43 acquires call control information from the call control packet transmitted from the first extension network 5, and records the recording target. Information about the packet stream is input to the RTP stream unit 45 and registered in the RTP stream map. The received packet distribution unit 42 refers to the RTP stream map, determines that the received packet constitutes a known packet stream to be recorded, and outputs the packet stream to the RTP stream unit 45. The RTP stream unit 45 collects received packets as RTP packets and inputs them to the voice queue 46.

一方、第2内線網6から送出したパケットストリームは、SIPセッション部43が取得した呼制御情報に対応していない。この場合、RTPストリーム部45のRTPストリームマップには、当該パケットストリームに関する情報が未だ登録されていないので、受信パケット分配部42は、受信パケットが既知の録音対象のパケットストリームを構成しないと判定し、RTPセッション部44へ出力する。RTPセッション部44は、図6に示すRTPセッション処理により、受信パケットが、未知の録音対象のパケットストリームを構成するか否か判定し、その結果、未知の録音対象のパケットストリームであると判定した場合、当該パケットストリームに関する情報をRTPストリーム部45に入力し、RTPストリームマップに登録させる。したがって、受信パケット分配部42は、これ以降の受信パケットを、既知の録音対象のパケットストリームを構成すると判定し、RTPストリーム部45へ出力する。RTPストリーム部45は、受信パケットをRTPパケットとして収集し、音声キュー46に入力する。   On the other hand, the packet stream transmitted from the second extension network 6 does not correspond to the call control information acquired by the SIP session unit 43. In this case, since the information regarding the packet stream is not yet registered in the RTP stream map of the RTP stream unit 45, the received packet distribution unit 42 determines that the received packet does not constitute a known packet stream to be recorded. , Output to the RTP session unit 44. The RTP session unit 44 determines whether or not the received packet constitutes an unknown recording target packet stream by the RTP session processing shown in FIG. 6, and as a result, determines that the received packet is an unknown recording target packet stream. In this case, information regarding the packet stream is input to the RTP stream unit 45 and registered in the RTP stream map. Therefore, the received packet distribution unit 42 determines that the subsequent received packets constitute a known packet stream to be recorded, and outputs it to the RTP stream unit 45. The RTP stream unit 45 collects received packets as RTP packets and inputs them to the voice queue 46.

このような結果、第1の実施の形態に係る通話録音装置7によれば、第1内線網5及び第2内線網6のいずれから送出されたパケットストリームについても録音を行うことができるので、取りこぼしの発生を抑制し、通話録音を網羅的に行うことができる。   As a result, according to the call recording device 7 according to the first embodiment, it is possible to record the packet stream transmitted from either the first extension network 5 or the second extension network 6. The occurrence of missed calls can be suppressed, and call recording can be performed comprehensively.

特に、第1の実施の形態に係る通話録音装置7によれば、第1内線網5についてはSIPサーバ22が送出する呼制御パケットをSIPセッション部43で解析し、呼制御情報を利用できる。このため、通話の開始及び終了のタイミングを把握して高い精度で通話の録音を行うことができる。また、通話開始時刻、終了時刻、発着番号等の付加情報を呼制御パケットから取得できる。このように、第1の実施の形態に係る通話録音装置7は、呼制御情報に基づいた通話録音を主とし、呼制御情報を活用して高精度及び高付加価値の通話録音を行いつつ、呼制御情報を利用できない場合は、自律的な録音を行い、網羅的な通話録音を実現することができる。   In particular, according to the call recording device 7 according to the first embodiment, the call control information can be used by analyzing the call control packet sent by the SIP server 22 in the SIP extension unit 5 for the first extension network 5. Therefore, it is possible to record the call with high accuracy by grasping the start and end timing of the call. Further, additional information such as call start time, end time, and arrival / departure number can be acquired from the call control packet. As described above, the call recording device 7 according to the first embodiment mainly performs call recording based on call control information, and performs call recording with high accuracy and high added value by utilizing call control information. When call control information is not available, autonomous recording can be performed to realize comprehensive call recording.

第1の実施の形態では、第2内線網6のSIPサーバ22’で動作するソフトウエアのバージョンがアップグレードされたため、通話録音装置7が、SIPサーバ22’のSIPセッションで送受信される呼制御パケットから呼制御情報を取得できない場合を例に挙げて説明した。しかし、これに限定されず、本発明は、例えば、以下のようなケースに適用することができる。   In the first embodiment, since the version of software operating on the SIP server 22 ′ of the second extension network 6 has been upgraded, the call recording device 7 transmits and receives call control packets in the SIP session of the SIP server 22 ′. The case where call control information cannot be obtained from the above has been described as an example. However, the present invention is not limited to this, and the present invention can be applied to the following cases, for example.

(A)網構成に依存して、第2内線網6が送出する呼制御パケットが、通話録音装置7が置かれている網まで流れてこないが、RTPパケットだけが流れてくるケースがある。第1の実施の形態に係る通話録音装置7によれば、このようなケースでも、RTPセッション処理(図6参照)により、RTPパケットを解析し、録音対象のパケットストリームを識別し、通話の録音を行うことができる。 (A) Depending on the network configuration, the call control packet sent out by the second extension network 6 does not flow to the network where the call recording device 7 is placed, but only the RTP packet may flow. According to the call recording device 7 according to the first embodiment, even in such a case, the RTP packet is analyzed by the RTP session processing (see FIG. 6), the packet stream to be recorded is identified, and the call recording is performed. It can be performed.

(B)第2内線網6がSIP以外のプロトコル(例えば、H323、又は、SIPサーバのベンダー独自のプロトコル)を利用しているケースがある。ベンダー独自のプロトコルである場合、仕様が非公開であることが多く、通話録音装置7のベンダーがプロトコルをリバースエンジニアリング等で解明し、通話録音装置7の設計変更や機能追加で追随するには限界がある。第1の実施の形態に係る通話録音装置7によれば、このようなケースでも、RTPセッション処理(図6参照)により、RTPパケットを解析し、録音対象のパケットストリームを識別し、通話の録音を行うことができる。 (B) There is a case where the second extension network 6 uses a protocol other than SIP (for example, H323 or a protocol unique to the vendor of the SIP server). In the case of a vendor-specific protocol, the specifications are often not disclosed, and the vendor of the call recording device 7 has to clarify the protocol by reverse engineering, etc., and is limited in following the design change or function addition of the call recording device 7 There is. According to the call recording device 7 according to the first embodiment, even in such a case, the RTP packet is analyzed by the RTP session processing (see FIG. 6), the packet stream to be recorded is identified, and the call recording is performed. It can be performed.

(C)第2内線網6でのSIP制御処理が複雑であるケースがある。上述と同様に、第2内線網6においてサービスを追加する等の理由で呼制御情報に変更を加えた場合、当該呼制御情報はベンダー独自であり、仕様が非公開であることが多く、通話録音装置7のベンダーがSIP制御処理の詳細をリバースエンジニアリング等で解明し、通話録音装置7の設計変更や機能追加で追随するには限界がある。SIPサーバ22’で動作するソフトウエアのアップグレード又は設定の変更を、通話録音装置7のベンダーがコントロールすることはできない。第1の実施の形態に係る通話録音装置7によれば、このようなケースでも、RTPセッション処理(図6参照)により、RTPパケットを解析し、録音対象のパケットストリームを識別し、通話の録音を行うことができる。 (C) In some cases, the SIP control processing in the second extension network 6 is complicated. As described above, when the call control information is changed for the reason of adding a service in the second extension network 6, the call control information is unique to the vendor, and the specifications are often not disclosed. There is a limit for the vendor of the recording device 7 to clarify the details of the SIP control processing by reverse engineering or the like, and to follow the design change or function addition of the call recording device 7. The vendor of the call recording device 7 cannot control the upgrade or change of settings of software operating on the SIP server 22 '. According to the call recording device 7 according to the first embodiment, even in such a case, the RTP packet is analyzed by the RTP session processing (see FIG. 6), the packet stream to be recorded is identified, and the call recording is performed. It can be performed.

(D)ベンダー独自のSIP制御処理、或いは、SIPサーバ22’で動作するソフトウエアのバージョン又は設定によるもの以外でも、第2内線網6で特殊なコールパターンを使用しているケースがある。例えば、SIP制御処理が標準仕様の範囲内であっても、SIPサーバ22’で複雑な動作モードが発生することがある。このような場合に、通話録音装置7のベンダーが特殊なコールパターンをリバースエンジニアリング等で解明し、通話録音装置7の設計変更や機能追加で追随するには限界がある。SIPサーバ22’の動作モードの変更を、通話録音装置7のベンダーがコントロールすることはできない。第1の実施の形態に係る通話録音装置7によれば、このようなケースでも、RTPセッション処理(図6参照)により、RTPパケットを解析し、録音対象のパケットストリームを識別し、通話の録音を行うことができる。 (D) There are cases where a special call pattern is used in the second extension network 6 other than a vendor-specific SIP control process or a version or setting of software operating on the SIP server 22 '. For example, even if the SIP control processing is within the standard specification range, a complicated operation mode may occur in the SIP server 22 '. In such a case, there is a limit for the vendor of the call recording device 7 to elucidate a special call pattern by reverse engineering or the like, and to follow the design change or function addition of the call recording device 7. The change of the operation mode of the SIP server 22 ′ cannot be controlled by the vendor of the call recording device 7. According to the call recording device 7 according to the first embodiment, even in such a case, the RTP packet is analyzed by the RTP session processing (see FIG. 6), the packet stream to be recorded is identified, and the call recording is performed. It can be performed.

(E)第2内線網6でRTPパケットだけを送信するシステムも存在する。第1の実施の形態に係る通話録音装置7によれば、このようなケースでも、RTPセッション処理(図6参照)により、RTPパケットを解析し、録音対象のパケットストリームを識別し、通話の録音を行うことができる。 (E) There is also a system that transmits only RTP packets in the second extension network 6. According to the call recording device 7 according to the first embodiment, even in such a case, the RTP packet is analyzed by the RTP session processing (see FIG. 6), the packet stream to be recorded is identified, and the call recording is performed. It can be performed.

(第2の実施の形態)
以下、VoIP環境での音声通話を録音する通話録音システムに、本発明の情報記録制御装置を適用した第2の実施の形態について説明する。以下の説明では、情報記録制御装置として通話録音装置を例示する。第2の実施の形態では、通話録音装置は、PBXから呼制御情報を取得している点で、第1の実施の形態と相違する。
(Second Embodiment)
Hereinafter, a second embodiment in which the information recording control device of the present invention is applied to a call recording system for recording a voice call in a VoIP environment will be described. In the following description, a call recording device is exemplified as the information recording control device. The second embodiment is different from the first embodiment in that the call recording apparatus acquires call control information from the PBX.

第2の実施の形態を、図10〜図15を参照して説明する。図10〜図15中、第1の実施の形態と同様の構成については、図1〜図9で使用したのと同一の符号を付し、説明を省略することがある。   A second embodiment will be described with reference to FIGS. 10 to 15, configurations similar to those of the first embodiment are denoted by the same reference numerals as used in FIGS. 1 to 9, and description thereof may be omitted.

<システム>
図10は、第2の実施の形態に係る通話録音装置を含む通話録音システムの全体構成を示す模式図である。図10に示すように、通話録音システム1’では、PBXで運用される第1内線網5’及び第2内線網6’と、PBXとの連携機能を備えた通話録音装置7’を備えている。第1内線網5’、第2内線網6’及び通話録音装置7’については後述する。
<System>
FIG. 10 is a schematic diagram showing an overall configuration of a call recording system including a call recording apparatus according to the second embodiment. As shown in FIG. 10, the call recording system 1 ′ includes a first extension network 5 ′ and a second extension network 6 ′ operated by the PBX, and a call recording device 7 ′ having a function of cooperating with the PBX. Yes. The first extension network 5 ′, the second extension network 6 ′, and the call recording device 7 ′ will be described later.

<内線網>
図11は、図10に示す通話録音システムにおける第1内線網及び第2内線網を示す模式図である。まず、第1内線網5’について説明する。図11に示すように、PBX51を備えている。PBX51は、IP電話サービスの管理及び制御を行うサーバであり、電話番号などの利用者の識別情報とIPアドレスなどのネットワーク上の所在の対応データを管理し、発信者と通話先の間で発呼情報の仲介を行う。PBX51、51’は、本実施の形態では、呼制御にSIPを利用するが特に限定されない。局内電話端末23a〜23cは、PBX51の制御下で、外線及び内線で通話を実現可能に構成されている。
<Extension network>
FIG. 11 is a schematic diagram showing a first extension network and a second extension network in the call recording system shown in FIG. First, the first extension network 5 ′ will be described. As shown in FIG. 11, a PBX 51 is provided. The PBX 51 is a server that manages and controls the IP telephone service, manages user identification information such as a telephone number and correspondence data on the network such as an IP address, and makes a call between a caller and a call destination. Mediates call information. In the present embodiment, the PBXs 51 and 51 ′ use SIP for call control, but are not particularly limited. The in-office telephone terminals 23a to 23c are configured to be able to make a call on the outside line and the extension line under the control of the PBX 51.

また、PBX51は、後述する通話録音装置7’のPBX連携部61とネットワークを経由して互いに通信可能に構成されている。   Further, the PBX 51 is configured to be able to communicate with each other via a PBX cooperation unit 61 of a call recording device 7 'described later and a network.

第2内線網6’は、図11に示すように、スイッチングハブ21’、PBX51’、局内電話端末23a’〜23c’を備え、上述の第1内線網5’のスイッチングハブ21、PBX51、局内電話端末23a〜23cと同等の構成及び機能を有する。   As shown in FIG. 11, the second extension network 6 ′ includes a switching hub 21 ′, a PBX 51 ′, and intra-office telephone terminals 23a ′ to 23c ′, and includes the switching hub 21, the PBX 51, and the intra-office telephone of the first extension network 5 ′ described above. It has the same configuration and function as the telephone terminals 23a to 23c.

第1内線網5’及び第2内線網6’の相違点は、第1内線網5’のPBX51は通話録音装置7’と連携が可能であるが、第2内線網6’のPBX51’は、通話録音装置7’と連携が不可能である点である。   The difference between the first extension network 5 ′ and the second extension network 6 ′ is that the PBX 51 of the first extension network 5 ′ can cooperate with the call recording device 7 ′, but the PBX 51 ′ of the second extension network 6 ′ The point is that cooperation with the call recording device 7 'is impossible.

この要因は種々あるが、本実施の形態では、第2内線網6’で運用されるPBX51が提供するサービスが変更になり、PBX51’で動作するソフトウエアのバージョンがアップグレードされたため、通話録音装置7’が、PBX51’と連携できなくなった場合を想定している。   Although there are various factors, in this embodiment, since the service provided by the PBX 51 operated in the second extension network 6 ′ has been changed and the version of software operating on the PBX 51 ′ has been upgraded, the call recording device It is assumed that 7 ′ becomes unable to cooperate with PBX 51 ′.

PBX51、51’は、図3を参照して説明したサーバ100において、目的に応じてプログラムやデータを適宜用意し、中央制御部101に実行させることで実現することができる。   The PBXs 51 and 51 'can be realized by appropriately preparing programs and data according to the purpose and causing the central control unit 101 to execute them in the server 100 described with reference to FIG.

<通話録音装置>
図12は、第2の実施の形態に係る通話録音装置を示す機能ブロック図である。図12に示す通り、通話録音装置7’は、本発明の第1セッション処理部の一例として、図4に示すSIPセッション部43に代えてPBX連携部61を備えている点で相違している。
<Call recording device>
FIG. 12 is a functional block diagram showing a call recording apparatus according to the second embodiment. As shown in FIG. 12, the call recording device 7 ′ is different in that it includes a PBX cooperation unit 61 instead of the SIP session unit 43 shown in FIG. 4 as an example of the first session processing unit of the present invention. .

PBX連携部61は、中央制御部101(図3参照)により実現され、ネットワーク制御部102を制御し、PBX51、51’とネットワークを介して通信可能に構成されている。PBX連携部61は、局内電話端末23a〜23c、23a’〜23c’の内線番号及び外部電話端末11の外線番号と各端末のIPアドレスとを対応付け、端末設定ファイルとして、記憶部の一例であるストレージデバイス103又はメモリ104に保持している。   The PBX cooperation unit 61 is realized by the central control unit 101 (see FIG. 3), is configured to control the network control unit 102 and to communicate with the PBXs 51 and 51 'via the network. The PBX cooperation unit 61 associates the extension numbers of the intra-office telephone terminals 23a to 23c and 23a ′ to 23c ′ and the external line numbers of the external telephone terminals 11 with the IP addresses of the respective terminals, and is used as an example of a storage unit as a terminal setting file. It is held in a certain storage device 103 or memory 104.

また、PBX連携部61は、PBX51、51’から呼制御情報を受信し、例えば、呼制御情報に含まれるパケットストリームに関する情報である発呼側アドレス及び着呼側アドレスをRTPストリーム部45へ出力し、RTPストリームマップに登録させる。   In addition, the PBX cooperation unit 61 receives call control information from the PBXs 51 and 51 ′, and outputs, for example, a calling side address and a called side address, which are information related to a packet stream included in the call control information, to the RTP stream unit 45. And register it in the RTP stream map.

<受信パケットの分配>
次に、受信パケット分配部42’での処理について説明する。図13は、第2の実施の形態に係る通話録音装置における受信パケット分配部での処理を示すフローチャートである。図13に示すように、受信パケット分配部42’は、まず、パケットを受信したか否か判定する(S21)。パケットを受信したならば、受信パケット分配部42’は、既知の録音対象のパケットストリームを構成するRTPパケットか否か判定する(S22)。この判定は、例えば、RTPパケット中に含まれる送信元アドレス(srcaddr)及び送信先アドレス(dstaddr)をキーとしてRTPストリーム部45が保持するRTPストリームマップに登録された録音対象のパケットストリームに関する情報を検索し、既に当該情報が存在するか否かに基づいて行われる。ステップS22で判定がYesであれば、受信パケット分配部42’は、受信パケットをRTPストリーム部45へ出力する(S23)。
<Distribution of received packets>
Next, processing in the received packet distribution unit 42 ′ will be described. FIG. 13 is a flowchart showing the processing in the received packet distribution unit in the call recording apparatus according to the second embodiment. As shown in FIG. 13, the received packet distributor 42 ′ first determines whether or not a packet has been received (S21). If the packet is received, the received packet distributor 42 ′ determines whether or not the packet is an RTP packet constituting a known packet stream to be recorded (S22). This determination is performed by, for example, information on the packet stream to be recorded registered in the RTP stream map held by the RTP stream unit 45 using the transmission source address (srcaddr) and the transmission destination address (dstaddr) included in the RTP packet as keys. The search is performed based on whether or not the information already exists. If the determination in step S22 is Yes, the received packet distribution unit 42 ′ outputs the received packet to the RTP stream unit 45 (S23).

ステップS22での判定がNoであれば、受信パケット分配部42’は、受信パケットをRTPセッション部44へ出力する(S24)。ステップS23、S24で受信パケットをRTPセッション部44及びRTPストリーム部45のいずれかに出力した後は、ステップS21に戻り、次のパケットを待つ。   If the determination in step S22 is No, the received packet distribution unit 42 'outputs the received packet to the RTP session unit 44 (S24). After the received packet is output to either the RTP session unit 44 or the RTP stream unit 45 in steps S23 and S24, the process returns to step S21 and waits for the next packet.

通話録音装置7’は、その他の構成については、図4を参照して説明した通話録音装置7と同様である。   The call recording device 7 ′ is otherwise the same as the call recording device 7 described with reference to FIG. 4.

<通話録音手順>
ここで、第1内線網5(図10参照)の局内電話端末23aと、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合を例に挙げて説明する。
<Call recording procedure>
Here, an example of recording a call between the local telephone terminal 23a of the first extension network 5 (see FIG. 10) and the external telephone terminal 11 which is one of the nodes connected to the optical communication network 2 will be described. Will be described.

図14は、第2の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。図14に示すように、まず、局内電話端末23aで外部電話端末11の呼び出しの操作を行う(S101)と、外部電話端末11を呼び出すためのINVITEリクエストが、第1内線網5’のPBX51(図11参照)へ送信される(S102)。PBX51は、局内電話端末23aから受信したINVITEリクエストを、外部電話端末11へ転送する(S103)。   FIG. 14 is a sequence diagram showing a call recording procedure in the call recording apparatus according to the second embodiment. As shown in FIG. 14, first, when a call operation of the external telephone terminal 11 is performed by the intra-station telephone terminal 23a (S101), an INVITE request for calling the external telephone terminal 11 is sent to the PBX 51 ( (See FIG. 11) (S102). The PBX 51 transfers the INVITE request received from the intra-station telephone terminal 23a to the external telephone terminal 11 (S103).

外部電話端末11で、INVITEリクエストに対応して応答処理として受話器が上げられると(S105)、200 OKレスポンス(図14中、200/INVITEと記す)をPBX51へ送信する(S106)。   When the external telephone terminal 11 raises the handset as a response process in response to the INVITE request (S105), a 200 OK response (denoted as 200 / INVITE in FIG. 14) is transmitted to the PBX 51 (S106).

PBX51は、200 OKレスポンスを受信すると、発呼側の端末の電話番号として局内電話端末23aの内線番号(例えば、2001)、及び、着呼側の端末の電話番号として外部電話端末11の外線番号(例えば、03−1234−5678)を含む呼制御情報を通話録音装置7’のPBX連携部61に送信する。また、PBX51は、外部電話端末11から受信した200 OKレスポンスを局内電話端末23aへ転送する(S108)。   When the PBX 51 receives the 200 OK response, the extension number (for example, 2001) of the intra-office telephone terminal 23a as the telephone number of the calling terminal and the external line number of the external telephone terminal 11 as the telephone number of the called terminal Call control information including (for example, 03-1234-5678) is transmitted to the PBX linkage unit 61 of the call recording device 7 ′. Further, the PBX 51 transfers the 200 OK response received from the external telephone terminal 11 to the intra-office telephone terminal 23a (S108).

通話録音装置7’では、PBX連携部61が端末設定ファイルを参照し、呼制御情報に含まれる局内電話端末23aの内線番号に対応するIPアドレス(A)を発呼側アドレスとして取得する。また、PBX連携部61は、端末設定ファイルを参照し、呼制御情報に含まれる外部電話端末11の外線番号に対応するIPアドレス(B)を着呼側アドレスとして取得する。   In the call recording device 7 ′, the PBX cooperation unit 61 refers to the terminal setting file and acquires the IP address (A) corresponding to the extension number of the in-office telephone terminal 23 a included in the call control information as the calling party address. Further, the PBX cooperation unit 61 refers to the terminal setting file, and acquires the IP address (B) corresponding to the external line number of the external telephone terminal 11 included in the call control information as the called party address.

局内電話端末23a及び外部電話端末11の間では、相互に交換した相手側のIPアドレス(A)、(B)を用いて通話を開始する(S109)。すなわち、局内電話端末23aでは、話し手の音声を音声データに変換し、さらに、音声データを、外部電話端末11のIPアドレス(B)を送信先アドレスに設定したRTPパケットに変換し、送出する(S110)。これを、下りパケットストリームと呼ぶ。一方、外部電話端末11では、話し手の音声を音声データに変換し、さらに、音声データを、局内電話端末23aのIPアドレス(A)を送信先アドレスに設定したRTPパケットに変換し、送出する(S111)。これを、上りパケットストリームと呼ぶ。   Between the in-office telephone terminal 23a and the external telephone terminal 11, a call is started using the other party's IP addresses (A) and (B) exchanged with each other (S109). That is, the in-office telephone terminal 23a converts the voice of the speaker into voice data, and further converts the voice data into an RTP packet in which the IP address (B) of the external telephone terminal 11 is set as the transmission destination address and sends it out ( S110). This is called a downstream packet stream. On the other hand, the external telephone terminal 11 converts the voice of the speaker into voice data, and further converts the voice data into an RTP packet in which the IP address (A) of the in-office telephone terminal 23a is set as the transmission destination address and sends it out ( S111). This is called an upstream packet stream.

通話録音装置7’は、上り下り双方のパケットストリームを取り込み、通話録音を行う。すなわち、通話録音装置7’において、まず、パケットキャプチャ部41が、図10のスイッチングハブ21、21’のミラーポート21a、21a’から受信した受信パケットを、受信パケット分配部42’に出力する。   The call recording device 7 'captures both upstream and downstream packet streams and performs call recording. That is, in the call recording device 7 ', first, the packet capture unit 41 outputs the received packet received from the mirror ports 21a and 21a' of the switching hubs 21 and 21 'of FIG. 10 to the received packet distribution unit 42'.

受信パケット分配部42’は、受信パケットが、既知の録音対象のパケットストリームを構成するRTPパケットであると判定し、RTPストリーム部45に出力する。   The received packet distribution unit 42 ′ determines that the received packet is an RTP packet that constitutes a known packet stream to be recorded, and outputs the RTP packet to the RTP stream unit 45.

RTPストリーム部45が、受信パケットから、PBX連携部61が取得した、上り下り双方のパケットストリームを構成する、送信先アドレスがIPアドレス(A)及びIPアドレス(B)であるRTPパケットを取得し(S112、S113)、取得したRTPパケットから音声データを取り出し、音声キュー46へ順次出力する。   The RTP stream unit 45 acquires, from the received packet, an RTP packet that has both the IP address (A) and the IP address (B) that are included in the upstream and downstream packet streams acquired by the PBX cooperation unit 61. (S112, S113), the voice data is extracted from the acquired RTP packet and sequentially output to the voice queue 46.

音声ファイル生成部48は、音声キュー46から音声データを順次音声データに変換し、録音チャネル管理部47が用意した録音チャネルに音声ファイルの形式で出力する。出力された音声ファイルは、音声ファイル送信部49が音声サーバ9に送信する。   The audio file generator 48 sequentially converts the audio data from the audio queue 46 into audio data, and outputs the audio data to the recording channel prepared by the recording channel manager 47 in the form of an audio file. The audio file transmission unit 49 transmits the output audio file to the audio server 9.

次に、例えば、外部電話端末11では、受話器が下げられると(S114)、通話終了を通知するBYEリクエストをPBX51へ送信する(S115)。PBX51は、外部電話端末11から受信したBYEリクエストを、局内電話端末23aへ転送する(S116)。局内電話端末23aは、BYEリクエストを受信すると、200 OKレスポンス(図14中、200/BYEと記す)を送信する(S117)。PBX51は、局内電話端末23aから受信した200 OKレスポンスを、外部電話端末11へ転送する(S118)。また、PBX51は、内線番号2001及び外線番号03−1234−5678の間での通話が終了したことを示す呼制御情報をPBX連携部61に送信する(S302)。PBX連携部61は、通話の終了を判定し、録音を終了させる(S303)。この結果、局内電話端末23a及び外部電話端末11の間の通話が終了する(S120)と共に録音を終了できる。   Next, for example, in the external telephone terminal 11, when the handset is lowered (S114), a BYE request notifying the end of the call is transmitted to the PBX 51 (S115). The PBX 51 transfers the BYE request received from the external telephone terminal 11 to the intra-office telephone terminal 23a (S116). Upon receiving the BYE request, the intra-office telephone terminal 23a transmits a 200 OK response (denoted as 200 / BYE in FIG. 14) (S117). The PBX 51 transfers the 200 OK response received from the in-office telephone terminal 23a to the external telephone terminal 11 (S118). In addition, the PBX 51 transmits call control information indicating that the call between the extension number 2001 and the external number 03-1234-5678 is terminated to the PBX cooperation unit 61 (S302). The PBX cooperation unit 61 determines the end of the call and ends the recording (S303). As a result, the call between the intra-station telephone terminal 23a and the external telephone terminal 11 is terminated (S120), and the recording can be terminated.

次に、第2内線網6’(図11参照)の局内電話端末23a’と、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合について説明する。図15は、第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。図15中、図14と同じ手順については、同一の符号を付し、説明を省略する。   Next, when recording a call between the local telephone terminal 23a ′ of the second extension network 6 ′ (see FIG. 11) and the external telephone terminal 11 which is one of the nodes connected to the optical communication network 2. Will be described. FIG. 15 is a sequence diagram showing a call recording procedure in the call recording apparatus according to the first embodiment. In FIG. 15, the same steps as those in FIG. 14 are denoted by the same reference numerals and description thereof is omitted.

S101〜S103、S105、S106、S108、S109で示す通話開始までの手順は、基本的には、図15を参照して説明したのと同様に、PBX51’の制御の下で、局内電話端末23a’と外部電話端末11との間で呼制御情報が交換され、通話が開始される。   The procedure up to the start of the call shown in S101 to S103, S105, S106, S108, and S109 is basically the same as described with reference to FIG. 15, and the intra-office telephone terminal 23a is controlled under the control of the PBX 51 ′. Call control information is exchanged between 'and the external telephone terminal 11, and a call is started.

しかし、PBX51’は、通話録音装置7’のPBX連携部61が解析できない呼制御情報を用いているため、局内電話端末23a’のIPアドレス(A)及び外部電話端末11のIPアドレス(B)の取得ができない。この結果、RTPストリーム部45には、録音対象のパケットストリームに関する情報がRTPストリームマップに存在しない状態になる。   However, since the PBX 51 ′ uses call control information that cannot be analyzed by the PBX linkage unit 61 of the call recording device 7 ′, the IP address (A) of the in-office telephone terminal 23a ′ and the IP address (B) of the external telephone terminal 11 Cannot get. As a result, the RTP stream unit 45 is in a state where no information regarding the packet stream to be recorded exists in the RTP stream map.

したがって受信パケット分配部42’は、下りパケットストリーム(S110)及び上りパケットストリーム(S111)を構成する受信パケットを受信したとき(図15参照)、図13を参照して説明したステップS22において、既知の録音対象のパケットストリームではないため、Noと判定し、ステップS24に進み、RTPセッション部44へ出力する。この結果、RTPセッション部44が、図6を参照して説明したRTPセッション処理を実行する(図15中、S311、S312)。   Therefore, when the received packet distribution unit 42 ′ receives the received packets constituting the downstream packet stream (S110) and the upstream packet stream (S111) (see FIG. 15), the received packet distributor 42 ′ is known in step S22 described with reference to FIG. Since it is not a packet stream to be recorded, it is determined No, the process proceeds to step S24, and is output to the RTP session unit 44. As a result, the RTP session unit 44 executes the RTP session process described with reference to FIG. 6 (S311 and S312 in FIG. 15).

このような結果、RTPセッション部44が、図6に示すステップS11〜S18の処理を行い、送信元アドレス及び送信先アドレスをRTPストリーム部45に出力し、録音を開始させることが可能になる。   As a result, the RTP session unit 44 performs the processing of steps S11 to S18 shown in FIG. 6, outputs the transmission source address and the transmission destination address to the RTP stream unit 45, and can start recording.

一方、通話録音装置7’のPBX連携部61は、通話終了の呼制御情報302を受信して通話の終了を判定し、録音を終了させることができない。このため、RTPストリーム部45は、例えば、最新のRTPパケットが受信パケット分配部42’から入力されてから一定時間経過しても次のRTPパケットが入力されないことを判定条件として、通話の終了を推定し、録音を終了する(S313)。   On the other hand, the PBX linkage unit 61 of the call recording device 7 ′ cannot receive the call control information 302 for ending the call, determines the end of the call, and cannot end the recording. For this reason, the RTP stream unit 45, for example, terminates the call on the condition that the next RTP packet is not input even if a predetermined time elapses after the latest RTP packet is input from the received packet distribution unit 42 ′. Then, the recording is finished (S313).

<効果>
以上説明した第2の実施の形態に係る通話録音装置7’によれば、まず、PBX連携部61が、第1内線網5’のPBX51が送信した呼制御情報に基づいて録音対象のパケットストリームに関する情報をRTPストリーム部45に入力し、RTPストリームマップに登録させる。受信パケット分配部42’は、RTPストリームマップを参照し、受信パケットが既知の録音対象のパケットストリームを構成すると判定し、RTPストリーム部45へ出力する。RTPストリーム部45は、受信パケットをRTPパケットとして収集し、音声キュー46に入力する。
<Effect>
According to the call recording device 7 ′ according to the second embodiment described above, first, the PBX linkage unit 61 uses the packet control information transmitted by the PBX 51 of the first extension network 5 ′ to record the packet stream to be recorded. Is input to the RTP stream unit 45 and registered in the RTP stream map. The received packet distributing unit 42 ′ refers to the RTP stream map, determines that the received packet constitutes a known packet stream to be recorded, and outputs the packet stream to the RTP stream unit 45. The RTP stream unit 45 collects received packets as RTP packets and inputs them to the voice queue 46.

一方、第2内線網6’から送出したパケットストリームは、PBX連携部61が受信した呼制御情報に対応していない。この場合、RTPストリーム部45のRTPストリームマップには、当該パケットストリームに関する情報が未だ登録されていないので、受信パケット分配部42’は、受信パケットが既知の録音対象のパケットストリームを構成しないと判定し、RTPセッション部44へ出力する。RTPセッション部44は、図6に示すRTPセッション処理により、受信パケットが、未知の録音対象のパケットストリームを構成するか否か判定し、その結果、未知の録音対象のパケットストリームであると判定した場合、当該パケットストリームに関する情報をRTPストリーム部45に入力し、RTPストリームマップに登録させる。したがって、受信パケット分配部42’は、これ以降の受信パケットを、既知の録音対象のパケットストリームを構成すると判定し、RTPストリーム部45へ出力する。RTPストリーム部45は、受信パケットをRTPパケットとして収集し、音声キュー46に入力する。   On the other hand, the packet stream transmitted from the second extension network 6 ′ does not correspond to the call control information received by the PBX linkage unit 61. In this case, since the information regarding the packet stream is not yet registered in the RTP stream map of the RTP stream unit 45, the received packet distribution unit 42 ′ determines that the received packet does not constitute a known packet stream to be recorded. And output to the RTP session unit 44. The RTP session unit 44 determines whether or not the received packet constitutes an unknown recording target packet stream by the RTP session processing shown in FIG. 6, and as a result, determines that the received packet is an unknown recording target packet stream. In this case, information regarding the packet stream is input to the RTP stream unit 45 and registered in the RTP stream map. Therefore, the received packet distribution unit 42 ′ determines that the subsequent received packets constitute a known packet stream to be recorded, and outputs it to the RTP stream unit 45. The RTP stream unit 45 collects received packets as RTP packets and inputs them to the voice queue 46.

このような結果、第2の実施の形態に係る通話録音装置7’によれば、第1内線網5’及び第2内線網6’のいずれから送出されたパケットストリームについても録音を行うことができるので、取りこぼしの発生を抑制し、通話録音を網羅的に行うことができる。   As a result, according to the call recording device 7 ′ according to the second embodiment, it is possible to record the packet stream transmitted from either the first extension network 5 ′ or the second extension network 6 ′. As a result, it is possible to suppress the occurrence of miss-outs and to complete call recording.

特に、第2の実施の形態に係る通話録音装置7’によれば、第1内線網5’についてはPBX51が送出する呼制御パケットをPBX連携部61で受信し、呼制御情報を利用できる。このため、通話の開始及び終了のタイミングを把握して高い精度で通話の録音を行うことができる。また、通話開始時刻、終了時刻、発着番号等の付加情報をPBXから取得できる。このように、第2の実施の形態に係る通話録音装置7’は、呼制御情報に基づいた通話録音を主とし、呼制御情報を活用して高精度及び高付加価値の通話録音を行いつつ、呼制御情報を利用できない場合は、自律的な録音を行い、網羅的な通話録音を実現することができる。   In particular, according to the call recording device 7 ′ according to the second embodiment, the call control information can be used by receiving the call control packet sent from the PBX 51 by the PBX linkage unit 61 for the first extension network 5 ′. Therefore, it is possible to record the call with high accuracy by grasping the start and end timing of the call. Further, additional information such as call start time, end time, and arrival / departure number can be acquired from the PBX. As described above, the call recording device 7 ′ according to the second embodiment mainly performs call recording based on the call control information, and performs call recording with high accuracy and high added value by using the call control information. When call control information is not available, autonomous recording can be performed to realize comprehensive call recording.

上述の第2の実施の形態では、通話録音装置7’が本発明の第1セッション処理部としてPBX連携部61を備えている場合を例に挙げて説明したが、PBX連携部の機能を実行する中央制御部101を備えたサーバ100(図3参照)で構成されるPBX連携装置を、通話録音装置7’とは別に設け、PBX51、51’から送信された呼制御情報を、PBX連携装置で受信し、PBX連携装置が、上述のPBX連携部61と同様な処理を実行し、処理結果を通話録音装置7’に送信するように構成してもよい。この場合、通話録音装置7’では、上述のPBX連携部61の処理のうち、PBX51、51’から呼制御情報に含まれるパケットストリームに関する情報である発呼側アドレス及び着呼側アドレスをRTPストリーム部45へ出力し、RTPストリームマップに登録させる処理を行う、PBX連携装置との連動を行う処理部が、本発明の第1セッション処理部として存在することになる。   In the above-described second embodiment, the case where the call recording device 7 ′ includes the PBX cooperation unit 61 as the first session processing unit of the present invention has been described as an example, but the function of the PBX cooperation unit is executed. A PBX cooperation device configured by the server 100 (see FIG. 3) including the central control unit 101 is provided separately from the call recording device 7 ′, and the call control information transmitted from the PBXs 51 and 51 ′ is used as the PBX cooperation device. May be configured so that the PBX cooperation device performs the same process as the PBX cooperation unit 61 described above and transmits the processing result to the call recording device 7 ′. In this case, in the call recording device 7 ′, the calling side address and the called side address, which are information related to the packet stream included in the call control information from the PBXs 51 and 51 ′, out of the processing of the PBX cooperation unit 61 described above, are sent to the RTP stream. The processing unit that outputs to the unit 45 and performs the process of registering in the RTP stream map and that links with the PBX cooperation apparatus exists as the first session processing unit of the present invention.

以上、本発明について詳細に説明したが、当業者にとっては、本発明が本明細書中に説明した実施の形態に限定されるものではないということは明らかである。本発明は、特許請求の範囲の記載により定まる本発明の趣旨及び範囲を逸脱することなく修正及び変更態様として実施することができる。したがって、本明細書の記載は、例示説明を目的とするものであり、本発明に対して何ら制限的な意味を有するものではない。   Although the present invention has been described in detail above, it will be apparent to those skilled in the art that the present invention is not limited to the embodiments described herein. The present invention can be implemented as modified and changed modes without departing from the spirit and scope of the present invention defined by the description of the scope of claims. Therefore, the description of the present specification is for illustrative purposes and does not have any limiting meaning to the present invention.

上述の実施の形態では、受信パケット分配部42、42’(図4、図12参照)を設け、既知の録音対象のパケットストリームを構成するRTPパケットをRTPセッション部44に、未知の録音対象のパケットストリームを構成するRTPパケットを含む残りの受信パケットをRTPセッション部44に、それぞれ選択的に出力し、各部に受信パケットを処理させている。しかし、例えば、RTPセッション部44及びRTPストリーム部45の両方に受信パケットをコピーして入力し、RTPセッション部44では、RTPストリーム部45のRTPストリームマップを参照し、既知の録音対象のパケットストリームを構成するRTPパケットを識別して破棄し、RTPセッション処理(図6参照)は行なわず、その他の受信パケットについてRTPセッション処理(図6参照)を行うようにしてもよい。同様に、RTPストリーム部45では、RTPストリームマップを参照し、既知の録音対象のパケットストリームを構成するRTPパケット以外の受信パケットを識別して破棄し、既知の録音対象のパケットストリームを構成するRTPパケットを処理するようにしてもよい。   In the above-described embodiment, the reception packet distribution units 42 and 42 '(see FIGS. 4 and 12) are provided, and RTP packets constituting a known packet stream to be recorded are sent to the RTP session unit 44 and the unknown recording target is recorded. The remaining received packets including the RTP packets constituting the packet stream are selectively output to the RTP session unit 44, and each unit processes the received packets. However, for example, the received packet is copied and input to both the RTP session unit 44 and the RTP stream unit 45, and the RTP session unit 44 refers to the RTP stream map of the RTP stream unit 45 to know a known packet stream to be recorded. May be identified and discarded, and RTP session processing (see FIG. 6) may be performed on other received packets without performing RTP session processing (see FIG. 6). Similarly, the RTP stream unit 45 refers to the RTP stream map, identifies and discards received packets other than RTP packets that make up a known packet stream to be recorded, and RTPs that make up a known packet stream to be recorded. Packets may be processed.

上述の実施の形態において、呼制御情報に対応しないパケットストリームを録音対象とする場合、付加情報をSIPサーバ22、22’(図2参照)やPBX51、51’(図11参照)から取得できない。通話録音装置7、7’又は音声サーバ9(図1、図10参照)において、これらを構成するサーバ100の中央制御部101に、局内電話端末23a〜23c、23a’〜23c’(図2、図11参照)及び外部電話端末11(図1、図10参照)の各ノードのIPアドレスと電話番号(外線番号又は内線番号)とを対応付け、端末設定ファイルの形式で、記憶部であるストレージデバイス103又はメモリ104に記憶させておく。RTPセッション部44で未知のパケットストリームを録音対象と判定した場合、それを構成するRTPパケットの送信元アドレス及び送信先アドレスを用いて、端末設定ファイルを参照し、送信元アドレス及び送信先アドレスと一致するIPアドレスに対応する電話番号を、発呼側及び着呼側の電話番号として特定することができる。このようにして特定された発呼側及び着呼側の電話番号は、録音関連情報として音声ファイルと対応付け、音声サーバ9で管理させることができる。   In the above-described embodiment, when a packet stream that does not correspond to call control information is to be recorded, additional information cannot be acquired from the SIP servers 22 and 22 '(see FIG. 2) and the PBXs 51 and 51' (see FIG. 11). In the call recording device 7, 7 ′ or the voice server 9 (see FIG. 1 and FIG. 10), the central control unit 101 of the server 100 constituting them is connected to the in-office telephone terminals 23a-23c, 23a′-23c ′ (FIG. 2, 11) and the external telephone terminal 11 (see FIG. 1 and FIG. 10) are associated with the IP address of each node and the telephone number (external number or extension number), and is a storage that is a storage unit in the form of a terminal setting file. It is stored in the device 103 or the memory 104. When the RTP session unit 44 determines that the unknown packet stream is to be recorded, the terminal setting file is referred to using the source address and destination address of the RTP packet that constitutes the packet stream, and the source address and destination address The telephone numbers corresponding to the matching IP addresses can be specified as the telephone numbers of the calling party and the called party. The telephone numbers of the calling side and the called side identified in this way can be associated with the voice file as recording related information and managed by the voice server 9.

また、例えば、上述の実施の形態に係る通話録音システム1、1’において、SIPサーバ22、22’又はPBX51、51’のセキュリティホールを使ったような不正な通話が行われる場合がある。本実施の形態に係る通話録音装置7、7’では、このような不正な通話のパケットストリームでも、RTPセッション部44で呼制御情報を使用せず自律的に録音対象として検出し、録音を行うことができるので、不正な通話が行われた証拠を残すことができる。   Further, for example, in the call recording system 1, 1 'according to the above-described embodiment, there is a case where an illegal call using the security hole of the SIP server 22, 22' or the PBX 51, 51 'is performed. In the call recording devices 7 and 7 'according to the present embodiment, even the packet stream of such an illegal call is detected and recorded as an object of recording autonomously without using the call control information in the RTP session unit 44. It is possible to leave evidence that an unauthorized call has been made.

また、上述の実施の形態に係る通話録音システム1、1’において、SIPサーバ22、22’又はPBX51、51’の不具合などにより、つながりっぱなしの呼が発生することがある。本実施の形態に係る通話録音装置7、7’では、つながりっぱなしの呼で送受信されるパケットストリームを構成するRTPパケットを、RTPセッション部44で呼制御情報を使用せず自律的に録音対象として検出し、記録を残すことができるので、つながりっぱなしの呼によるネットワークやサーバ100(図3参照)の無駄なリソース使用を削減することができる。   Further, in the call recording system 1, 1 'according to the above-described embodiment, a call that remains connected may occur due to a malfunction of the SIP server 22, 22' or the PBX 51, 51 '. In the call recording devices 7 and 7 'according to the present embodiment, RTP packets constituting a packet stream transmitted / received by a continuous call are autonomously recorded without using call control information in the RTP session unit 44. As a result, it is possible to reduce the wasteful use of resources of the network and the server 100 (see FIG. 3) due to a continuous call.

また、第1の実施の形態では、第1内線網5及び第2内線網6ではSIPサーバ22、22’が呼制御情報をやり取りしている例(図1、図2参照)、及び、第2の実施の形態では、第1内線網5’及び第2内線網6’ではPBX51、51’が呼制御情報をやり取りしている例(図10、図11参照)についてそれぞれ説明したが、一方の内線網がSIPサーバで運用され、他方の内線網がPBXで運用されてもよい。   In the first embodiment, the SIP servers 22 and 22 'exchange call control information in the first extension network 5 and the second extension network 6 (see FIGS. 1 and 2), and In the second embodiment, an example (see FIGS. 10 and 11) in which the PBXs 51 and 51 ′ exchange call control information in the first extension network 5 ′ and the second extension network 6 ′ has been described. One extension network may be operated by the SIP server, and the other extension network may be operated by the PBX.

また、上述の実施の形態では、2つの内線網での通話を録音する通話録音装置7、7’について説明したが、3つ以上の内線網での通話を録音する場合にも本発明を適用することができる。   In the above-described embodiment, the call recording devices 7 and 7 'for recording calls on two extension networks have been described. However, the present invention is also applied to recording calls on three or more extension networks. can do.

また、上述の第1の実施の形態では、中央制御部101(図3参照)によって、第1セッション処理部であるSIPセッション部43(図4参照)、第2セッション処理部であるRTPセッション部44及びパケットストリーム処理部であるRTPストリーム部45の両方を実現する場合を例に挙げて説明したが、SIPセッション部43、RTPセッション部44及びRTPストリーム部45をそれぞれ異なるプロセッサで実現してもよい。   In the first embodiment described above, the central control unit 101 (see FIG. 3) uses the SIP session unit 43 (see FIG. 4) as the first session processing unit and the RTP session unit as the second session processing unit. 44 and the RTP stream unit 45 that is a packet stream processing unit have been described as an example. However, the SIP session unit 43, the RTP session unit 44, and the RTP stream unit 45 may be implemented by different processors. Good.

同様に、上述の第2の実施の形態において、PBX連携部61、RTPセッション部44及びRTPストリーム部45をそれぞれ異なるプロセッサで実現してもよい。   Similarly, in the above-described second embodiment, the PBX cooperation unit 61, the RTP session unit 44, and the RTP stream unit 45 may be realized by different processors.

また、本明細書で説明した用語及び/又は本明細書の理解に必要な用語については、同一の又は類似する意味を有する用語と置き換えてもよい。   In addition, the terms described in this specification and / or terms necessary for understanding this specification may be replaced with terms having the same or similar meaning.

本明細書で説明した情報、信号などは、様々な異なる技術のいずれかを使用して表されてもよい。例えば、上記の説明全体に渡って言及され得るデータ、命令、コマンド、情報、信号、ビット、シンボル、チップなどは、電圧、電流、電磁波、磁界若しくは磁性粒子、光場若しくは光子、又はこれらの任意の組み合わせによって表されてもよい。   Information, signals, etc. described herein may be represented using any of a variety of different technologies. For example, data, commands, commands, information, signals, bits, symbols, chips, etc. that may be referred to throughout the above description are voltages, currents, electromagnetic waves, magnetic fields or magnetic particles, light fields or photons, or any of these May be represented by a combination of

本明細書で説明した各態様/実施形態は単独で用いてもよいし、組み合わせて用いてもよいし、実行に伴って切り替えて用いてもよい。また、所定の情報の通知(例えば、「Xであること」の通知)は、明示的に行うものに限られず、暗黙的に(例えば、当該所定の情報の通知を行わないことによって)行われてもよい。   Each aspect / embodiment described in this specification may be used independently, may be used in combination, or may be switched according to execution. In addition, notification of predetermined information (for example, notification of being “X”) is not limited to explicitly performed, but is performed implicitly (for example, by not performing notification of the predetermined information). May be.

本明細書で説明した各態様/実施形態の処理手順、シーケンス、フローチャートなどは、矛盾の無い限り、順序を入れ替えてもよい。例えば、本明細書で説明した方法については、例示的な順序で様々なステップの要素を提示しており、提示した特定の順序に限定されない。   As long as there is no contradiction, the order of the processing procedures, sequences, flowcharts, and the like of each aspect / embodiment described in this specification may be changed. For example, the methods described herein present the elements of the various steps in an exemplary order and are not limited to the specific order presented.

本発明は、網羅的な情報記録を可能にするという効果を奏し、通話録音装置、テレビ電話記録装置などに好適に利用できる。   The present invention has an effect of enabling comprehensive information recording, and can be suitably used for a call recording device, a videophone recording device, and the like.

1、1’ 通話録音システム
2 光通信ネットワーク
5、5’ 第1内線網
6、6’ 第2内線網
7、7’ 通話録音装置
9 音声サーバ
10 パーソナルコンピュータ(PC)
11 外部電話端末
21、21’ ゲートウェイ
22、22’ SIPサーバ
23a〜23c、23a’〜23c’ 局内電話端末
41 パケットキャプチャ部
42、42’ 受信パケット分配部
43 SIPセッション部
44 RTPセッション部
45 RTPストリーム部
46 音声キュー
47 録音チャネル管理部
48 音声ファイル生成部
49 音声ファイル送信部
61 PBX連携部
DESCRIPTION OF SYMBOLS 1, 1 'Call recording system 2 Optical communication network 5, 5' 1st extension network 6, 6 '2nd extension network 7, 7' Call recording apparatus 9 Voice server 10 Personal computer (PC)
11 External telephone terminal 21, 21 'Gateway 22, 22' SIP servers 23a-23c, 23a'-23c 'Intra-station telephone terminal 41 Packet capture unit 42, 42' Received packet distribution unit 43 SIP session unit 44 RTP session unit 45 RTP stream Unit 46 audio queue 47 recording channel management unit 48 audio file generation unit 49 audio file transmission unit 61 PBX cooperation unit

Claims (8)

呼制御情報に対応するパケットストリームを録音対象と判定する第1セッション処理部と、
前記呼制御情報に対応しないパケットストリームを録音対象と判定する第2セッション処理部と、
前記第1セッション処理部及び前記第2セッション処理部が判定した前記録音対象のパケットストリームを収集するパケットストリーム処理部と、
前記パケットストリーム処理部が収集した前記パケットストリームを構成する複数の主情報パケットから主情報を生成し、記録装置に記録させる主情報記録部と、を具備し、
ネットワークを流れる複数の受信パケットのそれぞれについて、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定し、その判定結果に基づいて、前記受信パケットを、前記第2セッション処理部及び前記パケットストリーム処理部のうちいずれか1つに処理させる
ことを特徴とする情報記録制御装置。
A first session processing unit for determining a packet stream corresponding to the call control information as a recording target;
A second session processing unit that determines a packet stream that does not correspond to the call control information as a recording target;
A packet stream processing unit for collecting the packet streams to be recorded determined by the first session processing unit and the second session processing unit;
A main information recording unit that generates main information from a plurality of main information packets constituting the packet stream collected by the packet stream processing unit and records the main information on a recording device;
For each of a plurality of received packets flowing through the network, it is determined whether or not it is a main information packet constituting the known packet stream to be recorded, and based on the determination result, the received packet is determined as the second session processing unit. And an information recording control apparatus which causes any one of the packet stream processing units to process.
前記呼制御情報が、呼制御パケットから取得したノードに関する情報であることを特徴とする請求項1に記載の情報記録制御装置。   The information recording control apparatus according to claim 1, wherein the call control information is information regarding a node acquired from a call control packet. 前記受信パケットが前記呼制御パケットである場合、前記受信パケットを前記第1セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームでない場合、前記受信パケットを前記第2セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームである場合、前記受信パケットを前記パケットストリーム処理部へ出力する受信パケット分配部をさらに具備することを特徴とする請求項2に記載の情報記録制御装置。   When the received packet is the call control packet, the received packet is output to the first session processing unit, and when the received packet is not a known packet stream to be recorded, the received packet is output to the second session. And a receiving packet distribution unit configured to output the received packet to the packet stream processing unit when the received packet is a known packet stream to be recorded. 2. The information recording control apparatus according to 2. 前記呼制御情報が、構内電話交換機から取得したノードに関する情報であることを特徴とする請求項1から請求項3のいずれかに記載の情報記録制御装置。   4. The information recording control apparatus according to claim 1, wherein the call control information is information regarding a node acquired from a private branch exchange. 前記受信パケットが、構内電話交換機から取得したノードに関する情報に基づいて既知の前記呼制御パケットであるか否か判定し、前記受信パケットが、既知の前記録音対象のパケットストリームでない場合、前記受信パケットを前記第2セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームである場合、前記受信パケットを前記パケットストリーム処理部へ出力する受信パケット分配部をさらに具備することを特徴とする請求項4に記載の情報記録制御装置。   It is determined whether or not the received packet is a known call control packet based on information about a node acquired from a private branch exchange, and when the received packet is not a known packet stream to be recorded, the received packet Is output to the second session processing unit, and when the received packet is a known packet stream to be recorded, the received packet distribution unit further outputs the received packet to the packet stream processing unit. 5. The information recording control apparatus according to claim 4, wherein 前記主情報パケットが、RTPパケットであることを特徴とする請求項1から請求項5のいずれかに記載の情報記録制御装置。   6. The information recording control apparatus according to claim 1, wherein the main information packet is an RTP packet. 前記主情報が、音声、画像、映像及びテキストから選択される少なくとも1つであることを特徴とする請求項1から請求項6のいずれかに記載の情報記録制御装置。   The information recording control apparatus according to claim 1, wherein the main information is at least one selected from voice, image, video, and text. 呼制御情報に対応するパケットストリームを録音対象と判定する第1判定工程と、
ネットワークを流れる受信パケットが、既知の前記録音対象のパケットストリームを構成する主情報パケットか否かを判定する第2判定工程と、
判定結果に基づき、前記受信パケットを、前記呼制御情報に対応しないパケットストリームを録音対象と判定する第3判定処理、及び、前記パケットストリームを構成する複数の主情報パケットを収集し、前記複数の主情報パケットから主情報を生成させ、記録装置に記録させるパケットストリーム処理のうちいずれか1つに付する工程と、
を具備することを特徴とする情報記録制御方法。
A first determination step of determining a packet stream corresponding to call control information as a recording target;
A second determination step of determining whether or not a received packet flowing through the network is a main information packet constituting the known packet stream to be recorded;
Based on the determination result, a third determination process for determining a packet stream that does not correspond to the call control information as a recording target based on the determination result, and collecting a plurality of main information packets constituting the packet stream, A step of generating main information from the main information packet and attaching it to any one of the packet stream processes to be recorded by the recording device;
An information recording control method comprising:
JP2016151393A 2016-08-01 2016-08-01 Information record control device and information record control method Active JP6780978B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016151393A JP6780978B2 (en) 2016-08-01 2016-08-01 Information record control device and information record control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016151393A JP6780978B2 (en) 2016-08-01 2016-08-01 Information record control device and information record control method

Publications (2)

Publication Number Publication Date
JP2018022954A true JP2018022954A (en) 2018-02-08
JP6780978B2 JP6780978B2 (en) 2020-11-04

Family

ID=61165766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016151393A Active JP6780978B2 (en) 2016-08-01 2016-08-01 Information record control device and information record control method

Country Status (1)

Country Link
JP (1) JP6780978B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212908A (en) * 2008-03-05 2009-09-17 Iwatsu Electric Co Ltd Multichannel call recoding system
JP2011071853A (en) * 2009-09-28 2011-04-07 Intellivoice Co Ltd Ip telephone system, communication content recorder and communication method
JP2011147007A (en) * 2010-01-15 2011-07-28 Mitsubishi Electric Corp Speech recording apparatus and speech recording system
JP2013187733A (en) * 2012-03-08 2013-09-19 Hitachi Information & Telecommunication Engineering Ltd Speech communication recording system
US20140112334A1 (en) * 2012-10-23 2014-04-24 Menachem Shmuel HONIG Device, system, and method of conversation proxy

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009212908A (en) * 2008-03-05 2009-09-17 Iwatsu Electric Co Ltd Multichannel call recoding system
JP2011071853A (en) * 2009-09-28 2011-04-07 Intellivoice Co Ltd Ip telephone system, communication content recorder and communication method
JP2011147007A (en) * 2010-01-15 2011-07-28 Mitsubishi Electric Corp Speech recording apparatus and speech recording system
JP2013187733A (en) * 2012-03-08 2013-09-19 Hitachi Information & Telecommunication Engineering Ltd Speech communication recording system
US20140112334A1 (en) * 2012-10-23 2014-04-24 Menachem Shmuel HONIG Device, system, and method of conversation proxy

Also Published As

Publication number Publication date
JP6780978B2 (en) 2020-11-04

Similar Documents

Publication Publication Date Title
CN107567703B (en) Establish media paths in real-time communications
RU2528616C1 (en) Network abstraction gateway and corresponding endpoint abstraction method
US9900356B2 (en) Method and apparatus for transferring active communication session streams between devices
JP4673369B2 (en) Method and apparatus for providing correlation means in a hybrid communication network
US8606936B2 (en) Communication system, session control management server and session control method
CN101485172B (en) Method and communication terminal for provision of VOIP
US20130007291A1 (en) MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS
CN101309277A (en) SIP terminal, method and system for reporting status thereof, and method and device for processing the reported status
CN106128468B (en) Voice communication method and device
US9100729B2 (en) Method for handling a telecommunications connection, telecommunications arrangement, switching device and network coupling device
WO2015154520A1 (en) Call recording method, recording server, private branch exchange and recording system
CN105122761B (en) Local control of additional media sessions for packet-based calls
US20100064182A1 (en) Communication system
JP6663258B2 (en) Information recording control device and information recording control method
CN106331386A (en) Terminal state synchronization method, related device and system
JP2005020676A (en) Telephone communication method and apparatus
JP6780978B2 (en) Information record control device and information record control method
US7764600B1 (en) Providing an alternative service application to obtain a communication service when the current service application is inhibited
JP4372629B2 (en) SIP communication control apparatus for performing FW control and FW control method thereof
CN108833434B (en) Method for realizing cross-network video call system based on IP bidirectional network set top box
CN106302363A (en) The management method of media cascade and device
JP4698486B2 (en) IP telephone service system and IP telephone service method
WO2012171290A1 (en) Transfer inquiry method, application server, service terminal, and system
JP2004363959A (en) Communication apparatus
US20070223447A1 (en) Gateway device and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190612

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200626

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200630

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200826

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200929

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201015

R150 Certificate of patent or registration of utility model

Ref document number: 6780978

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250