JP3098312B2 - Calling line selection method - Google Patents

Calling line selection method

Info

Publication number
JP3098312B2
JP3098312B2 JP04037293A JP3729392A JP3098312B2 JP 3098312 B2 JP3098312 B2 JP 3098312B2 JP 04037293 A JP04037293 A JP 04037293A JP 3729392 A JP3729392 A JP 3729392A JP 3098312 B2 JP3098312 B2 JP 3098312B2
Authority
JP
Japan
Prior art keywords
telephone network
dial signal
telephone
call
route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04037293A
Other languages
Japanese (ja)
Other versions
JPH05207541A (en
Inventor
一志 坪井
Original Assignee
株式会社日立テレコムテクノロジー
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立テレコムテクノロジー filed Critical 株式会社日立テレコムテクノロジー
Priority to JP04037293A priority Critical patent/JP3098312B2/en
Publication of JPH05207541A publication Critical patent/JPH05207541A/en
Application granted granted Critical
Publication of JP3098312B2 publication Critical patent/JP3098312B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Sub-Exchange Stations And Push- Button Telephones (AREA)
  • Interface Circuits In Exchanges (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、電話交換方式に係
り、日付、時間に基づいて、発呼回線(ルート)を選択
する発呼回線選択装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a telephone switching system, and more particularly to a calling line selecting device for selecting a calling line (route) based on a date and time.

【0002】[0002]

【従来の技術】図14は、従来の技術を説明する中継方
式図である。図14において、電話交換機(PBX)
は、内線電話装置(EXT)を収容しており、また、電
話網Aと局線トランク(COT)により接続がなされて
いる。電話網Aは、少なくとも2つ以上のポイントで電
話網Cとの接続がなされており、電話端末装置(TE
L)を収容している。
2. Description of the Related Art FIG. 14 is a diagram of a relay system for explaining a conventional technique. In FIG. 14, a telephone exchange (PBX)
Contains an extension telephone device (EXT) and is connected to the telephone network A by a central office trunk (COT). The telephone network A is connected to the telephone network C at least at two or more points, and is connected to a telephone terminal device (TE).
L).

【0003】このような構成において、内線電話装置
(EXT)が電話網Aに収容されている電話端末装置
(TEL)に発呼したときの動作を説明する。
In such a configuration, an operation when an extension telephone (EXT) calls a telephone terminal (TEL) accommodated in the telephone network A will be described.

【0004】まず、電話交換機(PBX)の加入者が内
線電話装置(EXT)から電話端末装置(TEL)を選
択するダイヤルをする。すると、電話交換機(PBX)
は、電話端末装置(TEL)に対して呼を設定するルー
トを判別する。例えば、この場合、電話交換機(PB
X)→電話網A→電話端末装置(TEL)というルート
と、電話交換機(PBX)→電話網A→電話網C→電話
網A→電話端末装置(TEL)というルートとが考えら
れる。ここで、両者の通話料金を比較して、より低価格
のルートを選択し、そのルートを設定するダイヤル番号
を電話網Aに対して送出する。これにより、例えば、電
話交換機(PBX)→電話網A→電話網C→電話網A→
電話端末装置(TEL)というルートで呼設定を行なっ
ている。
First, a subscriber of a telephone exchange (PBX) dials to select a telephone terminal device (TEL) from an extension telephone device (EXT). Then, the telephone exchange (PBX)
Determines the route for setting up a call to the telephone terminal (TEL). For example, in this case, the telephone exchange (PB
X) → telephone network A → telephone terminal device (TEL), and a route of telephone exchange (PBX) → telephone network A → telephone network C → telephone network A → telephone terminal device (TEL). Here, the call rates of both parties are compared to select a lower cost route, and a dial number for setting the route is transmitted to the telephone network A. Thereby, for example, the telephone exchange (PBX) → the telephone network A → the telephone network C → the telephone network A →
Call setting is performed through a route called a telephone terminal (TEL).

【0005】[0005]

【発明が解決しようとする課題】しかしながら、電話網
の規模等の条件により、上記した、電話網A→電話網C
→電話網Aのように、再度、元の電話網に入ることがで
きない網の構成がある。
However, depending on conditions such as the size of the telephone network, the above-mentioned telephone network A → telephone network C
→ There is a network configuration such as telephone network A that cannot enter the original telephone network again.

【0006】図15は、そのような構成を説明する中継
方式図である。
FIG. 15 is a diagram illustrating a relay system for explaining such a configuration.

【0007】図15において、上記従来技術と同様に内
線電話装置(EXT)から電話端末装置(TEL)に発
呼した際、電話交換機(PBX)→電話網A→電話端末
装置(TEL)というルートは設定できるが、符号15
0に示すように、電話交換機(PBX)→電話網A→電
話網B→電話網A→電話端末装置(TEL)のルートは
設定できない。
In FIG. 15, when a call is made from an extension telephone (EXT) to a telephone terminal (TEL) in the same manner as in the prior art, a route of telephone exchange (PBX) → telephone network A → telephone terminal (TEL). Can be set, but reference numeral 15
As shown in FIG. 0, the route of the telephone exchange (PBX) → the telephone network A → the telephone network B → the telephone network A → the telephone terminal device (TEL) cannot be set.

【0008】このように、複数の電話網で網を構成して
いるが、電話網間の条件により、LCR(Least
Cost Routing)機能が使えない問題があ
る。
As described above, a network is constituted by a plurality of telephone networks. However, depending on conditions between the telephone networks, LCR (Least) is used.
There is a problem that the cost routing function cannot be used.

【0009】本発明は、そのような問題点を解決するも
ので、第1の電話網→第2の電話網→第1の電話網のよ
うに、元の電話網に再度入りルートを設定することがで
きない網構成において、LCR機能を提供することがで
きる発呼回線選択装置を提供することを目的とする。
The present invention solves such a problem, and reenters the original telephone network and sets a route, such as first telephone network → second telephone network → first telephone network. It is an object of the present invention to provide a calling line selection device capable of providing an LCR function in a network configuration that cannot perform such a function.

【0010】[0010]

【課題を解決するための手段】この発明は、複数の電話
網と、端末装置とを接続した発呼回線選択装置であっ
て、前記端末装置の発呼動作により、当該端末装置から
ダイヤル信号を受信するダイヤル受信手段と、前記ダイ
ヤル信号と前記複数の電話網の内の一つとを対応付ける
選択情報を記憶する記憶手段と、前記ダイヤル受信手段
が受信したダイヤル信号を1桁毎に抽出し、前記ダイヤ
ル信号を1桁抽出する毎に前記選択情報を参照して前記
複数の電話網の内の一つの電話網を選択する処理を、当
該一つの電話網が決定するまで繰り返す電話網選択手段
と、当該電話網選択手段が選択決定した電話網に対し
て、前記端末装置の発呼動作を行なう発呼制御手段と、
前記発呼制御手段は、前記端末装置から受信したダイヤ
ル信号を選択された前記一つの電話網に対して送出する
際に、ダイヤル信号を付加して送出するか、ダイヤル信
号を削除して送出するか、もしくはダイヤル信号をその
まま送出するか、のいずれかの処理を行なうダイヤル信
号変換手段と、を備えたことを特徴とする。また、前記
電話網選択手段は、端末装置の発呼動作により当該端末
装置からダイヤル信号を受信したとき、受信した該ダイ
ヤル信号と時間、曜日、国民の休日を含むカレンダ情報
とに基づいて最低の通話料金となる電話網を選択決定す
ることを特徴とする。また、前記発呼制御手段は、選択
された前記一つの電話網に発呼できない場合、他の電話
網に発呼動作を迂回する発呼迂回手段を有することを特
徴とする。
SUMMARY OF THE INVENTION The present invention relates to a calling line selecting apparatus for connecting a plurality of telephone networks and a terminal device, wherein a dial signal is transmitted from the terminal device by the calling operation of the terminal device. Dial receiving means for receiving, storage means for storing selection information for associating the dial signal with one of the plurality of telephone networks, extracting the dial signal received by the dial receiving means digit by digit, Telephone network selecting means for repeating a process of selecting one of the plurality of telephone networks by referring to the selection information every time a dial signal is extracted by one digit until the one telephone network is determined; Call control means for performing a call operation of the terminal device for the telephone network selected and determined by the telephone network selection means,
The calling control means may include a dial received from the terminal device.
Outgoing signal to the selected one telephone network
When adding a dial signal,
Or delete the signal and send the dial signal.
Dial signal that performs either of the following processes:
Signal conversion means . Further, the telephone network selecting means, when receiving a dial signal from the terminal device by a calling operation of the terminal device, based on the received dial signal and time, day of the week, calendar information including national holidays, the lowest. It is characterized by selecting and determining a telephone network for a call fee. Further, the call control means includes a call diversion means for diverting a call operation to another telephone network when a call cannot be made to the selected one telephone network.

【0011】[0011]

【作用】上記の構成により元の電話網に再度入り、ルー
トを設定することができない網構成の電話網に対して、
LCR機能を提供することができる。
According to the above configuration, the telephone network reenters the original telephone network and cannot establish a route.
An LCR function can be provided.

【0012】[0012]

【実施例】以下、この発明の実施例を図面を参照して詳
細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0013】図1はこの発明の構成を示す中継方式図で
ある。
FIG. 1 is a diagram of a relay system showing the configuration of the present invention.

【0014】図1において、呼の設定動作を行なう主装
置(電話交換機)には、呼を自在に接続する通話路スイ
ッチ(SW)10が含まれている。通話路スイッチ10
には、内線電話装置2を制御するライン回路(LIN)
11と、電話網(A)4とのインタフェースを行なう局
線トランク(A)(COTA)12と、電話網(B)5
とのインタフェースを行なう局線トランク(B)(CO
TB)13と、モデム3とのインタフェースを行なうモ
デムインタフェース装置(I/F)14と、が収容され
ている。
In FIG. 1, a main unit (telephone exchange) for performing a call setting operation includes a call path switch (SW) 10 for freely connecting a call. Call path switch 10
A line circuit (LIN) for controlling the extension telephone device 2
11, a central office trunk (A) (COTA) 12 for interfacing with the telephone network (A) 4, and a telephone network (B) 5
Office trunk (B) (CO
TB) 13 and a modem interface device (I / F) 14 for interfacing with the modem 3 are accommodated.

【0015】また、主装置全体を制御する中央制御装置
(CC)16を含んでおり、その中央制御装置16は記
憶装置(MM)17に格納してあるプログラムに従って
制御を遂行している。なお、記憶装置17にはプログラ
ムの他に局データ、各種テーブル等も格納してある。バ
ス15は中央制御装置16と記憶装置17との間でデー
タの送受信を行なうためのものである。
Further, a central controller (CC) 16 for controlling the entire main unit is included, and the central controller 16 performs control according to a program stored in a storage device (MM) 17. The storage device 17 stores station data, various tables, and the like in addition to the programs. The bus 15 is for transmitting and receiving data between the central control device 16 and the storage device 17.

【0016】さらに、図示はしていないが中央制御装置
16とライン回路11、局線トランク(A)12、局線
トランク(B)13及びモデムインタフェース装置14
は論理的に接続されており、全て中央制御装置16の制
御の下で動作している。
Although not shown, the central control unit 16 and the line circuit 11, the office trunk (A) 12, the office trunk (B) 13, and the modem interface unit 14
Are logically connected and all operate under the control of the central controller 16.

【0017】電話網(A)4と電話網(B)5とは所定
のポイントで接続されており、電話網(A)4→電話網
(B)5、または、電話網(B)5→電話網(A)4の
ルートで呼を接続することができる構成となっている。
ただし、この実施例においては、電話網(A)4→電話
網(B)5→電話網(A)4のように、再度、元の電話
網にルートを設定できない構成であることを前提として
いる。
The telephone network (A) 4 and the telephone network (B) 5 are connected at predetermined points, and the telephone network (A) 4 → the telephone network (B) 5 or the telephone network (B) 5 → Calls can be connected via the route of the telephone network (A) 4.
However, in this embodiment, it is assumed that a route cannot be set in the original telephone network again, such as telephone network (A) 4 → telephone network (B) 5 → telephone network (A) 4. I have.

【0018】また、電話網(A)4は、電話端末装置4
1を収容しており、電話網(B)5は電話端末装置51
及びパソコンセット、ワークステーション等のデータ端
末装置52を収容している。データ端末装置52は電話
網(B)5、モデム3を介して主装置に局データを設定
するために用いられるものである。従って、主装置で
は、モデムインタフェース装置14を介してメンテナン
ス用の局データを受信し、その受信した局データを記憶
装置17に格納する構成としている。
The telephone network (A) 4 is a telephone terminal 4
1 and the telephone network (B) 5 is a telephone terminal device 51.
And a data terminal device 52 such as a personal computer set and a workstation. The data terminal device 52 is used for setting station data in the main device via the telephone network (B) 5 and the modem 3. Therefore, the main unit is configured to receive the maintenance office data via the modem interface device 14 and store the received office data in the storage device 17.

【0019】図6は、主装置の動作を示すフローチャー
トであり、図7は、図6の符号S605、S607、及
びS609で示しているステップの詳細な動作を示すフ
ローチャートである。
FIG. 6 is a flowchart showing the operation of the main unit, and FIG. 7 is a flowchart showing the detailed operation of the steps indicated by reference numerals S605, S607 and S609 in FIG.

【0020】図8は、記憶装置17内に格納されている
ダイヤル展開テーブルの構成図であり、主装置はこのダ
イヤル展開テーブルに従って呼を設定するルートを決定
している。
FIG. 8 is a diagram showing the configuration of a dial expansion table stored in the storage device 17. The main unit determines a route for setting a call according to the dial expansion table.

【0021】図8において、ダイヤル展開テーブルは、
複数のインデックス(INDX0〜INDXn)801
から成っており、それらのインデックスには、各々、ダ
イヤル信号(番号)802に対して展開データ803が
設定されている。
In FIG. 8, the dial expansion table is
Multiple indexes (INDX0-INDXn) 801
In each of these indices, expansion data 803 is set for a dial signal (number) 802.

【0022】図9及び図10は、図8に示す展開データ
803の構成と、その内容(意味)を示す図である。
FIGS. 9 and 10 are diagrams showing the structure of the expanded data 803 shown in FIG. 8 and its contents (meaning).

【0023】図9において、(a)は展開データ803
の基本構成を示しており、展開データは指標部(PI)
91とデータ部(DATA)92とから構成してある。
指標部91は次に行なう処理を示すものであり、データ
部92には、その処理を行なうための詳細な識別データ
が格納してある。
FIG. 9A shows expanded data 803.
Shows the basic configuration of the data, and the development data is indicated by the index part (PI)
It comprises a data section (DATA) 92 and a data section (DATA) 92.
The index section 91 indicates the processing to be performed next, and the data section 92 stores detailed identification data for performing the processing.

【0024】図9(b)は、指標部91が「1」である
INDX展開の展開データを示している。指標部91に
対してデータ部92にはインデックス「INDX」が格
納されており、次のダイヤル展開の際には、その「IN
DX」をサーチして行なうことを示している。
FIG. 9B shows expanded data of the INDX expansion in which the index section 91 is "1". An index “INDX” is stored in the data section 92 for the index section 91, and the “INDX” is stored in the next dial expansion.
"DX".

【0025】図9(c)は、指標部91が「2」である
ルート任意選択(特番識別あり)の展開データを示して
いる。指標部91に対してデータ部92には、呼を設定
するときのルート情報「RC1」、「RC2」、「RC
3」及び「RC4」が格納されており、その4つのルー
トのうち、日付、時間に基づいて1つを選択して呼設定
のときのルートを決定することが示してある。
FIG. 9C shows expanded data of an arbitrary route selection (with special number identification) in which the index portion 91 is "2". For the index unit 91, the data unit 92 includes route information "RC1", "RC2", "RC
"3" and "RC4" are stored, and one of the four routes is selected based on the date and time to determine the route at the time of call setting.

【0026】図9(d)は、指標部91が「3」である
ルート固定選択の展開データを示している。指標部91
に対してデータ部92には、呼を設定するときのルート
情報「RD」が格納されており、呼設定のときそのルー
トによって行なうことが示してある。
FIG. 9D shows expanded data of the fixed route selection in which the index unit 91 is "3". Indicator 91
On the other hand, the data section 92 stores route information "RD" for setting a call, and indicates that the call is set according to the route.

【0027】図10(e)は、指標部91が「4」であ
るルート固定選択(ダイヤル削除)の展開データを示し
ている。指標部91に対してデータ部92には、呼を設
定するときのルート情報「RE」と、内線電話装置から
受信したダイヤル信号(番号)から回線に送出するダイ
ヤル信号を生成するために、該受信したダイヤル信号の
上位数桁のダイヤル信号を削除する処理を行なうための
ダイヤル削除桁数と、が格納されている。そして、呼を
設定する際、ルートを決定し、内線電話装置から受信し
たダイヤル信号のうち指定されている上位の桁数分ダイ
ヤルを削除し、削除した桁数以降のダイヤル信号を回線
に送出することを示している。
FIG. 10E shows expanded data of fixed route selection (dial deletion) in which the index unit 91 is "4". In response to the index unit 91, the data unit 92 includes a route information "RE" for setting a call and a dial signal to be transmitted to the line from the dial signal (number) received from the extension telephone device. The number of digits to be deleted for performing the process of deleting the dial signal of the upper several digits of the received dial signal is stored. When setting up a call, a route is determined, dials are deleted by the specified number of higher-order digits from dial signals received from the extension telephone device, and dial signals of the number of digits after the deleted digits are transmitted to the line. It is shown that.

【0028】図10(f)は、指標部91が「5」であ
るルート任意選択(ダイヤル付加)の展開データを示し
ている。指標部91に対してデータ部92には、呼を設
定するときのルート情報「RF1」、「RF2」、「R
F3」及び「RF4」が格納されており、その4つのル
ートのうち、日付、時間に基づいて1つを選択して呼設
定のときルートを決定することが示してある。なお、回
線にダイヤル信号を送出する際、図13に示すダイヤル
付加テーブルに格納されているダイヤル信号を内線電話
装置から受信したダイヤル信号の先頭に付加する。
FIG. 10 (f) shows expanded data of the route selection (addition of a dial) in which the index portion 91 is "5". In the data section 92, the route information "RF1", "RF2", "R"
F3 "and" RF4 "are stored, and one of the four routes is selected based on the date and time, and the route is determined at the time of call setup. When a dial signal is transmitted to the line, the dial signal stored in the dial addition table shown in FIG. 13 is added to the beginning of the dial signal received from the extension telephone device.

【0029】図10(g)は、指標部91が「6」であ
るルート任意選択(特番識別なし)の展開データを示し
ている。指標部91に対してデータ部92には、呼を設
定するときのルート情報「RG1」、「RG2」、「R
G3」及び「RG4」が格納されており、その4つのル
ートのうち、日付、時間に基づいて1つを選択して呼設
定のときルートを決定することが示してある。なお、こ
れは、内線電話装置からの特番を意識しない。
FIG. 10 (g) shows expanded data of an arbitrary route selection (without identification of a special number) in which the index portion 91 is "6". For the index unit 91, the data unit 92 includes route information "RG1", "RG2", "R
"G3" and "RG4" are stored, and one of the four routes is selected based on the date and time to determine the route at the time of call setup. This does not consider the special number from the extension telephone device.

【0030】図10(h)は、指標部91が「7」であ
るルート固定選択(ダイヤル送出3桁固定)の展開デー
タを示している。指標部91に対してデータ部92に
は、呼を設定するときのルート情報「RH」が格納され
ている。なお、この展開データのときは、3桁のダイヤ
ル信号の送出で通話とする。
FIG. 10 (h) shows expanded data of fixed route selection (dial sending fixed at three digits) in which the index portion 91 is "7". For the index unit 91, the data unit 92 stores route information "RH" for setting a call. In the case of this expanded data, a telephone call is made by transmitting a three-digit dial signal.

【0031】図11は記憶装置17内に格納されている
祝祭日テーブルの構成図である。図11において、この
テーブルは、日付に対して祝祭日か否かを示す情報が格
納されている。構成を詳述すると、このテーブルは、各
月毎のブロック111から構成されており、そのブロッ
クには各々日付に対して祝祭日か否かを示す情報が格納
されている。図11には、1月のブロック112が示さ
れており、符号113に示す日付の構成に対応してビッ
ト毎に「0」もしくは「1」が設定されている。「0」
は平日であることを示し、「1」は祝祭日であることを
示している。従って、1月のブロック112は1日に対
応するビットと、15日に対応するビットと、が「1」
に設定されている。
FIG. 11 is a configuration diagram of a holiday table stored in the storage device 17. In FIG. 11, this table stores information indicating whether a date is a holiday or not. In detail, the table includes a block 111 for each month, and each block stores information indicating whether a date is a holiday or not. FIG. 11 shows a January block 112 in which “0” or “1” is set for each bit corresponding to the date configuration indicated by reference numeral 113. "0"
Indicates a weekday, and “1” indicates a holiday. Therefore, the January block 112 has a bit corresponding to one day and a bit corresponding to the 15th as “1”.
Is set to

【0032】図12は記憶装置17内に格納されている
ルート決定テーブルの構成図である。図12において、
このテーブルは、曜日及び祝祭日毎のブロック121か
ら構成されており、それらの各ブロック121には、0
〜23までの時間122とその時間122に対応するル
ートパターン(PTN)123とが設定されている。こ
れにより、曜日又は祝祭日と時間とによって、ルートパ
ターン123が決定する。なお、このルートパターン
は、図9(c)、図10(f)、もしくは図10(g)
のように、複数のルートを任意に選択する場合に使用さ
れるものである。
FIG. 12 is a configuration diagram of a route determination table stored in the storage device 17. In FIG.
This table is made up of blocks 121 for each day of the week and for holidays.
23 are set, and a route pattern (PTN) 123 corresponding to the time 122 is set. Thus, the route pattern 123 is determined based on the day of the week or the holiday and the time. This route pattern is shown in FIG. 9C, FIG. 10F, or FIG.
Is used when a plurality of routes are arbitrarily selected.

【0033】以下、図6及び図7に示すフローチャート
に基づいて動作を説明する。
The operation will be described below with reference to the flowcharts shown in FIGS.

【0034】まず、図2に示す第1の実施例について説
明する。
First, a first embodiment shown in FIG. 2 will be described.

【0035】主装置は、内線電話装置からダイヤル信号
の1桁目を受信する(図6、S601)。次に、受信し
たダイヤル信号によりダイヤル展開テーブルをアクセス
する(図6、S602)。ここでは、1桁目であり、受
信したダイヤル信号が「0」であるので、図2(b)に
示すINDX0の「0」の展開データを参照する(図
6、S603)。展開データの指標(PI)が「1」で
ありINDX展開である場合、その展開データのデータ
部に記憶してあるインデックス(「INDXa」)にジ
ャンプし(図6、S604)、次のダイヤル信号を受信
する(図6、S601)。
The main device receives the first digit of the dial signal from the extension telephone device (S601 in FIG. 6). Next, the dial expansion table is accessed by the received dial signal (FIG. 6, S602). In this case, the first digit, and the received dial signal is “0”, so the expansion data of “0” of INDX0 shown in FIG. 2B is referred to (S603 in FIG. 6). If the index (PI) of the expanded data is “1” and the data is the INDX expansion, the processing jumps to the index (“INDXa”) stored in the data section of the expanded data (FIG. 6, S604), and the next dial signal Is received (FIG. 6, S601).

【0036】次に、2桁目のダイヤル信号を受信し、受
信したダイヤル信号「3」によりダイヤル展開テーブル
をアクセスする(図6、S602)。ここでは、「3」
であるので図2(b)に示すINDXaの「3」の展開
データを参照する(図6、S603)。参照した結果、
展開データの指標(PI)が「2」でありルート任意選
択(特番識別あり)であることを判別した場合(図6、
S604)。展開データのデータに記憶してある複数の
ルート(この場合は4つのルート)のうち、どのルート
で発信するかを判断するルーチン(ルート指定ルーチ
ン)を実行する(図6、S605)。
Next, the dial signal of the second digit is received, and the dial expansion table is accessed by the received dial signal "3" (S602 in FIG. 6). Here, "3"
Therefore, the development data of “3” of INDXa shown in FIG. 2B is referred to (S603 in FIG. 6). As a result of reference,
When it is determined that the index (PI) of the developed data is “2” and the route is optional (with special number identification) (FIG. 6,
S604). A routine (route designation routine) for determining which route to transmit from among a plurality of routes (four routes in this case) stored in the data of the development data is executed (FIG. 6, S605).

【0037】図7は、ルート指定ルーチンを示すフロー
チャートである。まず、内部タイマーから日付を抽出
し、図11に示す祝祭日テーブルを参照して(図7、S
701)、現日付が祝祭日か否かを判別する(図7、S
702)。なお、この判別は前記したように、日付に対
応するビットを抽出し、そのビットが「0」か「1」か
によって行なうものである。祝祭日でなければ、内部タ
イマーを参照して、週パターンを現曜日(日付に対する
曜日)に決定する(図7、S703)。また、祝祭日で
ある場合は週パターンを祝祭日にする(図7、S70
4)。
FIG. 7 is a flowchart showing a route designation routine. First, a date is extracted from the internal timer, and referring to the holiday table shown in FIG. 11 (FIG. 7, S
701), it is determined whether or not the current date is a holiday (FIG. 7, S)
702). As described above, this determination is performed by extracting a bit corresponding to the date and determining whether the bit is "0" or "1". If it is not a holiday, the week pattern is determined to be the current day (day of the date) with reference to the internal timer (S703 in FIG. 7). If it is a holiday, the week pattern is set as a holiday (FIG. 7, S70).
4).

