[go: up one dir, main page]

JP2002359679A - Telephone line connection method - Google Patents

Telephone line connection method

Info

Publication number
JP2002359679A
JP2002359679A JP2001167044A JP2001167044A JP2002359679A JP 2002359679 A JP2002359679 A JP 2002359679A JP 2001167044 A JP2001167044 A JP 2001167044A JP 2001167044 A JP2001167044 A JP 2001167044A JP 2002359679 A JP2002359679 A JP 2002359679A
Authority
JP
Japan
Prior art keywords
line
telephone line
tone
dial tone
detected
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.)
Pending
Application number
JP2001167044A
Other languages
Japanese (ja)
Inventor
Tadanori Ryu
忠則 笠
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2001167044A priority Critical patent/JP2002359679A/en
Publication of JP2002359679A publication Critical patent/JP2002359679A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To solve the problem that a conventional telephone line connection method has required for a user to manually set line parameters. SOLUTION: Whether a telephone line is an extension or an external line is discriminated based on a call tone from the telephone line, when the external line is detected, a prescribed DTMF (dual tone multi frequency) tone or a pulse signal is transmitted and the presence/absence of a call tone is detected to discriminate whether the telephone line is a tone line or a pulse line. When it is discriminated that the telephone line is the extension, a number of a plurality of objects of external line call numbers set in advance is transmitted by a DTMF tone signal or a pulse signal, the presence/absence of the call tone is detected to discriminate whether the telephone line is a tone line or a pulse line, when no call tone is detected, a succeeding number of a plurality of the objects of the external line call numbers is transmitted and the presence/absence of the call tone is detected. Then the above processing is repeated until the call tone is detected from the telephone line and when the call tone is detected, the number transmitted by the DTMF tone signal or the pulse signal just before the detection is determined to be an external line transmission number.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電話回線接続方
法、電話回線接続用プログラム、記録媒体、半導体素
子、回線識別方法並びに、電話回線と接続されてデータ
通信を行うパーソナルコンピュータ、組み込み機器用モ
デム、電話機器などのデータ通信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a telephone line connection method, a telephone line connection program, a recording medium, a semiconductor device, a line identification method, a personal computer connected to a telephone line for data communication, and a modem for an embedded device. And data communication devices such as telephone equipment.

【0002】[0002]

【従来の技術】公衆回線と接続されるデータ通信装置の
一例としてモデムについて従来技術を説明する。モデム
をデータ通信に使用する場合、ユーザは、モデムに接続
されている電話回線の種別(電話回線が公衆電話回線
(外線)か内線か、トーンダイヤルのものか、回転速度
の低いパルスダイヤルのものか、回転速度の高いパルス
ダイヤルのものか)を確認してそれに応じた設定操作を
行い、ダイヤリングを行う。
2. Description of the Related Art A conventional technique of a modem will be described as an example of a data communication apparatus connected to a public line. When a modem is used for data communication, the user must select the type of telephone line connected to the modem (whether the telephone line is a public telephone line (external line) or an internal line, a tone dial, or a pulse dial with a low rotation speed. Or a pulse dial with a high rotation speed) and perform a setting operation according to it to perform dialing.

【0003】テレビ受像機などからインターネットに接
続できるBSデジタル/CSチューナなどの機器は、課
金情報などを送るためモデムを使用している。
[0003] Devices such as BS digital / CS tuners that can be connected to the Internet from a television receiver or the like use a modem to send billing information and the like.

【0004】モデムを接続する電話回線が、公衆電話回
線(外線)、内線のいずれであるか、あるいは、トーン
ダイヤルのもの、回線速度の低いパルスダイヤルのも
の、回線速度の高いパルスダイヤルのもののいずれであ
るかを判別してモデムに設定する設定方法については、
特開平8−317075号公報や特公平6−83300
号公報に詳しく記載されている。
Whether the telephone line connecting the modem is a public telephone line (external line) or an internal line, or a tone dial, a low-speed pulse dial, or a high-speed pulse dial For the setting method to determine whether the
JP-A-8-317075 and JP-B-6-83300
This is described in detail in the official gazette.

【0005】特開平8−317075号公報には、パー
ソナルコンピュータなどのホストが、モデムに仮設定し
たダイヤリングを行わせ、ある既知な接続相手を呼び出
させ、呼び出された接続相手が既知の内容で応答したか
どうかをホストが判断することで、仮設定中のダイヤル
方式を最終設定の方式としてモデムに設定する方法が記
載されている。また、特公平6−83300号公報に
は、装置設置時に、複数のダイヤル方式でダイヤリング
を行ない、その後の発信音の検出があったかどうかを用
いてダイヤル方式を設定する方法が記載されている。
Japanese Patent Application Laid-Open No. Hei 8-317075 discloses that a host such as a personal computer causes a modem to temporarily set a dialing, call a known connection partner, and call the connection partner with known contents. A method is described in which the host determines whether or not a response has been made, and sets the dialing method being provisionally set as the final setting method in the modem. In addition, Japanese Patent Publication No. 6-83300 describes a method in which dialing is performed using a plurality of dialing methods when the apparatus is installed, and a dialing method is set based on whether or not a subsequent dial tone has been detected.

【0006】[0006]

【発明が解決しようとする課題】例えばモデムがトーン
ダイヤルの公衆回線(公衆電話回線)に直接に接続され
ていた場合は“ATD”コマンドでダイヤリングする
が、公衆回線がトーンダイヤリングの場合には”ATD
T”コマンドでダイヤリングし、モデムがパルスダイヤ
ルの公衆電話回線に直接に接続されていた場合には”A
TDP”コマンドを使用してダイヤリングする必要があ
る。また、電話回線の通信速度が低い速度(10pp
s)か、高い速度(20pps)かに応じて“AT&P
n”コマンド中の値’n’を変更してパルス速度を設定
する必要がある。
For example, if the modem is directly connected to a tone-dial public line (public telephone line), dialing is performed using an "ATD" command. Is "ATD
Dialing with the "T" command, and "A" if the modem is directly connected to a pulse-dial public telephone line.
It is necessary to dial using the "TDP" command. Also, the communication speed of the telephone line is low (10 pp
s) or high speed (20 pps)
The pulse speed needs to be set by changing the value 'n' in the 'n' command.

【0007】また、モデムが内線に接続されていた場合
においては、外線発信番号(0や9など)とこれに続く
電話番号との間へコンマ’,’もしくは、’W’が挿入
されたコマンドを用いてダイヤリングする必要がある。
通常、モデムは、電話回線がオフフック(閉結)する
と、まず、電話回線からの発信音をチェックする。モデ
ムが内線に接続されていた場合、発信音が検出できない
ため、モデムは、ホストに対して「NO DIALTO
NE」コードを出力し、ダイヤリング動作を中止する。
そのため、ホストは、電話回線からの発信音をチェック
しないで、ダイヤリングするモードに設定する必要があ
る。これは、通常「ATX3」コマンドを発行して設定
する。
When a modem is connected to an extension, a command in which a comma ',' or 'W' is inserted between an outside line transmission number (0, 9, etc.) and a telephone number following the number. It is necessary to dial using.
Normally, when the telephone line goes off-hook (closed), the modem first checks for a dial tone from the telephone line. If the modem is connected to the extension, the dial tone cannot be detected, and the modem sends “NO DIALTO” to the host.
“NE” code is output, and the dialing operation is stopped.
Therefore, the host needs to set the dialing mode without checking the dial tone from the telephone line. This is normally set by issuing an “ATX3” command.

【0008】発信音をチェックする設定は「ATX4」
コマンドを発行して設定する。モデムが内線に接続され
ている場合には、ダイヤルする番号の前に外線発信番号
(0や9など)をダイヤリングして、’,’コマンドを
使用したい場合は一定時間待ってから次のダイヤリング
を行うか、’W’コマンドを使用した場合は電話回線か
らの発信音を検出した後に所望の番号をダイヤリングす
る事になる。そのため、ホストは、電話回線の種別が判
らない場合には、ダイヤリングが失敗することでダイヤ
リング方法が間違っていることを知ることになり、電話
回線の種別やダイヤリング方式などをあらかじめ知った
上でダイヤリングのコマンドを決定する必要がある。
The setting for checking the dial tone is "ATX4"
Issue a command to set. If the modem is connected to an extension, dial the outside line number (such as 0 or 9) before dialing the number. If you want to use the ',' command, wait for a certain period of time before the next dialing. When a ring is performed or a 'W' command is used, a desired number is dialed after detecting a dial tone from a telephone line. Therefore, if the host does not know the type of telephone line, the host will know that the dialing method is wrong due to the failure of dialing, and has learned in advance the type of telephone line and the dialing method. It is necessary to determine the dialing command above.

【0009】また、電話回線が、トーンダイヤルのもの
か、速度の低いパルスダイヤルのものか、速度の高いパ
ルスダイヤルのものかが判らないため、多くのユーザは
モデム接続の回線種別やダイヤル方式を直ちに判別でき
ず、このため、モデム設定の操作を正しくダイヤリング
するまで繰り返すので、モデム設定の操作に時間がかか
ってしまう。
Further, since it is not known whether the telephone line is a tone dial, a low-speed pulse dial, or a high-speed pulse dial, many users often use a modem connection line type or dial system. Since it cannot be determined immediately and the operation of the modem setting is repeated until the dialing is correctly performed, the operation of the modem setting takes time.

【0010】テレビ受像機などからインターネットに接
続できるBSデジタル/CSチューナなどの機器は、課
金情報などを送るためにモデムを使用しているが、この
ような機器は、電話回線の交換機側に複数種類の電話回
線接続方法があることからどんな電話回線に接続される
のか判らないので、予め電話回線に合ったモデム設定を
することが難しいため、ユーザが電話回線の種別をマニ
ュアルで設定しなければならず、面倒である。さらに、
内線のダイヤリングを行う場合は、上述したように特別
なコマンドを付けてダイヤリングを行う必要がある。
Devices such as BS digital / CS tuners that can be connected to the Internet from a television receiver or the like use a modem to send billing information and the like. It is difficult to make a modem setting that matches the telephone line in advance, because there are various types of telephone line connection methods, so it is difficult to set a modem that matches the telephone line in advance. It is not troublesome. further,
When dialing an extension, it is necessary to perform dialing with a special command as described above.

【0011】特開平8−317075号公報記載の方法
では、仮設定中のダイヤル方式が正しいと判断する為に
は、最終的に既知な接続相手を呼び出させ、かつ相手か
らの音声応答が予想していた既知のものであるか否かを
ホストが判断する必要がある。これでは、音声応答が既
知のものであるか否かを判断する音声判断手段が別途必
要になり、電話回線の種別を判定するまでにかなり時間
がかかり、また、無駄な接続費用までかかってしまう。
According to the method described in Japanese Patent Application Laid-Open No. H8-317075, in order to determine that the dialing method being provisionally set is correct, a known connection partner is finally called and a voice response from the partner is expected. The host needs to determine whether or not it is a known one. In this case, a separate voice determining means for determining whether the voice response is a known one is required, and it takes a considerable amount of time to determine the type of the telephone line, and a wasteful connection cost is required. .

【0012】特公平6−83300号公報記載の方法
は、装置設置時に、複数のダイヤル方式でダイヤリング
を行ない、その後の発信音の検出があったかどうかを用
いてダイヤル方式を設定する方法であるが、これでは、
内線と外線の区別、外線発信番号の判定はできない。
The method described in Japanese Patent Publication No. 6-83300 is a method in which dialing is performed by a plurality of dialing methods when the apparatus is installed, and the dialing method is set by using whether or not a subsequent dial tone is detected. In this,
It is not possible to distinguish between an extension and an outside line and determine the outside line number.

【0013】本発明は、上記の事情に鑑みてなされたも
のであり、接続した電話回線の種別を自動的に検出する
ことができ、回線パラメータ設定をユーザによらずに自
動的に設定することが可能となって、接続した電話回線
に応じて正常にダイヤリングすることが可能となる電話
回線接続方法、電話回線接続用プログラム、記録媒体、
半導体素子、回線識別方法並びにデータ通信装置を提供
することを目的とし、さらに電話回線の接続の有無を検
出して電話回線が接続されていない場合に検出結果を出
力することができるデータ通信装置を提供することを目
的とする。
The present invention has been made in view of the above circumstances, and can automatically detect the type of a connected telephone line, and can automatically set line parameter settings without depending on the user. A telephone line connection method, a telephone line connection program, a recording medium, and the like, which enable normal dialing according to the connected telephone line.
A semiconductor device, a line identification method, and a data communication device capable of detecting the presence or absence of connection of a telephone line and outputting a detection result when the telephone line is not connected are provided. The purpose is to provide.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するた
め、請求項1に係る発明は、データ通信装置を電話回線
に接続する電話回線接続方法であって、前記データ通信
装置を電話回線に接続する第1ステップと、この第1ス
テップで接続された電話回線からの発信音により該電話
回線が内線であるか外線であるかを判別する第2ステッ
プと、この第2ステップで、前記接続された電話回線が
外線であると判別された場合、所定のDTMFトーン信
号もしくはパルス信号を前記接続した電話回線に送出
し、該電話回線からの発信音の有無を検出することによ
り前記接続した電話回線がトーン回線であるかパルス回
線であるかを判別する第3ステップと、前記第2ステッ
プで、前記接続した電話回線が内線であると判別された
場合、予め設定された複数の外線発信番号の候補の中の
番号をDTMFトーン信号もしくはパルス信号で前記接
続した電話回線に送出し、該電話回線からの発信音の有
無を検出することにより前記接続した電話回線がトーン
回線であるかパルス回線であるかを判別する第4ステッ
プと、この第4ステップで、発信音が検出されない場
合、閉結した電話回線の発信音を確認した後に前記複数
の外線発信番号の候補の中の次の番号のDTMFトーン
信号もしくはパルス信号を前記接続した電話回線に送出
し、該電話回線からの発信音の有無を検出するというこ
とを、前記接続した電話回線からの発信音が検出される
まで繰り返して行い、発信音を検出すればその直前にD
TMFトーン信号もしくはパルス信号で送出した番号を
外線発信番号と判定する第5ステップとを有することを
特徴とする。
According to one aspect of the present invention, there is provided a telephone line connection method for connecting a data communication device to a telephone line, wherein the data communication device is connected to a telephone line. A second step of determining whether the telephone line is an internal line or an external line based on a dial tone from the telephone line connected in the first step, and the second step If it is determined that the telephone line is an outside line, a predetermined DTMF tone signal or pulse signal is transmitted to the connected telephone line, and the presence or absence of a dial tone from the telephone line is detected, thereby detecting the connected telephone line. A third step of determining whether the telephone line is a tone line or a pulse line; and, in the second step, when it is determined that the connected telephone line is an extension, The number of the outside line number candidates is transmitted to the connected telephone line as a DTMF tone signal or a pulse signal, and the presence or absence of a dial tone from the telephone line is detected, whereby the connected telephone line becomes a tone line. And a fourth step of determining whether the line is a pulse line, and if no dial tone is detected in this fourth step, after confirming the dial tone of the closed telephone line, The transmission of the DTMF tone signal or pulse signal of the next number to the connected telephone line to detect the presence or absence of a dial tone from the telephone line means that the dial tone from the connected telephone line is detected. It repeats until the dial tone is detected.
A fifth step of determining a number transmitted by a TMF tone signal or a pulse signal as an outside line transmission number.

【0015】請求項2に係る発明は、データ通信装置を
電話回線に接続するための電話回線接続用プログラムで
あって、前記データ通信装置を電話回線に接続させる第
1手順と、この第1手順により接続された電話回線から
の発信音により該電話回線が内線であるか外線であるか
を判別する第2手順と、この第2手順で、前記接続され
た電話回線が外線であると判別された場合、所定のDT
MFトーン信号もしくはパルス信号を前記接続した電話
回線に送出し、該電話回線からの発信音の有無を検出す
ることにより前記接続した電話回線がトーン回線である
かパルス回線であるかを判別する第3手順と、前記第2
手順で、前記接続した電話回線が内線であると判別され
た場合、予め設定された複数の外線発信番号の候補の中
の番号をDTMFトーン信号もしくはパルス信号で前記
接続した電話回線に送出させ、該電話回線からの発信音
の有無を検出することにより前記接続した電話回線がト
ーン回線であるかパルス回線であるかを判別する第4手
順と、この第4手順で、発信音が検出されない場合、閉
結させた電話回線の発信音を確認した後に前記複数の外
線発信番号の候補の中の次の番号のDTMFトーン信号
もしくはパルス信号を前記接続した電話回線に送出さ
せ、該電話回線からの発信音の有無を検出するというこ
とを、前記接続した電話回線からの発信音が検出される
まで繰り返して行い、発信音を検出すればその直前にD
TMFトーン信号もしくはパルス信号で送出した番号を
外線発信番号と判定する第5手順とを有することを特徴
とする。
According to a second aspect of the present invention, there is provided a telephone line connection program for connecting a data communication apparatus to a telephone line, the first procedure for connecting the data communication apparatus to a telephone line, and the first procedure. A second procedure for determining whether the telephone line is an internal line or an external line based on a dial tone from the telephone line connected to the telephone line. In this second procedure, it is determined that the connected telephone line is an external line. DT
Transmitting an MF tone signal or a pulse signal to the connected telephone line, and detecting whether there is a dial tone from the telephone line to determine whether the connected telephone line is a tone line or a pulse line. 3 procedures and the second
In the procedure, when it is determined that the connected telephone line is an extension, a number among a plurality of preset outside line transmission number candidates is transmitted to the connected telephone line by a DTMF tone signal or a pulse signal, A fourth step of determining whether the connected telephone line is a tone line or a pulse line by detecting the presence or absence of a dial tone from the telephone line, and a case where no dial tone is detected in the fourth step. After confirming the dial tone of the closed telephone line, a DTMF tone signal or a pulse signal of a next number among the plurality of outside line candidate numbers is transmitted to the connected telephone line, and Detecting the presence or absence of a dial tone is repeated until a dial tone from the connected telephone line is detected.
A fifth step of determining a number transmitted by a TMF tone signal or a pulse signal as an outside line transmission number.

【0016】請求項3に係る発明は、データ通信装置を
電話回線に接続させる第1手順と、この第1手順により
接続された電話回線からの発信音により該電話回線が内
線であるか外線であるかを判別する第2手順と、この第
2手順で、前記接続された電話回線が外線であると判別
された場合、所定のDTMFトーン信号もしくはパルス
信号を前記接続した電話回線に送出し、該電話回線から
の発信音の有無を検出することにより前記接続した電話
回線がトーン回線であるかパルス回線であるかを判別す
る第3手順と、前記第2手順で、前記接続した電話回線
が内線であると判別された場合、予め設定された複数の
外線発信番号の候補の中の番号をDTMFトーン信号も
しくはパルス信号で前記接続した電話回線に送出させ、
該電話回線からの発信音の有無を検出することにより前
記接続した電話回線がトーン回線であるかパルス回線で
あるかを判別する第4手順と、この第4手順で、発信音
が検出されない場合、閉結させた電話回線の発信音を確
認した後に前記複数の外線発信番号の候補の中の次の番
号のDTMFトーン信号もしくはパルス信号を前記接続
した電話回線に送出させ、該電話回線からの発信音の有
無を検出するということを、前記接続した電話回線から
の発信音が検出されるまで繰り返して行い、発信音を検
出すればその直前にDTMFトーン信号もしくはパルス
信号で送出した番号を外線発信番号と判定する第5手順
とをコンピュータに実行させるためのプログラムを記録
したコンピュータ読み取り可能な記録媒体である。
According to a third aspect of the present invention, there is provided a first procedure for connecting a data communication device to a telephone line, and whether the telephone line is an internal line or an external line by a dial tone from the telephone line connected in the first step. A second procedure for determining whether there is a telephone line, and in the second procedure, when it is determined that the connected telephone line is an outside line, a predetermined DTMF tone signal or pulse signal is transmitted to the connected telephone line; A third step of determining whether the connected telephone line is a tone line or a pulse line by detecting the presence or absence of a dial tone from the telephone line; and When it is determined that the telephone number is an extension, a number among a plurality of candidates for the outside line number set in advance is transmitted to the connected telephone line by a DTMF tone signal or a pulse signal,
A fourth step of determining whether the connected telephone line is a tone line or a pulse line by detecting the presence or absence of a dial tone from the telephone line, and a case where no dial tone is detected in the fourth step. After confirming the dial tone of the closed telephone line, a DTMF tone signal or pulse signal of the next number among the plurality of outside line candidate numbers is transmitted to the connected telephone line, and Detecting the presence or absence of a dial tone is repeatedly performed until a dial tone from the connected telephone line is detected, and if a dial tone is detected, the number transmitted by a DTMF tone signal or pulse signal immediately before that is detected. Fig. 14 is a computer-readable recording medium on which a program for causing a computer to execute a fifth procedure of determining a calling number is recorded.

【0017】請求項4に係る発明は、回線閉結手段によ
り電話回線に接続されてデータ通信を行う半導体素子で
あって、前記回線閉結手段に電話回線へ接続させる第1
機能と、この第1機能で接続された電話回線からの発信
音により該電話回線が内線であるか外線であるかを判別
する第2機能と、この第2機能で、前記接続された電話
回線が外線であると判別された場合、所定のDTMFト
ーン信号もしくはパルス信号を前記接続した電話回線に
送出し、該電話回線からの発信音の有無を検出すること
により前記接続した電話回線がトーン回線であるかパル
ス回線であるかを判別する第3機能と、前記第2機能
で、前記接続した電話回線が内線であると判別された場
合、予め設定された複数の外線発信番号の候補の中の番
号をDTMFトーン信号もしくはパルス信号で前記接続
した電話回線に送出し、該電話回線からの発信音の有無
を検出することにより前記接続した電話回線がトーン回
線であるかパルス回線であるかを判別する第4機能と、
この第4機能で、発信音が検出されない場合、閉結した
電話回線の発信音を確認した後に前記複数の外線発信番
号の候補の中の次の番号のDTMFトーン信号もしくは
パルス信号を前記接続した電話回線に送出し、該電話回
線からの発信音の有無を検出するということを、前記接
続した電話回線からの発信音が検出されるまで繰り返し
て行い、発信音を検出すればその直前にDTMFトーン
信号もしくはパルス信号で送出した番号を外線発信番号
と判定する第5機能とを有するものである。
According to a fourth aspect of the present invention, there is provided a semiconductor device for performing data communication by being connected to a telephone line by a line closing means, wherein the line closing means connects to the telephone line.
A function, a second function of determining whether the telephone line is an extension or an outside line based on a dial tone from the telephone line connected by the first function, and the second function by the second function. Is determined to be an outside line, a predetermined DTMF tone signal or pulse signal is transmitted to the connected telephone line, and by detecting the presence or absence of a dial tone from the telephone line, the connected telephone line is connected to the tone line. A third function of determining whether the telephone line is an extension or a pulse line. If the second function determines that the connected telephone line is an extension, a plurality of preset outside line transmission number candidates are set. Is transmitted to the connected telephone line as a DTMF tone signal or a pulse signal, and the presence or absence of a dial tone from the telephone line is detected to determine whether the connected telephone line is a tone line or not. A fourth function of determining whether it is,
In this fourth function, if a dial tone is not detected, after confirming the dial tone of the closed telephone line, the DTMF tone signal or the pulse signal of the next number among the plurality of outside line candidate numbers is connected. The transmission to the telephone line and the detection of the presence or absence of a dial tone from the telephone line are repeated until the dial tone from the connected telephone line is detected. A fifth function of determining a number transmitted by a tone signal or a pulse signal as an outside line transmission number.

