CN101472011B - Detection method of analog trunk line - Google Patents
Detection method of analog trunk line Download PDFInfo
- Publication number
- CN101472011B CN101472011B CN2007102034271A CN200710203427A CN101472011B CN 101472011 B CN101472011 B CN 101472011B CN 2007102034271 A CN2007102034271 A CN 2007102034271A CN 200710203427 A CN200710203427 A CN 200710203427A CN 101472011 B CN101472011 B CN 101472011B
- Authority
- CN
- China
- Prior art keywords
- analog trunk
- analog
- hook
- trunk interface
- call
- 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
Links
Images
Landscapes
- Interface Circuits In Exchanges (AREA)
- Monitoring And Testing Of Exchanges (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a communication relaying technique, in particular to a detection method for an IP audio gateway analog trunk line. The invention discloses a method for detecting the state of a telephone line and without influence on the call flow, and aims to improve the call success rate of analog trunk. The invention adopts the technical proposal that the detection method for the analog trunk line comprises the following steps: a, an analog trunk interface initiates a call after off-hook, and the off-hook time of duration should be less than PBX response time; b, the analog trunk interface is used for detecting the loop current, and if the loop current is detected, whether the analog trunk circuit for connecting the analog trunk interface is available or not is judged, and then the normal call flow is carried out; and c, if no loop current is detected, the steps are repeated to the other analog trunk interface. The invention can be used in equipment using the analog trunk line, and improve the access success rate of the analog trunk line.
Description
Technical field
The present invention relates to the communication repeating technology, particularly the detection method of ip voice gateway simulation trunk line.
Background technology
In the equipment that uses analog trunk, for example may there be Analog Trunk Interface in telephone exchanger (PBX), voice gateways, generally claim FXO (FXO) interface again.This Analog Trunk Interface uses domestic consumer's telephone wire as trunk line, when there is the phone incoming call outside, or intercommunication phone is when needing that from then on interface is breathed out, and Analog Trunk Interface can off-hook, transmits voice through trunk line then.When circuit breaks down; For example short circuit, when opening circuit, calling can not be successful, particularly when same equipment is integrated with a plurality of Analog Trunk Interface; The problem that also has the interface gating; In case some or a plurality of Analog Trunk Interface be owing to the circuit reason can't be accomplished when calling out, because call attempt that will be one by one also can elongate call set-up time.
In order to overcome the above problems, the best way is to detect in advance whether analog trunk is available, if find that certain bar circuit is bad, does not then route the call to the corresponding simulating trunk interface.
State for detection line; Method at present commonly used is a series current testing circuit on telephone wire, when calling out, perhaps when line idle through whether there being electric current to flow through on the off-hook detection telephone wire; If have then explain that circuit is normal, if just do not explain that circuit is undesired.There is such problem usually in existing detection method: when the calling detection circuit; Because only behind off-hook, could detect the state of telephone wire; Find that circuit is undesired behind the general off-hook; Just can only reselect interface then by dismantling call, call flow is had some influences, call set-up time has also extended.In addition; Detection loop electric current when idle, PBX can respond the off-hook action behind the off-hook, and PBX can think user's off-hook; Thereby cause some unusual; For example find that certain interface does not but have calling procedure at off-hook that does not stop and on-hook, judge that then this circuit is bad circuit, perhaps wrong with a call through.
Summary of the invention
Technical problem to be solved by this invention just provides a kind of method that can detect the telephone wire state and don't can influence call flow, to improve the analog junction call successful rate.
The present invention solve the technical problem, and the technical scheme of employing is that analog junction circuit detection method may further comprise the steps:
Analog junction circuit detection method may further comprise the steps:
A. first off-hook before Analog Trunk Interface makes a call, the off-hook duration should be less than the PBX response time;
B. Analog Trunk Interface detection loop electric current if detect loop current, judges that the analog junction circuit of this Analog Trunk Interface of connection can be used, and gets into normal call flow;
C. if do not detect loop current, then another Analog Trunk Interface is repeated above-mentioned steps.
Further, among the step a, Analog Trunk Interface makes a call and comprises active call and passive replying.
Concrete, said off-hook duration≤8ms.
The invention has the beneficial effects as follows: owing to before opening Analog Trunk Interface, just know the state of interface, thus can avoid owing to problems such as the misconnection that wrong off-hook causes, the time-delays of transferring, thus the analog junction call successful rate improved.
Description of drawings
Fig. 1 is an Analog Trunk Interface environment sketch map of the present invention;
Fig. 2 is a flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, describe technical scheme of the present invention in detail.
The present invention utilizes hardware or software with the Analog Trunk Interface off-hook, keeps on-hook after an of short duration time.In this of short duration time, PBX does not respond user's off-hook, thereby accomplishes the state-detection of analog trunk, judges whether that according to testing result the other analog trunk of needs selection detects.
In the present invention, use the environment of Analog Trunk Interface to be Fig. 1, preceding in Analog Trunk Interface active call (or passive replying), through realizing the off-hook on-hook then of a blink earlier, so that select an operable interface.When Analog Trunk Interface is in off hook state; The interface circuit of analog trunk and opposite end PBX has formed a loop; Be in the blink of off hook state to detect on the telephone wire whether electric current is arranged,, just proceeding to call out if electric current is arranged then explain that circuit is normal; Be off-hook, dialing or the like then; If there is not electric current explanation circuit undesired, just change an interface and try again, all can not time spent suspended call up to all interfaces.Because the time that the Analog Trunk Interface off-hook continues is very short, PBX can not respond, and can not cause any action of PBX.Flow process of the present invention such as Fig. 2.
The present invention also can be when Analog Trunk Interface be idle, and Analog Trunk Interface carries out the off-hook of same blink, and Analog Trunk Interface detects analog trunk has loop current, and judgement Analog Trunk Interface circuit can be used the Analog Trunk Interface on-hook; Analog Trunk Interface detects analog trunk does not have loop current, judges that the Analog Trunk Interface circuit is unavailable, Analog Trunk Interface on-hook, the same like this state that can before making a call, confirm analog trunk.
Be meant in the 8ms above-mentioned blink.Because in the prior art; PBX is for anti-interference; Usually can carry out the jitter elimination processing to user's off-hook and on-hook action; Action all can be considered to shake and be dropped with off-hook in on-hook below the general 8ms, has only just to be considered to real off-hook and on-hook above the off-hook that continues more than the 8ms and on-hook and to move, thereby causes the beginning of call flow or stop.Analog Trunk Interface be connected to PBX with on the registered permanent residence, when through logic control Analog Trunk Interface off-hook, this off-hook keeps the time below the 8ms, then PBX can not think that the user has the off-hook action, thereby can not trigger call flow.Same, when PBX was sending ringing-current to give Analog Trunk Interface, if the trunk interface off-hook keeps the following time of 8ms, PBX can not respond equally.But in the time, whether Analog Trunk Interface can detect loop current and exist at this 8ms, is available if existence just can be judged telephone wire, otherwise unavailable.Behind the state of knowing telephone wire, just can carry out subsequent calls and handle, be the time spent but for example ought determine telephone wire, just continues normal the calling, when telephone wire is unavailable, just reselects an Analog Trunk Interface and call out.In above process, off-hook is not owing to by PBX response, influence the state of PBX, thus not necessarily there is being when calling just to detect, can detection in the time of line idle any, thus can when not calling out, also can judge the state of circuit.
Claims (3)
1. analog junction circuit detection method may further comprise the steps:
A. first off-hook before Analog Trunk Interface makes a call, the off-hook duration should be less than the PBX response time;
B. Analog Trunk Interface detection loop electric current if detect loop current, judges that the analog junction circuit of this Analog Trunk Interface of connection can be used, and gets into normal call flow;
C. if do not detect loop current, then another Analog Trunk Interface is repeated above-mentioned steps.
2. analog junction circuit detection method according to claim 1 is characterized in that, among the step a, Analog Trunk Interface makes a call and comprises active call and passive replying.
3. analog junction circuit detection method according to claim 1 is characterized in that, said off-hook duration≤8ms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007102034271A CN101472011B (en) | 2007-12-26 | 2007-12-26 | Detection method of analog trunk line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007102034271A CN101472011B (en) | 2007-12-26 | 2007-12-26 | Detection method of analog trunk line |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101472011A CN101472011A (en) | 2009-07-01 |
CN101472011B true CN101472011B (en) | 2012-05-30 |
Family
ID=40829124
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007102034271A Expired - Fee Related CN101472011B (en) | 2007-12-26 | 2007-12-26 | Detection method of analog trunk line |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101472011B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702712B (en) * | 2009-11-11 | 2014-05-07 | 杭州华三通信技术有限公司 | Detection technology and voice call backup linkage method and device thereof |
CN103428372B (en) * | 2012-05-16 | 2015-02-04 | 中国联合网络通信集团有限公司 | Method and device for detecting phone off-hook |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1085368A (en) * | 1993-09-29 | 1994-04-13 | 冶金工业部包头钢铁设计研究院 | Program-controlled communication system for enterprise |
CN2753069Y (en) * | 2004-06-29 | 2006-01-18 | 深圳市新概念科技发展有限公司 | VoIP terminal adapter used for IP network |
CN1822626A (en) * | 2006-04-05 | 2006-08-23 | 迈普(四川)通信技术有限公司 | A kind of analog relay interface control method |
-
2007
- 2007-12-26 CN CN2007102034271A patent/CN101472011B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1085368A (en) * | 1993-09-29 | 1994-04-13 | 冶金工业部包头钢铁设计研究院 | Program-controlled communication system for enterprise |
CN2753069Y (en) * | 2004-06-29 | 2006-01-18 | 深圳市新概念科技发展有限公司 | VoIP terminal adapter used for IP network |
CN1822626A (en) * | 2006-04-05 | 2006-08-23 | 迈普(四川)通信技术有限公司 | A kind of analog relay interface control method |
Also Published As
Publication number | Publication date |
---|---|
CN101472011A (en) | 2009-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101437086B (en) | System and method for implementing voice test | |
CN101431697B (en) | A call automatic transfer method, system and service control point | |
CN101472011B (en) | Detection method of analog trunk line | |
CN101651753B (en) | Calling control device and method for supporting circuit domain telephone and voice over IP | |
CN105120525B (en) | It is a kind of to establish the method communicated to connect and electronic equipment | |
EP2173110B1 (en) | A realizing method for re-answering call | |
CN102131013B (en) | Method, system and gateway for seamlessly setting up call by using voice over internet protocol (VoIP) technique | |
Cisco | Call Supervision Signaling and Supervision Timing | |
CN101090378B (en) | Method and correlation device for identifying and setting call from IP network to PSTN | |
CN101969516A (en) | Communication apparatus and control method thereof | |
CN100444583C (en) | Method for selecting voice route and voice gateway | |
CN101478618B (en) | External line state detection method for external switching center | |
CN1486049A (en) | Method for implementing call pickup service based on VOIP gateway | |
KR100223376B1 (en) | Voicebroadcast for guiding state of called station in private exchange | |
CN206977523U (en) | The multiplex system of incoming call ID detections | |
CN106231574A (en) | The butt call reminding method of a kind of mobile terminal and system | |
CN101404690B (en) | Method for implementing common phone access to wireless commercial telephone system | |
JP3050800U (en) | Line switching device for the service | |
JP3252785B2 (en) | Key telephone equipment | |
JP3356597B2 (en) | No ringing communication system | |
JP3447912B2 (en) | Remote maintenance system for private branch exchange and private branch exchange used for the remote maintenance system | |
US6707887B2 (en) | System and method for automatic detection of loop start and ground start trunks | |
JPS616996A (en) | Subscriber circuit | |
WO2005029880A1 (en) | The method of non-cid terminal receiving short message and non-cid terminal receive short message with cid terminal compatible | |
JP2005354719A (en) | Telephone apparatus |
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: 20120530 |