【0038】次に、図12に示すルート決定テーブルを
参照し、前のステップで検索した週パターンに対応する
ブロックをアクセスする(図7、S705)。次に、内
部タイマーに基づいて現時間を識別し、その識別した時
間122に対応するルートパターン123を検索し、読
み出す(図7、S706)。そして、読み出したルート
パターン(1〜4のいずれか)により、呼設定のルート
を決定する(図7、S707)。
Next, referring to the route determination table shown in FIG. 12, a block corresponding to the week pattern searched in the previous step is accessed (FIG. 7, S705). Next, the current time is identified based on the internal timer, and a route pattern 123 corresponding to the identified time 122 is searched and read (S706 in FIG. 7). Then, a call setting route is determined based on the read route pattern (any one of 1 to 4) (FIG. 7, S707).

【0039】以上のとおり、図6、S605においてル
ートパターンの決定がなされると、主装置はダイヤル展
開データ中のデータ部に記憶してある4つのルートのう
ち、決定したルートパターン(RC1,RC2,RC
3,RC4のうちの1つ)で呼設定を行なう(図6、S
606)。
As described above, when the route pattern is determined in S605 in FIG. 6, the main apparatus determines the determined route pattern (RC1, RC2) out of the four routes stored in the data portion of the dial expansion data. , RC
3, one of RC4) (FIG. 6, S
606).

【0040】図2(a)において、例えばルートとして
「RC2」が選択された場合、局線トランクB(COT
B)から電話網Bに対して発呼がなされ、内線電話装置
から受信したダイヤル信号「03−3999−999
9」をそのまま電話網Bに対して送出する。
In FIG. 2A, for example, when "RC2" is selected as the route, the central office trunk B (COT
B) makes a call to the telephone network B, and the dial signal “03-3999-999” received from the extension telephone device.
9 "is transmitted to the telephone network B as it is.

【0041】なお、ルート「RC2」が全話中のとき
は、ルート「RC1」にルートパターンを変えて呼を設
定することもできる。
If the route "RC2" is busy, the call can be set by changing the route pattern to the route "RC1".

【0042】次に、図3に示す第2の実施例について説
明する。
Next, a second embodiment shown in FIG. 3 will be described.

【0043】主装置は、内線電話装置からダイヤル信号
の1桁目を受信する(図6、S601)。次に、受信し
たダイヤル信号によりダイヤル展開テーブルをアクセス
する(図6、S602)。ここでは、1桁目であり、受
信したダイヤル信号が「3」であるので、図3(b)に
示すINDX0「3」の展開データを参照する(図6、
S603)。展開データの指標(PI)が「5」であり
ルート任意選択であることを判別した場合(図6、S6
04)。展開データのデータ部に記憶してある複数のル
ートのうち、どのルートで発信するかを判断するルート
指定ルーチンを実行する(図6、S607)。
The main unit receives the first digit of the dial signal from the extension telephone unit (S601 in FIG. 6). Next, the dial expansion table is accessed by the received dial signal (FIG. 6, S602). In this case, the first digit, and the received dial signal is “3”, so the expansion data of INDX0 “3” shown in FIG. 3B is referred to (FIG. 6,
S603). When it is determined that the index (PI) of the development data is “5” and the route is optional (FIG. 6, S6)
04). A route designation routine is executed to determine which of the plurality of routes stored in the data part of the expanded data is to be transmitted (S607 in FIG. 6).