【0018】請求項5に係る発明は、データ通信装置が
接続される電話回線の種別を検出する回線識別方法にお
いて、前記データ通信装置を電話回線に接続してダイヤ
リングするための回線閉結手段により前記データ通信装
置を電話回線に接続し、この接続した電話回線からの発
信音の特徴を検出し、その結果から前記接続した電話回
線が内線であるか外線であるかを判別し、前記接続した
電話回線が外線であれば、所定のDTMFトーン信号も
しくはパルス信号を前記接続した電話回線に送出し、該
電話回線からの発信音の有無を検出することにより前記
接続した電話回線がトーン回線であるかパルス回線であ
るかを判別し、前記接続した電話回線が内線であれば、
予め設定された複数の外線発信番号の候補の中の番号を
DTMFトーン信号で前記接続した電話回線に送出し、
該電話回線からの発信音の有無を検出して発信音を検出
しなければ、電話回線の発信音を確認した後に前記複数
の外線発信番号の候補の中の次の番号のDTMFトーン
信号を前記接続した電話回線に送出し、該電話回線から
の発信音の有無を検出するということを、前記接続した
電話回線からの発信音が検出されるまで繰り返して行
い、発信音を検出すればその直前にDTMFトーン信号
で送出した番号を外線発信番号と判定し、前記複数の外
線発信番号のすべての候補の番号で発信音を検出しなけ
れば、パルスダイヤリングにて再度予め設定された複数
の外線発信番号を使用して前記接続した電話回線にダイ
ヤリングし、前記接続した電話回線からの発信音の有無
を検出することを繰り返して、前記接続した電話回線の
内線か外線の別、トーン回線かパルス回線の別、外線発
信番号を検出することを特徴とする。
According to a fifth aspect of the present invention, there is provided a line identification method for detecting a type of a telephone line to which a data communication device is connected, wherein line closing means for dialing by connecting the data communication device to a telephone line. By connecting the data communication device to a telephone line, detecting the characteristics of the dial tone from the connected telephone line, and determining from the result whether the connected telephone line is an internal line or an external line, If the connected telephone line is an outside line, a predetermined DTMF tone signal or pulse signal is transmitted to the connected telephone line, and the presence or absence of a dial tone from the telephone line is detected, whereby the connected telephone line becomes a tone line. Whether it is a pulse line or not, if the connected telephone line is an extension,
Sending out a number among a plurality of preset outside line calling number candidates to the connected telephone line with a DTMF tone signal;
If the presence or absence of a dial tone from the telephone line is not detected and the dial tone is not detected, the dial tone of the next number in the plurality of outside line candidate numbers is checked after confirming the dial tone of the telephone line. Sending to the connected telephone line and detecting the presence or absence of a dial tone from the telephone line are repeated until a dial tone from the connected telephone line is detected. It is determined that the number transmitted by the DTMF tone signal is an outside line calling number, and if a dial tone is not detected in all candidate numbers of the plurality of outside line calling numbers, a plurality of outside lines preset by pulse dialing are set again. Dialing to the connected telephone line using a calling number and repeatedly detecting the presence or absence of a dial tone from the connected telephone line are repeated to determine whether the connected telephone line is internal or external. Another emission line or pulse line, and detecting a dialing prefix.

【0019】請求項6に係る発明は、電話回線に接続し
てデータ通信を行うデータ通信装置において、DTMF
トーン信号およびパルス信号を発生する選択信号発生手
段と、前記データ通信装置を電話回線に接続する回線閉
結手段と、この回線閉結手段に前記データ通信装置を電
話回線へ接続させ、この接続した電話回線からの発信音
の特徴を検出し、その結果から前記接続した電話回線が
内線であるか外線であるかを判別し、前記接続した電話
回線が外線であれば、所定のDTMFトーン信号もしく
はパルス信号を前記接続した電話回線に送出し、該電話
回線からの発信音の有無を検出することにより前記接続
した電話回線がトーン回線であるかパルス回線であるか
を判別し、前記接続した電話回線が内線であれば、予め
設定された複数の外線発信番号の候補の中の番号をDT
MFトーン信号で前記接続した電話回線に送出し、該電
話回線からの発信音の有無を検出して発信音を検出しな
ければ、電話回線の発信音を確認した後に前記複数の外
線発信番号の候補の中の次の番号のDTMFトーン信号
を前記接続した電話回線に送出し、該電話回線からの発
信音の有無を検出するということを、前記接続した電話
回線からの発信音が検出されるまで繰り返して行い、発
信音を検出すればその直前にDTMFトーン信号で送出
した番号を外線発信番号と判定し、前記複数の外線発信
番号のすべての候補の番号で発信音を検出しなければ、
パルスダイヤリングにて再度予め設定された複数の外線
発信番号を使用して前記接続した電話回線にダイヤリン
グし、前記接続した電話回線からの発信音の有無を検出
することを繰り返して、前記接続した電話回線の内線か
外線の別、トーン回線かパルス回線の別、外線発信番号
を検出する回線種別検出手段とを備えたものである。
According to a sixth aspect of the present invention, there is provided a data communication apparatus for performing data communication by connecting to a telephone line.
Selection signal generating means for generating a tone signal and a pulse signal, line closing means for connecting the data communication device to a telephone line, and connecting the data communication device to the telephone line with the line closing means. The characteristics of the dial tone from the telephone line are detected, and from the result, it is determined whether the connected telephone line is an internal line or an external line. If the connected telephone line is an external line, a predetermined DTMF tone signal or A pulse signal is transmitted to the connected telephone line, and it is determined whether the connected telephone line is a tone line or a pulse line by detecting the presence or absence of a dial tone from the telephone line. If the line is an extension, the number among the plurality of preset outside line candidates is DT
An MF tone signal is sent to the connected telephone line, and if a dial tone is not detected by detecting the presence or absence of a dial tone from the telephone line, after confirming the dial tone of the telephone line, the plurality of outside line dial numbers are checked. Transmitting the DTMF tone signal of the next number in the candidate to the connected telephone line and detecting the presence or absence of a dial tone from the telephone line means that the dial tone from the connected telephone line is detected. Repeatedly, if a dial tone is detected, the number transmitted by the DTMF tone signal immediately before that is determined to be an outside line dial number, and if no dial tone is detected by all candidate numbers of the plurality of external line dial numbers,
Repeating the dialing to the connected telephone line using a plurality of preset outside line calling numbers by pulse dialing, and detecting the presence or absence of a dial tone from the connected telephone line, repeats the connection. Line type detecting means for detecting whether the telephone line is an extension or an outside line, whether it is a tone line or a pulse line, and an outside line transmission number.

【0020】請求項7に係る発明は、請求項6記載のデ
ータ通信装置において、前記回線種別検出手段が検出結
果を外部に出力することが可能であるものである。
According to a seventh aspect of the present invention, in the data communication apparatus according to the sixth aspect, the line type detecting means can output a detection result to the outside.

【0021】請求項8に係る発明は、請求項6記載のデ
ータ通信装置において、前記回線種別検出手段が検出結
果を内部に保存することが可能であるものである。
According to an eighth aspect of the present invention, in the data communication apparatus according to the sixth aspect, the line type detecting means can store a detection result therein.

【0022】請求項9に係る発明は、内線もしくは外
線、内線の場合の外線発信番号、トーン回線もしくはパ
ルス回線を含む回線パラメータをダイヤリング動作の前
にあらかじめ設定する手段を有し、この設定した回線パ
ラメータに応じてダイヤリング動作を行うものである。
According to the ninth aspect of the present invention, there is provided means for presetting line parameters including an extension or an outside line, an outside line originating number in the case of an extension, a tone line or a pulse line before the dialing operation, and The dialing operation is performed according to the line parameters.

【0023】請求項10に係る発明は、請求項9記載の
データ通信装置において、あらかじめ設定されていた回
線パラメータと実際の接続された電話回線の回線パラメ
ータが異なる場合にダイヤリング動作を中止し、回線パ
ラメータの設定が間違っていることを出力するものであ
る。
According to a tenth aspect of the present invention, in the data communication apparatus according to the ninth aspect, the dialing operation is stopped when a preset line parameter is different from a line parameter of an actually connected telephone line. Outputs that the setting of the line parameter is incorrect.

【0024】請求項11に係る発明は、回線閉結手段に
より電話回線に接続されてデータ通信を行うデータ通信
装置において、前記電話回線の線間電圧を検出する検出
手段と、この検出手段の検出結果から前記電話回線に接
続されているかどうかを判定する判定手段とを備え、ダ
イヤリングする前に前記検出手段及び前記判定手段によ
り前記電話回線に接続されているかどうかを判定し、前
記電話回線に接続されていなければ判定結果を出力する
ものである。
According to an eleventh aspect of the present invention, in a data communication apparatus connected to a telephone line by a line closing means for performing data communication, a detecting means for detecting a line voltage of the telephone line, Determining means for determining whether or not the telephone line is connected from the result, before dialing, determine whether or not the detecting means and the determining means are connected to the telephone line, and determine whether or not the telephone line is connected. If it is not connected, it outputs the determination result.

【0025】[0025]

【発明の実施の形態】本発明の一実施形態は、電話回線
に接続してデータ通信を行うデータ通信装置であり、接
続した電話回線からの発信音の有無と、その発信音が連
続したトーン信号、オン時間とオフ時間を持った断続音
のいずれかであるかどうかを判別する機能と、DTMF
(Dual Tone Multi Frequency)トーン信号(PB(プ
ッシュボタン)信号のこと)とパルス信号によるダイヤ
リングを行うダイヤリング手段を持つ。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention is a data communication apparatus for performing data communication by connecting to a telephone line, and determining whether or not there is a dial tone from the connected telephone line and a tone in which the dial tone is continuous. A function to determine whether the signal is an intermittent tone having an on-time and an off-time, and a DTMF
(Dual Tone Multi Frequency) It has a dialing means for performing dialing with a tone signal (PB (push button) signal) and a pulse signal.

【0026】この実施形態は、オフフック(電話回線の
閉結)後、接続した電話回線からの発信音が、連続した
トーン信号、オン時間とオフ時間を持った断続音のいず
れかであるかどうかを判別手段で判別することにより、
電話回線からの発信音が公衆回線からの連続音、内線か
らの断続音のいずれであるか、電話回線が接続されてい
なくて発信音が検出されないかを検出する。
In this embodiment, after the off-hook (the telephone line is closed), whether the dial tone from the connected telephone line is any of a continuous tone signal, an intermittent tone having an on-time and an off-time, Is determined by the determination means,
It detects whether the dial tone from the telephone line is a continuous tone from the public line or an intermittent tone from the extension, or whether the dial tone is not detected because the telephone line is not connected.

【0027】本実施形態は、接続した電話回線が外線で
あると判断した場合、任意の番号をまずDTMFトーン
信号でダイヤリングし、その後の電話回線からの発信音
の有無を判定し、発信音が消失すれば、そのダイヤリン
グ方式が、接続した電話回線に適合したと判断し、発信
音が存在する場合にはそのダイヤリング方式が、接続し
た電話回線に適合していないと判断することで、電話回
線に適合したダイヤリング方式を決定する。
In the present embodiment, when it is determined that the connected telephone line is an outside line, an arbitrary number is dialed first with a DTMF tone signal, and then the presence or absence of a dial tone from the telephone line is determined. Is lost, it is determined that the dialing method is suitable for the connected telephone line, and if there is a dial tone, it is determined that the dialing method is not suitable for the connected telephone line. Then, a dialing method suitable for the telephone line is determined.

【0028】本実施形態は、電話回線からの発信音が内
線からの発信音と判断した場合には、外線発信番号とし
てあらかじめ決められた複数候補の番号の一つをDTM
Fトーン信号で発生させ、その後電話回線からの連続し
た発信音の有無を検出し、もし、連続した発信音が有れ
ば現在のダイヤリング方式と外線発信番号を検出できた
とする。
In the present embodiment, when a dial tone from a telephone line is determined to be a dial tone from an extension, one of a plurality of candidate numbers determined in advance as an external line dial number is assigned to the DTM.
It is generated by an F tone signal, and thereafter, it is detected whether or not there is a continuous dial tone from the telephone line. If there is a continuous dial tone, it is assumed that the current dialing method and the outside line dial number can be detected.

【0029】本実施形態は、もし、連続した発信音がな
ければ、一旦電話回線を開き、再度電話回線を閉結して
DTMFトーン信号にてあらかじめ決められた次の候補
の番号をダイヤリングし、電話回線からの連続した発信
音を検出するまで、すべての候補の番号にて同様の動作
を行う。本実施形態は、もし、すべての候補の番号で電
話回線からの連続した発信音を検出できなければ、パル
ス信号にて最初の候補の番号から同様の動作を行ない、
本実施形態をコントロールするホストに検出結果を通知
する。
In this embodiment, if there is no continuous dial tone, the telephone line is once opened, the telephone line is closed again, and the next candidate number predetermined by the DTMF tone signal is dialed. The same operation is performed with all candidate numbers until a continuous dial tone from the telephone line is detected. In the present embodiment, if a continuous dial tone from the telephone line cannot be detected in all the candidate numbers, the same operation is performed from the first candidate number in the pulse signal,
The detection result is notified to the host that controls this embodiment.

【0030】また、このようなダイヤリング手段を持つ
本実施形態は、電話回線のパラメータに基づきダイヤリ
ングを行うことにより、ホストが上記検出結果を電話回
線のパラメータとしてダイヤリング動作前に設定してお
くのみでダイヤリングを正常に行うことができる。
In this embodiment having such a dialing means, the host performs the dialing based on the parameters of the telephone line so that the host can set the detection result as the parameter of the telephone line before the dialing operation. The dialing can be performed normally just by placing the dial.

