TWI488464B - Method for dialing from internet extension to conventional extension - Google Patents
Method for dialing from internet extension to conventional extension Download PDFInfo
- Publication number
- TWI488464B TWI488464B TW102133146A TW102133146A TWI488464B TW I488464 B TWI488464 B TW I488464B TW 102133146 A TW102133146 A TW 102133146A TW 102133146 A TW102133146 A TW 102133146A TW I488464 B TWI488464 B TW I488464B
- Authority
- TW
- Taiwan
- Prior art keywords
- network
- extension
- telephone
- proxy server
- sip proxy
- Prior art date
Links
Landscapes
- Telephonic Communication Services (AREA)
- Sub-Exchange Stations And Push- Button Telephones (AREA)
Description
本發明有關於網路分機撥傳統分機的方法,尤其是指透過網路電話閘道器(VoIP Gateway)或IP化語音總機解讀SIP訊息,並轉換成傳統交換機(PBX)能夠瞭解的DTMF(Dual-tone multi-frequency)訊號之方法。The invention relates to a method for a network extension to dial a traditional extension, in particular to interpret SIP messages through a VoIP Gateway or an IP voice switchboard, and convert it into a DTMF (Dual) that a traditional switch (PBX) can understand. -tone multi-frequency) method of signal.
VoIP(網路電話)為現今熱門的通訊技術之一。在VoIP通訊協定中以SIP(Session Initiation Protocol)為目前當紅的VoIP標準協定,其架構簡單、擴充性佳,而且容易實作。VoIP (Internet Telephony) is one of the most popular communication technologies today. In the VoIP protocol, SIP (Session Initiation Protocol) is the popular VoIP standard protocol. Its architecture is simple, scalable, and easy to implement.
在傳統電話系統中,分機門數有限,其受限於傳統交換機的容量,容量越高價格越高。因此通常將網路電話系統整合到傳統電話系統中,使電話系統升級為IP化電話系統,以提供較具彈性的分機擴充能力。In the traditional telephone system, the number of extension gates is limited, which is limited by the capacity of the traditional switch, and the higher the capacity, the higher the price. Therefore, the VoIP system is usually integrated into the traditional telephone system, and the telephone system is upgraded to an IP-based telephone system to provide a more flexible extension expansion capability.
圖1為一般IP化電話系統,以懷生國小為例,網路電話系統部分包含SIP代理伺服器1、網路分機10;傳統電話系統包含傳統電話系統的閘道器(Gateway)2、傳統交換機(PBX)3、語音總機4及傳統分機30等。網路電話系統的SIP代理伺服器1與上層的台北市教育局的SIP代理伺服器6連接,傳統電話系統的閘道器2則與中華電信局5連接。SIP代理伺服器1與網路分機10、語音總機4、閘道器2、SIP代理伺服器6以網際網路相連,以虛線表示。中華電信局5、閘道器2、傳統交換機3、語音總機4及傳統分機30則以傳統電話線相連,以實線表示,如圖所示。Figure 1 shows a general IP-based telephone system. Take Huaisheng Elementary School as an example. The VoIP system part includes SIP proxy server 1, network extension 10; the traditional telephone system includes the gateway of the traditional telephone system. Traditional switch (PBX) 3, voice switchboard 4 and traditional extension 30. The SIP proxy server 1 of the VoIP system is connected to the SIP proxy server 6 of the upper-level Taipei City Education Bureau, and the gateway 2 of the conventional telephone system is connected to the Chunghwa Telecom Office 5. The SIP proxy server 1 is connected to the network extension 10, the voice switchboard 4, the gateway 2, and the SIP proxy server 6 by the Internet, and is indicated by a broken line. Chunghwa Telecom's 5, gateway 2, traditional switch 3, voice switchboard 4 and traditional extension 30 are connected by traditional telephone lines, indicated by solid lines, as shown.
由網路分機10撥打傳統分機30,必須先撥傳統交換機3的總機電話號碼,經過SIP代理伺服器1、閘道器2、傳統交換機3後由語音 總機4接起並提供語音導引,此後撥入傳統分機30的號碼30,才能經由傳統交換機3轉接至傳統分機30,如圖1中粗黑箭號線條所示。To dial the traditional extension 30 by the network extension 10, the switchboard number of the traditional switch 3 must be dialed first, and the voice is sent through the SIP proxy server 1, the gateway 2, and the traditional switch 3. The switchboard 4 picks up and provides voice guidance, and then dials the number 30 of the conventional extension 30 to be transferred to the conventional extension 30 via the conventional switch 3, as shown by the thick black arrow line in FIG.
這種撥打程序必須先撥傳統交換機的總機電話號碼,而且必須語音導引,使用上不太方便。This dialing procedure must first dial the switchboard number of the traditional switch, and must be voice-guided, which is not convenient to use.
本發明的目的是在IP化的電話系統中,讓網路分機使用者只要直接撥入傳統分機號碼即能撥打至傳統分機,不必撥傳統交換機的總機電話號碼,避免語音導引,簡化繁複撥打手續。The purpose of the invention is to enable the network extension user to dial the traditional extension number directly by dialing the traditional extension number, without dialing the switchboard number of the traditional switch, avoiding voice guidance and simplifying complicated dialing. formalities.
本發明網路分機撥打傳統分機的方法包含:一上層SIP代理伺服器;一第一下層SIP代理伺服器,具第一總機電話號碼,與一網路分機以網際網路連接;一第二下層SIP代理伺服器,具第二總機電話號碼,與一網路電話閘道器以網際網路連接;上層SIP代理伺服器與第一、第二下層SIP代理伺器之間以網際網路連接;一傳統交換機與一傳統分機、網路電話閘道器以傳統電話線相連;當由該網路分機撥打至該傳統分機時,直接撥第二總機電話號碼後加上一「-」再加上傳統分機的電話號碼,不必撥傳統交換機的總機號碼,沒有語音導引。The method for dialing a traditional extension of the network extension of the present invention comprises: an upper layer SIP proxy server; a first lower layer SIP proxy server having a first switchboard telephone number, and an internet extension connected to the Internet; a second The lower SIP proxy server has a second switchboard telephone number and is connected to the Internet by a network telephone gateway; the upper SIP proxy server is connected to the first and second lower SIP proxy servers via the Internet. A traditional switch is connected to a traditional extension and a network telephone gateway by a conventional telephone line; when the extension is dialed to the traditional extension, the second telephone number is directly dialed and a "-" is added. The phone number of the traditional extension does not need to dial the switchboard number of the traditional switch, and there is no voice guidance.
其中該網路電話閘道器具有一電話端口與一網路端口,電話端口具有一FXO介面與傳統交換機一FXS介面連接;網路端口經網際網路與第二下層SIP代理伺服器連接。The network telephone gateway has a telephone port and a network port, and the telephone port has an FXO interface connected to the traditional switch-FXS interface; the network port is connected to the second lower layer SIP proxy server via the Internet.
其中該網路電話閘道器可以用一IP化語音總機取代。IP化語音總機是一台電腦電話整合系統,由具有電腦網路卡的電腦加上電話語 音卡組成,並設計一套應用程式加以控制。The network telephone gateway can be replaced by an IP voice switch. IP voice switchboard is a computer phone integration system, with a computer with a computer network card plus phone language The sound card is composed and designed with an application to control it.
1‧‧‧SIP代理伺服器1‧‧‧SIP proxy server
10‧‧‧網路分機10‧‧‧Network extension
2‧‧‧閘道器2‧‧‧ gateway
3‧‧‧傳統交換機3‧‧‧Traditional switches
30‧‧‧傳統分機30‧‧‧Traditional extension
4‧‧‧語音總機4‧‧‧Voice switchboard
5‧‧‧中華電信局5‧‧‧ China Telecom Bureau
6‧‧‧台北市教育局的SIP代理伺服器6‧‧•SIP Proxy Server of Taipei City Education Bureau
7‧‧‧網路電話閘道器7‧‧‧Internet telephone gateway
8‧‧‧SIP代理伺服器8‧‧‧SIP proxy server
20‧‧‧網路分機20‧‧‧Network extension
61‧‧‧電腦網路卡61‧‧‧Computer network card
62‧‧‧電話語音卡62‧‧‧Phone voice card
63‧‧‧應用程式63‧‧‧Application
64‧‧‧SIP協定64‧‧‧SIP Agreement
65‧‧‧RTP協定65‧‧‧RTP Agreement
66‧‧‧作業系統66‧‧‧Operating system
67‧‧‧電話模組67‧‧‧Phone module
圖1為一般IP化電話系統中網路分機撥打傳統分機示意圖。Figure 1 is a schematic diagram of a network extension dialing a conventional extension in a general IP-based telephone system.
圖2為一般IP化電話系統中網路分機撥打傳統分機的訊息流程圖。Figure 2 is a flow chart of the message that the network extension dials the traditional extension in the general IP-based telephone system.
圖3為申請案098122179在IP化電話系統中改進網路分機撥打傳統分機的示意圖。FIG. 3 is a schematic diagram of an application 098122179 for improving a network extension to dial a traditional extension in an IP-based telephone system.
圖4為申請案098122179在IP化電話系統中改進網路分機撥打傳統分機的訊息流程圖。FIG. 4 is a flow chart of the message of improving the network extension dialing the traditional extension in the IP phone system in the application 098122179.
圖5為申請案098122179與本發明中SIP代理伺服器與具有FXO介面之網路電話閘道器的功能流程圖。Figure 5 is a functional flow diagram of the application 098122179 and the SIP proxy server of the present invention and the network telephone gateway having the FXO interface.
圖6為申請案098122179與本發明中IP化語音總機具備網路電話與傳統電話功能的示意圖。FIG. 6 is a schematic diagram of the application of 098122179 and the IP voiced switchboard of the present invention having the functions of a network telephone and a traditional telephone.
圖7為本發明從其他SIP代理伺服器的網路分機撥打傳統分機之系統說明圖。FIG. 7 is a system diagram for dialing a conventional extension from a network extension of another SIP proxy server according to the present invention.
圖8與圖9為圖7的訊息流程圖。8 and 9 are flow chart of the message of FIG. 7.
SIP簡介SIP Introduction
SIP建立通話連線的訊息(Message)為SIP最基本的單位,可分為請求(Request)與回應(Response)兩種。請求是由發話端發送至對方之SIP訊息,並表達發話端的目的;回應為對方發送至發話端之SIP訊息,用以回覆發話端之請求。The message that SIP establishes a call connection is the most basic unit of SIP, and can be divided into two types: request (Request) and response (Response). The request is a SIP message sent by the sender to the other party, and expresses the purpose of the sender; the response is a SIP message sent by the other party to the sender to reply to the request of the sender.
本發明中SIP請求訊息如表1所示。The SIP request message in the present invention is as shown in Table 1.
表1 SIP基本請求
本發明中SIP回應訊息如表2所示。The SIP response message in the present invention is shown in Table 2.
一般IP化電話系統流程說明General IP Phone System Process Description
請見圖2,使用者在網路分機10處拿起電話撥傳統交換機3的總機電話號碼0227710846,於是發出INVITE 0227710846@...訊息經過網路電話的SIP代理伺服器1後到達閘道器2,由閘道器2發出RING-IN訊息給傳統交換機3,傳統交換機3則將RING-IN訊息轉送至語音總機4。語音總機4自動接起電話,並播放問候語,發出OFFHOOK訊息經傳統交換機3送至閘道器2。閘道器2則發出183 Ringing及200 OK訊息至SIP代理伺服器1,SIP代理伺服器1則發出100 Trying、183 Ringing及200 OK訊息至網路分機10。網路分機10回送ACK 0227710846@...經SIP代理伺服器1至閘道器2,完成撥號確認的程序。Please refer to FIG. 2, the user picks up the telephone at the network extension 10 and dials the switchboard number 0227710846 of the traditional switch 3. Then, the INVITE 0227710846@... message is sent to the gateway through the SIP proxy server 1 of the network telephone. 2. The RING-IN message is sent by the gateway 2 to the traditional switch 3, and the traditional switch 3 forwards the RING-IN message to the voice switchboard 4. The voice switchboard 4 automatically picks up the phone and plays a greeting, and sends an OFFHOOK message to the gateway 2 via the conventional switch 3. The gateway 2 sends a 183 Ringing and 200 OK message to the SIP proxy server 1, and the SIP proxy server 1 sends 100 Trying, 183 Ringing and 200 OK messages to the network extension 10. The network extension 10 sends back the ACK 0227710846@... via the SIP proxy server 1 to the gateway 2 to complete the dialing confirmation procedure.
此後使用者撥傳統分機30的號碼30,直接到達語音總機4,語音總機4則將傳統分機30的號碼30以訊息Forward 30送到傳統交換機3。傳統交換機3發出RING-IN訊息給傳統分機30,傳統分機30的電話響鈴後被人接起電話,於是發出OFFHOOK訊息給傳統交換機3,以後則以語音進行通話,語音總機4也發出ONHOOK訊息至傳統交換機3,結束語音轉接動作。一旦傳統分機30掛斷電話,則傳統分機30發出ONHOOK訊息至閘道器2。閘道器2發出BYE 10 @...經SIP代理伺服器1到達網路分機10,然後由網路分機10發出200 OK訊息至閘道器2,結束通話。Thereafter, the user dials the number 30 of the conventional extension 30 to directly reach the voice switchboard 4, and the voice switchboard 4 sends the number 30 of the conventional extension 30 to the legacy switch 3 with the message Forward 30. The traditional switch 3 sends a RING-IN message to the traditional extension 30. After the phone of the traditional extension 30 rings, the person picks up the phone, and then sends an OFFHOOK message to the traditional switch 3. After that, the call is made by voice, and the voice switcher 4 also sends an ONHOOK message. To the traditional switch 3, the voice transfer action is ended. Once the legacy extension 30 hangs up, the traditional extension 30 sends an ONHOOK message to the gateway 2. The gateway 2 sends BYE 10 @... to the network extension 10 via the SIP proxy server 1, and then the network extension 10 sends a 200 OK message to the gateway 2 to end the call.
申請案號098122179中IP化電話系統說明IP Phone System Description in Application No. 098122179
本發明僅限於網路分機轉撥傳統分機的功能。申請案號098122179的概念為本發明的基礎。The invention is limited to the function of a network extension to transfer a conventional extension. The concept of application number 098122179 is the basis of the invention.
請見圖3,為申請案號098122179系統說明圖,包含網路電話的SIP代理伺服器1、網路分機10,以及傳統電話的閘道器2、傳統交換機3、網路電話閘道器7及傳統分機30等。網路電話的SIP代理伺服器1與上層的台北市教育局的SIP代理伺服器6連接,傳統電話的閘道器2與中華電信局5連接。SIP代理伺服器1與網路分機10、網路電話閘道器7、 閘道器2、SIP代理伺服器6以網際網路相連,以虛線表示。中華電信局5、閘道器2、傳統交換機3、網路電話閘道器7及傳統分機30則以傳統電話線相連,以實線表示,如圖所示。Please refer to FIG. 3, which is a system description diagram of application number 098122179, including SIP proxy server 1, network extension 10 of network telephone, and gateway 2 of conventional telephone, traditional switch 3, and network telephone gateway 7 And traditional extension 30 and so on. The SIP proxy server 1 of the Internet phone is connected to the SIP proxy server 6 of the upper-level Taipei City Education Bureau, and the gateway 2 of the conventional telephone is connected to the Chunghwa Telecom Office 5. SIP proxy server 1 and network extension 10, network telephone gateway 7, The gateway 2 and the SIP proxy server 6 are connected by the Internet and are indicated by broken lines. Chunghwa Telecom 5, gateway 2, traditional switch 3, network telephone gateway 7 and traditional extension 30 are connected by conventional telephone lines, indicated by solid lines, as shown.
由網路分機10撥打至傳統分機30,經過SIP代理伺服器1、網路電話閘道器7、傳統交換機3,即直接連接傳統分機30,如圖三中粗黑箭號線條所示。此與圖一不同之處在於不必經過閘道器2,而且沒有語音導引,在開始時直接由網路分機10撥傳統分機30的號碼30即可,不必撥傳統交換機3的總機電話號碼。The network extension 10 dials the traditional extension 30, and passes through the SIP proxy server 1, the network telephone gateway 7, and the traditional switch 3, that is, directly connects to the traditional extension 30, as shown by the thick black arrow line in FIG. This is different from the first one in that it does not have to pass through the gateway 2, and there is no voice guidance. At the beginning, the number 30 of the conventional extension 30 can be directly dialed by the network extension 10 without dialing the switchboard number of the conventional switch 3.
請見圖4,說明申請案號098122179中IP化電話系統的詳細流程。使用者在網路分機10處拿起電話直接撥傳統分機30的電話號碼30,於是發出Invite 30@...訊息,經過SIP代理伺服器1到達網路電話閘道器7,然後網路電話閘道器7發出OFFHOOK訊息及Play DTMF=30訊息給傳統交換機3,傳統交換機3發出RING-IN訊息呼叫傳統分機30使其響鈴,然後傳統分機30被人接起電話。接著傳統分機30發出OFFHOOK訊息經傳統交換機3到達網路電話閘道器7。其後網路電話閘道器7發出180 Ringing及200 OK訊息經過SIP代理伺服器1轉給網路分機10,SIP代理伺服器1同時發出100 Trying訊息給網路分機10。網路分機10則回以ACK 30@...訊息,經SIP代理伺服器1送到網路電話閘道器7,表示通話進行中。此後網路分機10與傳統分機30互通RTP(Real-time Transport Protocol)語音封包及語音,如圖所示。通話完畢時,傳統分機30處掛斷電話,發出ONHOOK訊息到達網路電話閘道器7,網路電話閘道器7則發出Bye 10@...訊息經SIP代理伺服器1送至網路分機10,網路分機10回以200 OK訊息,經SIP代理伺服器1送至網路電話閘道器7,結束通話。Please refer to FIG. 4 for a detailed flow of the IP phone system in application No. 098122179. The user picks up the phone at the network extension 10 and dials the phone number 30 of the traditional extension 30, so that the Invite 30@... message is sent, and the SIP proxy server 1 reaches the VoIP gateway 7, and then the VoIP phone The gateway 7 issues an OFFHOOK message and a Play DTMF=30 message to the legacy switch 3, and the legacy switch 3 issues a RING-IN message to the conventional extension 30 to ring it, and then the conventional extension 30 is picked up by the person. The conventional extension 30 then sends an OFFHOOK message to the network telephone gateway 7 via the conventional switch 3. Thereafter, the network telephone gateway 7 issues 180 Ringing and 200 OK messages to the network extension 10 via the SIP proxy server 1, and the SIP proxy server 1 simultaneously sends 100 Trying messages to the network extension 10. The network extension 10 returns an ACK 30@... message to the network telephone gateway 7 via the SIP proxy server 1, indicating that the call is in progress. Thereafter, the network extension 10 and the conventional extension 30 exchange RTP (Real-time Transport Protocol) voice packets and voices as shown in the figure. When the call is finished, the traditional extension 30 hangs up the phone, sends an ONHOOK message to the VoIP gateway 7, and the VoIP gateway 7 sends a Bye 10@... message to the network via the SIP proxy server 1. At extension 10, the network extension 10 returns a 200 OK message and sends it to the network telephone gateway 7 via the SIP proxy server 1 to end the call.
網路電話閘道器7功能說明Network telephone gateway 7 function description
網路電話閘道器7為傳統PSTN電話與IP網際網路的互連設備,其機構上具有網路端口與電話端口。網路端口為一般RJ-45接口;電話端口為 RJ-11接口,有FXS(Foreign exchange station)與FXO(Foreign exchange office)兩種介面規格。本發明使用QUINTUM公司的Tenor AS Series閘道器,其同時具有FXS與FXO兩種介面。The network telephone gateway 7 is an interconnection device of a conventional PSTN telephone and an IP internet network, and has a network port and a telephone port in the mechanism. The network port is a general RJ-45 interface; the phone port is The RJ-11 interface has two interface specifications: FXS (Foreign exchange station) and FXO (Foreign exchange office). The present invention uses the TENUTUM Corporation's Tenor AS Series gateway, which has both FXS and FXO interfaces.
若網路電話閘道器7要連接傳統交換機3外線端FXO,則必須選用具FXS介面規格的閘道器;若要連接傳統交換機3內線端FXS,則必須選用具FXO介面規格的閘道器。本發明必須挑選具有FXO電話端口的網路電話閘道器7,才能將網路電話閘道器7連接傳統交換機3之內線端FXS。If the VoIP gateway 7 is to be connected to the external switch FXO of the traditional switch 3, the FXS interface specification gateway must be selected; if the traditional switch 3 internal end FXS is to be connected, the FXO interface specification gateway must be selected. . The present invention must select a network telephone gateway 7 having an FXO telephone port to connect the network telephone gateway 7 to the internal line terminal FXS of the conventional switch 3.
本發明僅限於網路分機轉撥傳統分機的功能。The invention is limited to the function of a network extension to transfer a conventional extension.
網路電話閘道器7必須先作參數設定如下:a.關閉FXS端口;b.設定一組網路電話帳號到SIP代理伺服器1註冊;c.設定網路端口到FXO端口的路線,讓從網路端口進入之SIP訊息能轉換成SS7(Signaling System No.7)訊息由電話端口發出。The network telephone gateway 7 must first set the parameters as follows: a. close the FXS port; b. set a group of network phone accounts to the SIP proxy server 1 to register; c. set the network port to the FXO port route, let SIP messages entered from the network port can be converted to SS7 (Signaling System No. 7) messages sent by the phone port.
於是當網路分機10或網路分機20(見圖7)撥打傳統分機30時,在訊息部分(SIP與SS7訊息):網路電話閘道器7由網路端口收到網路分機10或網路分機20(見圖7)發送經SIP代理伺服器1轉來之網路電話訊息,由其中解析出撥打號碼後,再透過電話端口發送訊息給傳統交換機3後轉給傳統分機30;反之電話端口收到傳統分機30回送之傳統電話訊息,則轉換成所對應之網路電話訊息傳送至網路分機10或網路分機20(見圖7),如此即完成網路分機10或網路分機20(見圖7)轉撥傳統分機30之訊息轉換。在語音部分:網路電話閘道器7從網路端口收到的語音封包,將轉換成聲音訊號透過電話端口傳輸出去,同樣地從電話端口收到的聲音訊號,也轉換成語音封包透過網路端口傳送出去,即完成網路分機10或網路分機20(見圖7)轉撥傳統分機30之語音轉換。Then when the network extension 10 or the network extension 20 (see FIG. 7) dials the traditional extension 30, in the message part (SIP and SS7 message): the network telephone gateway 7 receives the network extension 10 from the network port or The network extension 20 (see FIG. 7) sends a network telephone message sent by the SIP proxy server 1, from which the dialed number is parsed, and then the message is sent to the traditional switch 3 through the telephone port and then transferred to the traditional extension 30; The telephone port receives the traditional telephone message sent back by the traditional extension 30, and then converts the corresponding network telephone message to the network extension 10 or the network extension 20 (see FIG. 7), thus completing the network extension 10 or the network. The extension 20 (see Fig. 7) transfers the message conversion of the conventional extension 30. In the voice part: the voice packet received by the network telephone gateway 7 from the network port is converted into an audio signal and transmitted through the telephone port, and the voice signal received from the telephone port is also converted into a voice packet through the network. The port is transmitted, that is, the network extension 10 or the network extension 20 (see FIG. 7) is switched to the voice conversion of the conventional extension 30.
請見圖5,為SIP代理伺服器1與具有FXO介面之網路電 話閘道器7的功能流程圖。當SIP代理伺服器1收到網路分機10或網路分機20(見圖7)發出的INVITE訊息時(步驟1),分析撥打號碼是否屬於傳統分機(步驟2),此時撥打號碼若不屬於傳統分機號碼,則分析是否屬於另一網路分機(步驟21),若是,則SIP代理伺服器1將INVITE訊息發給該網路分機(步驟211),並且完成響鈴、摘機、通話、結束通話等流程(步驟212),然後結束(步驟6)。如果撥打號碼不是網路分機的號碼,則發送訊息告知無此分機(步驟22),然後結束(步驟6)。Please refer to Figure 5 for SIP proxy server 1 and network with FXO interface. The functional flow chart of the gateway device 7. When the SIP proxy server 1 receives the INVITE message sent by the network extension 10 or the network extension 20 (see FIG. 7) (step 1), it analyzes whether the dialed number belongs to the traditional extension (step 2), and if the dialed number is not If it belongs to the traditional extension number, it analyzes whether it belongs to another network extension (step 21). If yes, the SIP proxy server 1 sends the INVITE message to the network extension (step 211), and completes the ringing, off-hook, and call. End the call and other processes (step 212), then end (step 6). If the dialed number is not the number of the network extension, a message is sent to inform that there is no such extension (step 22), and then ends (step 6).
撥打號碼若是傳統分機號碼,SIP代理伺服器1將會代發INVITE訊息給網路電話閘道器7(步驟3)。網路電話閘道器7從網路端口接收此訊息時,會先從電話端口發送OFFHOOK訊息,再將解析出的撥打號碼轉換成類比DTMF訊號,從電話端口發送出去(步驟4),然後完成響鈴、摘機、通話、結束通話等流程(步驟5),然後結束(步驟6)。If the dialing number is a traditional extension number, the SIP proxy server 1 will send an INVITE message to the network telephone gateway 7 (step 3). When the VoIP gateway 7 receives this message from the network port, it will first send an OFFHOOK message from the phone port, then convert the parsed dialed number into an analog DTMF signal, send it out from the phone port (step 4), and then complete The process of ringing, off-hook, talking, ending a call (step 5), and then ending (step 6).
IP化語音總機實施例說明IP voice switchboard embodiment description
網路電話閘道器7亦可以用一種IP化語音總機(IP-Auto-Attendant,IPAA)取代。IP化語音總機是一台電腦電話整合(CTI)系統,由電腦加上電腦網路卡與電話語音卡(EVS(Electronic Voice Services)Dialogic D/4PCI-UFW)組成。電話語音卡是用來處理電話語音的介面卡,其功能有接電話(OFFHOOK)、掛電話(ONHOOK)、抓取按鍵訊號(DTMF)、發送按鍵訊號(DTMF)、偵測忙線音(Busy Tone)、斷線音(Disconnected Tone)、轉接(Flash)等。IP化語音總機透過電腦網路卡連接至網際網路,藉此來傳送或接收網路封包,包括VoIP(網路電話)的SIP訊息及RTP語音封包。IP化語音總機透過電話語音卡連接至傳統電話交換網路(PSTN),藉此偵測或發出SS7(Signaling System No.7)訊息及語音訊號。對於IP化語音總機可以設計一套應用程式,藉由控制電腦網路卡與電話語音卡的API(Application Programming Interface應用程式介面),達到整合網路與電話的功能。The VoIP gateway 7 can also be replaced by an IP-Auto-Attendant (IPAA). The IP voice switchboard is a computer telephony integration (CTI) system consisting of a computer plus a computer network card and an EVS (Electronic Voice Services) Dialogic D/4 PCI-UFW. The telephone voice card is an interface card for handling telephone voice. Its functions include answering (OFFHOOK), hanging telephone (ONHOOK), grabbing button signal (DTMF), sending button signal (DTMF), and detecting busy tone (Busy). Tone), Disconnected Tone, Transfer, etc. The IP voice switchboard connects to the Internet through a computer network card to transmit or receive network packets, including VoIP (Internet Telephony) SIP messages and RTP voice packets. The IP voice switchboard connects to the traditional telephone switching network (PSTN) through a telephone voice card to detect or send SS7 (Signaling System No. 7) messages and voice signals. For IP voiced switchboards, an application can be designed to integrate the network and phone functions by controlling the API of the computer network card and the telephone voice card (Application Programming Interface).
其功能設計方面,如圖6所示,IP化語音總機必須具備電 腦網路卡61與電話語音62,可以設計一套應用程式63控制電腦網路卡61與電話語音卡62,提供網路電話與傳統電話間訊息或語音的轉換能力。本發明中網路電話的訊息是採用SIP(Session Initiation Protocol)協定64,而語音傳送服務是採用RTP(Real-time Transport Protocol)協定65。網路封包經由電腦網路卡61透過作業系統66接收與傳送;電話模組67則透過作業系統66使用電話語音卡62所提供的API控制電話語音卡62的訊息與語音。In terms of its functional design, as shown in Figure 6, the IP voice switchboard must have electricity. The brain network card 61 and the telephone voice 62 can be designed with an application program 63 for controlling the computer network card 61 and the telephone voice card 62 to provide the ability to convert information or voice between the network telephone and the conventional telephone. In the present invention, the message of the network telephone is SIP (Session Initiation Protocol) protocol 64, and the voice transmission service uses the RTP (Real-time Transport Protocol) protocol 65. The network packet is received and transmitted through the operating system 66 via the computer network card 61. The telephone module 67 controls the message and voice of the telephone voice card 62 through the operating system 66 using the API provided by the telephone voice card 62.
IP化語音總機因具備處理網路電話與傳統電話功能,故能提供以下四種轉接方向,一為網路電話轉撥網路分機,二為傳統電話轉撥傳統分機,三為網路分機轉撥傳統分機,四為傳統分機轉撥網路分機。Because it has the functions of handling Internet telephony and traditional telephony, the IP voice switchboard can provide the following four transfer directions: one is the network telephone transfer network extension, the other is the traditional telephone transfer traditional extension, and the third is the network extension. Transfer the traditional extension, and the fourth is the traditional extension to transfer the network extension.
本發明僅採用第三種網路分機轉撥傳統分機部分。當網路分機10或網路分機20(見圖7)撥打傳統分機30時,在訊息部分:IP化語音總機由電腦網路卡61收到網路分機10或網路分機20(見圖7)發送經SIP代理伺服器1轉來之網路電話訊息,從其網路封包解析出撥打號碼後,再透過電話語音卡62發送訊息給傳統交換機3;反之電話語音卡62收到傳統分機30回送之傳統電話訊息,則轉換成對應之網路電話訊息並透過電腦網路卡61傳送到網路分機10或網路分機20(見圖7),如此即完成網路分機10或網路分機20(見圖7)轉撥傳統分機30之訊息轉換。在語音部分:IP化語音總機從電腦網路卡61收到的語音封包,將轉換成聲音訊號透過電話語音卡62傳輸出去,而從電話語音卡62收到之聲音訊號,將轉換成語音封包透過電腦網路卡61傳送出去,即完成網路分機10或網路分機20(見圖7)轉撥傳統分機30之語音轉換。The present invention only uses the third network extension to transfer the traditional extension part. When the network extension 10 or the network extension 20 (see FIG. 7) dials the traditional extension 30, in the message part: the IP voice switchboard receives the network extension 10 or the network extension 20 from the computer network card 61 (see FIG. 7). Sending the network telephone message sent by the SIP proxy server 1 and parsing the dialed number from the network packet, and then sending the message to the traditional switch 3 through the telephone voice card 62; otherwise, the telephone voice card 62 receives the traditional extension 30. The traditional telephone message sent back is converted into the corresponding network telephone message and transmitted to the network extension 10 or the network extension 20 through the computer network card 61 (see FIG. 7), thus completing the network extension 10 or the network extension. 20 (see Figure 7) transfers the message conversion of the traditional extension 30. In the voice part: the voice packet received by the IP voice switchboard from the computer network card 61 is converted into an audio signal and transmitted through the phone voice card 62, and the voice signal received from the phone voice card 62 is converted into a voice packet. After being transmitted through the computer network card 61, the voice extension of the conventional extension 30 is completed by the network extension 10 or the network extension 20 (see FIG. 7).
本發明從其他SIP代理伺服器的網路分機撥打傳統分機The present invention dials a traditional extension from a network extension of another SIP proxy server
請見圖7,為本發明從其他SIP代理伺服器8的網路分機20撥打傳統分機30之系統說明圖。SIP代理伺服器8的代表號(總機電話號碼)為0227710888,使用者在其網路分機20處拿起電話撥SIP代理伺服器1(代表號0227712171)的傳統分機30,流程圖請見圖8、圖9。Please refer to FIG. 7, which is a system diagram for dialing the traditional extension 30 from the network extension 20 of the other SIP proxy server 8. The representative number (switchboard number) of the SIP proxy server 8 is 0227710888, and the user picks up the traditional extension 30 of the SIP proxy server 1 (representative number 0227712171) at the network extension 20, and the flowchart is shown in FIG. Figure 9.
網路分機20拿起話機撥打0227712171-30,表示要撥打給SIP代理伺服器1(0227712171)底下的傳統分機30,因此網路分機20發出INVITE訊息給SIP代理伺服器8。SIP代理伺服器8知道此撥號屬於SIP代理伺服器1之號碼,因此將訊息封包送往上層台北市教育局SIP代理伺服器6,並將INVITE封包中From參數由20改為0227710888-20,表示此一通話是從0227710888下的網路分機20發出。SIP代理伺服器6再依號碼判斷路由,將封包送到SIP代理伺服器1,SIP代理伺服器1收到此封包後,從撥打號碼判斷知道此通話是要撥打到此一分局中的傳統分機30,並將撥打號碼從0227712171-30改為30,轉送給網路電話閘道器7。此後流程同申請案098122179網路分機撥打傳統分機之流程,只是在SIP代理伺服器1收到或送出封包需要處理022771271代表號的部分有所不同而已(當收到SIP代理伺服器6送過來的封包,撥打號碼若帶有「0227712171-」的部分要去除再送給網路電話閘道器7;當收到網路電話閘道器7送過來的封包,要將「0227712171-」加回撥打號碼中。The network extension 20 picks up the phone and dials 0227712171-30, indicating that it wants to dial the traditional extension 30 under the SIP proxy server 1 (0227712171), so the network extension 20 sends an INVITE message to the SIP proxy server 8. The SIP proxy server 8 knows that the dialing belongs to the number of the SIP proxy server 1, so the message packet is sent to the upper-level Taipei City Education Bureau SIP proxy server 6, and the From parameter in the INVITE packet is changed from 20 to 0227710888-20, indicating This call is sent from network extension 20 under 0227710888. The SIP proxy server 6 then judges the route according to the number, and sends the packet to the SIP proxy server 1. After receiving the packet, the SIP proxy server 1 judges from the dialed number that the call is to be dialed to the traditional extension in the branch. 30, and change the dialing number from 0227712171-30 to 30, and forward it to the VoIP gateway 7. After that, the process of dialing the traditional extension with the application 098122179 network extension is different only when the SIP proxy server 1 receives or sends the packet to process the 022771271 representative number (when the SIP proxy server 6 is received) For the packet, if the number with the number "0227712171-" is removed, it will be sent to the VoIP gateway 7; when the packet sent by the VoIP gateway 7 is received, the "0227712171-" will be added back to the dialed number. in.
本發明的精神與範圍決定於下面的申請專利範圍,不受限於上述實施例。The spirit and scope of the present invention are determined by the scope of the following claims, and are not limited to the above embodiments.
1‧‧‧SIP代理伺服器1‧‧‧SIP proxy server
2‧‧‧閘道器2‧‧‧ gateway
20‧‧‧網路分機20‧‧‧Network extension
3‧‧‧傳統交換機3‧‧‧Traditional switches
30‧‧‧傳統分機30‧‧‧Traditional extension
5‧‧‧中華電信局5‧‧‧ China Telecom Bureau
6‧‧‧台北市教育局SIP代理伺服器6‧‧‧The Taipei Municipal Education Bureau SIP Proxy Server
7‧‧‧網路電話閘道器7‧‧‧Internet telephone gateway
8‧‧‧SIP代理伺服器8‧‧‧SIP proxy server
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102133146A TWI488464B (en) | 2009-07-01 | 2009-07-01 | Method for dialing from internet extension to conventional extension |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102133146A TWI488464B (en) | 2009-07-01 | 2009-07-01 | Method for dialing from internet extension to conventional extension |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201404078A TW201404078A (en) | 2014-01-16 |
TWI488464B true TWI488464B (en) | 2015-06-11 |
Family
ID=50345718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102133146A TWI488464B (en) | 2009-07-01 | 2009-07-01 | Method for dialing from internet extension to conventional extension |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI488464B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6956848B1 (en) * | 1999-06-15 | 2005-10-18 | Altigen Communications, Inc. | Computer network-based auto-attendant method and apparatus |
US20070070985A1 (en) * | 2005-09-28 | 2007-03-29 | Ing-Kai Huang | System and Method for Integrating Internet Phone to Ordinary Phone |
US20080285547A1 (en) * | 2001-05-26 | 2008-11-20 | Dae-Hyun Lee | Voice over internet protocol gateway and a method for controlling the same |
US7496672B2 (en) * | 2000-01-26 | 2009-02-24 | Nortel Networks Limited | Method and apparatus for a SIP client manager |
WO2009046169A1 (en) * | 2007-10-02 | 2009-04-09 | Ascendent Telecommunications, Inc. | Method, apparatus and system for intelligent call routing |
-
2009
- 2009-07-01 TW TW102133146A patent/TWI488464B/en not_active IP Right Cessation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6956848B1 (en) * | 1999-06-15 | 2005-10-18 | Altigen Communications, Inc. | Computer network-based auto-attendant method and apparatus |
US7496672B2 (en) * | 2000-01-26 | 2009-02-24 | Nortel Networks Limited | Method and apparatus for a SIP client manager |
US20080285547A1 (en) * | 2001-05-26 | 2008-11-20 | Dae-Hyun Lee | Voice over internet protocol gateway and a method for controlling the same |
US20070070985A1 (en) * | 2005-09-28 | 2007-03-29 | Ing-Kai Huang | System and Method for Integrating Internet Phone to Ordinary Phone |
WO2009046169A1 (en) * | 2007-10-02 | 2009-04-09 | Ascendent Telecommunications, Inc. | Method, apparatus and system for intelligent call routing |
Also Published As
Publication number | Publication date |
---|---|
TW201404078A (en) | 2014-01-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1643735B1 (en) | Method and system for achieving parallel operation between IP and analog phones | |
CN101001287A (en) | Voice server and voice answer method | |
US7212521B2 (en) | Method and apparatus for serving of station group in internet protocol telephony exchange system | |
JP3873048B2 (en) | Ringback tone transmission method, terminal, ringback tone generation method, and system for generating ringback tone | |
CN104506523A (en) | Call forwarding method under VoIP (voice over Internet protocol) of intelligent terminal | |
WO2014101436A1 (en) | One-number two-machine associated call method, apparatus and application server | |
TWI466529B (en) | System and method for switching pstn call and voip call | |
CN101997997A (en) | System for realizing Internet telephony call transfer by utilizing SIP protocol and method thereof | |
US7415004B2 (en) | Method for providing voice over internet protocol call service | |
TWI412247B (en) | Method for dialing from internet extension to conventional extension | |
US20060215640A1 (en) | Method for setting up a data connection between terminal devices | |
TWI393425B (en) | Method, apparatus, and computer program product thereof for enabling an internet extension to ring a conventional extension | |
WO2007093116A1 (en) | A method and system for realizing the simulating service and the access signaling adaptive entity | |
TW200910919A (en) | VoIP phone forwarding device and application thereof | |
JP2007235964A (en) | Method, device and system for telephone call transfer via the internet | |
TWI488464B (en) | Method for dialing from internet extension to conventional extension | |
WO2007059676A1 (en) | A method and a system for implementing trunk offering | |
CN103139055B (en) | Voice home gateway side realizes method and the device of internal call transfer | |
KR100799478B1 (en) | VIDEO ADAPTER APPARATUS FOR VoIP SYSTEM AND METHOD FOR PROVIDING VIDEO TELEPHONE SERVICE USING THEREOF | |
KR100821576B1 (en) | Call switching method in pbx using ip network | |
TWI429271B (en) | A communication terminal reelizing communicating between network phones with different protocols and the method of commucating different network phones using the seme | |
CN106937017A (en) | A kind of fax method for intelligently routing and system based on VoIP | |
KR100438662B1 (en) | Method of public line call receiving and calling in VoIP gateway | |
US20050265314A1 (en) | Method for establishing a voice communications link through the internet community | |
CN102098396B (en) | Method for realizing completion of call to busy subscriber for access gateway system based on media gateway control protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |