CN102118517A - Method for automatically testing integrated access devices of VoIP - Google Patents
Method for automatically testing integrated access devices of VoIP Download PDFInfo
- Publication number
- CN102118517A CN102118517A CN2009102445973A CN200910244597A CN102118517A CN 102118517 A CN102118517 A CN 102118517A CN 2009102445973 A CN2009102445973 A CN 2009102445973A CN 200910244597 A CN200910244597 A CN 200910244597A CN 102118517 A CN102118517 A CN 102118517A
- Authority
- CN
- China
- Prior art keywords
- integrated access
- fxs
- access equipment
- fxo
- port
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a method for automatically testing integrated access devices of a VoIP (Voice over Internet Phone). The method is implemented based on two integrated access devices, wherein one of the integrated access devices is a tested integrated access device, and the other integrated access device is an auxiliary integrated access device. The method comprises the following steps: firstly, FXS (Foreign Exchange Station) ports and FXO (Foreign Exchange Office) ports respectively on the tested integrated access device and the auxiliary integrated access device are connected one by one; and then a command for testing an FXS module or an FXO module is executed on the tested integrated access device, and a testing result is output. The method is characterized in that the testing environment is simple, the testing method is convenient, the testing process is automatic and fast, and the testing result is explicit. Compared with the low-efficiency manual testing on ports called one by one or a hardware detection platform with high cost, the implementation cost of the automatic testing method is lower, and the working efficiency is higher.
Description
Technical field
The present invention relates to the method for a kind of automatic adjusting and testing Internet Protocol telephone integrated access equipment (IntegratedAccess Device abbreviates IAD as), belong to Internet Protocol telephone (Voice over IP abbreviates VoIP as) technical field.
Background technology
VoIP be a kind of between legacy circuit-switched networks network and IP network transferring voice or the direct technology of transferring voice on IP network.Its course of work comprises following step: the digitlization of voice, data compression, packing data, transfer of data, data unpack and decompression, voice recover.Wherein except transfer of data, other each step all is to be finished by Integrated Access Device.
Integrated Access Device is a kind of access device that is used for the Internet telephony field.It has ports such as FXS (Foreign eXchange Station), FXO (Foreign eXchangeOffice), ether, can pay data, services (by the LAN port) on traditional PSTN voice service, packet voice service and the single wide-area network link etc. simultaneously.
From the hardware point of view analysis, integrated access equipment is broadly divided into following several module: CPU module, DSP module, ether module, FXS module, FXO module.Wherein the CPU module is responsible for the operation of program, finishes the control to entire equipment; The DSP module is finished speech data and is compressed, packs, unpacks, decompresses, to the calling procedure sound, show the detection of number etc.; The ether module is finished the transmitting-receiving of various packets; The FXS module is finished encoding and decoding speech, ring, detection dislodging machine etc., connects analog station under each FXS port; The FXO module is finished encoding and decoding speech, dislodging machine etc., and each fxo port is equivalent to a phone, connects the FXS port on this port.
After the integrated access equipment assembling finishes, need whether problem be arranged by transferring hardware or the assembling process of surveying performance tests equipment.Adjusting, measuring method commonly used has following two kinds:
One. after assembling program,, whether available by various call verification device hardwares by debugging and testing personnel's manual operation;
Two. by the hardware detection platform, whether Authentication devices hardware is available.
Whether above-mentioned first method efficient is low, need manually call calling out by platform equipment port basis, finally available according to call scenarios decision device hardware.Second method needs the platform of a special checkout equipment hardware, connect integrated access equipment by port after, decide device hardware whether to pass through by detection to physical signallings such as voltage, electric currents.The efficient height of this method, but need the hardware detection platform of design production at the particular integration access device, therefore realize that cost is very high.
Summary of the invention
In view of all there is the shortcoming that efficient is low or cost is high in existing integrated access equipment adjusting, measuring method, technical problem to be solved by this invention is to provide the integrated access equipment automatic adjusting and testing method that a kind of cost is low, efficient is higher (being called for short the automatic adjusting and testing method).
For realizing above-mentioned goal of the invention, the present invention adopts following technical scheme:
A kind of method of automatic adjusting and testing Internet Protocol telephone integrated access equipment realizes that based on two integrated access equipment wherein one is tested integrated access equipment, and other one is auxiliary integrated access equipment, it is characterized in that:
At first described tested integrated access equipment is linked to each other with fxo port one by one with FXS port on the described auxiliary integrated access equipment, then these two integrated access equipment are connected on the hub, be connected on the PC by this hub;
When transferring the FXS module of surveying tested integrated access equipment, comprise the steps:
(1) on tested integrated access equipment, carries out the order of transferring survey FXS module, the fxo port off-hook that connects under the FXS ports to be detected such as described FXS module;
(2) on auxiliary integrated access equipment, carry out the order of transferring survey FXO module, first fxo port off-hook;
(3) tested integrated access equipment is finished the accent of two FXS modules is surveyed, and the result is surveyed in the record downward modulation;
(4) tested integrated access equipment and auxiliary integrated access equipment enter the accent survey process of following two FXS modules, until transferring all FXS modules of having surveyed tested integrated access equipment;
(5) externally output is transferred and is surveyed the result;
When transferring the FXO module of surveying tested integrated access equipment, comprise the steps:
(1) ' on auxiliary integrated access equipment, carries out the order of transferring survey FXS module, the fxo port off-hook that connects under the FXS ports to be detected such as described FXS module;
(2) ' on tested integrated access equipment, carry out the order of transferring survey FXO module, first fxo port off-hook;
(3) ' tested integrated access equipment is finished the accent of two FXO modules is surveyed, and the result is surveyed in the record downward modulation;
(4) ' tested integrated access equipment and auxiliary integrated access equipment enter the accent survey process of following two FXO modules, until transferring all FXO modules of having surveyed tested integrated access equipment;
(5) ' externally output is transferred and is surveyed the result.
Wherein, in described step (3) or (3) ' in further comprise the steps:
(31) after the FXS port detects down the fxo port off-hook that connects, call out the next FXS port on the tested integrated access equipment automatically;
(32) fxo port that connects downwards of the next FXS port on the tested integrated access equipment sends ring;
(33) the called fxo port that links to each other with called FXS port detects ring, opens the DSP passage so that detect the caller identification signal;
(34) called FXS port finishes back transmission incoming call shows signal first ring;
(35) called fxo port detects off-hook behind the caller identification signal, opens the DSP passage;
(36) after called FXS port detects off-hook, the DSP passage between establishment and the caller FXS port, and allow caller FXS port send anti-polar signal to the caller fxo port;
(37) after the caller fxo port detects anti-polar signal, open the DSP passage and send DTMF tone;
(38) described DTMF tone arrives called fxo port through caller FXS port, called FXS port, after called fxo port detects correct DTMF tone, and on-hook;
(39) after called FXS port detects on-hook, allow caller FXS port send busy tone;
(40) the caller fxo port detects on-hook behind the busy tone, finishes to transfer the flow process of surveying two FXO modules;
(41) caller FXS port detects on-hook, finishes to transfer the flow process of surveying two FXS modules.
Integrated access equipment automatic adjusting and testing method provided by the present invention have transfer to survey that environment is simple and easy, adjusting, measuring method is convenient, transfer the survey process automatically fast, transfer the distinct characteristics of result of surveying.Compare with the artificial port basis call testing of poor efficiency or expensive hardware detection platform, the implementation cost of this automatic adjusting and testing method is lower and operating efficiency is higher.
Description of drawings
The present invention is described in further detail below in conjunction with the drawings and specific embodiments.
Fig. 1 has shown that implementing the required accent of automatic adjusting and testing method of the present invention surveys environment;
Fig. 2 has shown and utilizes this automatic adjusting and testing method to carry out the implementing procedure of an automatic adjusting and testing.
Embodiment
Implementation process of the present invention is such: at first embedded based on this automatic adjusting and testing method written program in the operation sequence of integrated access equipment, by carrying out serial port command, start the automatic adjusting and testing flow process, finish the accent of FXS, FXO, DSP module is surveyed, show at last to transfer and survey the result, withdraw from the automatic adjusting and testing flow process.Below this process is launched detailed explanation.
Fig. 1 has shown that implementing the required accent of this automatic adjusting and testing method surveys environment.Wherein employed integrated access equipment is two, a integrated access equipment (being called for short tested integrated access equipment) for being surveyed by accent, and other one is auxiliary integrated access equipment.The required program of at first packing in tested integrated access equipment after beginning to start, is docked it with auxiliary integrated access equipment.Docking mode is that two FXS ports on the integrated access equipment link to each other one by one with fxo port.These two integrated access equipment are connected on the hub, are connected on the PC by this hub.Like this, the user logins the control desk of two integrated access equipment by the telnet mode on PC, carries out the corresponding command, begins to transfer survey.
When transferring the FXS module of surveying tested integrated access equipment, concrete operating process is as follows:
(1) on tested integrated access equipment, carries out the order of transferring survey FXS module, enter the automatic adjusting and testing flow process, the fxo port off-hook of the auxiliary integrated access equipment that it connects down to be detected such as the FXS module of tested integrated access equipment;
(2) carry out on auxiliary integrated access equipment and transfer the order of surveying the FXO module, enter the automatic adjusting and testing flow process equally, first fxo port off-hook of tested integrated access equipment triggers the automatic adjusting and testing flow process of tested integrated access equipment;
(3) tested integrated access equipment and auxiliary integrated access equipment are carried out automatic adjusting and testing flow process separately, tested integrated access equipment is finished the accent of two FXS ports is surveyed, the result is surveyed in the record downward modulation, for detecting unusual situation, note the unusual flow process that goes wrong, do not detect dislodging machine, the called dislodging machine that do not detect as caller;
(4) the automatic adjusting and testing flow process of tested integrated access equipment and auxiliary integrated access equipment all enters the accent survey process of following two FXS ports automatically, until transferring all FXS ports of having surveyed tested integrated access equipment;
(5) externally output is transferred and is surveyed the result, withdraws from the automatic adjusting and testing flow process.
When transferring the FXO module of surveying tested integrated access equipment, concrete operating process is as follows:
(1) on auxiliary integrated access equipment, carries out the order of transferring survey FXS module, enter the automatic adjusting and testing flow process, the fxo port off-hook of the tested integrated access equipment that it connects down to be detected such as the FXS module of auxiliary integrated access equipment;
(2) carry out the order of transferring survey FXO module on tested integrated access equipment, enter the automatic adjusting and testing flow process equally, first fxo port off-hook of tested integrated access equipment triggers the automatic adjusting and testing flow process of assisting integrated access equipment;
(3) tested integrated access equipment and auxiliary integrated access equipment are carried out automatic adjusting and testing flow process separately, tested integrated access equipment is finished the accent of two fxo ports is surveyed, the result is surveyed in the record downward modulation, for detecting unusual situation, note the unusual flow process that goes wrong, as calledly do not detect ring, calledly detect to arrive show, caller does not detect antipole, the called DTMF of not detecting, caller do not detect busy tone;
(4) the automatic adjusting and testing flow process of tested integrated access equipment and auxiliary integrated access equipment all enters the accent survey process of following two fxo ports automatically, until transferring all fxo ports of having surveyed tested integrated access equipment;
(5) externally output is transferred and is surveyed the result, withdraws from the automatic adjusting and testing flow process.
In the automatic adjusting and testing process of FXS module and FXO module, the participation of DSP module all can be arranged, therefore when transferring survey FXS module and FXO module, also finished the accent of DSP module has been surveyed.
Below in conjunction with Fig. 2, describe in detail and utilize this automatic adjusting and testing method to carry out the concrete implementing procedure of an automatic adjusting and testing.
(1) on the FXS module, carries out automatic adjusting and testing FXS order, enter FXS and transfer flow gauge, wait for the fxo port off-hook that connects under the FXS port;
(2) on the FXO module, carry out automatic adjusting and testing FXO order, enter FXO and transfer flow gauge, fxo port off-hook;
(3) after the FXS port detects down the fxo port off-hook that connects, call out the next FXS port on this integrated access equipment automatically;
(4) fxo port that connects downwards as the next FXS port on this called integrated access equipment sends ring;
(5) the called fxo port that links to each other with called FXS port detects ring, opens the DSP passage so that detect the caller identification signal;
(6) called FXS port finishes back transmission incoming call shows signal first ring;
(7) called fxo port detects off-hook behind the caller identification signal, opens the DSP passage;
(8) after called FXS port detects off-hook, the DSP passage between establishment and the caller FXS port, and allow caller FXS port send anti-polar signal to the caller fxo port;
(9) after the caller fxo port detects anti-polar signal, open the DSP passage and send DTMF (dual-tone multifrequency) sound 0~9;
(10) dtmf tone arrives called fxo port through caller FXS port, called FXS port, after called fxo port detects correct dtmf tone 0~9, and on-hook;
(11) after called FXS port detects on-hook, allow caller FXS port send busy tone;
(12) after the caller fxo port detects busy tone, on-hook.Leave it at that and transfer to survey the flow process of two FXO modules, next judge whether it is that latter two connects the FXO module of outside line, if not the accent flow gauge that then enters following two FXO modules, if then withdraw from the accent flow gauge, externally output is transferred and is surveyed the result;
(13) caller FXS port detects on-hook, finishes to transfer the flow process of surveying two FXS modules.Judge whether it is latter two FXS module, if not the accent flow gauge that then enters following two FXS modules, if then withdraw from the accent flow gauge, externally output is transferred and is surveyed the result;
In the accent flow gauge of FXS module and FXO module, either party is in some trigger actions of waiting for the opposite end just can enter the following time of situation of next flow process, and the timer of certain hour all can be set.If timer expiry, it is unusual then to be judged to be device hardware, notes the flow process when ging wrong, and enters the accent flow gauge of following two FXS or FXO module.If do not have timer expiry in the accent flow gauge of whole FXS and FXO module, show that then device hardware is normal.
More than the method for automatic adjusting and testing Internet Protocol telephone integrated access equipment provided by the present invention is had been described in detail.To those skilled in the art, any conspicuous change of under the prerequisite that does not deviate from connotation of the present invention it being done all will constitute to infringement of patent right of the present invention, with corresponding legal responsibilities.
Claims (4)
1. the method for an automatic adjusting and testing Internet Protocol telephone integrated access equipment realizes that based on two integrated access equipment wherein one is tested integrated access equipment, and other one is auxiliary integrated access equipment, it is characterized in that:
At first described tested integrated access equipment is linked to each other with fxo port one by one with FXS port on the described auxiliary integrated access equipment, then these two integrated access equipment are connected on the hub, be connected on the PC by this hub;
When transferring the FXS module of surveying tested integrated access equipment, comprise the steps:
(1) on tested integrated access equipment, carries out the order of transferring survey FXS module, the fxo port off-hook that connects under the FXS ports to be detected such as described FXS module;
(2) on auxiliary integrated access equipment, carry out the order of transferring survey FXO module, first fxo port off-hook;
(3) tested integrated access equipment is finished the accent of two FXS modules is surveyed, and the result is surveyed in the record downward modulation;
(4) tested integrated access equipment and auxiliary integrated access equipment enter the accent survey process of following two FXS modules, until transferring all FXS modules of having surveyed tested integrated access equipment;
(5) externally output is transferred and is surveyed the result;
When transferring the FXO module of surveying tested integrated access equipment, comprise the steps:
(1) ' on auxiliary integrated access equipment, carries out the order of transferring survey FXS module, the fxo port off-hook that connects under the FXS ports to be detected such as described FXS module;
(2) ' on tested integrated access equipment, carry out the order of transferring survey FXO module, first fxo port off-hook;
(3) ' tested integrated access equipment is finished the accent of two FXO modules is surveyed, and the result is surveyed in the record downward modulation;
(4) ' tested integrated access equipment and auxiliary integrated access equipment enter the accent survey process of following two FXO modules, until transferring all FXO modules of having surveyed tested integrated access equipment;
(5) ' externally output is transferred and is surveyed the result.
2. the method for automatic adjusting and testing Internet Protocol telephone integrated access equipment as claimed in claim 1 is characterized in that:
In described step (3) or (3) ' in further comprise the steps:
(31) after the FXS port detects down the fxo port off-hook that connects, call out the next FXS port on the tested integrated access equipment automatically;
(32) fxo port that connects downwards of the next FXS port on the tested integrated access equipment sends ring;
(33) the called fxo port that links to each other with called FXS port detects ring, opens the DSP passage so that detect the caller identification signal;
(34) called FXS port finishes back transmission incoming call shows signal first ring;
(35) called fxo port detects off-hook behind the caller identification signal, opens the DSP passage;
(36) after called FXS port detects off-hook, the DSP passage between establishment and the caller FXS port, and allow caller FXS port send anti-polar signal to the caller fxo port;
(37) after the caller fxo port detects anti-polar signal, open the DSP passage and send DTMF tone;
(38) described DTMF tone arrives called fxo port through caller FXS port, called FXS port, after called fxo port detects correct DTMF tone, and on-hook;
(39) after called FXS port detects on-hook, allow caller FXS port send busy tone;
(40) the caller fxo port detects on-hook behind the busy tone, finishes to transfer the flow process of surveying two FXO modules;
(41) caller FXS port detects on-hook, finishes to transfer the flow process of surveying two FXS modules.
3. the method for automatic adjusting and testing Internet Protocol telephone integrated access equipment as claimed in claim 1 is characterized in that:
The output in ' in, for the unusual situation of device hardware, note the flow process when ging wrong, ' in described step (3) or (3) at last in step (5) or (5).
4. the method for automatic adjusting and testing Internet Protocol telephone integrated access equipment as claimed in claim 2 is characterized in that:
In the accent flow gauge of FXS module and FXO module timer is set, if timer expiry, it is unusual then to be judged to be device hardware.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910244597 CN102118517B (en) | 2009-12-31 | 2009-12-31 | Method for automatically testing integrated access devices of VoIP |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910244597 CN102118517B (en) | 2009-12-31 | 2009-12-31 | Method for automatically testing integrated access devices of VoIP |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102118517A true CN102118517A (en) | 2011-07-06 |
CN102118517B CN102118517B (en) | 2013-09-11 |
Family
ID=44217101
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910244597 Active CN102118517B (en) | 2009-12-31 | 2009-12-31 | Method for automatically testing integrated access devices of VoIP |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102118517B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656771A (en) * | 2016-11-07 | 2017-05-10 | 苏州工业园区服务外包职业学院 | Access gateway device and method realizing basic calling in internal round trip of access gateway device |
CN109495633A (en) * | 2018-11-06 | 2019-03-19 | 福建星网智慧软件有限公司 | A method of fxs phone is controlled by single-chip microcontroller and realizes automatic dial service |
CN111182163A (en) * | 2019-11-25 | 2020-05-19 | 深圳震有科技股份有限公司 | Automatic call test method and device, computer equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489004A (en) * | 2009-03-03 | 2009-07-22 | 中兴通讯股份有限公司 | Remote diagnosis method and system for VoIP terminal |
CN101610428A (en) * | 2009-07-13 | 2009-12-23 | 厦门敏讯信息技术股份有限公司 | Digital exchange test system, digital switch and computer |
-
2009
- 2009-12-31 CN CN 200910244597 patent/CN102118517B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489004A (en) * | 2009-03-03 | 2009-07-22 | 中兴通讯股份有限公司 | Remote diagnosis method and system for VoIP terminal |
CN101610428A (en) * | 2009-07-13 | 2009-12-23 | 厦门敏讯信息技术股份有限公司 | Digital exchange test system, digital switch and computer |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106656771A (en) * | 2016-11-07 | 2017-05-10 | 苏州工业园区服务外包职业学院 | Access gateway device and method realizing basic calling in internal round trip of access gateway device |
CN106656771B (en) * | 2016-11-07 | 2019-07-09 | 苏州工业园区服务外包职业学院 | A kind of method that accessing gateway equipment and inside it loopback realize basic call |
CN109495633A (en) * | 2018-11-06 | 2019-03-19 | 福建星网智慧软件有限公司 | A method of fxs phone is controlled by single-chip microcontroller and realizes automatic dial service |
CN111182163A (en) * | 2019-11-25 | 2020-05-19 | 深圳震有科技股份有限公司 | Automatic call test method and device, computer equipment and medium |
CN111182163B (en) * | 2019-11-25 | 2022-02-18 | 深圳震有科技股份有限公司 | Automatic call test method and device, computer equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN102118517B (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102333163B (en) | External auxiliary testing apparatus, and testing system thereof and method thereof | |
US8488599B2 (en) | Auto-switching method and device for dual mode analog-VoIP device | |
CN101489004B (en) | Remote diagnosis method and system for VoIP terminal | |
CN101990040A (en) | System and method for testing voice over internet protocol (VOIP) device | |
CN1855969A (en) | Voice mail with phone number recognition system | |
CN100562046C (en) | A kind of calling-control method and voice gateways based on the voice Internet protocol | |
CN102118517B (en) | Method for automatically testing integrated access devices of VoIP | |
CN101610428B (en) | Digital exchange test system, digital exchange and computer | |
CN103401768A (en) | Quick detection method for home gateway equipment interface | |
US9124600B2 (en) | Smart phone system for dialing through local call and methods thereof | |
EP1830549A1 (en) | Method, apparatus and system for call forwarding through internet | |
CN105721727A (en) | Call forwarding method and apparatus | |
CN201893842U (en) | Test system for detecting voice over internet phone (VOIP) device | |
CN113489847A (en) | Production testing method of PON gateway equipment based on double-voice-port equipment | |
CN113595826A (en) | Method for single-voice-port PON gateway equipment to carry out single-equipment voice production test | |
CN102624585A (en) | Analog conversation method based on gateway terminal equipment and voice device detection device | |
CN101834954A (en) | Line detection apparatus and method for fixed phone | |
CN101707658B (en) | Method for realizing voice service in domestic information machine | |
US6792080B1 (en) | System and method for testing enhanced 911 signalling over a digital loop carrier trunk | |
CN102739875B (en) | Detection method for voice gateway device | |
CN101695094B (en) | Method and equipment for realizing automatic matching interface impedance on devices | |
CN101287038B (en) | Device and method capable of detecting reverse polarity of subscriber circuit | |
US8682314B2 (en) | Remote VoIP phone | |
CN1859456B (en) | Binding O port system of external exchanging service port and its realizing method | |
US20230062629A1 (en) | Wired telephone to volte adapter |
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 |