【0031】さらに、本発明の別の実施形態は、電話回
線の線間電圧の有無を検出することで電話回線の接続状
態を検出する検出手段を有し、この検出手段の検出結果
をモデム側がモニターし、ダイヤリング動作を行う前に
検出手段の検出結果をチェックし、もし電話回線の線間
電圧がなければホストへ「NO LINE」コマンドの
ような電話回線への接続がないというメッセージを送
る。
Further, another embodiment of the present invention has a detecting means for detecting the connection state of the telephone line by detecting the presence or absence of the line voltage of the telephone line, and the modem side detects the detection result of the detecting means by the modem side. Monitor and check the detection result of the detection means before performing the dialing operation, and send a message to the host that there is no connection to the telephone line such as a "NO LINE" command if there is no line voltage on the telephone line. .

【0032】以上述べたように、本発明の実施形態によ
れば、接続した電話回線の種別や、外線発信番号などを
自動的に検出でき、面倒な設定を行わず正常なダイヤリ
ング動作を行うことができる。また、ダイヤリングする
前に電話回線の接続状態を検出することができ、正確な
電話回線の接続状態を示す情報を出力することができ
る。
As described above, according to the embodiment of the present invention, the type of the connected telephone line, the outside line calling number, and the like can be automatically detected, and the normal dialing operation can be performed without troublesome setting. be able to. Also, the connection state of the telephone line can be detected before dialing, and information indicating the accurate connection state of the telephone line can be output.

【0033】次に、公衆回線と接続されるダイヤリング
装置の一例としてモデムを使った本実施形態を具体的に
説明する。図1は本発明の一実施形態の構成を示す。図
1において、1はモデムとしての半導体素子からなるモ
デムチップであり、その内部には、制御手段としてのデ
ジタル シグナル プロセッサ(DSP)コア(CPUコ
アがある場合もある)11、ROM12、RAM13、
AFE(A/D、D/A変換部)14、2線−4線変換
回路15、通信用I/O16、NCUコントロール用I
/O17を内蔵している。モデム1は、パーソナルコン
ピュータやマイクロコンピュータなどのホストと通信用
I/O(シリアル通信I/O或いはパラレル通信I/
O)16で接続され、通常ATコマンドと呼ばれるコマ
ンドで制御される。ATコマンドは、コマンドの先頭の
文字がATまたはatで始まり、その後にコマンドが続
く形となる。
Next, the present embodiment using a modem as an example of a dialing device connected to a public line will be specifically described. FIG. 1 shows the configuration of an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a modem chip formed of a semiconductor element as a modem. Inside the modem chip, a digital signal processor (DSP) core (which may have a CPU core) 11, a ROM 12, a RAM 13,
AFE (A / D, D / A conversion unit) 14, 2-wire to 4-wire conversion circuit 15, I / O 16 for communication, I for NCU control
/ O17. The modem 1 communicates with a host such as a personal computer or a microcomputer via a communication I / O (serial communication I / O or parallel communication I / O).
O) It is connected by 16 and is controlled by a command usually called an AT command. The AT command has a form in which the first character of the command starts with AT or at, followed by the command.

【0034】2はトランス、3は電話回線を開閉するリ
レー接点である。このリレー接点3は電話回線を開閉す
る回線閉結回路手段を構成する。トランス2は、電話回
線閉結時の電流を流せるウエットトランスである。4は
電話回線の線間電圧の検出と電話回線からのリング信号
の検出を行う電圧・リング信号検出手段としてのリング
検出回路、5は抵抗である。
Reference numeral 2 denotes a transformer, and reference numeral 3 denotes a relay contact for opening and closing a telephone line. The relay contact 3 constitutes a circuit closing circuit for opening and closing the telephone line. The transformer 2 is a wet transformer through which current can flow when the telephone line is closed. Reference numeral 4 denotes a ring detection circuit as voltage / ring signal detection means for detecting a line voltage of the telephone line and a ring signal from the telephone line, and 5 denotes a resistor.

【0035】ホストは、電話回線の種別を検出するため
に、「AT+L?」コマンド(このコマンド自体はひと
つの例であり、コマンドを規定するものではない。)を
モデム1に発行して回線種別検出動作をモデム1に指示
する。モデム1は、コマンドに従い回線種別検出を行う
ために、リレー接点3をオンとし、オフフックする(電
話回線を閉結する)。モデム1に接続されている電話回
線が公衆回線であれば、電話回線から発信音がモデム1
に来る。この公衆回線からの発信音は、図5に示すよう
な連続した音である。また、モデム1が内線に接続され
ている場合には、モデム1に内線からの発信音が来る。
この内線からの発信音は、図5に示すようなトーンのオ
ン時間とオフ時間が交互となる断続音である。モデム1
は、この断続音を検出した場合に電話回線が内線である
と判断する。
To detect the type of telephone line, the host issues an "AT + L?" Command (this command is an example and does not define a command) to the modem 1 and issues a line type. The detection operation is instructed to the modem 1. The modem 1 turns on the relay contact 3 and goes off-hook (closes the telephone line) in order to detect the line type according to the command. If the telephone line connected to the modem 1 is a public line, a dial tone is output from the telephone line.
I come to. The dial tone from the public line is a continuous tone as shown in FIG. When the modem 1 is connected to an extension, a dial tone from the extension comes to the modem 1.
The dial tone from the extension is an intermittent tone in which the on-time and the off-time of the tone as shown in FIG. 5 alternate. Modem 1
Determines that the telephone line is an extension when this intermittent tone is detected.

【0036】図2〜図4は本実施形態におけるモデム1
内のDSP11の処理手順のフローチャートを示す。D
SP11は、記録媒体としてのROM12内に格納され
ている電話回線接続用プログラム等のプログラムに基づ
いて図2〜図4に示す処理手順を実行する。DSP11
は、図2に示すように、NCU用I/O17を介してリ
レー接点3をオンさせてオフフックさせる(ステップ1
01)と、電話回線からの発信音(トーン信号)がリレ
ー接点3、トランス2、2線−4線変換回路15を介し
てAFE14でA/D変換されて入力され、この発信音
を検出して(ステップ102)からダイヤリング動作を
行う。この場合、DSP11は、電話回線からのトーン
信号をAFE14でA/Dしたデジタルデータを信号処
理して解析し、その特定範囲の周波数成分を取り出すこ
とで発信音の検出を行う。
FIGS. 2 to 4 show the modem 1 according to this embodiment.
2 shows a flowchart of a processing procedure of the DSP 11 in the inside. D
The SP 11 executes the processing procedures shown in FIGS. 2 to 4 based on a program such as a telephone line connection program stored in the ROM 12 as a recording medium. DSP11
Turns on the relay contact 3 via the NCU I / O 17 to make it off-hook as shown in FIG.
01), a dial tone (tone signal) from the telephone line is A / D-converted by the AFE 14 via the relay contact 3, the transformer 2, the 2-wire to 4-wire conversion circuit 15 and input, and the dial tone is detected. (Step 102), a dialing operation is performed. In this case, the DSP 11 performs signal processing on digital data obtained by A / D converting the tone signal from the telephone line by the AFE 14, analyzes the digital data, and extracts a frequency component in a specific range to detect a dial tone.

【0037】次に、DSP11は、電話回線からの発信
音が公衆回線からの発信音であるか内線からの発信音で
あるかを判断する(ステップ103、104)。この場
合、DSP11は、電話回線からのトーン信号のオン時
間とオフ時間の長さを計測し、これらが各々予め設定さ
れた時間の範囲内に入っている場合には電話回線からの
発信音を内線からの発信音と認識し、トーン信号のオフ
時間がなくオン時間のみでそのオン時間が予め設定され
た時間以上あれば電話回線からの発信音を公衆回線(外
線)からの発信音と認識する。
Next, the DSP 11 determines whether the dial tone from the telephone line is a dial tone from a public line or a dial tone from an extension (steps 103 and 104). In this case, the DSP 11 measures the lengths of the on-time and the off-time of the tone signal from the telephone line, and if these are within a preset time range, the DSP 11 emits a dial tone from the telephone line. Recognizes a dial tone from an extension and recognizes a dial tone from a telephone line as a dial tone from a public line (outside line) if there is no off time of the tone signal and only the on time is longer than a preset time. I do.

【0038】そのため、DSP11は、オフフックした
後に、電話回線からのトーン信号を解析し、電話回線か
らの発信音が公衆電話回線からの発信音であるか、内線
からの発信音であるかを認識することができる。内線か
らの断続音は自動交換機PBXによって変わることも考え
られるため、DSP11は電話回線からの断続音である
話中音以外の断続音を内線からの発信音と判断してもよ
い。DSP11は、電話回線からトーン信号を何も検出
しない場合には「NO DIALTONE」コードを通
信用I/O16を介してホストに出力して電話回線に問
題があることを通知し(ステップ105)、NCU用I
/O17を介してリレー接点3をオンさせてオフフック
させる(ステップ106)。
Therefore, after going off-hook, the DSP 11 analyzes the tone signal from the telephone line and recognizes whether the dial tone from the telephone line is a dial tone from a public telephone line or a dial tone from an extension. can do. Since the intermittent tone from the extension may change depending on the automatic exchange PBX, the DSP 11 may determine the intermittent tone other than the busy tone, which is the intermittent tone from the telephone line, as the tone from the extension. If no tone signal is detected from the telephone line, the DSP 11 outputs a "NO DIALTONE" code to the host via the communication I / O 16 to notify that there is a problem with the telephone line (step 105). I for NCU
The relay contact 3 is turned on via / O17 to be off-hook (step 106).

【0039】DSP11は、電話回線からの発信音が外
線からの発信音であると認識すれば、公衆回線の検出処
理を行い(ステップ108)、NCU用I/O17を介
してリレー接点3をオンさせてオフフックさせる(ステ
ップ106)。DSP11は、公衆回線の検出処理で
は、図3に示すように、あらかじめホストから指示され
た番号の最初の桁(たとえば「0」)のDTMFトーン
信号を発生してダイヤリングする(ステップ111)。
この場合、DSP11は、DTMFトーン信号の発生で
は、異なる2つの周波数を組み合わせた信号をテーブル
もしくは演算にてデジタルデータとして算出し、それを
AFE14のD/A変換器に出力して信号をあらかじめ
決められた時間発生させる。この信号は、2線−4線変
換回路15、トランス2、リレー接点3を介して電話回
線に送り出される。
When the DSP 11 recognizes that the dial tone from the telephone line is a dial tone from an outside line, the DSP 11 performs a public line detection process (step 108), and turns on the relay contact 3 via the NCU I / O 17. And off-hook (step 106). In the public line detection process, as shown in FIG. 3, the DSP 11 generates and dials a DTMF tone signal of the first digit (for example, “0”) of the number designated by the host in advance (step 111).
In this case, when generating the DTMF tone signal, the DSP 11 calculates a signal obtained by combining two different frequencies as digital data by a table or an operation, and outputs the digital data to the D / A converter of the AFE 14 to determine the signal in advance. Generated time. This signal is sent to the telephone line via the 2-wire to 4-wire conversion circuit 15, the transformer 2, and the relay contact 3.

【0040】その後、DSP11は、電話回線からリレ
ー接点3、トランス2、2線−4線変換回路15、AF
E14を介して入力されるトーン信号が消失したか否を
チェックし(ステップ112)、電話回線からのトーン
信号が消失すれば、電話回線網がトーン信号を正しく認
識した結果であって、このダイヤリング方式が正しいと
判断し、電話回線からの発信音の検出結果をホストに出
力する(ステップ117)。
After that, the DSP 11 switches from the telephone line to the relay contact 3, the transformer 2, the 2-wire to 4-wire conversion circuit 15, the AF
It is checked whether or not the tone signal input via E14 has disappeared (step 112). If the tone signal from the telephone line has disappeared, it is the result of the telephone network correctly recognizing the tone signal, and this diagram It determines that the ring system is correct, and outputs the detection result of the dial tone from the telephone line to the host (step 117).

【0041】DSP11は、もし、発信音が消失しなけ
れば、ホストから指示された番号の最初の桁を高速のパ
ルスダイヤリング方式で再度ダイヤリングする(ステッ
プ113)。DSP11は、パルス方式のダイヤリング
では、NCU用I/O17を介してリレー接点3を制御
して、ダイヤリングする番号の数値分毎秒20回もしく
は10回閉結した電話回線を開くことで行う。このダイ
ヤリング方式には上述したとおり回線速度が20pps
(パルス/秒)、10pps(パルス/秒)である2つの方
式があるため、DSP11は、まず、20ppsでダイヤ
リングを行ない(ステップ113)、電話回線からリレ
ー接点3、トランス2、2線−4線変換回路15、AF
E14を介して入力される発信音(トーン信号)の有無
をチェックし(ステップ114)、電話回線からの発信
音が消失すればその検出結果をホストに出力する(ステ
ップ117)。
If the dial tone is not lost, the DSP 11 dials again the first digit of the number specified by the host by a high-speed pulse dialing method (step 113). In the pulse dialing, the DSP 11 controls the relay contact 3 via the NCU I / O 17 to open the telephone line closed 20 or 10 times per second corresponding to the number of the dialing number. This dialing method has a line speed of 20 pps as described above.
(Pulse / second) Since there are two methods of 10 pps (pulse / second), the DSP 11 first dials at 20 pps (step 113), and from the telephone line, the relay contact 3, the transformer 2, the 2-wire- 4-wire conversion circuit 15, AF
The presence or absence of a dial tone (tone signal) input via E14 is checked (step 114). If the dial tone from the telephone line disappears, the detection result is output to the host (step 117).

【0042】DSP11は、電話回線からの発信音が消
失しなければ、10ppsにてパルス方式で再度同じ番号
をダイヤリングし(ステップ115)、電話回線からリ
レー接点3、トランス2、2線−4線変換回路15、A
FE14を介して入力される発信音(トーン信号)の有
無をチェックし(ステップ116)、電話回線からの発
信音が消失すればその検出結果をホストに出力する(ス
テップ117)。DSP11は、もし、電話回線からの
発信音があれば電話回線に異常があることが考えられる
ため、検出エラーを通信用I/O16を介してホストに
出力する(ステップ118)。なお、この実施形態で
は、最初にDTMFトーン信号を発生しているが、最初
にパルス方式にてダイヤリングして、次にDTMFトー
ン信号でダイヤリングするようにしてもよい。
If the dial tone from the telephone line is not lost, the DSP 11 dials the same number again in a pulse manner at 10 pps (step 115), and relays the relay contact 3, the transformer 2, the 2-wire-4 from the telephone line. Line conversion circuit 15, A
The presence or absence of a dial tone (tone signal) input via the FE 14 is checked (step 116), and if the dial tone from the telephone line disappears, the detection result is output to the host (step 117). If there is a tone from the telephone line, the DSP 11 outputs a detection error to the host via the communication I / O 16 because there is a possibility that the telephone line is abnormal (step 118). In this embodiment, the DTMF tone signal is generated first. However, the dialing may be performed first by the pulse method and then by the DTMF tone signal.

【0043】DSP11は、図2に示すように、オフフ
ック後の電話回線からの発信音が内線からの発信音であ
ると認識すれば、内線の検出処理を行い(ステップ10
7)、NCU用I/O17を介してリレー接点3をオン
させてオフフックさせる(ステップ106)。DSP1
1は、この内線の検出処理では、図4に示すように、予
め外線発信番号の候補として設定されている複数の番号
のひとつをDTMFトーン方式でダイヤリングする(ス
テップ121〜123)。その後、DSP11は、電話
回線からリレー接点3、トランス2、2線−4線変換回
路15、AFE14を介して入力される発信音(トーン
信号)をチェックし(ステップ124)、公衆回線から
の発信音(連続した発信音)を検出すれば、この外線発
信番号とダイヤリング方式は正しいと認識して検出結果
をホストへ出力する(ステップ129)。
When the DSP 11 recognizes that the dial tone from the telephone line after the off-hook is a dial tone from the extension as shown in FIG. 2, the DSP 11 performs extension detection processing (step 10).
7), the relay contact 3 is turned on via the NCU I / O 17 to be off-hook (step 106). DSP1
In the extension detection process, as shown in FIG. 4, one dials one of a plurality of numbers set in advance as candidates for the outside line transmission number using the DTMF tone method (steps 121 to 123). Thereafter, the DSP 11 checks a dial tone (tone signal) input from the telephone line via the relay contact 3, the transformer 2, the 2-wire to 4-wire conversion circuit 15, and the AFE 14 (step 124), and makes a call from the public line. If a sound (continuous dial tone) is detected, the outside line dial number and the dialing method are recognized as correct, and the detection result is output to the host (step 129).

【0044】DSP11は、公衆回線からの発信音を検
出しない場合には、予め外線発信番号の候補として設定
されている複数の番号の全てについて外線発信番号のダ
イヤリングによる外線からの発信音の検出(ステップ1
23、124)の実施を終ったか否かを判断し(ステッ
プ125)、予め外線発信番号の候補として設定されて
いる複数の番号の全てについて外線発信番号のダイヤリ
ングによる外線からの発信音の検出(ステップ123、
124)の実施を終っていない場合には外線発信番号を
予め外線発信番号の候補として設定されている複数の番
号のうちの次の番号に変更し(ステップ126)、一旦
PBXが電話回線の切断を認識できる時間、NCUコン
トロール用I/O17を介してリレー接点3をオフさせ
ることによりオンフック(回線を開く)し(ステップ1
27)、再度、NCUコントロール用I/O17を介し
てリレー接点3をオンさせることによりオフフック(回
線を閉結)し(ステップ128)、ステップ123に戻
る。
When the DSP 11 does not detect a dial tone from a public line, the DSP 11 detects a dial tone from an external line by dialing the external dial number for all of a plurality of numbers preset as candidates for the external line number. (Step 1
23, 124) is completed (step 125), and detection of a dial tone from an outside line by dialing the outside line number for all of a plurality of numbers that are set in advance as candidates for the outside line number. (Step 123,
124), the outside line calling number is changed to the next number among a plurality of numbers set in advance as candidates for the outside line calling number (step 126), and once the PBX disconnects the telephone line. When the relay contact 3 is turned off via the I / O 17 for NCU control during a time when it is possible to recognize the
27) Then, the relay contact 3 is turned on again via the NCU control I / O 17 to turn off the hook (close the line) (step 128), and return to step 123.

【0045】また、DSP11は、予め外線発信番号の
候補として設定されている複数の番号の全てについて外
線発信番号のダイヤリングによる外線からの発信音の検
出(ステップ123、124)の実施を終った場合に
は、全てのダイヤリング方式について予め外線発信番号
の候補として設定されている複数の番号の全てについて
外線発信番号のダイヤリングによる外線からの発信音の
検出(ステップ123〜128)の実施を終ったか否か
を判断し(ステップ130)、、全てのダイヤリング方
式について予め外線発信番号の候補として設定されてい
る複数の番号の全てについて外線発信番号のダイヤリン
グによる外線からの発信音の検出(ステップ123〜1
28)の実施を終っていない場合にはステップ122に
戻って予め外線発信番号の候補として設定されている複
数の番号のうち、まだダイヤリングしていない番号を選
択し、上述と同様に同じダイヤリング方式でダイヤリン
グして電話回線からの発信音をチェックする。
Also, the DSP 11 has completed the detection of the dial tone from the outside line by dialing the outside line number (steps 123 and 124) for all of the plurality of numbers that are set in advance as candidates for the outside line number. In this case, for all of the plurality of numbers that have been set in advance as candidates for the outside line transmission number for all dialing methods, detection of a dial tone from the outside line by dialing the outside line transmission number (steps 123 to 128). It is determined whether or not the calling is completed (step 130), and for all dialing methods, detection of a dial tone from an outside line by dialing the outside line transmission number for all of a plurality of numbers set in advance as candidates for the outside line transmission number. (Steps 123-1
If the execution of step 28) has not been completed, the flow returns to step 122 to select a number that has not been dialed yet from among a plurality of numbers that have been set in advance as candidates for the outside line transmission number. Check the dial tone from the telephone line by dialing using the ring method.

【0046】DSP11は、このような動作を電話回線
からの発信音を検出するか、すべての外線発信番号の候
補についてダイヤリングし終えるまで行う。DSP11
は、この一連の動作で電話回線からの発信音を検出しな
い場合には、ダイヤリング方式を20ppsのパルスダイ
ヤル方式へ変更する(ステップ131)。その後、DS
P11は、公衆回線の検出処理(ステップ1108)で
上述と同じ動作を行ない、電話回線からの発信音をチェ
ックする。DSP11は、このダイヤリング方式にて、
発信音を検出するか、すべての外線発信番号の候補につ
いてダイヤリングし終えるまで上述と同じ動作を行う。
The DSP 11 performs such an operation until a dial tone from the telephone line is detected or until dialing is completed for all candidates for the outside line transmission number. DSP11
Changes the dialing system to the 20 pps pulse dialing system if no dial tone from the telephone line is detected in this series of operations (step 131). Then DS
P11 performs the same operation as described above in the public line detection processing (step 1108), and checks the dial tone from the telephone line. DSP11 uses this dialing method.
The same operation as described above is performed until a dial tone is detected or dialing of all outside line candidate numbers is completed.

【0047】DSP11は、もし、一連の動作で電話回
線からの発信音を検出しない場合には、ダイヤリング方
式を10ppsのパルスダイヤル方式へ変更する(ステッ
プ131)。その後、DSP11は、公衆回線の検出処
理(ステップ108)で上述と同じ動作を行ない、電話
回線からの発信音をチェックする。DSP11は、この
一連の動作でも公衆回線からの発信音が検出できなけれ
ば、予め設定された外線発信番号の中に正しい番号がな
いと判断して検出エラーとし、予め決められたエラーコ
ードを通信用I/O16を介してホストへ出力する(ス
テップ132)。このエラーコードは、たとえば、「PB
XERR」コードなどである。ホストは、DSP11から検
出エラーが入力された場合には、別の外線発信番号候補
を通信用I/O16を介してDSP11へ設定し、再度
電話回線種別の検出を行わせる。
If the DSP 11 does not detect a dial tone from the telephone line in a series of operations, the DSP 11 changes the dialing system to a pulse dial system of 10 pps (step 131). Thereafter, the DSP 11 performs the same operation as described above in the public line detection processing (step 108), and checks the dial tone from the telephone line. If the DSP 11 does not detect the dial tone from the public line even in this series of operations, the DSP 11 determines that there is no correct number among the preset outside line numbers and determines that it is a detection error, and communicates a predetermined error code. The data is output to the host via the I / O 16 (step 132). This error code is, for example, "PB
XERR "code. When the detection error is input from the DSP 11, the host sets another outside line transmission number candidate to the DSP 11 via the communication I / O 16, and causes the telephone line type to be detected again.

【0048】DSP11は、公衆回線からの発信音を検
出すれば(公衆回線からの発信音が消失すれば)、その
ときのダイヤリング番号とダイヤリング方式が公衆回線
に適合した外線発信番号であり、ダイヤリング方式であ
ることを検出したと判断し、その検出結果を通信用I/
O16を介してホストへ出力する(ステップ117)。
一例としては、内線、外線の別(0:外線、1:内
線)、ダイヤリング方式(0:トーン、1:20ppsパ
ルス、2:10ppsパルス)、外線発信番号(0〜9)
とすれば、検出結果は、内線、トーンダイヤリング方
式、外線発信番号0の場合、「100」と出力される。
DSP11は、検出エラーが発生した場合には、あらか
じめきめられたエラーを示す数値を出力する。DSP1
1は、不揮発性メモリを持っている場合には、上記回線
識別検出結果(電話回線の種別、ダイヤリング方式、外
線発信番号の検出結果)を内部パラメータとして不揮発
性メモリに保存することも可能である。モデム1は、内
部パラメータが不揮発性メモリに保存されていれば、リ
セットもしくは電源OFF後でも、接続される電話回線が
変更されない限り、不揮発性メモリに保存されている内
部パラメータにより正しいダイヤリング動作が可能とな
る。
If the DSP 11 detects a dial tone from the public line (if the dial tone from the public line disappears), the DSP 11 determines the dialing number and the dialing method at that time to be an external line dial number suitable for the public line. , It is determined that the dialing method is detected, and the detection result is used as the communication I / O.
Output to the host via O16 (step 117).
As an example, whether an extension is an outside line or an outside line (0: outside line, 1: inside line), dialing method (0: tone, 1:20 pps pulse, 2:10 pps pulse), outside line transmission number (0 to 9)
Then, the detection result is output as “100” in the case of the extension, the tone dialing method, and the outside line transmission number 0.
When a detection error occurs, the DSP 11 outputs a numerical value indicating a predetermined error. DSP1
1 has a non-volatile memory, it is also possible to store the line identification detection results (telephone line type, dialing system, detection result of outside line transmission number) in the non-volatile memory as internal parameters. is there. If the internal parameters are stored in the non-volatile memory, the modem 1 can perform a correct dialing operation by the internal parameters stored in the non-volatile memory even after a reset or power-off unless the connected telephone line is changed. It becomes possible.

