CN101075993B - Network telephone gate and method for detecting fault connection - Google Patents

Network telephone gate and method for detecting fault connection Download PDF

Info

Publication number
CN101075993B
CN101075993B CN2006100607556A CN200610060755A CN101075993B CN 101075993 B CN101075993 B CN 101075993B CN 2006100607556 A CN2006100607556 A CN 2006100607556A CN 200610060755 A CN200610060755 A CN 200610060755A CN 101075993 B CN101075993 B CN 101075993B
Authority
CN
China
Prior art keywords
interface controller
subscriber line
line interface
described subscriber
state
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
CN2006100607556A
Other languages
Chinese (zh)
Other versions
CN101075993A (en
Inventor
罗文信
林金辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2006100607556A priority Critical patent/CN101075993B/en
Publication of CN101075993A publication Critical patent/CN101075993A/en
Application granted granted Critical
Publication of CN101075993B publication Critical patent/CN101075993B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The IP phone gateway comprises a connection port, a subscriber line interface controller and a control system. The subscriber line interface controller is used for detecting the connection state of the connection port. The control system comprises an initialization controlling module, an information reading module and a state setting module. The initialization module is used for initializing the subscriber line interface controller. The information reading module is used for reading out the information in the subscriber line interface controller. The state setting module is used for setting the state of the subscriber line interface controller. The invention also reveals a method for detecting the error line connection used in IP phone gateway.

Description

Gateways for network telephone call and method for connecting investigation fault thereof
Technical field
The present invention relates to a kind of gateway and line method for detecting thereof, relate in particular to a kind of gateways for network telephone call and method for connecting investigation fault thereof.
Background technology
Supporting public exchanging telephone network (Public Switch Telephony Network, PSTN) integration of function accesses equipment (Integrated Access Device, IAD) and multimedia terminal device (Multimedia Terminal Adapter, gateways for network telephone call (Internet-telephony Gateway such as MTA), ITG) can be provided with nonlocal Exchange Service (F oreign Exchange S ervice in simultaneously, FXS) connectivity port and nonlocal exchange (F oreign Exchange Office, FXO) connectivity port, the FXS connectivity port is used to connect the lead of telephone set, and the FXO connectivity port is used to connect local side and comes line.The user can be by the subscriber line interface controller in the gateways for network telephone call (Subscriber Line Interface Controller, SLIC) detecting and the state that drives the telephone set that is connected to the FXS connectivity port.
Because the connectivity port that the RJ-11 specification is all used in FXS connectivity port and FXO connectivity port; so the user usually can come local side line to be connected to the FXS connectivity port by mistake; and gateways for network telephone call is because can't Auto-Sensing and inform the generation that the user should mistake, thereby causes unnecessary puzzlement to the user.
Summary of the invention
For solving the deficiency that above-mentioned prior art exists, need provide a kind of gateways for network telephone call, with Auto-Sensing and the line of informing user connectivity port mistake whether.
In addition, also needing provides a kind of method for connecting investigation fault, and whether the line that is used for Auto-Sensing and informs the user connectivity port mistake.
A kind of gateways for network telephone call, whether the line that can detect the connectivity port mistake.This gateways for network telephone call comprises nonlocal Exchange Service connectivity port, subscriber line interface controller and control system.Subscriber line interface controller is used to detect the connection state of nonlocal Exchange Service connectivity port.Control system comprises initialization control module, information reading module and setting state module.The initialization control module is used for the initialization subscriber line interface controller, sets subscriber line interface controller and is in the forward direction active state, and the tip voltage that wherein said forward direction active state is described subscriber line interface controller is greater than the state of ring terminal voltage.Information reading module is used for reading the information of subscriber line interface controller, judge whether line of nonlocal Exchange Service connectivity port according to the information that is read, and judge whether subscriber line interface controller is in open-circuit condition, wherein said open-circuit condition is that the tip voltage of described subscriber line interface controller is zero state with the ring terminal voltage.The setting state module is used for the state according to the information setting subscriber line interface controller that is read, under the situation on line of nonlocal Exchange Service connectivity port, set subscriber line interface controller and be in the reverse activity state, and be not in subscriber line interface controller and set subscriber line interface controller under the situation of open-circuit condition and be in the forward direction active state, the tip voltage that wherein said reverse activity state is described subscriber line interface controller is less than the state of ring terminal voltage.The information generation module is used for being in subscriber line interface controller and produces miscue information under the situation of open-circuit condition.
A kind of method for connecting investigation fault, be applied to have in the gateways for network telephone call of subscriber line interface controller, be used to detect the line mistake whether of the nonlocal Exchange Service connectivity port of gateways for network telephone call, described subscriber line interface controller is used to detect the connection state of described nonlocal Exchange Service connectivity port.Method for connecting investigation fault comprises: the initialization subscriber line interface controller, be in the forward direction active state to set subscriber line interface controller, and the tip voltage that wherein said forward direction active state is a subscriber line interface controller is greater than the state of ring terminal voltage; Whether the FXS connectivity port of judging gateways for network telephone call line; If the nonlocal Exchange Service connectivity port of gateways for network telephone call is on line, then to set subscriber line interface controller and be in the reverse activity state, the tip voltage that wherein said reverse activity state is a subscriber line interface controller is less than the state of ring terminal voltage; Judge whether subscriber line interface controller is in open-circuit condition, wherein said open-circuit condition is that the tip voltage of subscriber line interface controller is zero state with the ring terminal voltage; And if subscriber line interface controller is in open-circuit condition, then produce the error connection line information.
Above-mentioned gateways for network telephone call and method for connecting investigation fault thereof can be by control system in conjunction with subscriber line interface controller detectings and inform whether the user connectivity port misplugs local side and come line.
Description of drawings
Fig. 1 is the module map of gateways for network telephone call in the embodiment of the present invention.
Fig. 2 is the flow chart of method for connecting investigation fault in the embodiment of the present invention.
Embodiment
See also Fig. 1, be depicted as the module map of gateways for network telephone call 10 in the embodiment of the present invention.
Gateways for network telephone call 10 comprises nonlocal Exchange Service (FXS) connectivity port 120, nonlocal exchange (FXO) connectivity port 122, subscriber line interface controller (SLIC) 140, and control system 160.
FXS connectivity port 120 is used to connect network telephone.FXO connectivity port 122 is used to connect local side and comes line.
Subscriber line interface controller 140 is used to detect the connection state of FXS connectivity port 120 and FXO connectivity port 122.In the present embodiment, subscriber line interface controller 140 is integrated circuit (Integrated Circuit), it can be set tip (Tip) and hold the voltage swing of (Ring) with ring, and passes through to detect connection state most advanced and sophisticated and the size judgement connectivity port of encircling the circulating current of holding (Loop Current).
Subscriber line interface controller 140 has forward direction active state (F orward-Active State), reverse activity state (Reverse-Active State) and open-circuit condition (Open State).When subscriber line interface controller 140 was in the forward direction active state, tip voltage was greater than the ring terminal voltage.When subscriber line interface controller 140 was in the reverse activity state, tip voltage was less than the ring terminal voltage.When subscriber line interface controller 140 was in open-circuit condition, tip voltage was zero with the ring terminal voltage.
Subscriber line interface controller 140 also has excess current protective function.In the present embodiment, when the circulating current of most advanced and sophisticated and ring end during greater than the upper limit (UL) value, then subscriber line interface controller 140 enters open-circuit condition.
Control system comprises initialization control module 162, information reading module 164, setting state module 166 and information generation module 168.
Initialization control module 162 is used for initialization subscriber line interface controller 140.In the present embodiment, after subscriber line interface controller 140 is initialised, then be in the forward direction active state.When this state; most advanced and sophisticated and ring end allow the upper limit (UL) value of the circulating current that passes through promptly to configure; most advanced and sophisticated minimum detecting value with the circulating current that encircles end promptly configures, and the over-voltage protecting function of subscriber line interface controller 140 promptly starts (Enable).
Information reading module 164 is used for reading the information of subscriber line interface controller 140, by reading whether line of FXS connectivity port 120 that information judges gateways for network telephone call 10, and judges whether subscriber line interface controller 140 is in open-circuit condition.
Setting state module 166 is used to set the state of subscriber line interface controller 140.In the present embodiment, setting state module 166 is by setting the purpose that most advanced and sophisticated voltage with the ring end reaches the state of setting subscriber line interface controller 140.Information generation module 168 is used to produce miscue information.Information generation module 168 can comprise light-emitting diode (LED) or other suggestion device luminous or sound.When producing miscue information, make the LED flicker, so that real-time reminding user error connection line.
See also Fig. 2, be depicted as the flow chart of method for connecting investigation fault in the embodiment of the present invention.
In the present embodiment, this method for connecting investigation fault is applied to have in the gateways for network telephone call 10 of subscriber line interface controller 140, and whether the FXS connectivity port 120 that is used to detect this gateways for network telephone call 10 misplugs local side is come line.
Enter step S200, initialization control module 162 initialization subscriber line interface controller 140.
In the present embodiment, initialization control module 162 initialization subscriber line interface controller 140.When initialization; set subscriber line interface controller 140 and be in the forward direction active state; set upper limit (UL) the value most advanced and sophisticated and circulating current that encircles end, set minimum detecting the value most advanced and sophisticated and circulating current that encircles end, and the excess current protective function that starts subscriber line interface controller 140.
Enter step S202, information reading module 164 reads the information in the subscriber line interface controller 140.In the present embodiment, information reading module 164 reads the magnitude of voltage of tip and ring end in the buffer (Regi ster) of subscriber line interface controller 140, and most advanced and sophisticated circulating current value of holding with ring.
Enter step S204, whether the connectivity port that information reading module 164 is judged gateways for network telephone call 10 by the information that reads line.If the connectivity port 120 of gateways for network telephone call 10 is on line, then enter step S206; If the connectivity port 120 of gateways for network telephone call 10 is line not, then return step S202.
In the present embodiment, the minimum detecting value whether the circulating current value of information reading module 164 by judging the tip read and ring end sets greater than step S200, and then judge whether line of FXS connectivity port 120.If the circulating current value of tip that information reading module 164 is read and ring end shows then that greater than the minimum detecting value that step S200 sets the FXS connectivity port 120 of gateways for network telephone call 10 is on line.
Enter step S206, setting state module 166 is set subscriber line interface controller 140 and is in the reverse activity state.
Enter step S208, information reading module 164 reads the information in the subscriber line interface controller 140.
Enter step S210, information reading module 164 judges by the information that reads whether subscriber line interface controller 140 is in open-circuit condition.
If subscriber line interface controller 140 is in open-circuit condition, then enter step S212; If subscriber line interface controller 140 is not in open-circuit condition, then enter step S214.
If subscriber line interface controller 140 is in open-circuit condition, at step S212, information generation module 168 produces the error connection line information.Enter step S214 then.
At step S214, setting state module 166 is set subscriber line interface controller 140 and is in the forward direction active state.Then return step S202, continue to read the information in the subscriber line interface controller 140.
Network equipment 10 and method for connecting investigation fault thereof in the embodiment of the present invention can be by control system 160 in conjunction with subscriber line interface controller 140 detectings and inform whether user FXS connectivity port 120 misplugs local side and come line.

Claims (10)

1. whether gateways for network telephone call is used to detect error connection line, it is characterized in that described gateways for network telephone call comprises:
Exchange Service connectivity port, other places;
Subscriber line interface controller is used to detect the connection state of described nonlocal Exchange Service connectivity port; And
Control system comprises:
The initialization control module, be used for the described subscriber line interface controller of initialization, and set described subscriber line interface controller and be in the forward direction active state, the tip voltage that wherein said forward direction active state is described subscriber line interface controller is greater than the state of ring terminal voltage;
Information reading module, be used for reading the information of described subscriber line interface controller, and judge whether line of described nonlocal Exchange Service connectivity port according to the information that is read, and judge whether described subscriber line interface controller is in open-circuit condition, wherein said open-circuit condition is that the tip voltage of described subscriber line interface controller is zero state with the ring terminal voltage;
The setting state module, be used for state according to the described subscriber line interface controller of information setting that is read, under the situation on line of described nonlocal Exchange Service connectivity port, set described subscriber line interface controller and be in the reverse activity state, and be not in described subscriber line interface controller and set described subscriber line interface controller under the situation of described open-circuit condition and be in described forward direction active state, the tip voltage that wherein said reverse activity state is described subscriber line interface controller is less than the state of ring terminal voltage; And
The information generation module is used for being in described subscriber line interface controller and produces miscue information under the situation of described open-circuit condition.
2. gateways for network telephone call as claimed in claim 1; it is characterized in that; described initialization control module also be used to set described tip and the circulating current of ring end the upper limit (UL) value in case the circulating current of described tip and ring end during greater than described upper limit (UL) value described subscriber line interface controller enter open-circuit condition; and the minimum detecting value of circulating current of setting most advanced and sophisticated and ring end is so that whether the circulating current of judging described tip and ring end judges whether line of nonlocal Exchange Service connectivity port greater than described minimum detecting value, and the excess current protective function that starts described subscriber line interface controller.
3. gateways for network telephone call as claimed in claim 1 is characterized in that, described information reading module also is used for reading the information in the described subscriber line interface controller after the described subscriber line interface controller of described initialization control module initialization.
4. gateways for network telephone call as claimed in claim 1, it is characterized in that, described information reading module also is used for reading the information in the described subscriber line interface controller after the described subscriber line interface controller of described setting state module settings is in the reverse activity state.
5. gateways for network telephone call as claimed in claim 1, it is characterized in that, described setting state module also is used for after the described subscriber line interface controller of described setting state module settings is in the reverse activity state, if described subscriber line interface controller is not in open-circuit condition, then sets described subscriber line interface controller and be in the forward direction active state; Described information reading module also is used for reading again the information of described subscriber line interface controller.
6. method for connecting investigation fault, be applied to have in the gateways for network telephone call of subscriber line interface controller, whether the nonlocal Exchange Service connectivity port that is used to detect described gateways for network telephone call Miswire, it is characterized in that, described subscriber line interface controller is used to detect the connection state of described nonlocal Exchange Service connectivity port, and described method for connecting investigation fault comprises:
The described subscriber line interface controller of initialization is in the forward direction active state to set described subscriber line interface controller, and the tip voltage that wherein said forward direction active state is described subscriber line interface controller is greater than the state of ring terminal voltage;
Whether the nonlocal Exchange Service connectivity port of judging described gateways for network telephone call line;
If the nonlocal Exchange Service connectivity port of described gateways for network telephone call is on line, then set described subscriber line interface controller and be in the reverse activity state, the tip voltage that wherein said reverse activity state is described subscriber line interface controller is less than the state of ring terminal voltage; And
Judge whether described subscriber line interface controller is in open-circuit condition, wherein said open-circuit condition is that the tip voltage of described subscriber line interface controller is zero state with the ring terminal voltage; And
If described subscriber line interface controller is in open-circuit condition, then produce the error connection line information.
7. method for connecting investigation fault as claimed in claim 6; it is characterized in that; the step of the described subscriber line interface controller of described initialization comprises: set described tip and the circulating current of ring end the upper limit (UL) value in case the circulating current of described tip and ring end during greater than described upper limit (UL) value described subscriber line interface controller enter open-circuit condition; the minimum detecting value of circulating current of setting most advanced and sophisticated and ring end is so that whether the circulating current of judging described tip and ring end judges whether line of nonlocal Exchange Service connectivity port greater than described minimum detecting value, and the excess current protective function that starts described subscriber line interface controller.
8. method for connecting investigation fault as claimed in claim 6 is characterized in that, further comprises: after the described subscriber line interface controller of initialization, read the step of the information in the described subscriber line interface controller.
9. method for connecting investigation fault as claimed in claim 6 is characterized in that, further comprises: after setting described subscriber line interface controller and being in the reverse activity state, read the step of the information in the described subscriber line interface controller.
10. method for connecting investigation fault as claimed in claim 9, it is characterized in that, further comprise: after setting described subscriber line interface controller and being in the reverse activity state, if described subscriber line interface controller is not in open-circuit condition, then set described subscriber line interface controller and be in the forward direction active state, and read the information in the described subscriber line interface controller again.
CN2006100607556A 2006-05-19 2006-05-19 Network telephone gate and method for detecting fault connection Expired - Fee Related CN101075993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100607556A CN101075993B (en) 2006-05-19 2006-05-19 Network telephone gate and method for detecting fault connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100607556A CN101075993B (en) 2006-05-19 2006-05-19 Network telephone gate and method for detecting fault connection

Publications (2)

Publication Number Publication Date
CN101075993A CN101075993A (en) 2007-11-21
CN101075993B true CN101075993B (en) 2011-12-21

Family

ID=38976819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100607556A Expired - Fee Related CN101075993B (en) 2006-05-19 2006-05-19 Network telephone gate and method for detecting fault connection

Country Status (1)

Country Link
CN (1) CN101075993B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI456949B (en) * 2008-04-30 2014-10-11 Thomson Licensing System and method for switching between phone services
CN101808166B (en) * 2009-02-16 2013-08-07 华为技术有限公司 Mis-insertion detection method and device of official telephone interface
CN102739875B (en) * 2011-04-07 2015-01-07 英华达(上海)科技有限公司 Detection method for voice gateway device
CN110446120B (en) * 2019-08-06 2021-12-10 深圳震有科技股份有限公司 FXS port line protection method and device, computer equipment and medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6700956B2 (en) * 2000-03-02 2004-03-02 Actiontec Electronics, Inc. Apparatus for selectively connecting a telephone to a telephone network or the internet and methods of use

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6700956B2 (en) * 2000-03-02 2004-03-02 Actiontec Electronics, Inc. Apparatus for selectively connecting a telephone to a telephone network or the internet and methods of use

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特開平8-223223A 1996.08.30

Also Published As

Publication number Publication date
CN101075993A (en) 2007-11-21

Similar Documents

Publication Publication Date Title
US8804699B2 (en) System and method for switching between phone services
CN101075993B (en) Network telephone gate and method for detecting fault connection
US20050096024A1 (en) System and method of transitioning between cellular and voice over internet protocol communication
CA2448988A1 (en) System for interfacing a conventional telephone installation to a wireless telephone network
US8254562B2 (en) Port detection and protection circuit and electronic device using the same
JP3955602B2 (en) VoIP terminal and call backup method for VoIP terminal
EP1994787B1 (en) Device providing phone services to phones plugged to a residential phone wiring that is not coupled to a central office telephone exchange
CN102348026B (en) Telephone network communication device and network switching method
US6295357B1 (en) System and method for ringing other subscriber telephones connected to a telephone line during data communications on the telephone line
MX2007006160A (en) Xdsl voip adapter device.
US20080144799A1 (en) Module and Method for Automatically Detecting and Switching between FXO and FXS Interfaces via Single RJ11
CN201319631Y (en) Voice gateway
CN202334688U (en) Passive isolation communication device of public switched telephone network (PSTN) terminal device
CN102347841B (en) Router and conversation connection control method thereof
CN101924673A (en) Network access equipment and overload protection method thereof
US20080240403A1 (en) Dual mode network telephony gateway
US20070268893A1 (en) Internet telephony gateway and method for detecting connection error thereof
US7944911B2 (en) Network device
CN101478618A (en) External line state detection method for external switching center
JP4494328B2 (en) Phone adapter
CN201674552U (en) Multimedia voice communication apparatus
TWI412248B (en) Router and method for controlling connection of a telephone conversation by the same
KR100805585B1 (en) Method and apparatus on decision of interworking capacity between PSTN and BcN
CN101790009A (en) Hosted-type switchboard service based on IP
KR20100030272A (en) Access gateway system and call handling method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111221

Termination date: 20170519