【0044】このルート指定ルーチンは前記した第1の
実施例と同じ動作で行なう。これによりルートパターン
の決定がなされると、主装置はダイヤル展開データ中の
データ部に記憶してある4つのルートのうち決定したル
ートパターン(RF1,RF2,RF3,RF4のうち
の1つ)で呼設定を行なう(図6、S608)。
This route designation routine is performed in the same operation as in the first embodiment. When the route pattern is determined in this way, the main apparatus uses the determined route pattern (one of RF1, RF2, RF3, and RF4) among the four routes stored in the data section of the dial development data. Call setting is performed (FIG. 6, S608).

【0045】図3(a)において、例えばルートとして
「RF2」が選択された場合、局線トランクB(COT
B)から電話網Bに対して発呼がなされ、内線電話装置
から受信したダイヤル信号「3999−9999」の先
頭に図13に示すダイヤル付加テーブルに格納してある
ダイヤル信号を付加したダイヤル信号「03−3999
−9999」を電話網Bに対して送出する。
In FIG. 3A, for example, when "RF2" is selected as the route, the central office trunk B (COT
B), a call is made to the telephone network B, and a dial signal "3999-9999" received from the extension telephone apparatus is added with a dial signal stored in the dial addition table shown in FIG. 03-3999
−9999 ”to the telephone network B.

【0046】なお、ルート「RF2」が全話中のとき、
ルートパターンを「RF1」に変更して呼を設定するこ
ともできる。このとき、ダイヤル付加を行なわず受信し
たダイヤル信号「3999−9999」をそのまま回線
に送出し、網の条件に合わせることもできる。
When the route "RF2" is busy,
The call can be set by changing the route pattern to “RF1”. At this time, the dial signal "3999-9999" received without adding a dial can be sent to the line as it is, and can be adjusted to the conditions of the network.

【0047】次に、図4に示す第3の実施例について説
明する。
Next, a third embodiment shown in FIG. 4 will be described.

【0048】主装置は、内線電話装置からダイヤル信号
の1桁目を受信する(図6、S601)。次に、受信し
たダイヤル信号によりダイヤル展開テーブルをアクセス
する(図6、S602)。ここでは、1桁目であり、受
信したダイヤル信号が「1」であるので、図4(b)に
示すINDX0の「1」の展開データを参照する(図
6、S603)。展開データの指標(PI)が「3」で
ありルート固定選択であることを判別した場合(図6、
S604)。展開データのデータ部に記憶してあるルー
トパターン(RD)で呼設定を行なう。
The main unit receives the first digit of the dial signal from the extension telephone unit (S601 in FIG. 6). Next, the dial expansion table is accessed by the received dial signal (FIG. 6, S602). Here, the first digit, and the received dial signal is “1”, so reference is made to the development data of “1” of INDX0 shown in FIG. 4B (FIG. 6, S603). When it is determined that the index (PI) of the developed data is “3” and the route is fixedly selected (FIG. 6,
S604). Call setting is performed using the route pattern (RD) stored in the data section of the expanded data.

【0049】図4(a)において、ルートパターン「R
D」固定である場合、局線トランクA(COTA)から
電話網Aに対して発呼がなされ、内線電話装置から受信
したダイヤル信号「1××」をそのまま回線に送出す
る。なおこれは、例えば3桁の特殊番号に用いられるも
のである。
In FIG. 4A, the route pattern “R
If "D" is fixed, a call is made from the central office trunk A (COTA) to the telephone network A, and the dial signal "1xx" received from the extension telephone device is sent out to the line as it is. This is used for a three-digit special number, for example.

【0050】最後に、図5に示す第4の実施例について
説明する。
Finally, a fourth embodiment shown in FIG. 5 will be described.

【0051】主装置は、内線電話装置からダイヤル信号
の1桁目を受信する(図6、S601)。次に、受信し
たダイヤル信号によりダイヤル展開テーブルをアクセス
する(図6、S602)。ここでは、1桁目であり、受
信したダイヤル信号が「0」であるので、図5(b)に
示すINDX0の「0」の展開データを参照する(図
6、S603)。展開データの指標(PI)が「1」で
ありINDX展開である場合、その展開データのデータ
部に記憶してあるインデックス(「INDXa」)にジ
ャンプし(図6、S604)、次のダイヤル信号を受信
する(図6、S601)。
The main unit receives the first digit of the dial signal from the extension telephone unit (S601 in FIG. 6). Next, the dial expansion table is accessed by the received dial signal (FIG. 6, S602). Here, since it is the first digit and the received dial signal is “0”, the expansion data of “0” of INDX0 shown in FIG. 5B is referred to (S603 in FIG. 6). If the index (PI) of the expanded data is “1” and the data is the INDX expansion, the processing jumps to the index (“INDXa”) stored in the data section of the expanded data (FIG. 6, S604), and the next dial signal Is received (FIG. 6, S601).

【0052】次に、2桁目のダイヤル信号を受信し、受
信したダイヤル信号によりダイヤル展開テーブルをアク
セスする(図6、S602)。ここでは受信したダイヤ
ル信号が「0」であるので図5(b)に示すINDXa
の「0」の展開データを参照する(図6、S603)。
展開データの指標(PI)が「1」でありINDX展開
である場合、その展開データのデータ部に記憶してある
インデックス(「INDXb」)にジャンプし(図6、
S604)、次のダイヤル信号を受信する(図6、S6
01)。
Next, the dial signal of the second digit is received, and the dial expansion table is accessed by the received dial signal (FIG. 6, S602). Here, since the received dial signal is “0”, INDXa shown in FIG.
The development data of “0” is referred to (S603 in FIG. 6).
When the index (PI) of the expanded data is “1” and the data is the INDX expansion, the processing jumps to the index (“INDXb”) stored in the data section of the expanded data (FIG. 6,
In step S604, the next dial signal is received (FIG. 6, S6).
01).

【0053】次に、3桁目のダイヤル信号を受信し、受
信したダイヤル信号によりダイヤル信号「0」によりダ
イヤル展開テーブルをアクセスする(図6、S60
2)。ここでは、「0」であるので図5(b)に示すI
NDXbの「0」の展開データを参照する(図6、S6
03)。参照した結果、展開データの指標(PI)が
「4」であり、ルート固定選択(ダイヤル削除)である
ことを判別した場合(図6、S604)、展開データの
データ部に記憶してあるルートパターン(RE)で呼設
定を行なう。
Next, the dial signal of the third digit is received, and the dial expansion table is accessed by the dial signal “0” according to the received dial signal (FIG. 6, S60).
2). Here, since it is “0”, I shown in FIG.
Refer to the development data of “0” of NDXb (FIG. 6, S6
03). As a result of the reference, when it is determined that the index (PI) of the development data is “4” and the route is fixedly selected (dial deletion) (FIG. 6, S604), the route stored in the data part of the development data is determined. Call setting is performed using the pattern (RE).

【0054】図5(a)において、ルートパターンが
「RE」固定である場合、局線トランクB(COTB)
から電話網Bに対して発呼がなされ、内線電話装置から
受信したダイヤル信号「000−03−3999−99
99」のうち展開データのデータ部に記憶してある数だ
け先頭からダイヤルを削除してダイヤル信号「03−3
999−9999」を作成し、それを回線に送出する。
In FIG. 5A, when the route pattern is fixed to "RE", the central office trunk B (COTB)
Originates a call to the telephone network B, and receives a dial signal “000-03-3999-99” received from the extension telephone device.
99, the dial number is deleted from the beginning by the number stored in the data part of the development data, and the dial signal “03-3” is deleted.
999-9999 "and send it out to the line.

【0055】なお、内線電話装置から受信したダイヤル
信号が「000−777−9999」であれば、ダイヤ
ル信号「777−9999」を回線に送出する。
If the dial signal received from the extension telephone device is "000-777-9999", the dial signal "777-9999" is transmitted to the line.

【0056】また、第3の実施例または第4の実施例の
ように呼のルートが固定になっている場合において、そ
のルートが全話中のとき、他のルートには迂回せず呼損
としている。
In the case where the route of a call is fixed as in the third embodiment or the fourth embodiment, when the route is busy, the call is not detoured to another route and the call is lost. And

【0057】さらに、図10(g)及び(h)によって
ルートの決定がなされる場合もあるが、これは、第1の
実施例及び第3の実施例に動作が類似しているので説明
を詳略する。
In some cases, the route is determined according to FIGS. 10 (g) and 10 (h). However, the operation is similar to those of the first and third embodiments and will not be described. Detailed description.

【0058】[0058]

【発明の効果】この発明によれば、複数類の電話網によ
って網が構成されている場合において任意にルートを選
択することができ、通信コストを低減させることができ
る。また、第1の電話網→第2の電話網→第1の電話網
のように元の電話網に再度入りルートを設定することが
できない網構成であっても、LCR機能を実現できる。
According to the present invention, a route can be arbitrarily selected in a case where a network is constituted by a plurality of types of telephone networks, and communication costs can be reduced. Further, even in a network configuration in which a route cannot be set again to the original telephone network such as the first telephone network → the second telephone network → the first telephone network, the LCR function can be realized.

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

【図1】この発明の構成を示す中継方式図である。FIG. 1 is a diagram illustrating a relay system showing a configuration of the present invention.

【図2】この発明の第1の実施例の動作を説明する図で
ある。
FIG. 2 is a diagram illustrating the operation of the first embodiment of the present invention.

【図3】この発明の第2の実施例の動作を説明する図で
ある。
FIG. 3 is a diagram for explaining the operation of the second embodiment of the present invention.

【図4】この発明の第3の実施例の動作を説明する図で
ある。
FIG. 4 is a diagram illustrating the operation of a third embodiment of the present invention.

【図5】この発明の第4の実施例の動作を説明する図で
ある。
FIG. 5 is a diagram illustrating the operation of a fourth embodiment of the present invention.

【図6】この発明の動作を示すフローチャートである。FIG. 6 is a flowchart showing the operation of the present invention.

【図7】呼設定ルートを決定する動作を示すフローチャ
ートである。
FIG. 7 is a flowchart showing an operation for determining a call setting route.

【図8】ダイヤル展開テーブルを示す構成図である。FIG. 8 is a configuration diagram showing a dial deployment table.

【図9】ダイヤル展開テーブルの展開テーブルの構成及
び仕様を示す図(その1)である。
FIG. 9 is a diagram (part 1) illustrating a configuration and specifications of a development table of a dial development table.

【図10】ダイヤル展開テーブルの展開テーブルの構成
及び仕様を示す図(その2)である。
FIG. 10 is a diagram (part 2) illustrating a configuration and specifications of a development table of a dial development table.

【図11】祝祭日テーブルを示す構成図である。FIG. 11 is a configuration diagram showing a holiday table.

【図12】ルート決定テーブルを示す構成図である。FIG. 12 is a configuration diagram illustrating a route determination table.

【図13】ダイヤル付加テーブルを示す構成図である。FIG. 13 is a configuration diagram illustrating a dial addition table.

【図14】従来技術の動作を説明する図である。FIG. 14 is a diagram illustrating the operation of the conventional technique.

【図15】従来技術の動作を説明する図である。FIG. 15 is a diagram illustrating the operation of the conventional technique.

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

2 内線電話装置 10 通話路スイッチ(SW) 11 ライン回路(LIN) 12 局線トランク(A)(COTA) 13 局線トランク(B)(COTB) 4 電話網(A) 5 電話網(B) 2 extension telephone device 10 communication line switch (SW) 11 line circuit (LIN) 12 office trunk (A) (COTA) 13 office trunk (B) (COTB) 4 telephone network (A) 5 telephone network (B)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04Q 3/58 - 3/62 H04M 1/26 - 1/57 H04M 3/42 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04Q 3/58-3/62 H04M 1/26-1/57 H04M 3/42

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の電話網と、端末装置とを接続した
発呼回線選択装置であって、前記端末装置の発呼動作に
より、当該端末装置からダイヤル信号を受信するダイヤ
ル受信手段と、前記ダイヤル信号と前記複数の電話網の
内の一つとを対応付ける選択情報を記憶する記憶手段
と、前記ダイヤル受信手段が受信したダイヤル信号を1
桁毎に抽出し、前記ダイヤル信号を1桁抽出する毎に前
記選択情報を参照して前記複数の電話網の内の一つの電
話網を選択する処理を、当該一つの電話網が決定するま
で繰り返す電話網選択手段と、当該電話網選択手段が選
択決定した電話網に対して、前記端末装置の発呼動作を
行なう発呼制御手段と、前記発呼制御手段は、前記端末
装置から受信したダイヤル信号を選択された前記一つの
電話網に対して送出する際に、ダイヤル信号を付加して
送出するか、ダイヤル信号を削除して送出するか、もし
くはダイヤル信号をそのまま送出するか、のいずれかの
処理を行なうダイヤル信号変換手段と、を備えたことを
特徴とする発呼回線選択装置
1. A calling line selection device that connects a plurality of telephone networks and a terminal device, wherein the dialing device receives a dial signal from the terminal device by a calling operation of the terminal device, Storage means for storing selection information for associating a dial signal with one of the plurality of telephone networks;
Each digit is extracted, and the process of selecting one of the plurality of telephone networks by referring to the selection information each time the dial signal is extracted by one digit is performed until the one telephone network is determined. The telephone network selecting means to be repeated, calling control means for performing a calling operation of the terminal device with respect to the telephone network selected and determined by the telephone network selecting means, and the call control means comprising:
The one selected dial signal received from the device
When sending to the telephone network, add a dial signal
Whether to send the call, or delete the dial signal before sending it.
The dial signal as it is, or
A calling line selecting device , comprising: dial signal converting means for performing processing .
【請求項2】 前記電話網選択手段は、端末装置の発呼
動作により当該端末装置からダイヤル信号を受信したと
き、受信した該ダイヤル信号と時間、曜日、国民の休日
を含むカレンダ情報とに基づいて電話網を選択決定する
ことを特徴とする請求項1に記載の発呼回線選択装置
2. The telephone network selecting means, when receiving a dial signal from the terminal device by a calling operation of the terminal device, based on the received dial signal and calendar information including a time, a day of the week, and a national holiday. 2. The calling line selecting apparatus according to claim 1, wherein the telephone line is selected and determined.
【請求項3】 前記発呼制御手段は、選択された前記一
つの電話網に発呼できない場合、他の電話網に発呼動作
を迂回する発呼迂回手段を有することを特徴とする請求
項1もしくは2に記載の発呼回線選択装置
3. The call control device according to claim 2, wherein the call control unit includes a call diversion unit that diverts a call operation to another telephone network when a call cannot be made to the selected one telephone network. 3. The calling line selection device according to 1 or 2.
JP04037293A 1992-01-28 1992-01-28 Calling line selection method Expired - Fee Related JP3098312B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04037293A JP3098312B2 (en) 1992-01-28 1992-01-28 Calling line selection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04037293A JP3098312B2 (en) 1992-01-28 1992-01-28 Calling line selection method

Publications (2)

Publication Number Publication Date
JPH05207541A JPH05207541A (en) 1993-08-13
JP3098312B2 true JP3098312B2 (en) 2000-10-16

Family

ID=12493661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04037293A Expired - Fee Related JP3098312B2 (en) 1992-01-28 1992-01-28 Calling line selection method

Country Status (1)

Country Link
JP (1) JP3098312B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09121241A (en) * 1995-10-25 1997-05-06 Kokusai Denshin Denwa Co Ltd <Kdd> Communication terminal equipment

Also Published As

Publication number Publication date
JPH05207541A (en) 1993-08-13

Similar Documents

Publication Publication Date Title
JP2770592B2 (en) switch
US5633922A (en) Process and apparatus for restarting call routing in a telephone network
US5715304A (en) Private branch exchange
JP2874119B2 (en) Incoming call distribution service method to multiple terminals
JP3098312B2 (en) Calling line selection method
KR850006842A (en) Line extension device of communication system
KR910003944B1 (en) Directory service method in an exchange with multilines
JP3033668B2 (en) Calling / receiving method for ISDN multi-line line of exchange or key telephone
JP3408274B2 (en) Private branch exchange
EP1009190A2 (en) Terminal adapter
JPS6147477B2 (en)
JPH01190064A (en) Private branch exchange
JPH02231849A (en) Station exchange having bypass control function
JPH0670002A (en) Electronic exchange
JPH0335645A (en) Automatic dial system for step
JPH0779394B2 (en) Telephone charge management device for private branch telephone exchange
JPS6384357A (en) Contro system for trunk link originating call of private branch exchange
JPS61269451A (en) Link path reconizing system
JPH04133529A (en) Communication route selecting system
JPH01128658A (en) Line selecting system for switchboard
JPH04132395A (en) Route selection system
JPH01162066A (en) Private automatic exchange
JPH06351053A (en) Exchange system
JPH01180169A (en) Communication path notice system
JPH01117593A (en) Key telephone system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350