【0049】ホストは、DSP11からの回線種別検出
結果に基づき、これを不揮発性メモリに保存しておく。
ホストは、モデム1をリセットした後に動作させる場合
には、回線種別検出結果の数値を用いて回線パラメータ
(電話回線の種別、ダイヤリング方式、外線発信番号)
をモデム1に設定し、たとえば「AT+L=100」コ
ードなどで電話回線のパラメータを設定する。次に、ホ
ストは、「ATD」コマンドを用いて希望する番号へダ
イヤル動作を行う。ホストは、番号123456にダイヤルす
るためには、「ATD123456」のコマンドをDSP11に
発行してDSP11へダイヤリングを指示する。
The host stores the line type detection result in the nonvolatile memory based on the result of the line type detection from the DSP 11.
When the host is operated after resetting the modem 1, the line parameters (telephone line type, dialing method, outside line transmission number) are used by using the numerical value of the line type detection result.
Is set to the modem 1, and the parameters of the telephone line are set by, for example, an "AT + L = 100" code or the like. Next, the host dials the desired number using the "ATD" command. In order to dial the number 123456, the host issues a command of “ATD123456” to the DSP 11 and instructs the DSP 11 to dial.

【0050】モデム1内のDSP11は、ホストにより
設定された回線パラメータに従い、まず、NCU用I/
O17を介してリレー接点3をオンさせてオフフック
し、内線からの発信音を期待するため内線の発信音を検
出すれば、外線発信番号0をトーンダイヤリング方式で
ダイヤリングし、電話回線から公衆回線の発信音を検出
した後、番号「123456」をトーン方式でダイヤリングす
る。DSP11は、もし、最初のオフフック後に内線の
発信音ではなく、電話回線から外線の発信音を検出した
場合には、接続された電話回線が変更になったと判断
し、ダイヤリングを中止し、たとえば「WRONG L
INE」というコードを通信用用I/O16を介してホ
ストに出力し、ホストへ回線パラメータが違っているこ
とを知らせる。ホストは、この結果から再度モデム1に
回線種別検出動作を行なわせ、正しい回線パラメータを
モデム1から得た後にその回線パラメータをモデム1に
設定して再度ダイヤリング動作を行なわせる。
According to the line parameters set by the host, the DSP 11 in the modem 1 first sets the NCU I / O
The relay contact 3 is turned on via O17 to go off-hook, and if an internal dial tone is detected in order to expect a dial tone from the internal line, the external line number 0 is dialed by a tone dialing method, and the telephone line is connected to the public. After detecting the dial tone of the line, dial the number "123456" in a tone system. If the DSP 11 detects a dial tone of an external line from the telephone line instead of the dial tone of the internal line after the first off-hook, the DSP 11 determines that the connected telephone line has been changed, and stops dialing. "WRONG L
A code "INE" is output to the host via the communication I / O 16 to notify the host that the line parameters are different. The host causes the modem 1 to perform the line type detection operation again from the result, obtains the correct line parameters from the modem 1, sets the line parameters in the modem 1, and performs the dialing operation again.

【0051】以上説明したように、この実施形態によれ
ば、公衆回線(外線)/内線の区別及び,トーン回線/
パルス回線の区別、外線発信番号の回線パラメータをユ
ーザによらずに自動的に容易に検出することができ、ダ
イヤリング動作をコントロールするホスト側が回線パラ
メータをあらかじめ設定することにより、常に同じダイ
ヤルコマンドを使用して簡単に電話回線に適合したダイ
ヤル動作を行わせることができる。このため、電話回線
種別のパラメータ(回線パラメータ)をマニュアルで設
定する作業からユーザを開放することができる。また、
モデムに接続される電話回線が変更になっても、そのこ
とをモデムからホストに報告するため、ホストが電話回
線の変更を容易に知って回線パラメータを変更すること
が可能となる。
As described above, according to this embodiment, the distinction between the public line (external line) / extension and the tone line / external line
Pulse lines can be distinguished and the line parameters of the outside line calling number can be automatically and easily detected without depending on the user.The host that controls the dialing operation always sets the line parameters in advance, so that the same dial command is always used. The dial operation suitable for the telephone line can be easily performed by using. For this reason, the user can be released from the task of manually setting the parameters (line parameters) of the telephone line type. Also,
Even if the telephone line connected to the modem is changed, the modem reports the change to the host, so that the host can easily know the telephone line change and change the line parameters.

【0052】さらに、設定された回線パラメータをモデ
ムのメモリに記憶することにより、次回の電話回線接続
からはホスト側から接続開始命令と個別番号とを合わせ
たコマンドをモデムに送るだけで電話回線の接続が可能
となる。なお、ホストの上記処理の一部をモデム1にお
けるROM12内のプログラムでDSP11により行う
ことも可能である。
Further, by storing the set line parameters in the memory of the modem, from the next telephone line connection, the host side only needs to send a command in which the connection start command and the individual number are combined to the modem. Connection is possible. Note that part of the above processing of the host can be performed by the DSP 11 using a program in the ROM 12 of the modem 1.

【0053】図6は本発明の別の実施形態におけるリン
グ検出回路の構成を示す。この実施形態は、上記実施形
態において、電話回線の線間電圧の検出と電話回線から
のリング信号の検出を行う電圧・リング信号検出手段と
してのリング検出回路4として図6に示すような構成の
リング検出回路が用いられる。リレーRL1は、接点P
1、P3間の接続と接点P2、P3間の接続とを選択で
き、接点P4、P6間の接続と接点P5、P6間の接続
とを選択できるものであり、通常は接点P1、P3間の
接続と接点P4、P6間の接続とが選択される。
FIG. 6 shows the configuration of a ring detection circuit according to another embodiment of the present invention. This embodiment is different from the above embodiment in that a ring detection circuit 4 as a voltage / ring signal detection means for detecting a line voltage of a telephone line and a ring signal from the telephone line has a configuration as shown in FIG. A ring detection circuit is used. Relay RL1 is connected to contact P
1, the connection between P3 and the connection between the contacts P2 and P3 can be selected, and the connection between the contacts P4 and P6 and the connection between the contacts P5 and P6 can be selected. The connection and the connection between the contacts P4 and P6 are selected.

【0054】ツェナーダイオードZD1、ZD2は、リ
ング検出回路の動作しきい値電圧を決定するもので、2
0〜30Vのツェナーダイオードである。抵抗R1、コ
ンデンサC1の値により過渡応答電流の流れる時間が決
定される。フォトカプラOP1は、過渡電流をデジタル
信号に変換するもので、出力信号として抵抗R1、コン
デンサC1の値で決定される時間のパルス信号を出力す
る。
Zener diodes ZD1 and ZD2 determine the operating threshold voltage of the ring detection circuit.
It is a Zener diode of 0 to 30V. The time during which the transient response current flows is determined by the values of the resistor R1 and the capacitor C1. The photocoupler OP1 converts a transient current into a digital signal, and outputs a pulse signal of a time determined by the values of the resistor R1 and the capacitor C1 as an output signal.

【0055】電話回線からリング信号(20Hz、75
Vrmsの交流信号)が来ると、このリング信号は接点
P1、P3間、接点P4、P6間、ツェナーダイオード
ZD1、ZD2、抵抗R1、コンデンサC1を介してフ
ォトカプラOP1に入力され、フォトカプラOP1から
リング信号の立ち上がり時、立ち下がり時にリング検出
信号としてリング信号の周波数に対して倍の周波数を有
するパルス信号が出力される。
A ring signal (20 Hz, 75
Vrms AC signal), this ring signal is input to the photocoupler OP1 via the contacts P1 and P3, between the contacts P4 and P6, the Zener diodes ZD1 and ZD2, the resistor R1 and the capacitor C1, and from the photocoupler OP1. When the ring signal rises and falls, a pulse signal having a frequency twice as high as the frequency of the ring signal is output as a ring detection signal.

【0056】電話回線が正常に接続されていれば、通常
は電話回線の線L1、L2間にDC48Vの電圧がかか
っている。電話回線の電圧の有無をチェックするには、
リレーRL1へのリレーコントロール信号をコントロー
ルしてリレーRL1をオンにする。これにより、リレー
RL1が接点P2、P3間の接続、接点P5、P6間の
接続を選択し、ツェナーダイオードZD1、ZD2、抵
抗R1、コンデンサC1を介してフォトカプラOP1に
かかっていた電圧が反転してフォトカプラOP1からパ
ルス信号が出力される。もし、電話回線が接続されてい
なければ、電話回線の線L1、L2間に電圧がかかって
いないので、リレーRL1をオンにしてもフォトカプラ
OP1からパルス信号が出力されない。
If the telephone line is normally connected, a voltage of DC 48 V is normally applied between the lines L1 and L2 of the telephone line. To check for telephone line voltage,
The relay control signal to the relay RL1 is controlled to turn on the relay RL1. Thereby, the relay RL1 selects the connection between the contacts P2 and P3 and the connection between the contacts P5 and P6, and the voltage applied to the photocoupler OP1 via the Zener diodes ZD1, ZD2, the resistor R1, and the capacitor C1 is inverted. As a result, a pulse signal is output from the photocoupler OP1. If the telephone line is not connected, since no voltage is applied between the lines L1 and L2 of the telephone line, no pulse signal is output from the photocoupler OP1 even when the relay RL1 is turned on.

【0057】なお、このリング検出回路は電圧検出手段
の一例であり、他にリング信号検出と兼用せずにコンパ
レータやA/D変換器を使用した単純な電圧検出回路を
使っても構わない。図7は電話回線の接続検出フローを
示す。DSP11は、ROM12に格納されているプロ
グラムに基づいて図7に示す電話回線の接続検出フロー
を実行する。すなわち、DSP11は、ダイヤリングを
行う前に、NCUコントロール用I/O17を介してリ
レーRL1をオンにし(ステップ141)、フォトカプ
ラOP1からNCUコントロール用I/O17を介して
入力されるパルス信号の有無をチェックして一定時間
(規定時間)内にフォトカプラOP1からパルス信号の
出力があったかどうかを判断する(ステップ142)。
Note that this ring detection circuit is an example of voltage detection means, and a simple voltage detection circuit using a comparator or an A / D converter may be used instead of the ring signal detection. FIG. 7 shows a connection detection flow of the telephone line. The DSP 11 executes a telephone line connection detection flow shown in FIG. 7 based on a program stored in the ROM 12. That is, before dialing, the DSP 11 turns on the relay RL1 via the NCU control I / O 17 (step 141), and outputs the pulse signal input from the photocoupler OP1 via the NCU control I / O 17. By checking the presence or absence, it is determined whether or not a pulse signal is output from the photocoupler OP1 within a predetermined time (specified time) (step 142).

【0058】DSP11は、規定時間内にフォトカプラ
OP1からパルス信号の出力がなければ、モデム1が電
話回線に接続されていないとみなし、ホストへNCUコ
ントロール用I/O17を介してエラーメッセージとし
て「NO LINE」コードを出力してエラーを知ら
せ、ダイヤリング動作を中止する(ステップ143)。
ホストは、DSP11からのエラーメッセージを見てモ
デム1が電話回線に接続されていないことを知ることが
できる。その後、DSP11は、NCUコントロール用
I/O17を介してリレーRL1をオフにする(ステッ
プ144)。
If no pulse signal is output from the photocoupler OP1 within the specified time, the DSP 11 determines that the modem 1 is not connected to the telephone line, and sends an error message to the host via the NCU control I / O 17 as " An error is notified by outputting a "NO LINE" code, and the dialing operation is stopped (step 143).
The host can see that the modem 1 is not connected to the telephone line by looking at the error message from the DSP 11. After that, the DSP 11 turns off the relay RL1 via the NCU control I / O 17 (step 144).

【0059】この実施形態によれば、簡単な構成で、ダ
イヤリングする前に電話回線の接続を確認することがで
き、電話回線が接続されていない場合にはエラーメッセ
ージを出すことができるため、ホスト側で電話回線の接
続をチェックするするためのハードリソースもソフトウ
エアも必要なく負荷を軽減できる。
According to this embodiment, the connection of the telephone line can be confirmed with a simple configuration before dialing, and an error message can be issued if the telephone line is not connected. The load can be reduced without requiring any hardware resources or software for checking the connection of the telephone line on the host side.

【0060】[0060]

【発明の効果】以上のように請求項1〜9に係る発明に
よれば、接続した電話回線の種別を自動的に検出するこ
とができ、回線パラメータ設定をユーザによらずに自動
的に設定することが可能となって、接続した電話回線に
応じて正常にダイヤリングすることが可能となる。請求
項10に係る発明によれば、接続した電話回線が変更に
なっても回線パラメータを自動的に変更することが可能
となる。請求項11に係る発明によれば、簡単な構成
で、ダイヤリングする前に電話回線の接続を確認するこ
とができる。
As described above, according to the first to ninth aspects of the present invention, the type of the connected telephone line can be automatically detected, and the line parameter setting is automatically set without depending on the user. This allows normal dialing according to the connected telephone line. According to the tenth aspect, even when the connected telephone line is changed, the line parameters can be automatically changed. According to the eleventh aspect, the connection of the telephone line can be confirmed with a simple configuration before dialing.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】同実施形態におけるDSPの処理手順を示すフ
ローチャートである。
FIG. 2 is a flowchart illustrating a processing procedure of a DSP according to the embodiment.

【図3】同処理手順の公衆回線検出処理手順を詳しく示
すフローチャートである。
FIG. 3 is a flowchart showing in detail a public line detection processing procedure of the processing procedure.

【図4】同処理手順の内線検出処理手順を詳しく示すフ
ローチャートである。
FIG. 4 is a flowchart showing in detail an extension detection processing procedure of the processing procedure.

【図5】公衆回線の発信音および内線の発信音を示す図
である。
FIG. 5 is a diagram showing a dial tone of a public line and a dial tone of an extension.

【図6】本発明の別の実施形態におけるリング検出回路
の構成を示す回路図である。
FIG. 6 is a circuit diagram illustrating a configuration of a ring detection circuit according to another embodiment of the present invention.

【図7】同実施形態におけるDSPの電話回線接続検出
フローを示すフローチャートである。
FIG. 7 is a flowchart showing a telephone line connection detection flow of the DSP in the embodiment.

【符号の説明】[Explanation of symbols]

1 モデム 2 トランス 3 リレー接点 11 DSP 12 ROM 13 RAM 14 AFE 15 2線−4線変換回路 16 通信用I/O 17 NCUコントロール用I/O RL1 リレー P1〜P6 接点 ZD1、ZD2 ツェナーダイオード R1 抵抗 C1 コンデンサ OP1 フォトカプラ Reference Signs List 1 modem 2 transformer 3 relay contact 11 DSP 12 ROM 13 RAM 14 AFE 15 2-wire to 4-wire conversion circuit 16 communication I / O 17 NCU control I / O RL1 relays P1 to P6 contacts ZD1, ZD2 Zener diode R1 resistance C1 Capacitor OP1 Photocoupler

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】データ通信装置を電話回線に接続する電話
回線接続方法であって、前記データ通信装置を電話回線
に接続する第1ステップと、この第1ステップで接続さ
れた電話回線からの発信音により該電話回線が内線であ
るか外線であるかを判別する第2ステップと、この第2
ステップで、前記接続された電話回線が外線であると判
別された場合、所定のDTMFトーン信号もしくはパル
ス信号を前記接続した電話回線に送出し、該電話回線か
らの発信音の有無を検出することにより前記接続した電
話回線がトーン回線であるかパルス回線であるかを判別
する第3ステップと、前記第2ステップで、前記接続し
た電話回線が内線であると判別された場合、予め設定さ
れた複数の外線発信番号の候補の中の番号をDTMFト
ーン信号もしくはパルス信号で前記接続した電話回線に
送出し、該電話回線からの発信音の有無を検出すること
により前記接続した電話回線がトーン回線であるかパル
ス回線であるかを判別する第4ステップと、この第4ス
テップで、発信音が検出されない場合、閉結した電話回
線の発信音を確認した後に前記複数の外線発信番号の候
補の中の次の番号のDTMFトーン信号もしくはパルス
信号を前記接続した電話回線に送出し、該電話回線から
の発信音の有無を検出するということを、前記接続した
電話回線からの発信音が検出されるまで繰り返して行
い、発信音を検出すればその直前にDTMFトーン信号
もしくはパルス信号で送出した番号を外線発信番号と判
定する第5ステップとを有することを特徴とする電話回
線接続方法。
1. A telephone line connection method for connecting a data communication device to a telephone line, comprising: a first step of connecting the data communication device to a telephone line; and a call originating from the telephone line connected in the first step. A second step of determining whether the telephone line is an internal line or an external line by sound;
In the step, when it is determined that the connected telephone line is an outside line, transmitting a predetermined DTMF tone signal or pulse signal to the connected telephone line, and detecting the presence or absence of a dial tone from the telephone line. A third step of determining whether the connected telephone line is a tone line or a pulse line, and a predetermined setting when the connected telephone line is determined to be an extension in the second step. A number out of a plurality of candidates for outside line transmission numbers is transmitted to the connected telephone line by a DTMF tone signal or a pulse signal, and the presence or absence of a dial tone from the telephone line is detected, whereby the connected telephone line becomes a tone line. And a pulse line. If no dial tone is detected in the fourth step, check the dial tone of the closed telephone line. Sending a DTMF tone signal or pulse signal of the next number among the plurality of outside line candidate numbers to the connected telephone line to detect the presence or absence of a dial tone from the telephone line. A fifth step of repeating until a dial tone from the connected telephone line is detected, and determining a number transmitted by a DTMF tone signal or a pulse signal immediately before the dial tone is detected as an outside line dial number when the dial tone is detected. A telephone line connection method.
【請求項2】データ通信装置を電話回線に接続するため
の電話回線接続用プログラムであって、前記データ通信
装置を電話回線に接続させる第1手順と、この第1手順
により接続された電話回線からの発信音により該電話回
線が内線であるか外線であるかを判別する第2手順と、
この第2手順で、前記接続された電話回線が外線である
と判別された場合、所定のDTMFトーン信号もしくは
パルス信号を前記接続した電話回線に送出し、該電話回
線からの発信音の有無を検出することにより前記接続し
た電話回線がトーン回線であるかパルス回線であるかを
判別する第3手順と、前記第2手順で、前記接続した電
話回線が内線であると判別された場合、予め設定された
複数の外線発信番号の候補の中の番号をDTMFトーン
信号もしくはパルス信号で前記接続した電話回線に送出
させ、該電話回線からの発信音の有無を検出することに
より前記接続した電話回線がトーン回線であるかパルス
回線であるかを判別する第4手順と、この第4手順で、
発信音が検出されない場合、閉結させた電話回線の発信
音を確認した後に前記複数の外線発信番号の候補の中の
次の番号のDTMFトーン信号もしくはパルス信号を前
記接続した電話回線に送出させ、該電話回線からの発信
音の有無を検出するということを、前記接続した電話回
線からの発信音が検出されるまで繰り返して行い、発信
音を検出すればその直前にDTMFトーン信号もしくは
パルス信号で送出した番号を外線発信番号と判定する第
5手順とを有することを特徴とする電話回線接続用プロ
グラム。
2. A telephone line connection program for connecting a data communication device to a telephone line, comprising: a first procedure for connecting the data communication device to a telephone line; and a telephone line connected by the first procedure. A second procedure for determining whether the telephone line is an internal line or an external line based on a dial tone from
In the second procedure, when it is determined that the connected telephone line is an outside line, a predetermined DTMF tone signal or pulse signal is transmitted to the connected telephone line, and it is determined whether there is a dial tone from the telephone line. A third procedure of detecting whether the connected telephone line is a tone line or a pulse line by detecting, and in the second procedure, when it is determined that the connected telephone line is an extension, A number out of a plurality of candidates for a set outside line transmission number is transmitted to the connected telephone line by a DTMF tone signal or a pulse signal, and the presence or absence of a dial tone from the telephone line is detected to detect the connected telephone line. Is a tone line or a pulse line, and in this fourth step,
If the dial tone is not detected, after confirming the dial tone of the closed telephone line, the DTMF tone signal or the pulse signal of the next number among the plurality of outside line candidates is transmitted to the connected telephone line. Detecting the presence or absence of a dial tone from the telephone line is repeatedly performed until a dial tone from the connected telephone line is detected, and if a dial tone is detected, a DTMF tone signal or pulse signal is detected immediately before the dial tone is detected. And a fifth step of judging the number transmitted in step (c) as an outside line transmission number.
【請求項3】データ通信装置を電話回線に接続させる第
1手順と、この第1手順により接続された電話回線から
の発信音により該電話回線が内線であるか外線であるか
を判別する第2手順と、この第2手順で、前記接続され
た電話回線が外線であると判別された場合、所定のDT
MFトーン信号もしくはパルス信号を前記接続した電話
回線に送出し、該電話回線からの発信音の有無を検出す
ることにより前記接続した電話回線がトーン回線である
かパルス回線であるかを判別する第3手順と、前記第2
手順で、前記接続した電話回線が内線であると判別され
た場合、予め設定された複数の外線発信番号の候補の中
の番号をDTMFトーン信号もしくはパルス信号で前記
接続した電話回線に送出させ、該電話回線からの発信音
の有無を検出することにより前記接続した電話回線がト
ーン回線であるかパルス回線であるかを判別する第4手
順と、この第4手順で、発信音が検出されない場合、閉
結させた電話回線の発信音を確認した後に前記複数の外
線発信番号の候補の中の次の番号のDTMFトーン信号
もしくはパルス信号を前記接続した電話回線に送出さ
せ、該電話回線からの発信音の有無を検出するというこ
とを、前記接続した電話回線からの発信音が検出される
まで繰り返して行い、発信音を検出すればその直前にD
TMFトーン信号もしくはパルス信号で送出した番号を
外線発信番号と判定する第5手順とをコンピュータに実
行させるためのプログラムを記録したコンピュータ読み
取り可能な記録媒体。
3. A first procedure for connecting a data communication device to a telephone line, and a second step of determining whether the telephone line is an internal line or an external line based on a dial tone from the telephone line connected in the first step. If it is determined in the second procedure and the second procedure that the connected telephone line is an outside line, a predetermined DT
Transmitting an MF tone signal or a pulse signal to the connected telephone line, and detecting whether there is a dial tone from the telephone line to determine whether the connected telephone line is a tone line or a pulse line. 3 procedures and the second
In the procedure, when it is determined that the connected telephone line is an extension, a number among a plurality of preset outside line transmission number candidates is transmitted to the connected telephone line by a DTMF tone signal or a pulse signal, A fourth step of determining whether the connected telephone line is a tone line or a pulse line by detecting the presence or absence of a dial tone from the telephone line, and a case where no dial tone is detected in the fourth step. After confirming the dial tone of the closed telephone line, a DTMF tone signal or pulse signal of the next number among the plurality of outside line candidate numbers is transmitted to the connected telephone line, and Detecting the presence or absence of a dial tone is repeated until a dial tone from the connected telephone line is detected.
A computer-readable recording medium recording a program for causing a computer to execute a fifth procedure of determining a number transmitted by a TMF tone signal or a pulse signal as an outside line transmission number.
【請求項4】回線閉結手段により電話回線に接続されて
データ通信を行う半導体素子であって、前記回線閉結手
段に電話回線へ接続させる第1機能と、この第1機能で
接続された電話回線からの発信音により該電話回線が内
線であるか外線であるかを判別する第2機能と、この第
2機能で、前記接続された電話回線が外線であると判別
された場合、所定のDTMFトーン信号もしくはパルス
信号を前記接続した電話回線に送出し、該電話回線から
の発信音の有無を検出することにより前記接続した電話
回線がトーン回線であるかパルス回線であるかを判別す
る第3機能と、前記第2機能で、前記接続した電話回線
が内線であると判別された場合、予め設定された複数の
外線発信番号の候補の中の番号をDTMFトーン信号も
しくはパルス信号で前記接続した電話回線に送出し、該
電話回線からの発信音の有無を検出することにより前記
接続した電話回線がトーン回線であるかパルス回線であ
るかを判別する第4機能と、この第4機能で、発信音が
検出されない場合、閉結した電話回線の発信音を確認し
た後に前記複数の外線発信番号の候補の中の次の番号の
DTMFトーン信号もしくはパルス信号を前記接続した
電話回線に送出し、該電話回線からの発信音の有無を検
出するということを、前記接続した電話回線からの発信
音が検出されるまで繰り返して行い、発信音を検出すれ
ばその直前にDTMFトーン信号もしくはパルス信号で
送出した番号を外線発信番号と判定する第5機能とを有
することを特徴とする半導体素子。
4. A semiconductor device connected to a telephone line by a line closing means for performing data communication, wherein said first function causes said line closing means to connect to a telephone line, and is connected by said first function. A second function of determining whether the telephone line is an internal line or an external line based on a dial tone from the telephone line; and a predetermined function when the connected telephone line is determined to be an external line by the second function. DTMF tone signal or pulse signal is transmitted to the connected telephone line, and the presence or absence of a dial tone from the telephone line is detected to determine whether the connected telephone line is a tone line or a pulse line. In the third function and the second function, when it is determined that the connected telephone line is an extension, a number among a plurality of preset outside line transmission number candidates is set to a DTMF tone signal or a pulse signal. A fourth function of transmitting to the connected telephone line and detecting whether there is a dial tone from the telephone line to determine whether the connected telephone line is a tone line or a pulse line; If the dial tone is not detected by the function, after confirming the dial tone of the closed telephone line, the DTMF tone signal or the pulse signal of the next number among the plurality of outside line candidate numbers is transmitted to the connected telephone line. Sending out and detecting the presence or absence of a dial tone from the telephone line is repeated until a dial tone from the connected telephone line is detected, and if a dial tone is detected, a DTMF tone signal or A semiconductor element having a fifth function of determining a number transmitted by a pulse signal as an outside line transmission number.
【請求項5】データ通信装置が接続される電話回線の種
別を検出する回線識別方法において、前記データ通信装
置を電話回線に接続してダイヤリングするための回線閉
結手段により前記データ通信装置を電話回線に接続し、
この接続した電話回線からの発信音の特徴を検出し、そ
の結果から前記接続した電話回線が内線であるか外線で
あるかを判別し、前記接続した電話回線が外線であれ
ば、所定のDTMFトーン信号もしくはパルス信号を前
記接続した電話回線に送出し、該電話回線からの発信音
の有無を検出することにより前記接続した電話回線がト
ーン回線であるかパルス回線であるかを判別し、前記接
続した電話回線が内線であれば、予め設定された複数の
外線発信番号の候補の中の番号をDTMFトーン信号で
前記接続した電話回線に送出し、該電話回線からの発信
音の有無を検出して発信音を検出しなければ、電話回線
の発信音を確認した後に前記複数の外線発信番号の候補
の中の次の番号のDTMFトーン信号を前記接続した電
話回線に送出し、該電話回線からの発信音の有無を検出
するということを、前記接続した電話回線からの発信音
が検出されるまで繰り返して行い、発信音を検出すれば
その直前にDTMFトーン信号で送出した番号を外線発
信番号と判定し、前記複数の外線発信番号のすべての候
補の番号で発信音を検出しなければ、パルスダイヤリン
グにて再度予め設定された複数の外線発信番号を使用し
て前記接続した電話回線にダイヤリングし、前記接続し
た電話回線からの発信音の有無を検出することを繰り返
して、前記接続した電話回線の内線か外線の別、トーン
回線かパルス回線の別、外線発信番号を検出することを
特徴とする回線種別検出方法。
5. A line identification method for detecting a type of a telephone line to which a data communication device is connected, wherein said data communication device is connected to a telephone line by line closing means for dialing. Connect to the phone line,
The characteristics of the dial tone from the connected telephone line are detected, and from the result, it is determined whether the connected telephone line is an internal line or an external line. If the connected telephone line is an external line, a predetermined DTMF is determined. Sending a tone signal or a pulse signal to the connected telephone line, and determining whether the connected telephone line is a tone line or a pulse line by detecting the presence or absence of a dial tone from the telephone line, If the connected telephone line is an extension, a number among a plurality of preset outside line transmission number candidates is transmitted to the connected telephone line by a DTMF tone signal, and the presence or absence of a dial tone from the telephone line is detected. If no outgoing tone is detected, the DTMF tone signal of the next number among the plurality of outside line candidates is transmitted to the connected telephone line after confirming the outgoing tone of the telephone line. Detecting the presence or absence of a dial tone from a telephone line is repeated until a dial tone from the connected telephone line is detected, and if a dial tone is detected, the number transmitted by the DTMF tone signal immediately before that is detected. Judgment as an outside line calling number, if no dial tone is detected in all candidate numbers of the plurality of outside line calling numbers, the connection is established using a plurality of outside line calling numbers set again in advance by pulse dialing. Dialing the telephone line and repeatedly detecting the presence or absence of a dial tone from the connected telephone line to determine whether the connected telephone line is an internal line or an external line, a tone line or a pulse line, and an external line calling number. A line type detection method characterized by detecting.
【請求項6】電話回線に接続してデータ通信を行うデー
タ通信装置において、DTMFトーン信号およびパルス
信号を発生する選択信号発生手段と、前記データ通信装
置を電話回線に接続する回線閉結手段と、この回線閉結
手段に前記データ通信装置を電話回線へ接続させ、この
接続した電話回線からの発信音の特徴を検出し、その結
果から前記接続した電話回線が内線であるか外線である
かを判別し、前記接続した電話回線が外線であれば、所
定のDTMFトーン信号もしくはパルス信号を前記接続
した電話回線に送出し、該電話回線からの発信音の有無
を検出することにより前記接続した電話回線がトーン回
線であるかパルス回線であるかを判別し、前記接続した
電話回線が内線であれば、予め設定された複数の外線発
信番号の候補の中の番号をDTMFトーン信号で前記接
続した電話回線に送出し、該電話回線からの発信音の有
無を検出して発信音を検出しなければ、電話回線の発信
音を確認した後に前記複数の外線発信番号の候補の中の
次の番号のDTMFトーン信号を前記接続した電話回線
に送出し、該電話回線からの発信音の有無を検出すると
いうことを、前記接続した電話回線からの発信音が検出
されるまで繰り返して行い、発信音を検出すればその直
前にDTMFトーン信号で送出した番号を外線発信番号
と判定し、前記複数の外線発信番号のすべての候補の番
号で発信音を検出しなければ、パルスダイヤリングにて
再度予め設定された複数の外線発信番号を使用して前記
接続した電話回線にダイヤリングし、前記接続した電話
回線からの発信音の有無を検出することを繰り返して、
前記接続した電話回線の内線か外線の別、トーン回線か
パルス回線の別、外線発信番号を検出する回線種別検出
手段とを備えたことを特徴とするデータ通信装置。
6. A data communication apparatus for performing data communication by connecting to a telephone line, a selection signal generating means for generating a DTMF tone signal and a pulse signal, and a line closing means for connecting the data communication apparatus to a telephone line. Connecting the data communication device to a telephone line by the line closing means, detecting characteristics of a dial tone from the connected telephone line, and determining from the result whether the connected telephone line is an internal line or an external line. If the connected telephone line is an outside line, a predetermined DTMF tone signal or pulse signal is transmitted to the connected telephone line, and the connection is established by detecting the presence or absence of a dial tone from the telephone line. It is determined whether the telephone line is a tone line or a pulse line, and if the connected telephone line is an extension, a plurality of preset outside line numbers are set. A number is transmitted to the connected telephone line as a DTMF tone signal, and if a dial tone is detected by detecting the presence or absence of a dial tone from the telephone line, the dial tone of the telephone line is confirmed, and then the plurality of outgoing calls are made. Sending the DTMF tone signal of the next number among the number candidates to the connected telephone line and detecting the presence or absence of a dial tone from the telephone line means that the dial tone from the connected telephone line is detected. When a dial tone is detected, the number transmitted by the DTMF tone signal immediately before that is determined as an outside line dial number, and a dial tone must be detected from all candidate numbers of the plurality of external line dial numbers. For example, dialing is performed to the connected telephone line again using a plurality of preset outside line calling numbers by pulse dialing, and the presence or absence of a dial tone from the connected telephone line is detected. Repeat the door,
A data communication device comprising: a line type detecting means for detecting whether the connected telephone line is an extension or an outside line, a tone line or a pulse line, and an outside line transmission number.
【請求項7】請求項6記載のデータ通信装置において、
前記回線種別検出手段が検出結果を外部に出力すること
が可能であることを特徴とするデータ通信装置。
7. The data communication device according to claim 6, wherein
A data communication device, wherein the line type detection means can output a detection result to the outside.
【請求項8】請求項6記載のデータ通信装置において、
前記回線種別検出手段が検出結果を内部に保存すること
が可能であることを特徴とするデータ通信装置。
8. The data communication device according to claim 6, wherein
A data communication device, wherein the line type detection means can store a detection result therein.
【請求項9】内線もしくは外線、内線の場合の外線発信
番号、トーン回線もしくはパルス回線を含む回線パラメ
ータをダイヤリング動作の前にあらかじめ設定する手段
を有し、この設定した回線パラメータに応じてダイヤリ
ング動作を行うことを特徴とするデータ通信装置。
9. A means for presetting a line parameter including an extension or an outside line, an outside line originating number in the case of an extension, a tone line or a pulse line before a dialing operation, and dialing according to the set line parameter. A data communication device performing a ring operation.
【請求項10】請求項9記載のデータ通信装置におい
て、あらかじめ設定されていた回線パラメータと実際の
接続された電話回線の回線パラメータが異なる場合にダ
イヤリング動作を中止し、回線パラメータの設定が間違
っていることを出力することを特徴とするデータ通信装
置。
10. The data communication apparatus according to claim 9, wherein the dialing operation is stopped when the preset line parameters are different from the line parameters of the actually connected telephone line, and the setting of the line parameters is incorrect. A data communication device for outputting a message indicating that the data communication has been performed.
【請求項11】回線閉結手段により電話回線に接続され
てデータ通信を行うデータ通信装置において、前記電話
回線の線間電圧を検出する検出手段と、この検出手段の
検出結果から前記電話回線に接続されているかどうかを
判定する判定手段とを備え、ダイヤリングする前に前記
検出手段及び前記判定手段により前記電話回線に接続さ
れているかどうかを判定し、前記電話回線に接続されて
いなければ判定結果を出力することを特徴とするデータ
通信装置。
11. A data communication apparatus connected to a telephone line by a line closing means for performing data communication, comprising: detecting means for detecting a line voltage of the telephone line; Determination means for determining whether or not the telephone line is connected, and before dialing, the detection means and the determination means determine whether or not the telephone line is connected, and determine if the telephone line is not connected. A data communication device for outputting a result.
JP2001167044A 2001-06-01 2001-06-01 Telephone line connection method Pending JP2002359679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001167044A JP2002359679A (en) 2001-06-01 2001-06-01 Telephone line connection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001167044A JP2002359679A (en) 2001-06-01 2001-06-01 Telephone line connection method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006101969A Division JP2006254477A (en) 2006-04-03 2006-04-03 Method of connecting telephone line, program for telephone line connection, recording medium, semiconductor device, line class detecting method and data communication apparatus

Publications (1)

Publication Number Publication Date
JP2002359679A true JP2002359679A (en) 2002-12-13

Family

ID=19009486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001167044A Pending JP2002359679A (en) 2001-06-01 2001-06-01 Telephone line connection method

Country Status (1)

Country Link
JP (1) JP2002359679A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008187309A (en) * 2007-01-29 2008-08-14 Nec Infrontia Corp Connection line classification setting method for line wire/extension and telephone set circuit using method
JP2011182315A (en) * 2010-03-03 2011-09-15 Fuji Xerox Co Ltd Facsimile apparatus and fault detection program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008187309A (en) * 2007-01-29 2008-08-14 Nec Infrontia Corp Connection line classification setting method for line wire/extension and telephone set circuit using method
JP2011182315A (en) * 2010-03-03 2011-09-15 Fuji Xerox Co Ltd Facsimile apparatus and fault detection program

Similar Documents

Publication Publication Date Title
US5877872A (en) Facsimile apparatus
JP2002359679A (en) Telephone line connection method
JP5597215B2 (en) Facsimile apparatus, control method thereof, and program
JP2731139B2 (en) Busy tone pre-learning method and busy tone identification method
JP2006254477A (en) Method of connecting telephone line, program for telephone line connection, recording medium, semiconductor device, line class detecting method and data communication apparatus
JPH1132192A (en) Communication equipment
JPS59178851A (en) Telephone set circuit
KR100217037B1 (en) Message reservation transmission method of simple electronic exchange device
JP2586828B2 (en) Facsimile internal / external line switch
JP4196083B2 (en) Terminal network controller
JP2001358819A (en) Communications equipment for public line connection
JP3192534B2 (en) Image communication device
JPH0334668A (en) Communication equipment
KR100594071B1 (en) Private Switching Control Method Using Direct Remote Extension Call
KR100584353B1 (en) Call notification method using caller ID code
JP5821478B2 (en) Telephone device and telephone control method
JP3254661B2 (en) Facsimile machine
JP3254662B2 (en) Facsimile machine
EP0489214A1 (en) Coupling device to be connected to a dce for allowing the connection to different public switched telephone networks, dce and workstation including the same
JP2507021B2 (en) Telephone device
KR910000798B1 (en) Automatic sensing method of subscriber telephone type and its circuit
JPH05153218A (en) Telephone device
JPH08102799A (en) Terminal equipment capable of automatically calling
JP2780820B2 (en) Public telephone with data communication function
JP4345713B2 (en) Line terminal equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080624