JP3874641B2 - Relay device, its control program, and communication method - Google Patents

Relay device, its control program, and communication method Download PDF

Info

Publication number
JP3874641B2
JP3874641B2 JP2001316440A JP2001316440A JP3874641B2 JP 3874641 B2 JP3874641 B2 JP 3874641B2 JP 2001316440 A JP2001316440 A JP 2001316440A JP 2001316440 A JP2001316440 A JP 2001316440A JP 3874641 B2 JP3874641 B2 JP 3874641B2
Authority
JP
Japan
Prior art keywords
communication
rtp
control
relay device
received
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.)
Expired - Fee Related
Application number
JP2001316440A
Other languages
Japanese (ja)
Other versions
JP2003124967A (en
JP2003124967A5 (en
Inventor
功 船場
信行 遠藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Communication Technologies Ltd
Original Assignee
Hitachi Communication Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Communication Technologies Ltd filed Critical Hitachi Communication Technologies Ltd
Priority to JP2001316440A priority Critical patent/JP3874641B2/en
Publication of JP2003124967A publication Critical patent/JP2003124967A/en
Publication of JP2003124967A5 publication Critical patent/JP2003124967A5/ja
Application granted granted Critical
Publication of JP3874641B2 publication Critical patent/JP3874641B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Telephonic Communication Services (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、呼制御及びRTP(Real−time Transport Protocol)制御を行う中継装置、その制御プログラム、通信方法に関する。
【0002】
【従来の技術】
TTC標準のH.323規格に準拠した中継装置では、図4に示すように、RTP通信中に、この中継装置に接続されている電話機からオンフック信号を受信すると、通信先の中継装置に対してリリースコンプリート・メッセージを送信する。この通信先の中継装置は、このリリースコンプリート・メッセージを受信すると、これに接続されている電話機等にビジートーン信号を出力する。
【0003】
【発明が解決しようとする課題】
しかしながら、従来技術では、呼接続中に、通信先側の中継装置やネットワーク機器等が電源オフ等の障害が発生した場合、前述したように、通話者操作によるオンフックにて切断しない限り、無通信となり、呼の持ち切り状態が続いてしまうという問題点がある。
【0004】
本発明は、このような従来の問題点に着目し、呼接続中に、通信先側の中継装置やネットワーク機器等が電源オフ等の障害が発生した場合でも、呼の持ち切りを回避することができる中継装置、その制御プログラム、通信方法を提供することを目的とする。
【0005】
【課題を解決するための手段】
前記目的を達成するための中継装置は、
呼制御及びRTP(Real−time Transport Protocol)制御を行う中継装置において、
前記RTP制御による通信中に、予め定められた時間以上、RTPパケットを受信できていない状態か否かを検出する受信状況検出手段と、
前記受信状況検出手段が前記RTPパケットを前記予め定められた時間以上受信できていない状態であることを検出すると、相手装置との通信切断処理を実行する通信切断処理手段と、
相手装置と通信を行う際の前記呼制御のプロトコルによるメッセージを調べて、前記RTP制御による通信が無音圧縮処理を施されたものであるか否かを検出する無音圧縮処理検出手段と、を備え、
前記通信切断処理手段は、前記受信状況検出手段により、前記RTPパケットを前記予め定められた時間以上受信できていない状態であることが検出されても、前記無音圧縮処理検出手段にて無音圧縮処理が施されたものであると検出した際には、前記相手装置との通信切断処理を実行しない、ことを特徴とするものである。
【0006】
ここで、前記中継装置による前記通信切断処理では、通信元側にビジートーン信号を出力してもよいし、通信先側に対して、リリースコンプリート・メッセージを出力してもよい。
【0007】
また、前記前記予め定められた時間は、前記RTPパケットの最大多重処理時間を超える時間にしてもよい。また、前記RTP制御による通信開始時に該通信における前記RTPパケットの多重処理時間を認識する多重処理時間認識手段と、該多重処理時間認識手段で認識された多重処理時間に応じて、前記予め定められた時間を定める判断時間設定手段を設けてもよい。
【0009】
ここで、以上の各中継装置を電話機に組み込んでもよい。
【0010】
また、前記目的を達成するための中継装置の制御プログラムは、
呼制御及びRTP(Real−time Transport Protocol)制御を行う中継装置の制御プログラムにおいて、
相手装置と通信を行う際の前記呼制御のプロトコルによるメッセージを調べて、前記RTP制御による通信が無音圧縮処理を施されたものであるか否かを検出する無音圧縮処理検出ステップと、
前記RTP制御による通信中に、予め定められた時間以上、RTPパケットを受信できていない状態か否かを検出する受信状況検出ステップと、
前記受信状況検出ステップで前記RTPパケットを前記予め定められた時間以上受信できていない状態であることを検出した場合であって、前記無音圧縮処理検出ステップにて前記RTP制御による通信が無音圧縮処理を施されたものでないと検出した際に、通信切断処理を実行する通信切断処理ステップと、
演算処理装置に実行させることを特徴とするものである。
【0011】
また、前記目的を達成するための通信方法は、
呼制御及びRTP(Real−time Transport Protocol)制御を行う通信方法において、
相手装置と通信を行う際の前記呼制御のプロトコルによるメッセージを調べて、前記RTP制御による通信が無音圧縮処理を施されたものであるか否かを検出する無音圧縮処理検出ステップと、
前記RTP制御による通信中に、予め定められた時間以上、RTPパケットを受信できていない状態か否かを検出する受信状況検出ステップと、
前記受信状況検出ステップで前記RTPパケットを前記予め定められた時間以上受信できていない状態であることを検出した場合であって、前記無音圧縮処理検出ステップにて前記RTP制御による通信が無音圧縮処理を施されたものでないと検出した際に、通信切断処理を実行する通信切断処理ステップと、
を有することを特徴とするものである。
【0012】
【発明の実施の形態】
以下、本発明に係る通信システムの一実施形態について、図面を用いて説明する。
【0013】
本実施形態における通信システムは、図1及び図2に示すように、LAN回線2に接続されている中継装置10と、この中継装置10に接続されている電話機1と、を備えている。
【0014】
中継装置10は、FXSインタフェース12とイーサネット(米国ゼロックス社の登録商標)インタフェース11とを有している。FXSインタフェース12には、VoIP(Voice over Internet Protocol)ゲートウェイが搭載され、ここに電話機1が接続されている。また、イーサネットインタフェース11には、前述したLAN回線2が接続されている。このLAN回線2の先には、ネットワーク機器等を介して、通信先側の中継装置10及び電話機1が接続されている。ネットワーク機器は、基本的にルータで、その先にWAN(wide Area Network)を接続してもよいが、この実施形態では、説明の簡略化のために、HUB3が接続されているものとする。
【0015】
この中継装置10は、図2に示すように、通信先側であるLAN回線2と接続される前述のイーサネットインタフェース11と、通信元側である電話機1と接続される前述のFXSインタフェース12と、イーサネットインタフェース11に入力した受信データを一時的に溜めておく受信バッファ13と、各種制御プログラムや各種データ等を記憶しておくデータメモリ14と、データメモリ14に記憶されているプログラムに従って動作するCPU15と、受信データのデコード処理等のディジタル信号処理を行うDSP(Digital Signal Processor)16と、を備えている。なお、図2では、太い実線矢印で受信データの流れを示している。
【0016】
データメモリ14に記憶されている制御プログラム14aとしては、TTC標準のH.323規格に準拠した、呼制御プロトコルであるH.255Q931と、能力情報交換プロトコルであるH.245と、RTPと、本発明の特徴部分である自立切断プログラム等が搭載されている。この他、ゲートキーパと端末との制御プログラムであるH.225RASを搭載し、ゲートキーパを設けてもよい。また、DSP16には、音声コーデックとしてG.729が搭載されている。
【0017】
また、データメモリ14に記憶されている構成情報設定データ14bとしては、LAN回線のIPアドレス、サブネットマスク、後述する無通信タイムアウト時間(判断時間)等がある。
【0018】
なお、本実施形態において、受信状況検出手段は、無通信タイムアウト時間及び制御プログラムが記憶されているデータメモリ14、及び制御プログラムを実行するCPU15を有して構成される。また、通信切断処理手段、データメモリ14、CPU15、さらに、CPU15からの指示でビジートーン信号を出力するDSP16を有して構成される。
【0019】
次に、呼制御プロトコルであるH.255Q931による発信接続時のシーケンスについて、図3を用いて説明する。なお、同図中、向かって左側が発信側を示し、向かって右側が着信側を示している。
【0020】
発信側の電話機から発信側の中継装置がダイヤルを受信すると、このダイヤルに対応したIPアドレスを調べて、このIPアドレスが設定されている着信側の中継装置へセットアップ・メッセージを送信する。
【0021】
着信側の中継装置は、セットアップ・メッセージを受信すると、着信側の電話機に呼び出し信号を出力すると共に、発信側の中継装置へアラート・メッセージを送信する。発信側の中継装置は、アラート・メッセージを受信すると、発信側の電話機に呼待ち信号を出力する。その後、着信側の中継装置が、着信側の電話機からオフフック信号を受信すると、発信側の中継装置へコネクト・メッセージを送信する。この結果、メディアチャンネルがオープンされ、中継装置相互間のRTP通信が確立し、電話機相互間での通話が可能になる。なお、ここでは、メディアチャンネルのオープンをコネクト・メッセージの受信で行っているが、アラート・メッセージの受信で行うようにしてもよい。また、着信側の中継装置は、セットアップ・メッセージを受信すると、アラート・メッセージを送信する前に、コールプロシーディング・メッセージを送信するようにしてもよい。
【0022】
次に、H.255Q931による切断時のシーケンスについて、図4を用いて説明する。
【0023】
従来技術で説明したように、RTP通信中に、例えば、発信側の中継装置が電話機からオンフック信号を受信すると、着信側の中継装置に対してリリースコンプリート・メッセージを送信する。着信側の中継装置は、このリリースコンプリート・メッセージを受信すると、これに接続されている電話機にビジートーン信号を出力する。その後、着信側の電話機からオンフック信号を受信すると、発信側の中継装置へリリースコンプリート・メッセージを返す。
【0024】
次に、図2を用いて、呼接続完了後の音声データの受信処理について説明する。
【0025】
イーサネットインタフェース11が音声データを受信すると、これを受信バッファ13の受信パケットデータバッファ13aに順次溜める。この音声データは、レイヤ2のデータとしてイーサネットのフレームとして読み込まれたデータであるが、制御プログラムを実行するCPUにより、IP(Internet Protocol),UDP(User Datagram Protocol),RTPパケットのレイヤまで解析される。なお、ここでは、音声データにUDPを用い、その上でRTPにより音声通信を実現している。CPU15は、音声データからRTPパケットを解析すると、このRTPパケットを揺らぎ吸収バッファ13bに溜める。この揺らぎ吸収バッファ13bは、指定量のRTPパケットを一時的に溜めて再生するFIFOバッファであり、ネットワークからの揺らぎを吸収するためのものである。この揺らぎ吸収バッファ13bに一時的に溜められたRPTパケットは、一定周期(10ms)毎にDSP16に取り込まれ、ここで、G.729コーデックのデコード処理が施され、FXSインタフェース12を通じてアナログ音声に再生されて、電話機1で音声を聞き取れるようになる。
【0026】
次に、図5に示すフローチャートに従って、自立切断プログラムによるCPU15の動作について説明する。
【0027】
CPU15は、まず、能力情報等が含まれているセットアップ・メッセージ中に、音声圧縮処理の有情報が含まれているか否かを調べ、無音声圧縮処理の有情報が含まれていれば、無音声圧縮処理の有無フラグを1にする(ステップ1)。次に、RTP通信が開始されたことを確認すると(ステップ2)、無通信タイマを0にリセットしてから時間計測を開始し(ステップ3)、RTPパケットを受信したか否かを調べる(ステップ4)。RTPパケットを受信していれば再び無通信タイマをリセットし(ステップ5)、前述した制御プログラムによるRTPパケットの受信処理を実行させ(ステップ6)、ステップ4に戻る。
【0028】
ステップ4で、RTPパケットを受信していないことが分かると、無通信タイマで計測した時間がデータメモリ14に記憶されている無通信タイムアウト時間(判断時間)以上になっているか否かを判断し(ステップ7)、無通信タイムアウト時間以上になっていれば、無音声圧縮処理の有無をフラグで調べて(ステップ8)、このフラグが0、つまり、受信データに対して無音声圧縮処理が施されていないと判断すると、ネットワーク機器等に障害が生じたものとして、切断処理を実行し、電話機1に対してDSP16からビジートーン信号を出力させる(ステップ9)。通話者は、電話機1からビジートーンを聞くと、通信が切断されたことを認識し、受話器をオンフック状態にする。中継装置10は、図4を用いて前述したように、電話機1からオンフック信号を受信すると、通信相手側の中継装置10にリリースコンプリート・メッセージを送信する。なお、この切断処理では、電話機1に対するビジートーン信号を出力と共に、電話機からのオンフック信号を待たずに通信相手側の中継装置にリースコンプリート・メッセージを送信するようにしてもよい。
【0029】
ステップ8で、無音声圧縮処理の有無フラグが1、つまり、音声データに対して音声圧縮処理が施されていると判断すると、この無通信は無音声状態が続き、この無音声に対して圧縮処理を行っている結果で、ネットワーク機器等の障害によるものではないとして、切断処理を行わなず、ステップ10に進む。
【0030】
ステップ7で、無通信タイマで計測した時間が無通信タイムアウト時間以上になっていないと判断した場合、及び、ステップ8で、無音声圧縮処理の有無フラグが1であると判断した場合、呼接続中が否かを判断し(ステップ10)、呼接続中であればステップ4に戻り、呼接続中でなければ終了する。
【0031】
以上のように、本実施形態では、通信先側の中継装置10やネットワーク機器等が電源オフ等の障害が発生した場合でも、呼接続中、RTPパケットの受信状況を監視し、一定時間以上、RTPパケットを受信できない場合には、自立的に切断を実行しているので、呼の持ち切りを回避することができる。
【0032】
ところで、本実施形態では、無通信タイムアウト時間をRTPパケットの受信間隔の最大時間に基づいて定めている。この最大時間は、IPパケット中にRTPパケットをいくつ多重化するかに関係する。RTPパケットは、10msの音声データで、G.729コーデックでRTPパケットをIPパケットに多重化する場合、図6に示すように、多重数に10msを掛けた時間が多重処理時間となる。現状で、最大多重数は20であることから、最大多重時間は200msとなる。
【0033】
本実施形態では、この最大多重時間200msと、ネットワーク内の揺らぎとを考慮して、無通信タイムアウト時間を5s、またはそれ以上に設定している。
【0034】
なお、ここでは、無通信タイムアウト時間は固定値であるが、RTPパケットの多重処理時間に応じて定めるようにしてもよい。この場合、RTPパケットのヘッダを見て、このヘッダから多重数又は多重処理時間を認識し、この多重処理時間に対して予め定められたルールに従って、無通信タイムアウト時間を定めるようにするとよい。この無通信タイムアウト時間を定めるルールとしては、例えば、多重処理時間が100ms以下の場合には、無通信タイムアウト時間を4sに、多重処理時間が100msを超える場合には、無通信タイムアウト時間を6sに設定する等が考えられる。
【0035】
また、以上の実施形態では、中継装置10に電話機1を直接接続した例であるが、PBX(Private Branch Exchange:構内交換機)や、公衆網等を介して、電話機1を接続してもよい。これらの場合、前述したステップ9の切断処理では、単に、PBXや公衆網との間の切断処理を行うのみで、中継装置から電話機にビジートーン信号を出力しない。これは、PBXや公衆網との間の切断処理が行われると、PBXや公衆網側が電話機に対してビジートーン信号を出力するからである。
【0036】
また、以上の実施形態では、電話機1と中継装置10とは別体であるが、RTP通信が可能な電話機として、電話機内に以上の中継装置を組み込むようにしてもよい。
【0037】
【発明の効果】
本発明によれば、通信先側の中継装置やネットワーク機器等が電源オフ等の障害が発生した場合でも、呼接続中、RTPパケットの受信状況を監視し、一定時間以上、RTPパケットを受信できない場合には、自立的に切断処理を実行しているので、呼の持ち切りを回避することができる。
【図面の簡単な説明】
【図1】本発明に係る一実施形態における通信システムの構成を示す説明図である。
【図2】本発明に係る一実施形態における中継装置の回路ブロック図である。
【図3】呼制御プロトコルであるH.255Q931による発信接続時のシーケンスを示す説明図である。
【図4】呼制御プロトコルであるH.255Q931による切断時のシーケンスを示す説明図である。
【図5】本発明に係る一実施形態における自立切断プログラムによるCPUの動作を示すフローチャートである。
【図6】RTPパケットの多重数と多重処理時間との関係を示す説明図である。
【符号の説明】
1…電話機、2…LAN回線、3…HUB、10…中継装置、11…イーサネットインタフェース、12…FXSインタフェース、13…受信バッファ、14…データメモリ、15…CPU、16…DSP。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a relay device that performs call control and RTP (Real-time Transport Protocol) control, a control program thereof, and a communication method.
[0002]
[Prior art]
The HTC of the TTC standard. As shown in FIG. 4, in a relay device compliant with the H.323 standard, when an on-hook signal is received from a telephone connected to this relay device during RTP communication, a release complete message is sent to the relay device of the communication destination. Send. When receiving the release complete message, the relay device of the communication destination outputs a busy tone signal to a telephone connected to the release complete message.
[0003]
[Problems to be solved by the invention]
However, in the prior art, when a failure such as power-off of the relay device or network device on the communication destination side occurs during call connection, as described above, there is no communication unless it is disconnected by on-hook operation by the caller. Therefore, there is a problem that the state where the call is held out continues.
[0004]
The present invention pays attention to such a conventional problem, and avoids holding up a call even if a failure such as a power-off of a relay device or a network device on the communication destination side occurs during call connection. It is an object of the present invention to provide a relay device that can perform communication, a control program thereof, and a communication method.
[0005]
[Means for Solving the Problems]
The relay device for achieving the object is
In a relay device that performs call control and RTP (Real-time Transport Protocol) control,
A reception status detecting means for detecting whether or not an RTP packet is not received for a predetermined time or more during communication by the RTP control;
When the reception status detection means detects that the RTP packet has not been received for the predetermined time or more, a communication disconnection processing means for executing a communication disconnection process with the counterpart device ;
Silence compression processing detecting means for examining a message based on the call control protocol when communicating with the counterpart device and detecting whether or not the communication based on the RTP control has been silence-compressed. ,
Even if the communication disconnection processing unit detects that the RTP packet has not been received for the predetermined time or longer by the reception status detection unit, the silence compression processing detection unit detects the silence compression processing. When it is detected that the communication is performed, the communication disconnection process with the counterpart device is not executed .
[0006]
Here, in the communication disconnection process by the relay device, a busy tone signal may be output to the communication source side, or a release complete message may be output to the communication destination side.
[0007]
Further, the predetermined time may be a time exceeding a maximum multiplex processing time of the RTP packet. Further, a multiprocessing time recognizing means for recognizing a multiprocessing time of the RTP packet in the communication at the start of communication by the RTP control, and the predetermined multi-processing time recognized by the multiprocessing time recognizing means. Judgment time setting means for setting the time may be provided.
[0009]
Here, each of the above relay devices may be incorporated in the telephone.
[0010]
In addition, the control program of the relay device for achieving the above-mentioned object is
In a control program for a relay device that performs call control and RTP (Real-time Transport Protocol) control,
A silence compression processing detection step of examining a message according to the call control protocol when communicating with the counterpart device and detecting whether or not the communication by the RTP control has been subjected to silence compression processing;
A reception state detecting step of detecting whether or not an RTP packet has not been received for a predetermined time or more during communication by the RTP control;
It is a case where it is detected in the reception status detection step that the RTP packet has not been received for the predetermined time or longer, and communication by the RTP control is performed in the silence compression processing detection step. Communication disconnection processing step for executing communication disconnection processing when it is detected that it has not been subjected to,
Is executed by an arithmetic processing unit .
[0011]
In addition, a communication method for achieving the above object is as follows:
In a communication method for performing call control and RTP (Real-time Transport Protocol) control,
A silence compression processing detection step of examining a message according to the call control protocol when communicating with the counterpart device and detecting whether or not the communication by the RTP control has been subjected to silence compression processing;
A reception state detecting step of detecting whether or not an RTP packet has not been received for a predetermined time or more during communication by the RTP control;
It is a case where it is detected in the reception status detection step that the RTP packet has not been received for the predetermined time or longer, and communication by the RTP control is performed in the silence compression processing detection step. Communication disconnection processing step for executing communication disconnection processing when it is detected that it has not been subjected to,
It is characterized by having.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of a communication system according to the present invention will be described with reference to the drawings.
[0013]
As shown in FIGS. 1 and 2, the communication system according to the present embodiment includes a relay device 10 connected to the LAN line 2 and a telephone 1 connected to the relay device 10.
[0014]
The relay apparatus 10 includes an FXS interface 12 and an Ethernet (registered trademark of Xerox Corporation) interface 11. The FXS interface 12 is equipped with a VoIP (Voice over Internet Protocol) gateway, to which the telephone 1 is connected. The Ethernet interface 11 is connected to the LAN line 2 described above. At the end of the LAN line 2, the relay device 10 and the telephone 1 on the communication destination side are connected via a network device or the like. The network device may basically be a router, and a WAN (wide area network) may be connected to the end of the router. In this embodiment, it is assumed that the HUB 3 is connected for the sake of simplicity of explanation.
[0015]
As shown in FIG. 2, the relay device 10 includes the Ethernet interface 11 connected to the LAN line 2 on the communication destination side, the FXS interface 12 connected to the telephone 1 on the communication source side, A reception buffer 13 for temporarily storing received data input to the Ethernet interface 11, a data memory 14 for storing various control programs, various data, and the like, and a CPU 15 that operates according to a program stored in the data memory 14. And a DSP (Digital Signal Processor) 16 that performs digital signal processing such as decoding processing of received data. In FIG. 2, the flow of received data is indicated by thick solid arrows.
[0016]
The control program 14a stored in the data memory 14 is a TTC standard H.264 standard. H.323, which is a call control protocol compliant with the H.323 standard. 255Q931 and the capability information exchange protocol H.264. 245, RTP, a self-cutting program that is a characteristic part of the present invention, and the like are installed. In addition, the control program for the gatekeeper and the terminal is H.264. A 225RAS may be mounted and a gatekeeper may be provided. Also, the DSP 16 has a G.G. 729 is mounted.
[0017]
The configuration information setting data 14b stored in the data memory 14 includes a LAN line IP address, a subnet mask, a no-communication timeout time (determination time) described later, and the like.
[0018]
In the present embodiment, the reception status detection unit includes a data memory 14 in which a no-communication timeout period and a control program are stored, and a CPU 15 that executes the control program. The communication disconnection processing unit, the data memory 14, the CPU 15, and a DSP 16 that outputs a busy tone signal in response to an instruction from the CPU 15 are provided.
[0019]
Next, H. which is a call control protocol. The sequence at the time of outgoing connection by 255Q931 will be described with reference to FIG. In the figure, the left side indicates the calling side, and the right side indicates the receiving side.
[0020]
When the calling side relay device receives a dial from the calling side telephone, the IP address corresponding to the dial is checked, and a setup message is transmitted to the called side relay device in which this IP address is set.
[0021]
Upon receiving the setup message, the receiving side relay device outputs a call signal to the receiving side telephone and transmits an alert message to the calling side relay device. When the alerting message is received, the originating relay device outputs a call waiting signal to the originating telephone. Thereafter, when the receiving-side relay device receives an off-hook signal from the receiving-side telephone, it transmits a connect message to the calling-side relay device. As a result, the media channel is opened, RTP communication between the relay devices is established, and a telephone call between the telephones becomes possible. Here, the media channel is opened by reception of the connect message, but may be performed by reception of the alert message. In addition, when receiving the setup message, the relay device on the called side may transmit a call proceeding message before transmitting the alert message.
[0022]
Next, H.I. The sequence at the time of cutting | disconnection by 255Q931 is demonstrated using FIG.
[0023]
As explained in the prior art, during RTP communication, for example, when the originating relay device receives an on-hook signal from the telephone, a release complete message is transmitted to the terminating relay device. When receiving the release complete message, the relay device on the called side outputs a busy tone signal to the telephone connected thereto. After that, when an on-hook signal is received from the incoming side telephone set, a release complete message is returned to the outgoing side relay device.
[0024]
Next, the reception processing of the voice data after the call connection is completed will be described with reference to FIG.
[0025]
When the Ethernet interface 11 receives the audio data, the audio data is sequentially stored in the reception packet data buffer 13a of the reception buffer 13. This audio data is data read as Ethernet frames as layer 2 data, but is analyzed up to the IP (Internet Protocol), UDP (User Datagram Protocol), and RTP packet layers by the CPU executing the control program. The Here, UDP is used for voice data, and voice communication is realized by RTP. When analyzing the RTP packet from the voice data, the CPU 15 stores the RTP packet in the fluctuation absorbing buffer 13b. The fluctuation absorbing buffer 13b is a FIFO buffer that temporarily accumulates and reproduces a specified amount of RTP packets, and is used to absorb fluctuations from the network. The RPT packets temporarily stored in the fluctuation absorbing buffer 13b are taken into the DSP 16 at regular intervals (10 ms). The 729 codec is decoded and reproduced as analog voice through the FXS interface 12 so that the telephone 1 can hear the voice.
[0026]
Next, the operation of the CPU 15 by the self-sustaining cutting program will be described according to the flowchart shown in FIG.
[0027]
First, the CPU 15 checks whether or not the setup message including capability information or the like includes presence information of the voice compression process. The presence / absence flag of the audio compression process is set to 1 (step 1). Next, when it is confirmed that RTP communication has been started (step 2), the no-communication timer is reset to 0 and then time measurement is started (step 3), and it is checked whether an RTP packet has been received (step 3). 4). If the RTP packet has been received, the no-communication timer is reset again (step 5), the RTP packet reception process by the control program described above is executed (step 6), and the process returns to step 4.
[0028]
If it is determined in step 4 that no RTP packet has been received, it is determined whether or not the time measured by the no-communication timer is equal to or longer than the no-communication timeout time (determination time) stored in the data memory 14. (Step 7) If the no-communication timeout period is exceeded, the presence / absence of no-voice compression processing is checked with a flag (Step 8). This flag is 0, that is, no-voice compression processing is performed on the received data. If it is determined that the network device or the like has failed, disconnection processing is executed and a busy tone signal is output from the DSP 16 to the telephone set 1 (step 9). When the caller hears a busy tone from the telephone set 1, the caller recognizes that the communication has been disconnected, and puts the handset in an on-hook state. As described above with reference to FIG. 4, when receiving the on-hook signal from the telephone set 1, the relay device 10 transmits a release complete message to the relay device 10 on the communication counterpart side. In this disconnection process, a busy tone signal may be output to the telephone set 1 and a lease complete message may be transmitted to the communication partner side relay apparatus without waiting for an on-hook signal from the telephone set.
[0029]
If it is determined in step 8 that the no-voice compression processing presence / absence flag is 1, that is, the voice data is subjected to voice compression processing, this no-communication continues in the no-voice state, and the no-voice compression As a result of performing the processing, it is determined that the failure is not due to a failure of the network device or the like, and the disconnection processing is not performed, and the process proceeds to Step 10.
[0030]
If it is determined in step 7 that the time measured by the no-communication timer is not equal to or longer than the no-communication timeout period, and if it is determined in step 8 that the no-voice compression processing presence / absence flag is 1, call connection It is determined whether or not the call is in progress (step 10). If the call is being connected, the process returns to step 4;
[0031]
As described above, in the present embodiment, even when a relay device 10 or a network device on the communication destination side has a failure such as a power-off, the reception status of the RTP packet is monitored during the call connection, When the RTP packet cannot be received, the disconnection is performed autonomously, so that the call can be avoided.
[0032]
By the way, in this embodiment, the no-communication timeout period is determined based on the maximum time of RTP packet reception intervals. This maximum time is related to how many RTP packets are multiplexed in an IP packet. The RTP packet is 10 ms voice data, and G. When the RTP packet is multiplexed with the IP packet with the 729 codec, as shown in FIG. 6, the time obtained by multiplying the number of multiplexing by 10 ms is the multiprocessing time. At present, the maximum multiplexing number is 20, so the maximum multiplexing time is 200 ms.
[0033]
In the present embodiment, the no-communication timeout time is set to 5 s or more in consideration of the maximum multiplexing time 200 ms and fluctuations in the network.
[0034]
Here, the no-communication timeout period is a fixed value, but may be determined according to the RTP packet multiplex processing time. In this case, it is preferable to look at the header of the RTP packet, recognize the multiplex number or multiplex processing time from this header, and determine the no-communication timeout time according to a rule predetermined for this multiplex processing time. As a rule for determining the non-communication timeout time, for example, when the multiprocessing time is 100 ms or less, the non-communication time-out time is 4 s, and when the multi-processing time exceeds 100 ms, the non-communication time-out time is 6 s. It is possible to set it.
[0035]
In the above embodiment, the telephone 1 is directly connected to the relay device 10, but the telephone 1 may be connected via a PBX (Private Branch Exchange), a public network, or the like. In these cases, the disconnection process in step 9 described above merely performs a disconnection process with the PBX or the public network, and does not output a busy tone signal from the relay apparatus to the telephone set. This is because the PBX or the public network side outputs a busy tone signal to the telephone when the disconnection process with the PBX or the public network is performed.
[0036]
In the above embodiment, the telephone 1 and the relay apparatus 10 are separate bodies. However, as a telephone capable of RTP communication, the above relay apparatus may be incorporated in the telephone.
[0037]
【The invention's effect】
According to the present invention, even when a relay device or network device on the communication destination side has a failure such as power-off, the RTP packet reception status is monitored during call connection, and the RTP packet cannot be received for a certain time or more. In such a case, since the disconnection process is executed autonomously, it is possible to avoid holding the call.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a configuration of a communication system in an embodiment according to the present invention.
FIG. 2 is a circuit block diagram of a relay device according to an embodiment of the present invention.
3 is a call control protocol H.264. It is explanatory drawing which shows the sequence at the time of the outgoing connection by 255Q931.
4 is a call control protocol H.264. It is explanatory drawing which shows the sequence at the time of the cutting | disconnection by 255Q931.
FIG. 5 is a flowchart showing the operation of the CPU by the self-sustained cutting program according to the embodiment of the present invention.
FIG. 6 is an explanatory diagram showing the relationship between the number of multiplexed RTP packets and the multiplexing processing time.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Telephone, 2 ... LAN line, 3 ... HUB, 10 ... Relay device, 11 ... Ethernet interface, 12 ... FXS interface, 13 ... Reception buffer, 14 ... Data memory, 15 ... CPU, 16 ... DSP.

Claims (4)

呼制御及びRTP(Real−time Transport Protocol)制御を行う中継装置において、
前記RTP制御による通信中に、予め定められた時間以上、RTPパケットを受信できていない状態か否かを検出する受信状況検出手段と、
前記受信状況検出手段が前記RTPパケットを前記予め定められた時間以上受信できていない状態であることを検出すると、相手装置との通信切断処理を実行する通信切断処理手段と、
相手装置と通信を行う際の前記呼制御のプロトコルによるメッセージを調べて、前記RTP制御による通信が無音圧縮処理を施されたものであるか否かを検出する無音圧縮処理検出手段と、を備え、
前記通信切断処理手段は、前記受信状況検出手段により、前記RTPパケットを前記予め定められた時間以上受信できていない状態であることが検出されても、前記無音圧縮処理検出手段にて無音圧縮処理が施されたものであると検出した際には、前記相手装置との通信切断処理を実行しない、
ことを特徴とする中継装置。
In a relay device that performs call control and RTP (Real-time Transport Protocol) control,
A reception status detecting means for detecting whether or not an RTP packet is not received for a predetermined time or more during communication by the RTP control;
When the reception status detection means detects that the RTP packet has not been received for the predetermined time or more, a communication disconnection processing means for executing a communication disconnection process with the counterpart device ;
Silence compression processing detecting means for examining a message based on the call control protocol when communicating with the counterpart device and detecting whether or not the communication based on the RTP control has been silence-compressed. ,
Even if the communication disconnection processing unit detects that the RTP packet has not been received for the predetermined time or longer by the reception status detection unit, the silence compression processing detection unit detects the silence compression processing. When it is detected that has been applied, the communication disconnection process with the counterpart device is not executed.
A relay device characterized by that.
請求項1に記載の中継装置が組み込まれている、ことを特徴とする電話機。A telephone set comprising the relay device according to claim 1 incorporated therein. 呼制御及びRTP(Real−time Transport Protocol)制御を行う中継装置の制御プログラムにおいて、
相手装置と通信を行う際の前記呼制御のプロトコルによるメッセージを調べて、前記RTP制御による通信が無音圧縮処理を施されたものであるか否かを検出する無音圧縮処理検出ステップと、
前記RTP制御による通信中に、予め定められた時間以上、RTPパケットを受信できていない状態か否かを検出する受信状況検出ステップと、
前記受信状況検出ステップで前記RTPパケットを前記予め定められた時間以上受信できていない状態であることを検出した場合であって、前記無音圧縮処理検出ステップにて前記RTP制御による通信が無音圧縮処理を施されたものでないと検出した際に、通信切断処理を実行する通信切断処理ステップと、
演算処理装置に実行させることを特徴とする中継装置の制御プログラム。
In a control program for a relay device that performs call control and RTP (Real-time Transport Protocol) control,
A silence compression processing detection step of examining a message according to the call control protocol when communicating with the counterpart device and detecting whether or not the communication by the RTP control has been subjected to silence compression processing;
A reception state detecting step of detecting whether or not an RTP packet has not been received for a predetermined time or more during communication by the RTP control;
It is a case where it is detected in the reception status detection step that the RTP packet has not been received for the predetermined time or longer, and communication by the RTP control is performed in the silence compression processing detection step. Communication disconnection processing step for executing communication disconnection processing when it is detected that it has not been subjected to,
A control program for a relay device, which causes an arithmetic processing device to execute the above.
呼制御及びRTP(Real−time Transport Protocol)制御を行う通信方法において、
相手装置と通信を行う際の前記呼制御のプロトコルによるメッセージを調べて、前記RTP制御による通信が無音圧縮処理を施されたものであるか否かを検出する無音圧縮処理検出ステップと、
前記RTP制御による通信中に、予め定められた時間以上、RTPパケットを受信できていない状態か否かを検出する受信状況検出ステップと、
前記受信状況検出ステップで前記RTPパケットを前記予め定められた時間以上受信できていない状態であることを検出した場合であって、前記無音圧縮処理検出ステップにて前記RTP制御による通信が無音圧縮処理を施されたものでないと検出した際に、通信切断処理を実行する通信切断処理ステップと、
を有することを特徴とする通信方法。
In a communication method for performing call control and RTP (Real-time Transport Protocol) control,
A silence compression processing detection step of examining a message according to the call control protocol when communicating with the counterpart device and detecting whether or not the communication by the RTP control has been subjected to silence compression processing;
A reception state detecting step of detecting whether or not an RTP packet has not been received for a predetermined time or more during communication by the RTP control;
It is a case where it is detected in the reception status detection step that the RTP packet has not been received for the predetermined time or longer, and communication by the RTP control is performed in the silence compression processing detection step. Communication disconnection processing step for executing communication disconnection processing when it is detected that it has not been subjected to,
A communication method characterized by comprising:
JP2001316440A 2001-10-15 2001-10-15 Relay device, its control program, and communication method Expired - Fee Related JP3874641B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001316440A JP3874641B2 (en) 2001-10-15 2001-10-15 Relay device, its control program, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001316440A JP3874641B2 (en) 2001-10-15 2001-10-15 Relay device, its control program, and communication method

Publications (3)

Publication Number Publication Date
JP2003124967A JP2003124967A (en) 2003-04-25
JP2003124967A5 JP2003124967A5 (en) 2005-06-16
JP3874641B2 true JP3874641B2 (en) 2007-01-31

Family

ID=19134460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001316440A Expired - Fee Related JP3874641B2 (en) 2001-10-15 2001-10-15 Relay device, its control program, and communication method

Country Status (1)

Country Link
JP (1) JP3874641B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072378A (en) * 2006-09-13 2008-03-27 Nec Engineering Ltd Ip communication system
JP4470963B2 (en) 2007-06-01 2010-06-02 株式会社日立製作所 Gateway device, ONT and PON system
JP5443918B2 (en) * 2009-09-18 2014-03-19 株式会社ソニー・コンピュータエンタテインメント Terminal device, audio output method, and information processing system
JP2015226141A (en) * 2014-05-27 2015-12-14 Necエンジニアリング株式会社 Relay device, circuit switching system, and circuit switching method
JP6824212B2 (en) * 2018-03-12 2021-02-03 日本電信電話株式会社 Disconnection monitoring Termination device and disconnection monitoring method
JP6955170B2 (en) * 2018-04-24 2021-10-27 日本電信電話株式会社 RTP monitoring device and RTP monitoring method

Also Published As

Publication number Publication date
JP2003124967A (en) 2003-04-25

Similar Documents

Publication Publication Date Title
JP4074633B2 (en) VoIP terminal RTP media packet processing apparatus and processing method
US20050091407A1 (en) Multi-network exchange system for telephony applications
JP4515979B2 (en) IP phone
JP4672571B2 (en) Emergency call call back method, emergency call call back system, VoIP node device and program in VoIP network
JP5141328B2 (en) Relay device and computer program
JP3575435B2 (en) Telephone system and telephone connection monitoring method
JP4228313B2 (en) Network control system and congestion control method
JP3874641B2 (en) Relay device, its control program, and communication method
JP3848244B2 (en) COMMUNICATION TERMINAL DEVICE, COMMUNICATION SYSTEM AND COMMUNICATION MANAGEMENT METHOD
WO2011010820A2 (en) Auto reply and loopback method for the remote measurement of the quality of an internet phone
JP2004229112A (en) Exchange unit
JP2004289486A (en) Method and system for setting communication path
WO2008138187A1 (en) A realizing method for re-answering call
WO2018152772A1 (en) Network telephone processing method and related network device
Cisco VoIP Debug Commands
JP4355532B2 (en) Gateway device, extension telephone exchange system, and extension telephone exchange method
JP4266545B2 (en) Gatekeeper device
JP2008042648A (en) Ip phone relay device, ip phone device, ip phone system, relay processing program, and computer readable recording medium with program stored therein
JP3974483B2 (en) Network communication equipment
JP3891279B2 (en) VoIP gateway device and call control sound generation source determination method
JP2002290460A (en) Communication system, gateway device and method for monitoring communication path
JP4576796B2 (en) Call control method in VoIP communication apparatus
US7299295B1 (en) High-speed dial-up modem session startup method and apparatus
JP3540780B2 (en) Internet communication control apparatus and communication terminal calling method
JP2009218889A (en) Sip call termination method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040910

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040910

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060725

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060925

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: 20061010

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061024

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D04

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111102

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121102

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131102

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees