JP2011135289A - Repeater - Google Patents
Repeater Download PDFInfo
- Publication number
- JP2011135289A JP2011135289A JP2009292590A JP2009292590A JP2011135289A JP 2011135289 A JP2011135289 A JP 2011135289A JP 2009292590 A JP2009292590 A JP 2009292590A JP 2009292590 A JP2009292590 A JP 2009292590A JP 2011135289 A JP2011135289 A JP 2011135289A
- Authority
- JP
- Japan
- Prior art keywords
- call
- audio signal
- call processing
- voice
- signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
Description
この発明は、無線通信機と電話機との通信をネットワークを介して中継する中継装置に関する。 The present invention relates to a relay device that relays communication between a wireless communication device and a telephone via a network.
有線通信機器である電話機と無線通信機とを接続して通話を行うためのシステムが従来より提案されている(たとえば特許文献1,2など)。特許文献1,2に記載のシステムは、ホーンパッチ装置や受信装置が、電話回線を介して他の電話機から着呼を受けると、無線通信機に対して呼出信号を送信して、無線通信機に応答させるように構成されている。
Conventionally, a system for making a call by connecting a telephone, which is a wired communication device, and a wireless communication device has been proposed (for example,
しかし、上記特許文献に記載のシステムでは、電話機が発呼し無線通信機が応答する手順の通話は可能であるが、その逆の無線通信機側が発呼して電話機が応答する手順の通話ができなかった。もし、無線通信機が無線通信を介して発呼するためには、そのための専用の信号を送信する必要があるが、一般の無線通信機は音声通話用であるため、オーディオ信号以外の信号を送信する機能を持たないものが多い。また、無線通信機から通常の電話機と同様の発呼を可能にするシステムを構成するためには、PSTN回路等を有する中継装置が必要であり、システムが複雑になるという問題点があった。 However, in the system described in the above-mentioned patent document, it is possible to call a procedure in which the telephone makes a call and the wireless communication device answers, but on the contrary, a call in a procedure in which the wireless communication device calls and the telephone answers. could not. In order for a wireless communication device to make a call via wireless communication, it is necessary to transmit a dedicated signal for that purpose, but since a general wireless communication device is used for voice calls, signals other than audio signals must be transmitted. Many do not have a function to send. In addition, in order to configure a system that can make a call similar to that of a normal telephone from a wireless communication device, a relay device having a PSTN circuit or the like is necessary, and there is a problem that the system becomes complicated.
この発明は、簡略な構成で無線通信機から電話通信の発呼を可能にした汎用性のある中継装置を提供することを目的とする。 SUMMARY OF THE INVENTION An object of the present invention is to provide a versatile relay apparatus that enables a telephone communication call from a wireless communication device with a simple configuration.
請求項1の発明は、データ通信網であるネットワークに接続されるネットワークインタフェースと、無線通信機が接続される無線機インタフェースと、前記ネットワークを介した電話通信における通信相手装置の宛先情報を記憶する記憶部と、前記無線機インタフェースから入力されるオーディオ信号を監視し、該オーディオ信号が所定の第1条件を満たしたとき、前記宛先情報を用いて発呼処理を実行する呼処理部と、を備えたことを特徴とする。
The invention of
請求項2の発明は、請求項1の発明において、前記呼処理部は、前記入力されたオーディオ信号が第1の音量しきい値を第1の持続時間超えたとき、前記所定の第1条件を満たしたと判定することを特徴とする。 According to a second aspect of the present invention, in the first aspect of the invention, the call processing unit is configured to perform the predetermined first condition when the input audio signal exceeds a first volume threshold for a first duration. It is determined that the above is satisfied.
請求項3の発明は、請求項1、2の発明において、前記呼処理部は、前記発呼処理の実行中に、前記無線機インタフェースから入力されるオーディオ信号を監視し、該オーディオ信号が所定の第2条件を満たしたとき、前記発呼処理を中止することを特徴とする。 According to a third aspect of the present invention, in the first and second aspects of the invention, the call processing unit monitors an audio signal input from the radio interface during execution of the call processing, and the audio signal is predetermined. When the second condition is satisfied, the calling process is stopped.
請求項4の発明は、請求項1、2の発明において、前記呼制御部が前記発呼処理を実行しているとき、発呼中を示す音声信号であるリングバックトーン、および、前記無線通信機を送信モードに切り換える信号であるPTT信号を発生して前記無線機インタフェースを介して出力するRBT発生部を、さらに備えたことを特徴とする。 According to a fourth aspect of the present invention, in the first and second aspects of the present invention, when the call control unit is executing the call processing, a ringback tone that is a voice signal indicating that a call is being made, and the wireless communication And an RBT generator for generating a PTT signal, which is a signal for switching the apparatus to a transmission mode, and outputting the signal via the radio interface.
請求項5の発明は、請求項4の発明において、前記RBT発生部は、前記PTT信号およびリングバックトーンの発生および出力を間欠的に行い、前記呼処理部は、前記RBT発生部が前記PTT信号を出力していないとき、前記無線機インタフェースから入力されるオーディオ信号を監視し、該オーディオ信号が所定の第2条件を満たしたとき、前記発呼処理を中止することを特徴とする。 According to a fifth aspect of the present invention, in the fourth aspect of the present invention, the RBT generation unit intermittently generates and outputs the PTT signal and ringback tone, and the call processing unit includes the RBT generation unit configured by the PTT. When no signal is output, an audio signal input from the radio interface is monitored, and when the audio signal satisfies a predetermined second condition, the calling process is stopped.
請求項6の発明は、請求項3、5の発明において、前記呼処理部は、前記入力されたオーディオ信号が第2の音量しきい値を第2の持続時間超えたとき、前記所定の第2条件を満たしたと判定することを特徴とする。 According to a sixth aspect of the present invention, in the third and fifth aspects of the invention, the call processing unit is configured to perform the predetermined processing when the input audio signal exceeds a second volume threshold for a second duration. It is determined that two conditions are satisfied.
請求項7の発明は、請求項1〜6の発明において、前記発呼処理により前記通信相手装置と通信が確立されたのち、前記無線機インタフェースから入力されたオーディオ信号をパケット化し、該音声パケットを前記ネットワークインタフェースを介して前記通信相手装置に出力する音声パケット送信部と、前記発呼処理により前記通信相手装置と通信が確立されたのち、前記音声パケット受信部が受信した音声パケットをオーディオ信号に変換して前記無線機インタフェースに入力するデコード部と、前記音声パケット受信部が受信したオーディオ信号が所定の第3条件を満たしたとき、前記無線通信機を送信モードに切り換える信号であるPTT信号を前記無線機インタフェースを介して出力するPTT制御部と、をさらに備えたことを特徴とする。
The invention according to
請求項8の発明は、請求項7の発明において、前記呼処理部は、前記無線機インタフェースから入力されたオーディオ信号、および、前記ネットワークインタフェースから入力されたオーディオ信号の一方または両方が所定時間以上無音であったとき、前記通信相手装置との通信を終了することを特徴とする。 According to an eighth aspect of the present invention, in the seventh aspect of the invention, the call processing unit is configured such that one or both of the audio signal input from the radio interface and the audio signal input from the network interface is equal to or longer than a predetermined time. When there is no sound, the communication with the communication partner apparatus is terminated.
この発明によれば、通信相手装置の宛先情報を予め記憶しておき、無線機インタフェースから入力されるオーディオ信号に基づいて、その宛先情報の相手装置に発呼するようにしたことにより、簡略な構成で、どのような(音声通信しかできない)無線通信機でもネットワークを介した電話通信の発呼を可能にすることができる。 According to the present invention, destination information of a communication partner device is stored in advance, and a call is made to the partner device of the destination information on the basis of an audio signal input from the radio interface. With the configuration, any wireless communication device (only capable of voice communication) can make a call for telephone communication via the network.
図面を参照してこの発明の通信中継装置および通信システムについて説明する。
図1は、この発明の実施形態である通信システムの構成図である。この通信システムは、無線通信機であるトランシーバ4を用いたネットワーク1を介する電話通信すなわちIP電話の発呼、着呼および通話を中継装置2による中継によって可能にしたシステムである。ネットワーク1はたとえばEthernet(登録商標)で構成されるLANやインターネットが適用可能である。このネットワーク1に1または複数の中継装置2が接続されている。中継装置2には、トランシーバ3が中継用トランシーバとして接続されている。トランシーバ3は、いわゆるプッシュ・トゥ・トーク(Push to Talk:PTT)形式の半二重通信機器であっても、送受信を同時に行うことができる全二重通信機器であってもよい。トランシーバ3の通信圏内には、1または複数台(図示では2台)のトランシーバ4(4−1,2)が存在している。トランシーバ3とトランシーバ4とは相互に通信可能な形式のものである。
A communication relay device and a communication system of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of a communication system according to an embodiment of the present invention. This communication system is a system that enables telephone communication via the
また、ネットワーク1には、SIPサーバ6およびVoIPゲートウェイ7が接続され、VoIPゲートウェイ7にはIP電話機8が接続されている。SIPサーバ6は、SIPプロトコルを利用して、電話番号(URI)をIPアドレスと対応付け、通話相手を呼び出してつなぐ呼制御を行うサーバ装置である。VoIPゲートウェイは、ネットワーク1を介して音声信号を伝送するVoIP(Voice over Internet Protocol)手順と音声通話装置である電話機8とを中継するゲートウェイ装置である。また、図示しないが、このネットワーク1にVoIPルータやPSTN装置が接続されていてもよい。
In addition, a SIP server 6 and a
ユーザがトランシーバ4(4−1,2)を用いて音声信号を送信すると、この音声信号が中継用トランシーバ3を介して中継装置2に入力される。中継装置2は、IP電話機の機能を備えており、入力された音声信号に基づいて、発呼・着呼・応答等の呼処理を制御する。
When the user transmits an audio signal using the transceiver 4 (4-1, 2), the audio signal is input to the
中継装置2は、どのようなトランシーバでも接続できる汎用性を維持するため、中継用トランシーバ3とマイクケーブルのみで接続され、特殊な信号のやり取りは行わない。すなわち、中継装置2と中継用トランシーバ3とはオーディオ信号、PTT信号のみを入出力することで、上記発呼、着呼、通話を制御する。これにより、マイクケーブルで外部接続可能なトランシーバであれば、どのような機種であってもこの中継装置2に接続して中継用トランシーバ3として使用することが可能である。
The
図2は、中継装置2の状態の遷移を説明する図である。中継装置2は、トランシーバ4と他の電話通信機器(たとえばIP電話機8、他の中継装置2、PSTN装置を介して接続される一般の電話機など)との間の電話通信を制御するために図2に示すような状態(モード)を遷移しながら、電話通信の発呼、着呼、通話を処理する。中継装置2がとる状態は、待機モード、SIP発呼モード、無線呼出モード、通話モードおよびマスクモードの5つのモードである。
FIG. 2 is a diagram for explaining the state transition of the
待機モードは、トランシーバ4(中継用トランシーバ3)からの発呼指示やネットワーク1を介した相手装置(他の電話通信機器)からの着呼を待っている状態である。ネットワーク1を介した相手装置からの着呼は、SIP手順のINVITEメッセージの受信である。すなわち、SIPサーバ6からINVITEメッセージが送られてきたとき、相手装置から呼び出しがあったとして対応するモード(通話モードまたは無線呼出モード)に移行する。ここで、中継装置2には2つの電話番号(URI)が設定されている。1つはこの中継装置2のみの単独着信に用いられる電話番号であり、他の1つはこの中継装置2を含む複数の装置宛の同報着信に用いられる電話番号である。単独着信の電話番号に着呼があったときは通話モードに移行し、同報着信の電話番号に着呼があった場合には無線呼出モードに移行する。
The standby mode is a state of waiting for a call instruction from the transceiver 4 (relay transceiver 3) or an incoming call from the partner apparatus (other telephone communication device) via the
一方、中継装置2は、待機モード時に、中継用トランシーバ3から所定の音声信号が入力されたとき、トランシーバ4から発呼指示があったとする。すなわち、中継用トランシーバ3から、図3に示す制御音声用パラメータ200を超える音声信号が入力されたとき、この音声信号を発呼指示の信号であると判定して中継装置2は発呼モードに移行する。
On the other hand, assume that the
ここで、図3はVOXパラメータをグラフ化した図である。VOXパラメータとは、中継装置2に内蔵されているVOX処理部24,27(図4参照)が、所定の音声信号が入力されたとしてVOX信号を出力するためのしきい値である。制御音声用パラメータ200は、中継装置2が発呼指示として認識する音声信号の音量レベルおよび持続時間(アタックタイム)のしきい値である。VOXパラメータは、図3に示すように、入力信号の音量レベルおよびその持続時間からなっている。発呼指示の音声信号に、制御音声用パラメータ200のような大きい音量レベル且つ長い持続時間を設定しているのは、中継用トランシーバ3が受信したノイズ電波によって誤った発呼が発生しないようにするためである。この制御音声用パラメータ200は、後述の発呼キャンセル指示の音声信号、(発呼元の相手装置への)接続要求の音声信号を判別するためにも用いられる。
FIG. 3 is a graph showing the VOX parameters. The VOX parameter is a threshold value for the
また、電話通信のセッションが確立され、中継装置2の動作が通話モードに移行すると、上り・下りの通話音声の有無を検出するために上り通話音声用パラメータ201および下り通話音声用パラメータ202が用いられる。これらのVOXパラメータは、小さい話し声でも反応するように、且つ、制御音声のように誤動作のおそれが少ないため、制御音声用パラメータ200よりも緩やかなしきい値になっている。また、ネットワーク1から入力される下りの音声信号のほうが中継用トランシーバ3から入力される上りの音声信号よりもノイズが少なく、また、下りの音声信号によってPTT信号を制御する必要があり反応速度が要求されるため、下り通話音声用パラメータ202は、より穏やかでアタックタイムが短いものになっている。
Further, when a telephone communication session is established and the operation of the
なお、この実施形態では、発呼指示、発呼キャンセル指示、接続要求の音声信号を判別するために、同じVOXパラメータ(しきい値)を用いているが、それぞれ異なるVOXパラメータを設定してもよい。 In this embodiment, the same VOX parameter (threshold value) is used to determine the voice signal of the call instruction, the call cancel instruction, and the connection request. However, even if different VOX parameters are set, respectively. Good.
図2にもどって、発呼モードでは、予め記憶されている接続先の電話番号(URI)を用いてSIP手順で発呼処理を行う。この状態で、相手装置から応答があった場合には通話モードに移行する。また、発呼中に、中継用トランシーバ3から発呼をキャンセルする旨の指示があった場合には、発呼処理を中止して待機モードにもどる。ここで、中継装置2は、発呼モード時に、中継用トランシーバ3から制御音声用パラメータ200を超える音声信号が入力されたとき、トランシーバ4から発呼キャンセルの指示があったとする。なお、中継装置2は、発呼中、中継用トランシーバ3を介してトランシーバ4にリングバックトーン(RBT)を送信するが、この発呼キャンセル指示の音声の検出は、そのリングバックトーンの休止期間に行う。
Returning to FIG. 2, in the calling mode, the calling process is performed by the SIP procedure using the telephone number (URI) of the connection destination stored in advance. In this state, when there is a response from the partner device, the communication mode is entered. If an instruction to cancel the call is issued from the
待機モードにおいて、同報着信の電話番号に着呼があった場合に無線呼出モードに移行する。無線呼出モードでは、着呼があった旨を中継用トランシーバ3を介してトランシーバ4に送信し、トランシーバ4からの接続要求があったとき、この着呼に応答(OKメッセージを返信)して電話通信(セッション)を確立するという処理を行う。すなわち、同報着信は、最先で応答した1台の装置のみ相手装置(発呼した電話通信装置)に接続される手順であるため、ユーザが通話可能な装置(トランシーバ4)を相手装置に接続するために、トランシーバ4からの接続要求を待ってOKメッセージを返信するようにしている。ここで、中継装置2は、無線呼出モード時に、中継用トランシーバ3から制御音声用パラメータ200を超える音声信号が入力されたとき、トランシーバ4から接続要求があったとする。相手装置に応答(OKメッセージを送信)したのち通話モードに移行する。
In the standby mode, when there is an incoming call to the broadcast incoming telephone number, the radio call mode is entered. In the radio call mode, the fact that an incoming call has been received is transmitted to the
無線呼出モードにおいて、この中継装置2が応答する前にSIPサーバ6からCANCELメッセージが送られてきた場合には、マスクモードに移行する。この中継装置2が応答する前にCANCELメッセージが送られてくる場合とは、同報着信した他の装置が先に応答した場合や発信元である相手装置が発呼をキャンセルした場合である。同報着信がキャンセルされたとき即座に待機モードに移行すると、トランシーバ4のユーザが接続要求の意図で制御音声用パラメータ200を超える音声をキャンセル直後に送信した場合に、これが待機モードにおける発呼指示と判断されて無用の発呼をしてしまうおそれがある。そこで、同報着信がキャンセルされた場合、一定時間(10秒程度)、トランシーバ4からの音声入力を受け付けないマスク時間を設けた。マスクモードでは、このマスク時間に話中音(BT:ビジートーン)を発生してトランシーバ4に送信し、上り制御音声200を受け付けないという処理を実行する。上記マスク時間が経過したのち待機モードに移行する。
In the wireless call mode, if a CANCEL message is sent from the SIP server 6 before the
通話モードでは、RTP手順を動作させ、上り(トランシーバ4(中継用トランシーバ3)から相手装置宛)の音声パケット、および、下り(相手装置からトランシーバ4(中継用トランシーバ3)宛)の音声パケットを送受信する。そして、相手装置から通話終了を指示するBYEメッセージが送信されてきたとき、または、通話音声が一定時間以上途切れたとき通話を終了して待機モードに移行する。また、相手装置からの音声パケットが一定時間(5秒程度)継続して届かなかった場合にはネットワーク障害等で相手装置と通話が不可になった判断して通話(セッション)を終了する。この場合、トランシーバ4のユーザに不慮の障害で通話が終了した旨を知らせ、誤発呼を防止するためマスクモードに移行する。
In the call mode, the RTP procedure is operated, and voice packets for uplink (transceiver 4 (relay transceiver 3) to the partner device) and downlink (addresses from the partner device to transceiver 4 (relay transceiver 3)) are sent. Send and receive. Then, when a BYE message for instructing the end of the call is transmitted from the partner apparatus or when the call voice is interrupted for a predetermined time or more, the call is ended and the standby mode is entered. If the voice packet from the partner apparatus does not arrive continuously for a certain time (about 5 seconds), it is determined that the call with the partner apparatus becomes impossible due to a network failure or the like, and the call (session) is terminated. In this case, the user of the
通話モードにおいて、上りの通話音声の有無は図3の上り通話音声用パラメータ201を超えるオーディオ信号が、中継用トランシーバ3から入力されたか否かで判定され、下りの通話音声の有無は図3の下り通話音声用パラメータ202を超えるオーディオ信号が、ネットワーク1から入力されたか否かで判定される。
In the call mode, the presence / absence of uplink call voice is determined based on whether or not an audio signal exceeding the uplink
図4は、中継装置2のブロック図である。中継装置2は、下流(中継トランシーバ3側)の端部に無線機インタフェース21を備え、上流(ネットワーク1側)の端部にネットワークインタフェース22を備えている。無線機インタフェース21は、中継用トランシーバ3をつなぐケーブルのコネクタやバッファ回路等を有している。ネットワークインタフェース22は、ネットワークの物理層やデータリンク層を担当する回路部である。
FIG. 4 is a block diagram of the
そして、無線機インタフェース21からネットワークインタフェース22の間に、上り方向に、A/Dコンバータ23、VOX(Voice Operated Relay)処理部24および音声パケット送信部25が設けられ、下り方向に、音声パケット受信部26、VOX処理部27およびD/Aコンバータ28を備えている。また、中継装置2は、装置全体の動作を制御するマイコンである制御部20、および、電話通信の発呼、着呼、切断等の処理を行うSIP処理部29を備えている。制御部20は、接続先の電話番号(URI)等を記憶する記憶部20Aを備えている。
An A /
図5は記憶部20Aの記憶内容を示す図である。記憶部20Aには、自局IPアドレス、SIPアドレス、接続先電話番号(URI)、自局単独着信電話番号(URI)、自局同報着信電話番号(URI)、および、図3に示したVOXパラメータなどの情報が記憶されている。
FIG. 5 is a diagram showing the contents stored in the
図4において、無線機インタフェース21と中継用トランシーバ3とは、いわゆるマイクケーブルで接続される。マイクケーブルは、オーディオ入出力信号線、すなわち、中継用トランシーバ3が受信した音声信号を中継装置2に入力するためのスピーカ用信号線、中継装置2から中継用トランシーバ3に向けてオーディオ信号を出力するマイク用信号線、および、PTT信号線を有するケーブルである。
In FIG. 4, the
無線機インタフェース21は、中継用トランシーバ3から入力されたオーディオ信号をA/Dコンバータ23に入力する。A/Dコンバータ23は、入力されたオーディオ信号をデジタル信号に変換してVOX処理部24および音声パケット送信部25に入力する。
The
VOX処理部24は、中継用トランシーバ3から入力されたオーディオ信号のレベルおよび持続時間を監視する。入力されたオーディオ信号のレベルおよび持続時間が、そのとき設定されているVOXパラメータ(図3参照)を超えると、上り音声ありとして制御部20にVOX信号を出力する。制御部20は、VOX処理部24からVOX信号が入力されると、そのときの動作モードに応じた処理(発呼、発呼キャンセル、発呼に応答、通話音声の転送等)を行う。
The
音声パケット送信部25は、通話モード時に、ADコンバータ23から入力された音声信号を音声パケット化して相手装置に送信する。相手装置のIPアドレスは電話通信のセッション確立時にSIPサーバ6から与えられる。
The voice
音声パケット受信部26は、通話モード時に、ネットワーク1からの音声パケットの受信を監視し、ネットワーク1から受信したパケットのうち自局IPアドレス宛のパケットを選別して受信する。音声パケット受信部26は、音声パケットを受信すると、この音声パケットを結合してオーディオストリーム信号を復調する。このオーディオ信号はVOX処理部27およびD/Aコンバータ28に入力される。D/Aコンバータ28は、入力されたデジタルのオーディオ信号をアナログ信号に変換して無線機インタフェース21に入力する。この音声信号はマイクケーブルを介して中継用トランシーバ3に入力される。
The voice
VOX処理部27は、音声パケット受信部26から入力されたオーディオ信号のレベルおよび持続時間を監視する。入力されたオーディオ信号のレベルおよび持続時間が、下り通話音声用パラメータ(図3参照)を超えると、下り通話音声ありとして制御部20にVOX信号を出力する。
The
制御部20は、VOX処理部27からVOX信号が入力されると、無線機インタフェース21に対してPTT信号を出力する。PTT信号は、マイクケーブルを介して中継用トランシーバ3に入力される。中継用トランシーバ3は、このPTT信号により送信モードに切り換えられ、マイクケーブルを介して入力されている音声信号を送信電波に重畳してトランシーバ4に向けて送信する。
When the VOX signal is input from the
図6〜図15のフローチャートを参照して中継装置2の動作を詳細に説明する。
図6はメインルーチンを示すフローチャートである。メインルーチンは現在のモードをステータスフラグに基づいて判断し、そのモードの処理を実行するルーチンである。このメインルーチンは一定間隔(たとえば100m秒毎)に実行される。なお、電源オン時(イニシャライズ時)、ステータスフラグは待機モードに設定される。
The operation of the
FIG. 6 is a flowchart showing the main routine. The main routine is a routine for determining the current mode based on the status flag and executing the processing of that mode. This main routine is executed at regular intervals (for example, every 100 milliseconds). When the power is turned on (at initialization), the status flag is set to the standby mode.
まず、S1〜S4において、ステータスフラグに基づき現在のモードを判定する。待機モードの場合(S1でYES)には、発呼・着呼の発生を監視する待機モード処理(S5:図8参照)を実行する。発呼モードの場合(S2でYES)には、無線機インタフェース21にリングバックトーン(RBT)を出力するRBT発生処理(S6:図9参照)および発呼モード処理(S7:図10参照)を実行する。無線呼出モード(S3でYES)の場合には、RBT発生処理(S8:図9参照)および無線呼出モード処理(S9:図11参照)を実行する。通話モードの場合(S4でYES)には、トランシーバ4と相手装置との通話を制御する通話モード処理(S10:図13参照)、通話が一定時間以上途切れた(無音)状態を検出してオンフック処理を行う無音検出処理(S11:図14参照)、および、ネットワーク障害等による通信の異常切断を監視するパケットロス監視処理(S12:図15参照)を実行する。また、マスクモードの場合(S1〜4でNO)には、一定時間、上り制御音声を受け付けないマスクモード処理(S13:図12参照)を実行する。
First, in S1 to S4, the current mode is determined based on the status flag. In the case of the standby mode (YES in S1), standby mode processing (S5: see FIG. 8) for monitoring the occurrence of outgoing / incoming calls is executed. In the calling mode (YES in S2), RBT generation processing (S6: see FIG. 9) and calling mode processing (S7: see FIG. 10) for outputting a ringback tone (RBT) to the
図7は現在のモードから次のモードに移行する場合に、次のモードに合わせた設定を行う移行処理を示すフローチャートである。
図7(A)は他のモードから待機モードへ移行するときに実行される待機モード移行処理を示すフローチャートである。なお、この処理は電源オン時に装置が待機モードで起動されるときにも実行される。まず、ステータスフラグを待機モードに設定する(S20)。これにより、次のメインルーチンでは待機モードの処理が実行されるようになる。上りVOX処理部24にVOXパラメータとして制御音声用パラメータを設定するとともに(S21)、下りVOX処理部27は停止する(S22)。
FIG. 7 is a flowchart showing a transition process for performing setting according to the next mode when shifting from the current mode to the next mode.
FIG. 7A is a flowchart showing standby mode transition processing executed when transitioning from another mode to standby mode. This process is also executed when the apparatus is activated in the standby mode when the power is turned on. First, the status flag is set to the standby mode (S20). As a result, standby mode processing is executed in the next main routine. The control voice parameter is set as the VOX parameter in the upstream VOX processing unit 24 (S21), and the downstream
図7(B)は待機モードから発呼モードへ移行するときに実行される発呼モード移行処理を示すフローチャートである。この処理は、待機モードにおいて無線機インタフェース21から制御音声用パラメータを超える音声信号が入力されたとき実行される(図8参照)。まず、ステータスフラグを発呼モードに設定する(S25)。これにより、次のメインルーチンでは発呼モードの処理が実行されるようになる。発呼動作の経過時間を計測するタイマtを0からスタートさせる(S26)。上りVOX処理部24にVOXパラメータとして制御音声用パラメータを設定するとともに(S27)、下りVOX処理部27は停止する(S28)。
FIG. 7B is a flowchart showing a calling mode transition process executed when shifting from the standby mode to the calling mode. This process is executed when an audio signal exceeding the control audio parameter is input from the
図7(C)は待機モードから無線呼出モードへ移行するときに実行される無線呼出モード移行処理を示すフローチャートである。この処理は待機モードにおいて同報着信の電話番号に着呼があったとき実行される(図8参照)。まず、ステータスフラグを無線呼出モードに設定する(S30)。これにより、次のメインルーチンでは無線呼出モードの処理が実行されるようになる。上りVOX処理部24にVOXパラメータとして制御音声用パラメータを設定するとともに(S31)、下りVOX処理部27は停止する(S32)。
FIG. 7C is a flowchart showing a radio call mode transition process executed when shifting from the standby mode to the radio call mode. This process is executed when an incoming call is received at the telephone number of the broadcast incoming call in the standby mode (see FIG. 8). First, the status flag is set to the radio call mode (S30). As a result, in the next main routine, the radio call mode process is executed. The control voice parameter is set as the VOX parameter in the upstream VOX processing unit 24 (S31), and the downstream
図7(D)は他のモードから通話モードに移行するときに実行される通話モード移行処理を示すフローチャートである。まず、ステータスフラグに通話モードを設定する(S35)。つぎに上り無音フラグ、上下無音フラグをリセットするとともに(S36)、上り無音タイマ、上下無音タイマをリセットする(S37)。これらのフラグ,タイマは通話音声が途切れた時間を測定して通話(セッション)を終了させる無音検出処理で使用される。つぎに上りVOX処理部24にVOXパラメータとして上り通話音声用パラメータを設定し(S38)、下りVOX処理部27にVOXパラメータとして下り通話音声用パラメータを設定する(S39)。そして、RTP手順を実行するために音声パケット送信部25および音声パケット受信部26を起動する(S40)。
FIG. 7D is a flowchart showing call mode transition processing executed when transitioning from another mode to the call mode. First, the call mode is set in the status flag (S35). Next, the up silence flag and the up / down silence flag are reset (S36), and the up silence timer and the up / down silence timer are reset (S37). These flags and timers are used in silence detection processing for measuring the time when the call voice is interrupted and terminating the call (session). Next, the uplink voice parameter is set as the VOX parameter in the uplink VOX processing unit 24 (S38), and the downlink voice parameter is set as the VOX parameter in the downlink VOX processing unit 27 (S39). Then, the voice
図7(E)は無線呼出モードからマスクモードに移行するときに実行されるマスクモード移行処理を示すフローチャートである。まず、ステータスフラグをマスクモードに設定する(S45)。次に上りVOX処理部24を停止して、無線機インタフェース21からの音声信号の入力をマスクする(S46)。そしてマスクタイマをスタートさせ(S47)、PTT信号およびビジートーン(BT)を無線機インタフェース21に向けて出力する(S48,S49)。
FIG. 7E is a flowchart showing a mask mode transition process executed when shifting from the wireless calling mode to the mask mode. First, the status flag is set to the mask mode (S45). Next, the upstream
以下、各モードの処理について詳細に説明する。
図8は待機モード処理を示すフローチャートである。まず上りVOX処理部24からオン信号が入力されたか、すなわち発呼要求となる制御音声の入力を検出したか(S50)、および、INVITEメッセージを受信したか、すなわち他の電話通信機器から着呼があったか(S51)を判定する。
Hereinafter, processing in each mode will be described in detail.
FIG. 8 is a flowchart showing the standby mode process. First, whether an ON signal is input from the upstream
上りVOX処理部24からオン信号が入力された場合(S50でYES)には、SIP手順で発呼処理を行う。すなわち、記憶部20Aに記憶されている接続先電話番号宛にINVITEメッセージを送信し(S56)、図7(B)の発呼モード移行処理を実行する(S57)。
When the ON signal is input from the upstream VOX processing unit 24 (YES in S50), the calling process is performed according to the SIP procedure. That is, an INVITE message is transmitted to the connection destination telephone number stored in the
一方、ネットワークインタフェース22を介してINVITEメッセージを受信した場合には(S51でYES)、そのINVITEメッセージの宛先電話番号がこの中継装置2の単独着信の電話番号であるか同報着信の電話番号であるかを判定する(S52)。単独着信の電話番号の場合には、相手装置に対して即座にOKメッセージを返信して(S53)、通話モードに移行するための通話モード移行処理を実行する(S54)。また、同報着信の電話番号であった場合には無線呼出モード移行処理を実行する(S55)。
On the other hand, when the INVITE message is received via the network interface 22 (YES in S51), the destination telephone number of the INVITE message is the single incoming telephone number of this
図9は発呼モードおよび無線呼出モードにおいて実行されるRBT(リングバックトーン)発生処理を示すフローチャートである。このRBT発生処理は、リングバックトーンを、1秒鳴動・2秒休止の繰り返しパターンで発生させる処理である。ただし、リングバックトーンの発生・休止のパターンはこれに限定されない。 FIG. 9 is a flowchart showing RBT (ringback tone) generation processing executed in the calling mode and the radio calling mode. This RBT generation process is a process for generating a ringback tone in a repeating pattern of ringing for 1 second and pausing for 2 seconds. However, the ringback tone generation / pause pattern is not limited to this.
まず、発呼動作の継続時間tに基づいて、鳴動期間が開始したか休止期間が開始したかを判断する(S60)。この例では、1秒鳴動、2秒休止の繰り返しであるため、発呼動作の継続時間tを3で除し、その剰余mが0以上1未満であれば鳴動期間、1以上3未満であれば休止期間である。したがって、m=0のときが鳴動期間開始タイミングである。このとき、PTT信号をオンして無線機インタフェース21に出力するとともに(S61)、リングバックトーン(RBT)を発生して無線機インタフェース21に出力する(S62)。一方、m=1のときが休止期間開始タイミングである。このとき、PTT信号をオフするとともに(S63)、リングバックトーンを停止させる(S64)。 First, based on the duration t of the calling operation, it is determined whether the ringing period has started or the suspension period has started (S60). In this example, since the ringing is repeated for 1 second and paused for 2 seconds, the duration t of the calling operation is divided by 3, and if the remainder m is 0 or more and less than 1, the ringing period is 1 or more and less than 3. It is a suspension period. Therefore, the time when m = 0 is the ringing period start timing. At this time, the PTT signal is turned on and output to the radio interface 21 (S61), and a ringback tone (RBT) is generated and output to the radio interface 21 (S62). On the other hand, the time when m = 1 is the suspension period start timing. At this time, the PTT signal is turned off (S63), and the ringback tone is stopped (S64).
図10は発呼モード処理を示すフローチャートである。発呼モードでは図9のRBT発生処理動作とこの発呼モード処理が順次・並行して実行される。この処理では、相手装置からフックオフを示すOKメッセージを受信したか(S70)、発呼動作の継続時間tが所定のタイムアウト時間(たとえば1分)を経過したか(S73)、および、上りVOX処理部24から発呼のキャンセルを指示するVOXオン信号が入力されたか(S76)を監視する。 FIG. 10 is a flowchart showing the calling mode process. In the calling mode, the RBT generation processing operation of FIG. 9 and the calling mode processing are executed sequentially and in parallel. In this process, whether an OK message indicating hook-off has been received from the partner apparatus (S70), whether the call operation duration t has exceeded a predetermined timeout period (for example, 1 minute) (S73), and the upstream VOX process It is monitored whether a VOX ON signal for instructing cancellation of a call is input from the unit 24 (S76).
相手装置からOKメッセージを受信した場合には(S70でYES)、了解を示すACKメッセージを返信するとともに(S71)、通話モードに移行するため通話モード移行処理を実行する(S72)。発呼動作の継続時間tがタイムアウト時間を過ぎた場合には(S73でYES)、相手装置に対してCANCELメッセージを送信し(S74)、待機モードに復帰するために待機モード移行処理(S75)を実行する。また、上りVOX処理部25からVOXオン信号が入力された場合には(S76でYES)、S74に進んで発呼動作を終了させる。 If an OK message has been received from the partner device (YES in S70), an ACK message indicating acceptance is returned (S71), and a call mode transition process is executed to shift to the call mode (S72). If the duration t of the calling operation has exceeded the timeout period (YES in S73), a CANCEL message is transmitted to the partner device (S74), and a standby mode transition process (S75) is performed to return to the standby mode. Execute. When the VOX ON signal is input from the upstream VOX processing unit 25 (YES in S76), the process proceeds to S74 and the call operation is terminated.
相手装置からOKメッセージを受信せず(S70でNO)、継続時間tがタイムアウト時間以内であり(S73でNO)且つ上りVOX処理部24からVOXオン信号が入力されない(S76でNO)場合には、何もしないでこの処理を終了し、発呼動作を継続する。 When the OK message is not received from the partner device (NO in S70), the duration t is within the timeout time (NO in S73), and the VOX ON signal is not input from the upstream VOX processing unit 24 (NO in S76) This processing is terminated without doing anything, and the calling operation is continued.
図11は無線呼出モード処理を示すフローチャートである。無線呼出モードでは図9のRBT発生処理動作(S8)とこの無線呼出モード処理(S9)が順次・並行して実行される。この処理では、発呼元の相手装置から発呼の中止を示すCANCELメッセージを受信したか(S80)、上りVOX処理部24から接続要求であるVOXオン信号が入力されたか(S83)を監視する。なお、VOXオン信号は、S8のRBT発生処理におけるリングバックトーンの休止期間中に、中継用トランシーバ3から制御音声用パラメータ200を超える音声信号が入力されたとき、VOX処理部24によって出力される。
FIG. 11 is a flowchart showing the radio call mode process. In the radio call mode, the RBT generation process operation (S8) and the radio call mode process (S9) of FIG. 9 are executed sequentially and in parallel. In this processing, it is monitored whether a CANCEL message indicating call suspension is received from the caller counterpart device (S80), or whether a VOX ON signal as a connection request is input from the upstream VOX processing unit 24 (S83). . The VOX ON signal is output by the
相手装置またはSIPサーバ6からCANCELメッセージが入力されると(S80でYES)、OKメッセージを返信するとともに(S81)、無線機インタフェース21からの音声入力を一定時間遮断するマスクモードへ移行するためのマスクモード移行処理を実行する(S82)。上りVOX処理部24からVOXオン信号が入力された場合には(S83でYES)、相手装置への接続要求であるため、相手装置に対してOKメッセージを返信するとともに(S84)、通話モード移行処理を実行する(S85)。
When a CANCEL message is input from the partner apparatus or the SIP server 6 (YES in S80), an OK message is returned (S81), and a transition is made to a mask mode in which voice input from the
CANCELメッセージを受信せず(S80でNO)且つ、VOXオン信号も入力されない場合(S83でNO)には、何もしないでこの処理を終了し、無線呼出動作を継続する。 If no CANCEL message is received (NO in S80) and no VOX ON signal is input (NO in S83), this process is terminated without performing anything, and the radio call operation is continued.
図12は、マスクモード処理を示すフローチャートである。まず、マスクモード移行処理でスタートされたマスクタイマがタイムアップしたか否か(S90)を判断する。マスクタイマがタイムアップするまで(S90でNO)の間はマスク期間中であるため、マスクモードを継続する。マスクタイマがタイムアップした場合(S90でYES)には、マスクモードを終了するためPTT信号をオフし(S92)、マスクタイマを停止して(S93)、待機モード移行処理(S94)を実行する。ただし、マスク期間中であっても、他の電話通信機器(相手装置)から着呼があった場合すなわちINVITEメッセージを受信した場合(S91でYES)には、PTT信号をオフし(S95)、マスクタイマを停止して(S96)マスクモードを中止し、待機モード処理動作(図8参照)のS52にジャンプして、この着呼に対応する。 FIG. 12 is a flowchart showing the mask mode process. First, it is determined whether or not the mask timer started in the mask mode transition process has expired (S90). Until the mask timer expires (NO in S90), the mask mode is continued, so the mask mode is continued. If the mask timer has expired (YES in S90), the PTT signal is turned off to end the mask mode (S92), the mask timer is stopped (S93), and the standby mode transition process (S94) is executed. . However, even during the mask period, when an incoming call is received from another telephone communication device (partner device), that is, when an INVITE message is received (YES in S91), the PTT signal is turned off (S95), The mask timer is stopped (S96), the mask mode is stopped, the process jumps to S52 of the standby mode processing operation (see FIG. 8), and this incoming call is dealt with.
図13(A)は、通話モード処理を示すフローチャートである。図13(B)は、通話モード処理の中で実行される音声転送処理を示すフローチャートである。通話モード処理では、通話を終了する旨のBYEメッセージを相手装置から受信するまで、S107(同図(B))の音声転送処理で、無線機インタフェース21から入力された上りの音声信号を音声パケット化してネットワークに送出する上りの音声転送処理、および、RTP手順でネットワーク1から受信した音声パケットをアナログのオーディオ信号化して無線機インタフェース21に入力する下りの音声転送処理を実行する。
FIG. 13A is a flowchart showing call mode processing. FIG. 13B is a flowchart showing the voice transfer process executed in the call mode process. In the call mode process, until the BYE message to end the call is received from the partner apparatus, the uplink voice signal input from the
図13(A)において、まずBYEメッセージを受信したか否かをS100で監視する。BYEメッセージを受信しない間は、音声転送処理を実行し(S107)、PTTスイッチの強制オン/オフを指示するDTMFの*トーンまたは#トーンを(S101,S102)を監視する。 In FIG. 13A, it is first monitored in S100 whether a BYE message is received. While the BYE message is not received, the voice transfer process is executed (S107), and the DTMF * tone or # tone instructing forcible on / off of the PTT switch is monitored (S101, S102).
*トーンを受信した場合には(S101でYES)、PTTフラグをセットするとともに(S108)、PTT信号を無線機インタフェース21に出力する(S109)。そしてPTTスイッチをオンした旨を示す長いビープ音(ピー)を音声パケット送信部25を介して相手装置に送信する(S110)。一方、#トーンを受信した場合には(S102でYES)、PTT信号をオフするとともに(S111)、PTTフラグをリセットする(S112)。そして、PTTスイッチをオフした旨を示す短いビープ音(ピッ)を音声パケット送信部25を介して相手装置に送信する(S113)。 * When a tone is received (YES in S101), the PTT flag is set (S108), and a PTT signal is output to the radio interface 21 (S109). Then, a long beep sound indicating that the PTT switch is turned on is transmitted to the partner apparatus via the voice packet transmitting unit 25 (S110). On the other hand, if the #tone is received (YES in S102), the PTT signal is turned off (S111) and the PTT flag is reset (S112). Then, a short beep (beep) indicating that the PTT switch is turned off is transmitted to the partner apparatus via the voice packet transmitter 25 (S113).
一方、BYEメッセージを受信した場合には(S100でYES)、相手装置に対してOKメッセージを返信し(S104)、音声パケット送信部25、音声パケット受信部26の動作を停止させたのち(S105)、待機モード移行処理を実行する(S106)。
On the other hand, when the BYE message is received (YES in S100), an OK message is returned to the partner apparatus (S104), and the operations of the voice
図13(B)の音声転送処理において、VOX処理部24からのVOXオン信号の入力を監視する(S114)。上りのVOX処理部24からVOXオン信号が入力されると(S114でYES)、音声パケット送信部25に対してA/Dコンバータ23から入力された音声信号を音声パケット化してネットワーク1に送出するよう指示する(S115)。なお、通話モード中、音声パケット送信部25は、制御部20からS115の指示を受けていない間は、無音パケットを生成してネットワーク1に送出している。
In the audio transfer process of FIG. 13B, the input of the VOX ON signal from the
次に、PTTフラグがセットしているか、すなわち強制的にPTT信号が出力されているかを判断する(S116)。PTTフラグがセットしている場合には(S116でYES)、そのまま動作を終了する。PTTフラグがリセットしている場合には(S116でNO)、下りのVOX処理部27からVOXオン信号が入力されたか否かを判断する(S117)。下りのVOX処理部27からVOXオン信号が入力された場合には(S117でYES)、無線機インタフェース21に対してPTT信号を出力する(S118)。これにより、ネットワーク1を介して受信されアナログ信号に変換された音声信号が中継用トランシーバ3から送信される。また、VOX処理部27からVOXオン信号が入力されない場合には(S117でNO)、PTT信号をオフして(S119)動作を終了する。
Next, it is determined whether the PTT flag is set, that is, whether the PTT signal is forcibly output (S116). If the PTT flag is set (YES in S116), the operation is terminated as it is. If the PTT flag is reset (NO in S116), it is determined whether or not a VOX ON signal is input from the downstream VOX processing unit 27 (S117). When a VOX ON signal is input from the downstream VOX processing unit 27 (YES in S117), a PTT signal is output to the radio interface 21 (S118). As a result, the audio signal received via the
図14は無音検出処理を示すフローチャートである。無音検出処理は、トランシーバ4(無線機インタフェース21)側から強制的にオンフック操作を行う手段がないため、通話音声が一定時間以上途絶えたことを条件としてオンフック処理、すなわち中継装置2から相手装置(SIPサーバ6)に向けてBYEメッセージを送信する処理を行う処理動作である。
FIG. 14 is a flowchart showing the silence detection process. Since there is no means for forcibly performing an on-hook operation from the transceiver 4 (radio interface 21) side, the silence detection process is performed on the condition that the call voice has been interrupted for a certain period of time, that is, from the
まず、上りVOX処理部24からVOXオン信号が出力されているか否かを検出する(S120)。VOXオン信号が出力されている場合、すなわちトランシーバ4のユーザが通話していると考えられる場合には(S120でYES)、上り無音フラグ、上下無音フラグ、上り無音タイマ、上下無音タイマを全てリセットする(S121)。
First, it is detected whether or not a VOX ON signal is output from the upstream VOX processing unit 24 (S120). When the VOX ON signal is output, that is, when it is considered that the user of the
なお、上り無音フラグは、トランシーバ4(中継用トランシーバ3)からの通話音声の入力がない旨を記憶するフラグであり、上り無音タイマはその継続時間を計時するタイマである。また、上下無音フラグは、トランシーバ4(中継用トランシーバ3)からの通話音声および相手装置(ネットワーク1)からの通話音声の双方とも入力がない旨を記憶するフラグであり、上下無音タイマはその継続時間を計時するタイマである。上下無音タイマは、たとえば10秒程度に設定される。上り・下り双方とも10秒以上通話が途切れている場合には通話が終了したとして通話(セッション)を終了する。 The up silence flag is a flag for storing that there is no call voice input from the transceiver 4 (relay transceiver 3), and the up silence timer is a timer for measuring the duration. The up / down silence flag is a flag for storing that neither the call voice from the transceiver 4 (relay transceiver 3) nor the call voice from the partner apparatus (network 1) is input, and the up / down silence timer continues. It is a timer that measures time. The up / down silence timer is set to about 10 seconds, for example. If the call has been interrupted for 10 seconds or more in both the uplink and the downlink, the call (session) is terminated as the call is terminated.
また、上り無音タイマは、たとえば20秒程度に設定される。上り無音フラグ、上り無音タイマは、相手装置がたとえば留守番電話等の自動応答であった場合に有効であり、相手装置が自動応答で音声を出力していても、トランシーバ4が20秒程度応答しないことにより通話を終了することができる。なお、このフローチャートでは、通話モードでは常に上りの無音を検出し、上り無音タイマがタイムアップしたときセッションを終了するようにしているが、相手装置からの着信時には上り無音フラグ,上り無音タイマを使用せず、上り通話音声が途切れたのみではセッションを終了しないようにしてもよい。
The up silence timer is set to about 20 seconds, for example. The uplink silence flag and the uplink silence timer are effective when the counterpart device is an automatic response such as an answering machine, and the
上りVOX処理部24からVOXオン信号が出力されていない場合、すなわちVOX処理部24がオフしている場合には(S120でNO)、上り無音フラグが既にセットしているかを判定する(S122)。上り無音フラグがセットしていない場合には(S122でNO)、上り無音状態の開始であるとして、上り無音フラグをセットするとともに(S123)、上り無音タイマをスタートさせる(S124)。
When the VOX ON signal is not output from the upstream
上り無音フラグが既にセットしている場合には(S122でYES)、上り無音タイマがタイムアップしたかを判断する(S125)。上り無音タイマがタイムアップした場合には(S125でYES)、上り音声の無音によるフックオン処理を行うためBYEメッセージを相手装置に送信し(S132)、音声パケット送信部25、音声パケット受信部26の動作を停止したのち(S133)、待機モード移行処理を実行する(S134)。
If the up silence flag has already been set (YES in S122), it is determined whether the up silence timer has expired (S125). If the upstream silence timer has timed out (YES in S125), a BYE message is transmitted to the partner device to perform hook-on processing due to the upstream speech silence (S132), and the
また、上りVOX処理部24がオフしている場合であって上り無音タイマがタイムアップしていない場合(S124およびS125でNO)には、さらに、下りVOX処理部27からVOXオン信号が出力されているか否かも判断する(S126)。下りVOX処理部27からVOXオン信号が出力されている場合には(S126でYES)、相手装置からの通話音声が入力されているとして、上り・下りともに無音であることを示す上下無音フラグおよび上下無音タイマをリセットする(S127)。
Further, when the upstream
一方、下りVOX処理部27もVOXオン信号を出力していない場合、すなわちVOX処理部27もオフしている場合には(S126でNO)、上下無音フラグが既にセットしているかを判断する(S128)。上下無音フラグがセットしていない場合には(S128でNO)、上下無音状態の開始であるとして、上下無音フラグをセットするとともに(S129)、上下無音タイマをスタートさせる(S130)。
On the other hand, if the downstream
上下無音フラグが既にセットしている場合には(S128でYES)、上下無音タイマがタイムアップしたかを判断する(S131)。上下無音タイマがタイムアップした場合には(S131でYES)、上下音声の無音によるフックオン処理を行うためBYEメッセージを相手装置に送信し(S132)、音声パケット送信部25、音声パケット受信部26の動作を停止したのち(S133)、待機モード移行処理を実行する(S134)。
If the up / down silence flag is already set (YES in S128), it is determined whether the up / down silence timer has expired (S131). If the up / down silence timer has expired (YES in S131), a BYE message is transmitted to the partner device to perform hook-on processing with up / down silence (S132), and the
図15はパケットロス監視処理を示すフローチャートである。パケットロス監視処理は、ネットワークの障害等により相手装置から音声パケットが届かなくなったことを検出してオンフック処理を行う処理である。 FIG. 15 is a flowchart showing packet loss monitoring processing. The packet loss monitoring process is a process for detecting that a voice packet has not arrived from the other device due to a network failure or the like and performing an on-hook process.
まず、下りVOX処理部24からパケットロスの通知があるか検出する(S140)。パケットロスの通知がない場合、すなわち相手装置から音声パケットが正常に届いている場合には(S140でNO)、パケットロスフラグおよびパケットロスタイマリセットして(S141)動作を終了する。なお、パケットロスフラグは、相手装置からの音声パケットが途絶えている旨を記憶するフラグであり、パケットロスタイマはその継続時間を計時するタイマである。パケットロスタイマは、たとえば5秒程度に設定される。 First, it is detected whether there is a packet loss notification from the downstream VOX processing unit 24 (S140). If there is no packet loss notification, that is, if the voice packet has normally arrived from the partner device (NO in S140), the packet loss flag and the packet loss timer are reset (S141), and the operation is terminated. Note that the packet loss flag is a flag for storing that the voice packet from the partner apparatus is interrupted, and the packet loss timer is a timer for measuring the duration. The packet loss timer is set to about 5 seconds, for example.
下りVOX処理部24からパケットロスの通知があった場合、すなわち相手装置からの音声パケットが届かない場合には(S140でYES)には、パケットロスフラグが既にセットしているかを判定する(S142)。パケットロスフラグがセットしていない場合には(S142でNO)、パケットロスフラグをセットするとともに(S143)、パケットロスタイマをスタートさせる(S144)。
If there is a packet loss notification from the downstream
パケットロスフラグが既にセットしている場合には(S142でYES)、パケットロスタイマがタイムアップしたかを判断する(S145)。パケットロスタイマがタイムアップした場合には(S145でYES)、ネットワーク障害等が発生していると判断して、SIPサーバ6に通話の終了を通知するためBYEメッセージを送信し(S146)、音声パケット送信部25、音声パケット受信部26の動作を停止する(S147)。そして、不慮の障害で通話が終了したことによる誤発呼を防止するためマスクモード移行処理を実行する(S148)。
If the packet loss flag has already been set (YES in S142), it is determined whether the packet loss timer has expired (S145). If the packet loss timer has expired (YES in S145), it is determined that a network failure or the like has occurred, and a BYE message is transmitted to notify the SIP server 6 of the end of the call (S146). The operations of the
なお、この実施形態では、図13(B)に示すように、通話モード時に、上り通話音声用パラメータを超えるオーディオ信号のみ音声パケット化して相手装置に送信しているが、電話通信は全二重通信であるため、上り音声をVOX制御することなく全て音声パケット化して相手装置に送信してもよい。また、無線機インタフェース21に接続されている中継用トランシーバ3がフルデュプレックス(全二重)方式のトランシーバの場合には、下り音声もVOX制御する必要はない(この場合、PTT信号は不要である)。なお、これらの場合であっても、通話(セッション)切断のための無音検出が必要であるため、VOX処理部24,27は動作させる。
In this embodiment, as shown in FIG. 13 (B), only audio signals exceeding the parameters for uplink voice are converted into voice packets and transmitted to the counterpart device in the call mode, but the telephone communication is full duplex. Since it is communication, all uplink voices may be converted into voice packets without being subjected to VOX control and transmitted to the partner apparatus. Further, when the
1 ネットワーク
2,12 中継装置
3 中継用トランシーバ
4 トランシーバ
6 SIPサーバ
7 VoIPゲートウェイ
8 IP電話機
DESCRIPTION OF
Claims (8)
無線通信機が接続される無線機インタフェースと、
前記ネットワークを介した電話通信における通信相手装置の宛先情報を記憶する記憶部と、
前記無線機インタフェースから入力されるオーディオ信号を監視し、該オーディオ信号が所定の第1条件を満たしたとき、前記宛先情報を用いて発呼処理を実行する呼処理部と、
を備えた中継装置。 A network interface connected to a network which is a data communication network;
A radio interface to which the radio communication device is connected; and
A storage unit for storing destination information of a communication partner device in telephone communication via the network;
A call processing unit that monitors an audio signal input from the radio interface, and executes call processing using the destination information when the audio signal satisfies a predetermined first condition;
A relay device comprising:
前記呼処理部は、前記RBT発生部が前記PTT信号を出力していないとき、前記無線機インタフェースから入力されるオーディオ信号を監視し、該オーディオ信号が所定の第2条件を満たしたとき、前記発呼処理を中止する請求項4に記載の中継装置。 The RBT generation unit intermittently generates and outputs the PTT signal and ringback tone,
The call processing unit monitors an audio signal input from the radio interface when the RBT generator does not output the PTT signal, and when the audio signal satisfies a predetermined second condition, The relay device according to claim 4, wherein the call processing is stopped.
前記発呼処理により前記通信相手装置と通信が確立されたのち、前記音声パケット受信部が受信した音声パケットをオーディオ信号に変換して前記無線機インタフェースに入力するデコード部と、
前記音声パケット受信部が受信したオーディオ信号が所定の第3条件を満たしたとき、前記無線通信機を送信モードに切り換える信号であるPTT信号を前記無線機インタフェースを介して出力するPTT制御部と、
をさらに備えた請求項1乃至請求項6のいずれかに記載の中継装置。 After communication is established with the communication partner device by the call processing, the audio signal input from the radio interface is packetized, and the voice packet is output to the communication partner device via the network interface. A transmission unit;
After communication is established with the communication partner device by the call processing, a decoding unit that converts the voice packet received by the voice packet receiving unit into an audio signal and inputs the audio signal to the radio interface;
A PTT control unit that outputs a PTT signal that is a signal for switching the wireless communication device to a transmission mode when the audio signal received by the voice packet receiving unit satisfies a predetermined third condition;
The relay device according to any one of claims 1 to 6, further comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009292590A JP5392061B2 (en) | 2009-12-24 | 2009-12-24 | Relay device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009292590A JP5392061B2 (en) | 2009-12-24 | 2009-12-24 | Relay device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013216188A Division JP5617986B2 (en) | 2013-10-17 | 2013-10-17 | Relay device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011135289A true JP2011135289A (en) | 2011-07-07 |
JP5392061B2 JP5392061B2 (en) | 2014-01-22 |
Family
ID=44347564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009292590A Active JP5392061B2 (en) | 2009-12-24 | 2009-12-24 | Relay device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5392061B2 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014087028A (en) * | 2012-10-26 | 2014-05-12 | Icom Inc | Relay device and communication system |
US9112574B2 (en) | 2012-10-26 | 2015-08-18 | Icom Incorporated | Relaying device and communication system |
US9374472B2 (en) | 2012-12-26 | 2016-06-21 | Icom Incorporated | Relaying device |
US9503910B2 (en) | 2012-12-26 | 2016-11-22 | Icom Incorporated | Relaying device |
US9503908B2 (en) | 2012-12-26 | 2016-11-22 | Icom Incorporated | Relaying device |
JP2020529163A (en) * | 2017-08-31 | 2020-10-01 | パク、サンレ | Smartphone and Bluetooth ear set with digital non-electric function |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04104527A (en) * | 1990-08-24 | 1992-04-07 | Nippon Telegr & Teleph Corp <Ntt> | Simplex radio communication repeating installation |
JPH0823368A (en) * | 1994-07-08 | 1996-01-23 | Hitachi Ltd | Telephone communication terminal equipment |
JP3061610U (en) * | 1999-02-23 | 1999-09-24 | 孝行 西住 | Wireless device |
JP2001136206A (en) * | 1999-11-08 | 2001-05-18 | Matsushita Electric Ind Co Ltd | Device and system for communication |
JP2002290307A (en) * | 2001-03-26 | 2002-10-04 | Hitachi Kokusai Electric Inc | Radio equipment |
JP2008154157A (en) * | 2006-12-20 | 2008-07-03 | Japan Radio Co Ltd | Voice ip apparatus |
JP2009049821A (en) * | 2007-08-21 | 2009-03-05 | Aruze Corp | Ip telephone system |
-
2009
- 2009-12-24 JP JP2009292590A patent/JP5392061B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04104527A (en) * | 1990-08-24 | 1992-04-07 | Nippon Telegr & Teleph Corp <Ntt> | Simplex radio communication repeating installation |
JPH0823368A (en) * | 1994-07-08 | 1996-01-23 | Hitachi Ltd | Telephone communication terminal equipment |
JP3061610U (en) * | 1999-02-23 | 1999-09-24 | 孝行 西住 | Wireless device |
JP2001136206A (en) * | 1999-11-08 | 2001-05-18 | Matsushita Electric Ind Co Ltd | Device and system for communication |
JP2002290307A (en) * | 2001-03-26 | 2002-10-04 | Hitachi Kokusai Electric Inc | Radio equipment |
JP2008154157A (en) * | 2006-12-20 | 2008-07-03 | Japan Radio Co Ltd | Voice ip apparatus |
JP2009049821A (en) * | 2007-08-21 | 2009-03-05 | Aruze Corp | Ip telephone system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014087028A (en) * | 2012-10-26 | 2014-05-12 | Icom Inc | Relay device and communication system |
US9112574B2 (en) | 2012-10-26 | 2015-08-18 | Icom Incorporated | Relaying device and communication system |
US9742483B2 (en) | 2012-10-26 | 2017-08-22 | Icom Incorporated | Relaying device |
US9374472B2 (en) | 2012-12-26 | 2016-06-21 | Icom Incorporated | Relaying device |
US9503910B2 (en) | 2012-12-26 | 2016-11-22 | Icom Incorporated | Relaying device |
US9503908B2 (en) | 2012-12-26 | 2016-11-22 | Icom Incorporated | Relaying device |
US9699235B2 (en) | 2012-12-26 | 2017-07-04 | Icom Incorporated | Relaying device, communication system, and communication method |
US9705585B2 (en) | 2012-12-26 | 2017-07-11 | Icom Incorporated | Relaying device and communication system |
US9705954B2 (en) | 2012-12-26 | 2017-07-11 | Icom Incorporated | Relaying device, communication system, and communication method |
US10263665B2 (en) | 2012-12-26 | 2019-04-16 | Icom Incorporated | Communication system |
JP2020529163A (en) * | 2017-08-31 | 2020-10-01 | パク、サンレ | Smartphone and Bluetooth ear set with digital non-electric function |
EP3678356A4 (en) * | 2017-08-31 | 2021-04-21 | Sang Rae Park | Smart phone and bluetooth earset having digital two-way radio function |
Also Published As
Publication number | Publication date |
---|---|
JP5392061B2 (en) | 2014-01-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5381689B2 (en) | Relay device and communication system | |
JP5392061B2 (en) | Relay device | |
JP2008011366A (en) | Key telephone set using sip, termination at group representative thereof and incoming call response method | |
JP2005184802A (en) | Call waiting service method and its apparatus in voip terminal having back up function of public phone network | |
JP3575435B2 (en) | Telephone system and telephone connection monitoring method | |
CS548990A3 (en) | Arrangement for selective connection of a copying device or a telephone set to a telephone subscriber line | |
JP5321838B2 (en) | Relay device | |
JP4877952B2 (en) | Voice communication system, wireless terminal and relay device using wireless LAN | |
JP5617986B2 (en) | Relay device | |
US8228918B2 (en) | Method, communications system and communications terminal for establishing communication | |
JP2008252802A (en) | Telephone device | |
JP4591647B2 (en) | Packet telephone equipment | |
KR20060061803A (en) | Gateway device, private branch exchange system, and private branch exchange method | |
JP4906823B2 (en) | Call control method, communication system, and information processing apparatus | |
JP3052568B2 (en) | Wireless telephone equipment | |
JP4941739B2 (en) | Reporting method and reporting device using the method | |
JP4576796B2 (en) | Call control method in VoIP communication apparatus | |
JP5019211B2 (en) | IP phone compatible device | |
JP2005136449A (en) | Ip phone system and ip phone set | |
JP4225259B2 (en) | Carrier selection processing method, transmission processing method, and IP telephone apparatus | |
JP2007049281A (en) | Ip telephone set, and system and method for transferring incoming call thereof | |
JP2005303470A (en) | Ip phone, control apparatus, and call termination notice method | |
JP3022526B2 (en) | Telephone equipment | |
JP2002033743A (en) | Phone and repeater, and recording medium | |
US20150264188A1 (en) | Telephony system comprising a master device and at least one slave device connected by a communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120406 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130522 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130604 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130801 |
|
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: 20130917 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130930 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5392061 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 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 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |