Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6780978B2 - Information record control device and information record control method - Google Patents
[go: Go Back, main page]

JP6780978B2 - Information record control device and information record control method - Google Patents

Information record control device and information record control method Download PDF

Info

Publication number
JP6780978B2
JP6780978B2 JP2016151393A JP2016151393A JP6780978B2 JP 6780978 B2 JP6780978 B2 JP 6780978B2 JP 2016151393 A JP2016151393 A JP 2016151393A JP 2016151393 A JP2016151393 A JP 2016151393A JP 6780978 B2 JP6780978 B2 JP 6780978B2
Authority
JP
Japan
Prior art keywords
packet
information
call
unit
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.)
Active
Application number
JP2016151393A
Other languages
Japanese (ja)
Other versions
JP2018022954A (en
Inventor
淳史 安島
淳史 安島
明弘 大森
明弘 大森
Original Assignee
株式会社 ネクストジェン
株式会社 ネクストジェン
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 株式会社 ネクストジェン, 株式会社 ネクストジェン filed Critical 株式会社 ネクストジェン
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)

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パケットから録音を行う仕組みが必要になる。 Conventionally, a call recording device for recording a call in a Voice over IP (VoIP) environment has been developed. In a 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 uplink and downlink RTP packets are judged as one call, recorded, and a recorded file is recorded. Generated and stored (see, for example, Patent Document 1).

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

特開2013−187733号公報Japanese Unexamined Patent Publication No. 2013-187733

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

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

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

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

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

このような課題は、上述の通話録音以外のテレビ電話間で送受信される映像データを記録する際も同様である。 Such a problem is also 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 such a point, and an object of the present invention is to provide an information recording control device 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つに処理させることを特徴とする。 One aspect of the information recording control device of the present invention is a first session processing unit that determines a packet stream corresponding to call control information acquired from a call control packet as a recording target, and a packet stream that does not correspond to the call control information. A second session processing unit that determines to be a recording target, a packet stream processing unit that collects the packet stream of the recording target determined by the first session processing unit and the second session processing unit, and a packet stream processing unit collects the packet stream. A main information recording unit that generates main information from a plurality of main information packets constituting the packet stream and causes a recording device to record the main information, and is known for each of the plurality of received packets flowing through the network. It is determined whether or not the packet stream is the main information packet constituting the packet stream, and the received packet is processed by any one of the second session processing unit and the packet stream processing unit based on the determination result. It is characterized by.

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

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

本発明の情報記録制御装置の一態様において、前記受信パケットが前記呼制御パケットである場合、前記受信パケットを前記第1セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームでない場合、前記受信パケットを前記第2セッション処理部へ出力し、前記受信パケットが、既知の前記録音対象のパケットストリームである場合、前記受信パケットを前記パケットストリーム処理部へ出力する受信パケット分配部をさらに具備することが好ましい。 In one aspect of the information recording control device 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. If it is not a stream, the received packet is output to the second session processing unit, and if 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 include a portion.

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

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

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

本発明の情報記録制御装置の一態様において、前記主情報が、音声、画像、映像及びテキストから選択される少なくとも1つであることが好ましい。 In one aspect of the information recording control device 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つに付する工程と、を具備することを特徴とする。 One aspect of the information recording control method of the present invention comprises 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 constitutes a known packet stream of the recording target. The second determination step of determining whether or not the packet is the main information packet, the third determination process of determining the received packet as the recording target of the packet stream that does not correspond to the call control information, and the packet stream. It is provided with a step of collecting a plurality of main information packets constituting the above, generating main information from the plurality of main information packets, and attaching to any one of packet stream processing to be recorded by a recording device. It is a feature.

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

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

第1の実施の形態に係る通話録音装置を含む通話録音システムの全体構成を示す模式図である。It is a schematic diagram which shows the whole structure of the call recording system including the call recording device 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 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 processing 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 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 processing with respect to the RTP packet which constitutes both the up and down packet streams shown in FIG. 第2の実施の形態に係る通話録音装置を含む通話録音システムの全体構成を示す模式図である。It is a schematic diagram which shows the whole structure of the call recording system including the call recording device 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 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 processing 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 device according to the present embodiment has a first session processing unit that determines a packet stream corresponding to call control information as a recording target, and a second session processing unit that determines a packet stream that does not correspond to the call control information as a recording target. It constitutes 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. Whether or not the received packet flowing through the network is a main information packet constituting the known packet stream to be recorded, including a main information recording unit that generates main information from a plurality of main information packets and causes the recording device to record the main information. Based on the determination result, the received packet is processed by any one of the second session processing unit and the packet stream processing unit.

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

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

ここで、呼制御情報とは、2以上のノードの間でセッションを確立するために用いられるノードに関する情報である。ノードに関する情報は、例えば、ノードに割り当てられたIPアドレス、及び、ノードに割り当てられた電話番号(外線番号及び内線番号)を含むが特に限定されない。 Here, the call control information is information about a node used to establish a session between two or more nodes. The information about the node includes, for example, the IP address assigned to the node and the 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 obtained from, for example, a call control packet containing the call control information. In this case, the call control information is specifically referred to as SIP (Session Initiation Protocol) and H.A. It is used in the 323 protocol and the like, but is not particularly limited. Hereinafter, SIP will be described as an example.

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

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

SIPの場合、例えば、INVITEリクエストのボディ部から発呼側アドレスを取得できる。一方、200 OKレスポンスのボディ部から着呼側アドレスを取得できる。しかし、他の呼制御パケットから発呼側アドレス及び着呼側アドレスを取得してもよい。 In the case of SIP, for example, the calling party address can be obtained from the body portion of the INVITE request. On the other hand, the called party address can be obtained from the body portion 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アドレスである着呼側アドレスを取得する。 The first session processing unit analyzes, for example, the call control information included in the call control packet, and acquires the calling party address which is the IP address of the calling party node and the called party address which is the IP address of the called party. ..

また、呼制御情報は、構内電話交換機(PBX)から取得することもできる。この場合、第1セッション処理部は、PBXを構成するサーバが提供するAPI(アプリケーションプログラムインターフェイス)を利用し、PBXからノードに関する情報を取得する。 The call control information can also be obtained from a private telephone exchange (PBX). In this case, the first session processing unit uses the API (application program interface) provided by the server constituting the PBX to acquire information about the node from 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 and received between a calling side node and a calling 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 (A) having the calling side address (A) as the destination address ( The packet stream (downstream packet stream) having the incoming packet stream) and the called party address (B) as the destination address is determined to be the recording target.

第1セッション処理部は、判定結果に基づいて録音対象として判定したパケットストリームに関する情報を、パケットストリーム処理部へ出力する。 The first session processing unit outputs information about the packet stream determined as a 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 the packet stream that does not correspond to the call control information is the recording target.

呼制御情報に対応しないパケットストリームとは、上述の呼制御パケット又はPBXから取得した呼制御情報に基づいて識別できないパケットストリームをいう。 The packet stream that does not correspond to the call control information is a packet stream that cannot be identified based on the above-mentioned 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 destination address without using the call control information, and determines the packet stream as a recording target. The method of determination is not particularly limited, but is, for example, the data structure of the main information packet, the identity of the synchronous source (SSRC) identifier of the main information packet, the continuity of the sequence number of the main information packet, and the main information packet. Use at least one of the judgment conditions such as the number.

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

パケットストリーム処理部は、第1セッション処理部及び第2セッション処理部から入力された録音対象のパケットストリームに関する情報を保持する。パケットストリームに関する情報は、例えば、パケットストリームを構成する主情報パケットの送信元アドレス(srcaddr)及び送信先アドレス(dstaddr)であるが、特に限定されない。 The packet stream processing unit holds information about 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, a source address (srcaddr) and a destination address (dstatdr) of the main information packet constituting the packet stream, but is not particularly limited.

パケットストリーム処理部は、録音対象のパケットストリームに関する情報を用いて、録音対象のパケットストリームを構成する主情報パケットを収集し、主情報記録部へ入力する。 The packet stream processing unit collects the main information packets constituting the packet stream to be recorded by using the information about the packet stream to be recorded, and inputs the main information packets 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, the main information is data transmitted and received between the nodes. For example, the main information is multimedia data, more specifically at least one selected from audio, image, video and text. In an IP telephone using VoIP, the 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 containing a part of the main information. When the main information is voice, for example, RTP is used as a protocol for transmitting and receiving the main information.

RTPは、例えば、UDPをベースとするが、これに限定されない。RTPパケットは、IPヘッダ、UDPヘッダ、RTPヘッダ及びデータ部で構成され、データ部に、分割された音声データが格納される。RTPには、シーケンス番号及びタイムスタンプが含まれている。RTPでは、送信側のノードが送信した音声データを正しく伝達するために、受信側のノードで、シーケンス番号によってパケットを正しい順番に並び替える。また、受信側のノードで、タイムスタンプ情報で音声再生のタイミングを決定することで音声通話を実現する。このように、順番に並べられた複数の主情報パケットを、パケットストリームと呼ぶ。 RTP is, for example, based on, but not limited to, UDP. The RTP packet is composed of an IP header, a UDP header, an RTP header, and a data unit, and the divided voice data is stored in the data unit. The RTP contains 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 sorts 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 on the receiving node. A plurality of main information packets arranged in order in this way are called a packet stream.

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

ここで説明した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 such a case is WebRTC (Web Real-Time Communication).

RTPの場合、主情報記録部は、上述のように、パケットストリームを構成する複数のRTPパケットを、シーケンス番号によって正しい順番に並び替えると共に、タイムスタンプ情報で音声再生のタイミングを決定し、上り下り双方のパケットストリームから通話音声データを生成する。また、主情報記録部は、生成した通話音声データを、音声ファイルに変換する。 In the case of RTP, as described above, the main information recording unit sorts a plurality of RTP packets constituting the packet stream in the correct order according to the sequence number, determines the timing of voice reproduction based on the time stamp information, and goes up and down. Generate call voice data from both packet streams. In addition, 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 built in the information recording control device or may be connected from the outside. The storage device may be connected to the information recording control device by a serial cable, USB, or the like, or may be connected to the information recording control device by a network such as a wired LAN or a wireless LAN. The storage device is a hard disk drive, a solid state drive (SSD), a magnetic disk drive, an optical disk drive, or the like, but is not particularly limited.

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

本実施の形態に係る情報記録制御装置において、受信パケットが既知の録音対象のパケットストリームを構成するか否かを判定し、その判定結果に基づいて受信パケットを、前記第2セッション処理部及びパケットストリーム処理部のうちいずれか1つに処理させる。 In the information recording control device 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 transmitted to the second session processing unit and the packet based on the determination result. Let any one of the stream processing units process.

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

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

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

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

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

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

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

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

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

ゲートウェイ4には、第1内線網5及び第2内線網6に設けられたスイッチングハブ21(21’)が接続されている。第1内線網5及び第2内線網6については後述する。 A switching hub 21 (21') provided in the first extension network 5 and the second extension network 6 is connected to the gateway 4. 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'at the same time transmit data transmitted and received by the ports to which the first extension network 5 and the second extension network 6 are connected from the mirror ports 21a and 21a'.

ミラーポート21a、21a’には、通話録音装置7が通信可能に接続されており、スイッチングハブ21、21’を介して流れるIPパケットを受信するように構成されている。 A 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. A voice server 9 and PCs 10a to 10c are communicably connected to the switching hub 8.

音声サーバ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 of the calling side, the telephone number of the called 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 voice server 9 to search for a voice file and play back a voice file transmitted from the voice 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 an Internet network (not shown). You may.

光通信ネットワーク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 view 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 of FIG.

スイッチングハブ21の複数のポートには、図1のSIPサーバ22及び局内電話端末23a〜23cが接続されている。 The SIP server 22 and the in-station telephone terminals 23a to 23c of FIG. 1 are connected to the 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, manages user identification information such as a telephone number and corresponding data of the location on the network such as an IP address, and and a caller. Mediates call information between call destinations.

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

局内電話端末23a〜23cは、スイッチングハブ21に接続されると自らの電話番号とIPアドレスをSIPサーバ22に知らせる。また、局内電話端末23a〜23cは、発呼時は、SIPサーバ22に着呼側の電話端末の電話番号を通知する。SIPサーバ22は、通知された電話番号に対応する着呼側の電話端末のIPアドレスに宛てて発信通知を転送し、通信開始が許諾(「受話器を上げる」動作)されたら発呼側と着呼側が直接接続して通話を開始する。 When the in-station telephone terminals 23a to 23c are connected to the switching hub 21, their telephone numbers and IP addresses are notified to the SIP server 22. Further, the in-station telephone terminals 23a to 23c notify the SIP server 22 of the telephone number of the telephone terminal on the called side at the time of making a call. The SIP server 22 transfers the outgoing call notification to the IP address of the calling side's telephone terminal corresponding to the notified telephone number, and when the communication start is permitted (the operation of "picking up the handset"), the SIP server 22 arrives at the calling side. The caller connects directly and starts 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 an intra-station telephone terminal 23a' to 23c', and the switching hub 21 and the SIP server 22 of the first extension network 5 described above. , Has the same configuration and function as the in-station 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 transmitted by the SIP server 22 of the first extension network 5, but the second extension. The point is that the call recording device 7 cannot use the call control information in the SIP message sent 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 this embodiment, the service provided by the SIP server 22'operated by the second extension network 6 has been changed, and the software version running on the SIP server 22' has been upgraded. It is assumed that the call recording device 7 cannot acquire call control information from call control packets transmitted / received in the SIP session of the SIP server 22'.

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

図3に示すように、サーバ100は、中央制御部101、ネットワーク制御部102、ストレージデバイス103及びメモリ104を備えている。 As shown 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 carries out data communication and the like via the network.

ストレージデバイス103は、例えば、ハードディスクドライブ、不揮発性メモリ等により構成され、中央制御部101の動作に必要な各種プログラムやデータを記憶している。 The storage device 103 is composed of, for example, a hard disk drive, a non-volatile memory, or 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 for temporarily storing data or the like processed by the central control unit 101 or the like, or a working memory of the central control unit 101 or the like.

以上説明したサーバ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'of FIG. 2 and the voice server 9 of 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 a 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 of FIG. 1 , 21'to 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 received 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 the 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 calling side address indicating the address of the side node and the calling side address indicating the IP address of the calling side node are acquired.

RTPセッション部44は、本発明の第2セッション処理部の一例であり、受信パケットからRTPパケットを識別し、RTPパケットを解析して、IPヘッダに含まれる送信先アドレス及び送信元アドレス等を取得する。 The RTP session unit 44 is an example of the second session processing unit of the present invention, identifies an RTP packet from a received packet, analyzes the RTP packet, and acquires a destination address, a source address, and the like 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 the packet stream processing unit of the present invention. The RTP stream unit 45 receives the calling side address and the calling side address acquired by the SIP session unit 43, and registers them in the RTP stream map as information regarding 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 the storage device. The RTP stream map is configured to register a source address (srcaddr) and a destination address (dsdaddr) of a packet stream to be recorded as a pair. The RTP stream unit 45 uses the calling side address acquired by the SIP session unit 43 as the destination address and the incoming calling side address as the source address, and the upstream packet stream and the calling side address acquired by the SIP session unit 43. Is registered in the RTP stream map as the packet stream to be recorded, and the downlink packet stream is registered in the RTP stream map as the source address and the called party address as the destination address.

また、RTPストリーム部45は、RTPセッション部44が取得した送信先アドレス及び送信元アドレスを受け取り、録音対象のパケットストリームに関する情報としてRTPストリームマップに登録する。 Further, the RTP stream unit 45 receives the destination address and the source address acquired by the RTP session unit 44, and registers them in the RTP stream map as information regarding 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 in which the destination address and the transmission address registered in the RTP stream map match from the IP packet input from the received packet distribution unit 42. Voice data is taken out from the RTP packet and sequentially output to the voice 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 the voice data input earlier.

通話録音装置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 for example, a storage device 103, which is an example of a storage device, provides a usable recording area, that is, a recording channel.

音声ファイル生成部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 it into audio data, and outputs it to a recording channel prepared by the recording channel management unit 47 in the form of an audio file. Remember. Further, the audio file generation unit 48 obtains and stores the recording start time and the recording (call) time from the time when the generation of the audio file starts and the time when the generation ends.

音声ファイル送信部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 voice file transmission unit 49 transmits recording-related information including the recording start time and the recording (call) time to the voice server 9 together with the voice 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 downlink packet streams from the collected RTP packets, and the audio file transmission unit 49 generates the audio file in FIG. 1. It is stored in the voice server 9 of. 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, the 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 device according to the first embodiment. As shown in FIG. 5, the received packet distribution unit 42 first determines whether or not a packet has been received (S1). If the packet is received, it is determined whether or not the received packet is a call control packet (S2). This determination is performed, for example, by whether or not a character string peculiar to the SIP call control packet such as "SIP / 2.0" is included at the beginning or end of the first line. However, the determination is not limited to this example. If the determination is Yes in step S2, the received packet distribution unit 42 outputs the received 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 is No in step S2, the received packet distribution unit 42 determines whether or not the packet is an RTP packet constituting a known packet stream to be recorded (S4). In this determination, for example, information about the packet stream to be recorded registered in the RTP stream map held by the RTP stream unit 45 using the source address (srcaddr) and the destination address (dsdaddr) included in the RTP packet as keys is used. The search is performed based on whether or not the information already exists. If the determination is Yes in step S4, 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 outputting the received packet 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 (hereinafter, also referred to as RTP session processing) in the RTP session unit 44 (see FIG. 4) will be described. FIG. 6 is a flowchart showing processing in the RTP session unit in the call recording device according to the first embodiment. As shown in FIG. 6, the RTP session unit 44 first determines whether or not the received packet seems to be an RTP packet (S11). This determination is performed based on conditions such as whether or not the received packet includes the 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 or not an RTP session exists (S12). One RTP session is created for a group of received packets having the same source address and destination address. Normally, since there are upstream and downstream packet streams for one call, two RTP sessions are generated in one call. When the determination in step S12 is No, that is, when the RTP session unit 44 receives the first received packet among the plurality of received packets having the same pair of source address and destination address, the RTP session Is newly created (S13). At this time, the RTP session unit 44 generates information about the RTP session and stores it in the storage device 103 or the memory 104 (see FIG. 2), which is an example of the storage unit. Information about the RTP session includes, for example, the source address and destination address, as well as the generation time, the final sequence number of the received packet (seq #), the synchronous source (SSRC) identifier of the first received packet, and the continuous counter. Includes a value. 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 or not 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 the threshold value (for example, 3) (S18).

ステップS18での判定がYesであれば、現在のRTPセッションに対応するパケットストリームを録音対象のパケットストリームと判定し、当該パケットストリームに関する情報をRTPストリーム部45へ出力し、通話録音を開始させる(S19)。その後、RTPセッション部44は、現在のRTPセッションを解放し(S20)、処理を終了する。 If the determination in step S18 is Yes, the packet stream corresponding to the current RTP session is determined to be the packet stream to be recorded, information about the packet stream is output to the RTP stream unit 45, and call recording is started ( S19). After that, 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 certain 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, when the determination in step S21 is Yes, the RTP packet below the threshold value is received but does not continue, so the RTP session is released (S20) and the process is terminated.

<通話録音手順>
ここで、第1内線網5(図2参照)の局内電話端末23aと、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合を例に挙げて説明する。
<Call recording procedure>
Here, an example is a case where a call is recorded between the in-station 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. It will be explained by listing in.

図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 device according to the first embodiment. As shown in FIG. 7, first, when the in-station telephone terminal 23a performs the operation of calling the external telephone terminal 11 (S101), the INVITE request for calling the external telephone terminal 11 is sent to the SIP server 22 of the first extension network 5. It is transmitted to (see FIG. 2) (S102). In FIG. 7, “INVITE W / A” indicates that the call control packet constituting the INVITE request includes the IP address (A) of the station telephone terminal 23a. The SIP server 22 transfers the INVITE request received from the in-station telephone terminal 23a to the external telephone terminal 11 (S103). In the call recording device 7, the packet capture unit 41 takes in the call control packet constituting the INVITE request from the mirror ports 21a and 21a'of the switching hubs 21 and 21'in FIG. 1, and outputs the call control packet to the reception packet distribution unit 42. The reception 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 in-station telephone terminal 23a as the calling side 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 handset is picked up as a response process in response to the INVITE request on the external telephone terminal 11 (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 call control packet constituting the 200 OK response includes the IP address (B) of the external telephone terminal 11.

通話録音装置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 takes in the call control packet constituting the 200 OK response from the mirror ports 21a and 21a'of the switching hubs 21 and 21'in FIG. 1 and outputs the call control packet to the received packet distribution unit 42. The reception 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 incoming call side address (S107). The SIP server 22 transfers the 200 OK response received from the external telephone terminal 11 to the in-station 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)であることを示している。 A call is started between the in-station telephone terminal 23a and the external telephone terminal 11 using the IP addresses (A) and (B) of the other party exchanged with each other (S109). That is, the in-station telephone terminal 23a converts the voice of the speaker into voice data, 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 destination address, and sends the voice data ( S110). This is called a downlink 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, further converts the voice data into an RTP packet in which the IP address (A) of the in-station telephone terminal 23a is set as the destination address, and sends the voice data ( 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 records the call. That is, in the call recording device 7, first, the packet capture unit 41 outputs the received packet received from the mirror ports 21a, 21a'of the switching hubs 21 and 21'in FIG. 1 to the received packet distribution unit 42.

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

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

音声ファイル生成部48は、音声キュー46から音声データを順次音声データに変換し、録音チャネル管理部47が用意した録音チャネルに音声ファイルの形式で出力する。出力された音声ファイルは、音声ファイル送信部49が音声サーバ9に送信する。 The audio file generation unit 48 sequentially converts audio data from the audio queue 46 into audio data, and outputs the audio data in the form of an audio file to the recording channel prepared by the recording channel management unit 47. The output audio file is transmitted by the audio file transmission unit 49 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 in-station telephone terminal 23a (S116). Upon receiving the BYE request, the in-station 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 takes in the call control packet constituting the 200 OK response from the mirror ports 21a and 21a'of the switching hubs 21 and 21'in FIG. 1, and outputs the call control packet to the reception packet distribution unit 42. The reception packet distribution unit 42 outputs a call control packet to the SIP session unit 43. The SIP server 22 transfers the 200 OK response received from the in-station 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 recording can be terminated when the call between the in-station telephone terminal 23a and the external telephone terminal 11 is terminated (S120).

次に、第2内線網6(図2参照)の局内電話端末23a’と、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合について説明する。図8は、第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。図8中、図7と同じ手順については、同一の符号を付し、説明を省略する。 Next, the case of recording a call between the in-station 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. explain. FIG. 8 is a sequence diagram showing a call recording procedure in the call recording device according to the first embodiment. In FIG. 8, the same procedure as in FIG. 7 is designated by the same reference numerals and the description thereof will be omitted.

S101〜S109で示す通話開始までの手順は、基本的には、図7を参照して説明したのと同様に、SIPサーバ22’の制御の下で、局内電話端末23a’と外部電話端末11との間で呼制御情報が交換され、通話が開始される。 The procedure from S101 to S109 to the start of the call is basically the same as described with reference to FIG. 7, under the control of the SIP server 22', the in-station telephone terminal 23a'and the external telephone terminal 11 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 an INVITE request and a 200 OK response call control packet that cannot be analyzed by the SIP session unit 43 of the call recording device 7, the IP address (A) of the in-station 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 the information regarding the packet stream to be recorded does not exist 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 received packet distribution unit 42 receives the received packets constituting the downlink packet stream (S110) and the uplink packet stream (S111) (see FIG. 8), it is known in step S4 described with reference to FIG. Since it is not a packet stream to be recorded, it is determined as No, the process proceeds to step S6, and the stream is output to the RTP session unit 44. As a result, the RTP session unit 44 executes the RTP session processing 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 RTP packets constituting both the upstream and downstream packet streams shown in FIG. 8. 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. 6 to become 1. Similarly, when the 2nd to 4th RTP packets are received, the continuous counter value is incremented by 1 in step S17 in FIG. 6 and counted up to 2, 3, and 4. When the fourth RTP packet is received, the continuous counter value becomes 4, and the threshold value 3 is exceeded. Therefore, the determination in step S18 in FIG. 6 becomes Yes, and recording is started (S19 in FIG. 6).

このような結果、RTPセッション部44が、図6に示すステップS11〜S18の処理を行い、送信元アドレス及び送信先アドレスをRTPストリーム部45に出力し、録音を開始させることが可能になる。 As a result, the RTP session unit 44 can perform the processes of steps S11 to S18 shown in FIG. 6, output the source address and the destination address to the RTP stream unit 45, and 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 cannot analyze the call control packet of the 200 OK response, determine the end of the call, and end the recording. Therefore, 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 after a certain period of time has passed since the latest RTP packet was input from the received packet distribution unit 42. Then, the recording is finished (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 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 received packet to the RTP stream unit 45. The RTP stream unit 45 collects the received packet as an RTP packet and inputs it 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 about 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 about 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 the subsequent received packets to the RTP stream unit 45. The RTP stream unit 45 collects the received packet as an RTP packet and inputs it 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. It is possible to suppress the occurrence of omissions and comprehensively record calls.

特に、第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 SIP session unit 43 analyzes the call control packet transmitted by the SIP server 22 for the first extension network 5, and the call control information can be used. Therefore, it is possible to grasp the start and end timings of the call and record the call with high accuracy. In addition, additional information such as a 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 records a call based on the call control information, and utilizes the call control information to perform high-precision and high-value-added call recording. When call control information is not available, autonomous recording can be performed to achieve comprehensive call recording.

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

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

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

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

(E)第2内線網6でRTPパケットだけを送信するシステムも存在する。第1の実施の形態に係る通話録音装置7によれば、このようなケースでも、RTPセッション処理(図6参照)により、RTPパケットを解析し、録音対象のパケットストリームを識別し、通話の録音を行うことができる。 (E) There is also a system that transmits only RTP packets on the second extension network 6. According to the call recording device 7 according to the first embodiment, even in such a case, the RTP session processing (see FIG. 6) analyzes the RTP packet, identifies the packet stream to be recorded, and records the call. 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 that records a voice call in a VoIP environment will be described. In the following description, a call recording device will be illustrated as an information recording control device. The second embodiment differs from the first embodiment in that the call recording device 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. 10 to 15, the same configurations as those used in the first embodiment are designated by the same reference numerals as those used in FIGS. 1 to 9, and the 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 view showing the overall configuration of a call recording system including the call recording device according to the second embodiment. As shown in FIG. 10, the call recording system 1'provides a first extension network 5'and a second extension network 6'operated by the PBX, and a call recording device 7'providing a function of linking with the PBX. There is. 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 view 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, the PBX 51 is provided. The PBX51 is a server that manages and controls the IP telephone service, manages user identification information such as a telephone number and correspondence data of the location on the network such as an IP address, and makes a call between the caller and the callee. Mediate call information. In the present embodiment, PBXs 51 and 51'use SIP for call control, but are not particularly limited. The in-station telephone terminals 23a to 23c are configured to enable a call on an outside line and an 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 network with the PBX cooperation unit 61 of the call recording device 7'described later.

第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', PBX51', and in-station telephone terminals 23a' to 23c', and the switching hub 21, PBX51, in the station 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 PBX51 of the first extension network 5'can cooperate with the call recording device 7', but the PBX51'of the second extension network 6' , It is impossible to cooperate with the call recording device 7'.

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

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

<通話録音装置>
図12は、第2の実施の形態に係る通話録音装置を示す機能ブロック図である。図12に示す通り、通話録音装置7’は、本発明の第1セッション処理部の一例として、図4に示すSIPセッション部43に代えてPBX連携部61を備えている点で相違している。
<Call recording device>
FIG. 12 is a functional block diagram showing a call recording device 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), controls the network control unit 102, and is configured to be able to communicate with the PBXs 51 and 51'via the network. The PBX cooperation unit 61 associates the extension numbers of the in-station telephone terminals 23a to 23c and 23a'to 23c'and the external line numbers of the external telephone terminals 11 with the IP address of each terminal, and serves as a terminal setting file as an example of the storage unit. It is held in a certain storage device 103 or memory 104.

また、PBX連携部61は、PBX51、51’から呼制御情報を受信し、例えば、呼制御情報に含まれるパケットストリームに関する情報である発呼側アドレス及び着呼側アドレスをRTPストリーム部45へ出力し、RTPストリームマップに登録させる。 Further, the PBX cooperation unit 61 receives the call control information from the PBXs 51 and 51', and outputs, for example, the calling side address and the called side address, which are information about the packet stream included in the call control information, to the RTP stream unit 45. Then, 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, the processing in the received packet distribution unit 42'will be described. FIG. 13 is a flowchart showing processing in the received packet distribution unit in the call recording device according to the second embodiment. As shown in FIG. 13, the received packet distribution unit 42'first determines whether or not a packet has been received (S21). When the packet is received, the received packet distribution unit 42'determines whether or not the packet is an RTP packet constituting a known packet stream to be recorded (S22). In this determination, for example, information about the packet stream to be recorded registered in the RTP stream map held by the RTP stream unit 45 using the source address (srcaddr) and the destination address (dsdaddr) included in the RTP packet as keys is used. The search is performed based on whether or not the information already exists. If the determination is Yes in step S22, 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 outputting the received packet 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 the same as the call recording device 7 described with reference to FIG. 4 in other configurations.

<通話録音手順>
ここで、第1内線網5(図10参照)の局内電話端末23aと、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合を例に挙げて説明する。
<Call recording procedure>
Here, an example is a case where a call is recorded between the in-station 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. It will be explained by listing in.

図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 device according to the second embodiment. As shown in FIG. 14, first, when the in-station telephone terminal 23a performs the operation of calling the external telephone terminal 11 (S101), the INVITE request for calling the external telephone terminal 11 is the PBX51 of the first extension network 5'(S101). (See FIG. 11) (S102). The PBX 51 forwards the INVITE request received from the in-station telephone terminal 23a to the external telephone terminal 11 (S103).

外部電話端末11で、INVITEリクエストに対応して応答処理として受話器が上げられると(S105)、200 OKレスポンス(図14中、200/INVITEと記す)をPBX51へ送信する(S106)。 When the handset is picked up as a response process in response to the INVITE request on the external telephone terminal 11 (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 of the in-station telephone terminal 23a (for example, 2001) is used as the telephone number of the calling terminal, and the external number of the external telephone terminal 11 is used as the telephone number of the calling terminal. Call control information including (for example, 03-1234-5678) is transmitted to the PBX cooperation 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 in-station 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-station telephone terminal 23a included in the call control information as the calling side address. Further, the PBX cooperation unit 61 refers to the terminal setting file and acquires the IP address (B) corresponding to the outside line number of the external telephone terminal 11 included in the call control information as the incoming call side address.

局内電話端末23a及び外部電話端末11の間では、相互に交換した相手側のIPアドレス(A)、(B)を用いて通話を開始する(S109)。すなわち、局内電話端末23aでは、話し手の音声を音声データに変換し、さらに、音声データを、外部電話端末11のIPアドレス(B)を送信先アドレスに設定したRTPパケットに変換し、送出する(S110)。これを、下りパケットストリームと呼ぶ。一方、外部電話端末11では、話し手の音声を音声データに変換し、さらに、音声データを、局内電話端末23aのIPアドレス(A)を送信先アドレスに設定したRTPパケットに変換し、送出する(S111)。これを、上りパケットストリームと呼ぶ。 A call is started between the in-station telephone terminal 23a and the external telephone terminal 11 using the IP addresses (A) and (B) of the other party exchanged with each other (S109). That is, the in-station telephone terminal 23a converts the voice of the speaker into voice data, 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 destination address, and sends the voice data ( S110). This is called a downlink packet stream. On the other hand, the external telephone terminal 11 converts the voice of the speaker into voice data, further converts the voice data into an RTP packet in which the IP address (A) of the in-station telephone terminal 23a is set as the destination address, and sends the voice data ( 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 records the call. That is, in the call recording device 7', the packet capture unit 41 first outputs the received packets received from the mirror ports 21a and 21a'of the switching hubs 21 and 21' in FIG. 10 to the received packet distribution unit 42'.

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

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

音声ファイル生成部48は、音声キュー46から音声データを順次音声データに変換し、録音チャネル管理部47が用意した録音チャネルに音声ファイルの形式で出力する。出力された音声ファイルは、音声ファイル送信部49が音声サーバ9に送信する。 The audio file generation unit 48 sequentially converts audio data from the audio queue 46 into audio data, and outputs the audio data in the form of an audio file to the recording channel prepared by the recording channel management unit 47. The output audio file is transmitted by the audio file transmission unit 49 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 forwards the BYE request received from the external telephone terminal 11 to the in-station telephone terminal 23a (S116). Upon receiving the BYE request, the in-station 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-station telephone terminal 23a to the external telephone terminal 11 (S118). Further, the PBX 51 transmits call control information indicating that the call between the extension number 2001 and the outside line number 03-1234-5678 has been completed 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 recording can be terminated when the call between the in-station telephone terminal 23a and the external telephone terminal 11 is terminated (S120).

次に、第2内線網6’(図11参照)の局内電話端末23a’と、光通信ネットワーク2に接続されたノードの1つである外部電話端末11との間での通話を録音する場合について説明する。図15は、第1の実施の形態に係る通話録音装置での通話録音手順を示すシーケンス図である。図15中、図14と同じ手順については、同一の符号を付し、説明を省略する。 Next, when recording a call between the in-station 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 device according to the first embodiment. In FIG. 15, the same procedure as in FIG. 14 is designated by the same reference numerals and the description thereof will be 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, under the control of the PBX51', the station telephone terminal 23a. 'And the external telephone terminal 11 exchanges call control information, 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 cooperation unit 61 of the call recording device 7', the IP address (A) of the in-station telephone terminal 23a'and the IP address (B) of the external telephone terminal 11 are used. Cannot be obtained. As a result, the RTP stream unit 45 is in a state where the information regarding the packet stream to be recorded does not exist 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 downlink packet stream (S110) and the uplink packet stream (S111) (see FIG. 15), it is known in step S22 described with reference to FIG. Since it is not the packet stream to be recorded, it is determined that No, the process proceeds to step S24, and the stream is output to the RTP session unit 44. As a result, the RTP session unit 44 executes the RTP session processing 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 can perform the processes of steps S11 to S18 shown in FIG. 6, output the source address and the destination address to the RTP stream unit 45, and start recording.

一方、通話録音装置7’のPBX連携部61は、通話終了の呼制御情報302を受信して通話の終了を判定し、録音を終了させることができない。このため、RTPストリーム部45は、例えば、最新のRTPパケットが受信パケット分配部42’から入力されてから一定時間経過しても次のRTPパケットが入力されないことを判定条件として、通話の終了を推定し、録音を終了する(S313)。 On the other hand, the PBX cooperation unit 61 of the call recording device 7'is unable to receive the call control information 302 for the end of the call, determine the end of the call, and end the recording. Therefore, for example, the RTP stream unit 45 terminates the call on the condition that the next RTP packet is not input even after a certain period of time has passed since the latest RTP packet was input from the received packet distribution unit 42'. Estimate and end recording (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 cooperation unit 61 records a packet stream to be recorded based on the call control information transmitted by the PBX 51 of the first extension network 5'. Information about the above 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 received packet to the RTP stream unit 45. The RTP stream unit 45 collects the received packet as an RTP packet and inputs it 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 cooperation unit 61. In this case, since the information about 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. Then, it is 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 about 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 the subsequent received packets to the RTP stream unit 45. The RTP stream unit 45 collects the received packet as an RTP packet and inputs it 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'. Therefore, it is possible to suppress the occurrence of omissions and comprehensively record calls.

特に、第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 packet transmitted by the PBX 51 is received by the PBX cooperation unit 61 for the first extension network 5', and the call control information can be used. Therefore, it is possible to grasp the start and end timings of the call and record the call with high accuracy. In addition, additional information such as a call start time, end time, and departure / arrival 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 utilizes the call control information to perform high-precision and high-value-added call recording. , When call control information is not available, autonomous recording can be performed to achieve 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 second embodiment described above, the case where the call recording device 7'is provided with 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 composed of a server 100 (see FIG. 3) provided with a central control unit 101 is provided separately from the call recording device 7', and call control information transmitted from the PBX 51, 51'is used as the PBX cooperation device. The PBX cooperation device may be configured to execute the same processing as the above-mentioned PBX cooperation unit 61 and transmit the processing result to the call recording device 7'. In this case, in the call recording device 7', among the processes of the PBX cooperation unit 61 described above, the calling side address and the called side address, which are information about the packet stream included in the call control information from the PBXs 51 and 51', are transferred to the RTP stream. The processing unit that performs the processing of outputting to the unit 45 and registering it in the RTP stream map and interlocking with the PBX interlocking device exists as the first session processing unit of the present invention.

以上、本発明について詳細に説明したが、当業者にとっては、本発明が本明細書中に説明した実施の形態に限定されるものではないということは明らかである。本発明は、特許請求の範囲の記載により定まる本発明の趣旨及び範囲を逸脱することなく修正及び変更態様として実施することができる。したがって、本明細書の記載は、例示説明を目的とするものであり、本発明に対して何ら制限的な意味を有するものではない。 Although the present invention has been described in detail above, it is clear to those skilled in the art that the present invention is not limited to the embodiments described in the present specification. The present invention can be implemented as modifications and modifications without departing from the spirit and scope of the present invention as defined by the claims. Therefore, the description of the present specification is for the purpose of exemplification 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 received packet distribution units 42 and 42'(see FIGS. 4 and 12) are provided, and the RTP packet constituting the packet stream of the known recording target is sent to the RTP session unit 44 of the unknown recording target. The remaining received packets including the RTP packets constituting the packet stream are selectively output to the RTP session unit 44, and each unit is made to process the received packet. However, for example, the received packet is copied and input to both the RTP session section 44 and the RTP stream section 45, and the RTP session section 44 refers to the RTP stream map of the RTP stream section 45 and is known as a packet stream to be recorded. RTP packets constituting the above may be identified and discarded, RTP session processing (see FIG. 6) may not be performed, and RTP session processing (see FIG. 6) may be performed on other received packets. Similarly, the RTP stream unit 45 refers to the RTP stream map, identifies and discards received packets other than the RTP packets constituting the known recording target packet stream, and constitutes the known recording target packet stream. You may want to process the packet.

上述の実施の形態において、呼制御情報に対応しないパケットストリームを録音対象とする場合、付加情報を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 the call control information is to be recorded, additional information cannot be acquired from the SIP servers 22 and 22'(see FIG. 2) and PBX 51 and 51'(see FIG. 11). In the call recording devices 7 and 7'or the voice server 9 (see FIGS. 1 and 10), the central control unit 101 of the server 100 constituting these is connected to the in-station telephone terminals 23a to 23c and 23a'to 23c'(FIG. 2, FIG. Storage that is a storage unit in the form of a terminal setting file by associating the IP address of each node of the external telephone terminal 11 (see FIGS. 1 and 10) with the telephone number (external line number or extension number). It is stored in the device 103 or the memory 104. When the RTP session unit 44 determines that an 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 composes the unknown packet stream, and the source address and destination address are used. The telephone numbers corresponding to the matching IP addresses can be specified as the telephone numbers of the calling side and the called side. 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 systems 1 and 1'according to the above-described embodiment, an illegal call such as using the security holes of the SIP servers 22 and 22'or the PBX 51 and 51'may be performed. In the call recording devices 7 and 7'according to the present embodiment, even in the packet stream of such an illegal call, the RTP session unit 44 autonomously detects and records the call as a recording target without using the call control information. 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 systems 1 and 1'according to the above-described embodiment, a call that remains connected may occur due to a malfunction of the SIP servers 22, 22'or PBX 51, 51'. In the call recording devices 7 and 7'according to the present embodiment, the RTP session constituting the packet stream transmitted and received by the continuously connected call is autonomously recorded by the RTP session unit 44 without using the call control information. Since it can be detected and a record can be recorded, it is possible to reduce wasteful resource use of the network and the server 100 (see FIG. 3) due to continuous calls.

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

また、上述の実施の形態では、2つの内線網での通話を録音する通話録音装置7、7’について説明したが、3つ以上の内線網での通話を録音する場合にも本発明を適用することができる。 Further, in the above-described embodiment, the call recording devices 7 and 7'for recording a call on two extension networks have been described, but the present invention is also applied when recording a call 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をそれぞれ異なるプロセッサで実現してもよい。 Further, in the above-described first embodiment, 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. Although the case where both the 44 and the RTP stream unit 45 which is the packet stream processing unit are realized has been described as an example, the SIP session unit 43, the RTP session unit 44, and the RTP stream unit 45 may be realized by different processors. Good.

同様に、上述の第2の実施の形態において、PBX連携部61、RTPセッション部44及びRTPストリーム部45をそれぞれ異なるプロセッサで実現してもよい。 Similarly, in the second embodiment described above, 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 herein and / or the terms necessary for understanding the present specification may be replaced with terms having the same or similar meanings.

本明細書で説明した情報、信号などは、様々な異なる技術のいずれかを使用して表されてもよい。例えば、上記の説明全体に渡って言及され得るデータ、命令、コマンド、情報、信号、ビット、シンボル、チップなどは、電圧、電流、電磁波、磁界若しくは磁性粒子、光場若しくは光子、又はこれらの任意の組み合わせによって表されてもよい。 The information, signals, etc. described herein may be represented using any of a variety of different techniques. For example, data, instructions, 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. It may be represented by a combination of.

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

本明細書で説明した各態様/実施形態の処理手順、シーケンス、フローチャートなどは、矛盾の無い限り、順序を入れ替えてもよい。例えば、本明細書で説明した方法については、例示的な順序で様々なステップの要素を提示しており、提示した特定の順序に限定されない。 The order of the processing procedures, sequences, flowcharts, and the like of each aspect / embodiment described in the present specification may be changed as long as there is no contradiction. For example, the methods described herein present elements of various steps in an exemplary order, and are not limited to the particular 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連携部
1, 1'Call recording system 2 Optical communication network 5, 5'First extension network 6, 6'Second extension network 7, 7'Call recording device 9 Voice server 10 Personal computer (PC)
11 External telephone terminals 21, 21'Gateways 22, 22' SIP servers 23a to 23c, 23a' to 23c' Internal telephone terminals 41 Packet capture unit 42, 42'Received packet distribution unit 43 SIP session unit 44 RTP session unit 45 RTP stream Part 46 Voice Queue 47 Recording Channel Management Unit 48 Voice File Generation Unit 49 Voice File Transmission Unit 61 PBX Linkage Unit

Claims (8)

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

Family Cites Families (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
JP5957249B2 (en) * 2012-03-08 2016-07-27 株式会社日立情報通信エンジニアリング Call 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
JP2018022954A (en) 2018-02-08

Similar Documents

Publication Publication Date Title
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
CN101309277A (en) SIP terminal, method and system for reporting status thereof, and method and device for processing the reported status
US8228898B2 (en) Method and system for distributed call recording
US8331382B2 (en) Media conversion device for interconnecting communication terminal devices with media converted and a method therefor
CN110493022B (en) A method, device and system for establishing a three-party session
US20100064182A1 (en) Communication system
JP6663258B2 (en) Information recording control device and information recording control method
JP6780978B2 (en) Information record control device and information record control method
JP2004362562A (en) Method for sending multiple ephemeral terminations in a single service change message
US7764600B1 (en) Providing an alternative service application to obtain a communication service when the current service application is inhibited
US20070206745A1 (en) Communication system and transfer control method together with telphone device, communication device, and program used for same
JP2005020676A (en) Telephone communication method and apparatus
CN108833434B (en) Method for realizing cross-network video call system based on IP bidirectional network set top box
JP4372629B2 (en) SIP communication control apparatus for performing FW control and FW control method thereof
JP2011071853A (en) Ip telephone system, communication content recorder and communication method
US20160359765A1 (en) Playout buffering of encapsulated media
JP2008060785A (en) Ip telephone communication recording system
CN106302363A (en) The management method of media cascade and device
JP3831636B2 (en) Call transfer method in VoIP telephone system, telephone terminal for VoIP telephone system, and intra-group exchange management apparatus
JP2010021744A (en) Ip telephone system, on-premise call control server, ip telephone terminal, and communication method
US20070223447A1 (en) Gateway device and control method thereof
JP6340972B2 (en) Communication billing system and communication billing method
JP2007036813A (en) Monitoring system and method for communication signal in ip network and sip server and monitor apparatus used the same
JP6119220B2 (en) Media communication apparatus and media communication system

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