CN108055416A - A kind of IVR automated testing methods of VoIP voices - Google Patents
A kind of IVR automated testing methods of VoIP voices Download PDFInfo
- Publication number
- CN108055416A CN108055416A CN201711492302.5A CN201711492302A CN108055416A CN 108055416 A CN108055416 A CN 108055416A CN 201711492302 A CN201711492302 A CN 201711492302A CN 108055416 A CN108055416 A CN 108055416A
- Authority
- CN
- China
- Prior art keywords
- automated testing
- script
- audio file
- rtp
- payload
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0081—Network operation, administration, maintenance, or provisioning
- H04M7/0084—Network monitoring; Error detection; Error recovery; Network testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/22—Arrangements for supervision, monitoring or testing
- H04M3/2236—Quality of speech transmission monitoring
Abstract
The present invention relates to a kind of IVR automated testing methods of VoIP voices are mainly disclosed, mainly including following operation:Step a:Coded format conversion is carried out to the first audio file of required test, generates the second audio file;Step b:Script is write with automation language, generates automatized script, the second audio file is put on the test machine where automatized script;Step c:To performing automatized script after each version iteration, matching determines whether to include in the second audio file sip server and issues payload in RTP bags.The present invention passes through script pseudo-terminal, receive the IVR RTP that VoIP server issues, the content received is compared with the content of the voice IVR files after transform coding, reach the whether correct purposes of voice IVR that automatic Verification server issues, so as to save test manpower, measuring accuracy is improved.
Description
Technical field
The invention belongs to communication technique field more particularly to the measuring technologies of VoIP speech communications.
Background technology
With the development of internet, the whole world has entered industrial 4.0 epoch.Related application and skill based on network and IP
Art is more and more common, and has slowly been deep into the work and life of people, and voip network phone is a kind of utilization
Internet technologies or network carry out the new business of voice communication, it can or rate free by internet very low land transmission
The business such as voice, fax, video and data, thus voip network phone apply it is increasingly prevailing in multiple industries.
The IVR tests of current voip network phone are generally divided into three levels:Performance pressures are tested, voice match is tested,
Voice quality is tested.Wherein, voice quality test process is the IVR playbacks manually listened under each scene, and scene is relatively more,
And each iteration will manual testing once.The test method needs manually height cooperation, and test process is also relatively cumbersome,
Serious labor intensive, testing efficiency be not high.
In order to improve current IVR testing efficiencies, the invention discloses a kind of IVR automated testing methods of VoIP voices,
By simulant-client, call is established, receives the voice IVR that server issues, carrying out content with language source file compares, and verifies
Whether voice IVR is correct;The each iteration of version can all be replaced manually carrying out IVR verifications by automation.
The content of the invention
Present invention aims at a kind of IVR automated testing methods of VoIP voices are provided, the present invention is simulated by script
Terminal receives the IVR RTP that VoIP server issues, will be in the voice IVR files after the content that received and transform coding
Appearance is compared, and reaches the whether correct purposes of voice IVR that automatic Verification server issues.
In order to realize foregoing invention purpose, a kind of IVR automated testing methods of VoIP voices disclosed by the invention, mainly
Including following operation:Step a:Coded format conversion is carried out to the first audio file of required test, generates the second audio file;
Step b:Script is write with automation language, automatized script is generated, the second audio file is put into where automatized script
On test machine;Step c:To performing automatized script after each version iteration, matching determines whether wrapped in the second audio file
The payload in RTP bags is issued containing sip server.
Preferably, above-mentioned automatized script logic mainly includes following operation:Establish call connection, RTP is parsed, audio is looked into
It looks for, Audio Matching.
Preferably, above-mentioned foundation call connection refers to:Test machine pseudo-terminal carries out SIP callings, is established with sip server
Call connection.
Preferably, above-mentioned RTP parsings refer to:Test machine receives the RTP bags that sip server issues, and parses RTP bags
payload。
Preferably, above-mentioned audio lookup refers to:The second audio file is read, searches whether the payload containing RTP bags,
It finds, records the end position index where payload, search failure and then continue to establish call connection, RTP parsings, directly
To searching successfully.
Preferably, above-mentioned Audio Matching refers to:From the index location matches payload of the second audio file.
Preferably, the file convert interface conversions for the asterisk that the first audio file passes through server are compiled into G722
The GetConfPin.g722 files of code.
Preferably, above-mentioned steps a includes adding in the meeting with password with python scripts simulant-client.
Preferably, after above-mentioned automatized script receives RTP bags, the payload of the RTP bags is parsed, length is denoted as L.
Preferably, automatic test is carried out on above-mentioned GetConfPin.g722 file copies to the test machine.
A kind of IVR automated testing methods of VoIP voices disclosed by the invention, tester is during the test
Only need to hear whether voice IVR source files are correct, and actual use scene can automate verification, greatly save test
Manpower, while measuring accuracy can be improved.
Description of the drawings
Fig. 1 is VoIP voices IVR automations verification script logic flow chart in the specific embodiment of the invention.
Specific embodiment
Its general principles:The audio source file of required test is carried out coded format using asterisk instruments to turn
It changes, is converted into the audio file of specific audio coding mode;Script is write by automating language again, audio source file is put into
On a testing machine, pseudo-terminal carries out sip callings for script institute, automatic by test script after establishing call connection with sip servers
Realize that audio file receives the contrastive test of data with pseudo-terminal.
The present invention is described in further detail with reference to the accompanying drawings and examples.It is it is appreciated that described at this time
Specific embodiment be used only for explain the present invention rather than limitation of the invention.It also should be noted that for convenience
It describes, the relevant part of the present invention rather than entire infrastructure is only illustrated in attached drawing.
Specific embodiment of the invention automation method of calibration includes following content:
Step 1 carries out coded format conversion to audio source file, is converted into specific sound by audio file formats crossover tool
The audio file of frequency coding mode.In specific test process, different instruments can be selected to realize above-mentioned coding lattice as needed
The conversion of formula.
Step 2 writes script with automation language, test where the transformed audio file of coded format is put into script
On machine, perform script, script logic are as follows on a testing machine:
Step 2.1:Pseudo-terminal carries out SIP callings, and call connection is established with sip server.
Step 2.2:The IVR RTP bags that sip server issues are received, parse the payload of RTP bags(Payload).
Step 2.3:The audio file content that converted coded format is read, searches whether to contain step 2.2 in the content
In the payload contents that parse, if finding, record matched position.
Step 2.3:The audio file content that converted coded format is read, matches whether contain payload in the content,
It finds, records positions of the payload in audio file content, it fails to match then continues step 2.2, step 2.3, until
Successful match records the end position index of the content of successful match, enters step 2.4.
Step 2.4:Continue step 2.2, collect the payload in the RTP messages that sip server is sent, in audio text
The index positions of part are initially configured the new payload, and it fails to match is continuing step 2.2, step 2.3, and successful match is then
Index is updated, continues step 2.2, step 2.4, the end until matching voice source file, then verification passes through.
After each version iteration of step 3 server issue, the automatized script is performed both by once on a testing machine.
Example scenario:Client adds in the meeting with password, verifies the ivr voice prompts of " please input meeting password ".
Scene explanation:Audio coding mode consults G722, server playback source file GetConfPin.wav.
In the specific embodiment of the invention, concrete methods of realizing:
The first step turns the file convert interfaces of the audio source file GetConfPin.wav asterisk for passing through server
Change GetConfPin.g722 files (asterisk-rx " the file convert GetConfPin.wav of G722 codings into
GetConfPin.g722 "), it will be on GetConfPin.g722 file copies to test machine.
Second step performs automatized script on a testing machine.Fig. 1 be the specific embodiment of the invention in VoIP voices IVR from
Dynamicization verifies script logic flow chart.With reference to Fig. 1 flows, script logic is as follows:
Step(1)The meeting with password is added in python scripts simulant-client, invite is asked without password.
Step(2)Script receives the RTP bags that sip server is sent to test machine, parses the payload of RTP bags, length
For L.
Step(3)Script reads the audio file GetConfPin.g7222 contents that converted coded format, in the content
It searches whether, containing payload, to find, records position indexs of the payload in audio file content, search failure then
Continue step(2), step(3), the end position index until searching the content for successfully, recording successful match enters step
(4).
Step(4)Continue step(2), payload is matched since the index positions of audio file, that is, matches payload
It is whether consistent with index to the index+L positions of GetConfPin.g722 file contents.Continuing step if it fails to match
(2), step(3);Index is updated if successful match, continues step(2), step(4), until matching voice source file
End, then verification pass through.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.Those skilled in the art can manage
Solution, the invention is not restricted to the specific embodiment, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of IVR automated testing methods of VoIP voices, which is characterized in that the described method includes:
Step a:Coded format conversion is carried out to the first audio file of required test, generates the second audio file;
Step b:Script is write with automation language, generates automatized script, second audio file is put into described automatic
On test machine where change script;
Step c:To performing the automatized script after each version iteration, matching determine in second audio file whether
Include sip server and issue payload in RTP bags.
2. automated testing method according to claim 1, which is characterized in that the automatized script logic includes as follows
Operation:Establish call connection, RTP parsings, audio lookup, Audio Matching.
3. automated testing method according to claim 2, which is characterized in that the foundation call connection refers to:It is described
Test machine pseudo-terminal carries out SIP callings, and call connection is established with sip server.
4. automated testing method according to claim 3, which is characterized in that the RTP parsings refer to:The test machine
The RTP bags that the sip server issues are received, parse the payload of the RTP bags.
5. automated testing method according to claim 4, which is characterized in that the audio lookup refers to:Described in reading
Second audio file searches whether the payload containing the RTP bags, finds, records the end where the payload
Position index searches failure and then continues the foundation call connection, RTP parsings, until searching successfully.
6. automated testing method according to claim 5, which is characterized in that the Audio Matching refers to:From described
The index location matches payload of two audio files.
7. automated testing method according to claim 6, which is characterized in that first audio file passes through the clothes
The GetConfPin.g722 files that the file convert interface conversions of the asterisk of business device are encoded into G722.
8. automated testing method according to claim 7, which is characterized in that the step a, which is specifically included, uses python
Script simulant-client adds in the meeting with password.
9. automated testing method according to claim 8, which is characterized in that the automatized script receives the RTP
The payload of the RTP bags is parsed after bag, length is denoted as L.
10. automated testing method according to claim 9, which is characterized in that the GetConfPin.g722 files are copied
Automatic test is carried out on shellfish to the test machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711492302.5A CN108055416A (en) | 2017-12-30 | 2017-12-30 | A kind of IVR automated testing methods of VoIP voices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711492302.5A CN108055416A (en) | 2017-12-30 | 2017-12-30 | A kind of IVR automated testing methods of VoIP voices |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108055416A true CN108055416A (en) | 2018-05-18 |
Family
ID=62129413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711492302.5A Pending CN108055416A (en) | 2017-12-30 | 2017-12-30 | A kind of IVR automated testing methods of VoIP voices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108055416A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012175A (en) * | 2018-07-19 | 2019-07-12 | 贵阳朗玛信息技术股份有限公司 | For debugging device, system and its application method of IVR business |
CN110111772A (en) * | 2019-05-16 | 2019-08-09 | 电子科技大学 | A kind of recognition methods encrypting the used language of voip network flow |
CN112261214A (en) * | 2020-10-21 | 2021-01-22 | 广东商路信息科技有限公司 | Network voice communication automatic test method and system |
CN113472818A (en) * | 2021-09-03 | 2021-10-01 | 深圳墨世科技有限公司 | Copyright audio data processing method, server and mobile terminal |
CN113645358A (en) * | 2021-08-09 | 2021-11-12 | 迈普通信技术股份有限公司 | Voice interface detection device, system and method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1518284A (en) * | 2003-01-16 | 2004-08-04 | 华为技术有限公司 | Service testing device and method |
CN101662780A (en) * | 2008-08-27 | 2010-03-03 | 中国移动通信集团湖北有限公司 | Method and system for automatically detecting customer service voices |
US20110149754A1 (en) * | 2009-12-22 | 2011-06-23 | At&T Mobility Ii Llc | Voice Quality Analysis Device and Method Thereof |
CN103226950A (en) * | 2012-01-29 | 2013-07-31 | 特克特朗尼克公司 | Speech processing in telecommunication network |
CN105471680A (en) * | 2015-12-09 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Network voice communication testing system and method |
CN105791602A (en) * | 2014-12-26 | 2016-07-20 | 深圳市腾讯计算机系统有限公司 | Sound quality test method and system |
US9426077B1 (en) * | 2015-02-22 | 2016-08-23 | Erik J. Knight | Method to improve quality of service for real time internet applications |
WO2016205818A1 (en) * | 2015-06-19 | 2016-12-22 | 24/7 Customer, Inc. | Method and apparatus for managing customer interactions on multiple interaction channels |
CN106331385A (en) * | 2016-08-19 | 2017-01-11 | 南京南瑞集团公司 | 95598 call center pressure test system and method based on SIP relay |
CN106953903A (en) * | 2017-03-10 | 2017-07-14 | 广州芯德通信科技股份有限公司 | Method, device and application process, the system of IVR real-time programmings are realized on IAD |
US9742915B1 (en) * | 2014-12-17 | 2017-08-22 | Noble Systems Corporation | Dynamic display of real time speech analytics agent alert indications in a contact center |
-
2017
- 2017-12-30 CN CN201711492302.5A patent/CN108055416A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1518284A (en) * | 2003-01-16 | 2004-08-04 | 华为技术有限公司 | Service testing device and method |
CN101662780A (en) * | 2008-08-27 | 2010-03-03 | 中国移动通信集团湖北有限公司 | Method and system for automatically detecting customer service voices |
US20110149754A1 (en) * | 2009-12-22 | 2011-06-23 | At&T Mobility Ii Llc | Voice Quality Analysis Device and Method Thereof |
CN103226950A (en) * | 2012-01-29 | 2013-07-31 | 特克特朗尼克公司 | Speech processing in telecommunication network |
US9742915B1 (en) * | 2014-12-17 | 2017-08-22 | Noble Systems Corporation | Dynamic display of real time speech analytics agent alert indications in a contact center |
CN105791602A (en) * | 2014-12-26 | 2016-07-20 | 深圳市腾讯计算机系统有限公司 | Sound quality test method and system |
US9426077B1 (en) * | 2015-02-22 | 2016-08-23 | Erik J. Knight | Method to improve quality of service for real time internet applications |
WO2016205818A1 (en) * | 2015-06-19 | 2016-12-22 | 24/7 Customer, Inc. | Method and apparatus for managing customer interactions on multiple interaction channels |
CN105471680A (en) * | 2015-12-09 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Network voice communication testing system and method |
CN106331385A (en) * | 2016-08-19 | 2017-01-11 | 南京南瑞集团公司 | 95598 call center pressure test system and method based on SIP relay |
CN106953903A (en) * | 2017-03-10 | 2017-07-14 | 广州芯德通信科技股份有限公司 | Method, device and application process, the system of IVR real-time programmings are realized on IAD |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110012175A (en) * | 2018-07-19 | 2019-07-12 | 贵阳朗玛信息技术股份有限公司 | For debugging device, system and its application method of IVR business |
CN110012175B (en) * | 2018-07-19 | 2021-05-07 | 贵阳朗玛信息技术股份有限公司 | Device and system for debugging IVR service and application method thereof |
CN110111772A (en) * | 2019-05-16 | 2019-08-09 | 电子科技大学 | A kind of recognition methods encrypting the used language of voip network flow |
CN110111772B (en) * | 2019-05-16 | 2021-07-23 | 电子科技大学 | Method for identifying language used for encrypting VoIP network flow |
CN112261214A (en) * | 2020-10-21 | 2021-01-22 | 广东商路信息科技有限公司 | Network voice communication automatic test method and system |
CN113645358A (en) * | 2021-08-09 | 2021-11-12 | 迈普通信技术股份有限公司 | Voice interface detection device, system and method |
CN113645358B (en) * | 2021-08-09 | 2023-08-29 | 迈普通信技术股份有限公司 | Voice interface detection device, system and method |
CN113472818A (en) * | 2021-09-03 | 2021-10-01 | 深圳墨世科技有限公司 | Copyright audio data processing method, server and mobile terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108055416A (en) | A kind of IVR automated testing methods of VoIP voices | |
US6477492B1 (en) | System for automated testing of perceptual distortion of prompts from voice response systems | |
US20070112571A1 (en) | Speech recognition at a mobile terminal | |
EP0982904B1 (en) | Method for conveying TTY signals over wireless communication systems | |
US20020077819A1 (en) | Voice prompt transcriber and test system | |
EP1936607B1 (en) | Automated speech recognition application testing | |
US20070168591A1 (en) | System and method for validating codec software | |
CN111464701B (en) | Method and device for carrying out simulation multi-round test on robot outbound telephone system | |
US20070067172A1 (en) | Method and apparatus for performing conversational opinion tests using an automated agent | |
CN101729681A (en) | Automatic testing method, testing terminal and communication system | |
US8229750B2 (en) | Barge-in capabilities of a voice browser | |
CN103299365A (en) | Devices for adaptively encoding and decoding a watermarked signal | |
US20070003037A1 (en) | Method and system for automatic generation and testing of voice applications | |
JP2014510299A (en) | Device for encoding and decoding watermarked signals | |
CN104618615B (en) | A kind of TeleConference Bridge meeting summary method for pushing based on short message | |
US6898272B2 (en) | System and method for testing telecommunication devices | |
CN103151041B (en) | A kind of implementation method of automatic speech recognition business, system and media server | |
US8234680B2 (en) | Creation and use of test cases for automated testing of media-based applications | |
US7308079B2 (en) | Automating testing path responses to external systems within a voice response system | |
KR102545276B1 (en) | Communication terminal based group call security apparatus and method | |
US7298827B1 (en) | System and method for testing a quality of telecommunication data | |
US7505569B2 (en) | Diagnosing voice application issues of an operational environment | |
CN112261214A (en) | Network voice communication automatic test method and system | |
JP5391811B2 (en) | Packet analysis apparatus, method, and program | |
Goudarzi | Evaluation of voice quality in 3G mobile networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180518 |