SlideShare a Scribd company logo
1 of 5
Download to read offline
Copyright © Sevana Oü, 2019
Sevana Oü
Roosikrantsi tn 2
Tallinna linn, Harju maakond, 10119
Estonia
Phone: +3726170331
QualTest Host
Document objectives.
This document describes application purpose, requirements, software architecture and user operations for
QualTest Host utility from Sevana Ou.
Application purpose.
Application purpose is to provide means to integrate QualTest GSM (QG) with desktop or Raspberry Pi
(RPi). Application receives notification from QG about call events, copies recorded calls to desktop, limits
time of call, runs pvqa and aqua utilities to estimate voice quality.
Hardware requirements.
Hardware is a typical desktop or RPi or another ARM based single board computer and a USB audio card,
which won’t be necessary if you want to setup auto answering machine only. Mobile device has to be
Android (KitKat at least) phone.
Software requirements.
Software requires desktop/ RPi side with Linux / OS X / Windows operating system. Installation is simple,
one just runs provided installation and configuration scripts.
Utility does not require database connection and does not use any database software itself (but can be
extended with this functionality upon request). System requires ADB package from Google, which one can
find at https://developer.android.com/studio/releases/platform-tools.
Requirements for the mobile side:
- QualTest GSM
- developer mode turned on (to allow ADB)
- rooted phone is optional to install QualTest GSM
Copyright © Sevana Oü, 2019
Sevana Oü
Roosikrantsi tn 2
Tallinna linn, Harju maakond, 10119
Estonia
Phone: +3726170331
Operation model.
QualTest Host (QH) is a utility that connects to Android phone(s) via ADB and monitors QualTest GSM
events, such as incoming call, call started, call finished.
For finished call the recorded file (if QualTest GSM runs as system app on rooted phone) can be copied to
desktop by invoking a shell script.
In other words QH is a “glue” between calls, QualTest GSM, captured audio and desktop.
Using QH one can make a fully automated test system. This system will make regular test calls (e.g. every 5
minutes) to different locations, report quality and alert if something is wrong.
Another use case is mobile autoresponder - QH can play audio files right to phone's headset input when
receiving incoming call.
Parameters list.
Configuration of the utility is made from command line. Available parameters one can find in the table
below:
Parameter name Parameter description
--output-device Output audio device name. QH will play file to this output.
--input-device Input audio device name. QH will capture audio from this input.
--show-devices Shows all available audio inputs and outputs.
--play-file File to play.
--record-file
File to record from audio input. It is NOT about recordings from QualTest
GSM. Usually you do not need this option. Used for special test cases only.
--copy-recorded Path to directory where recorded files (from QualTest GSM) will be stored.
--exec
Command to execute after recorded file copied from mobile phone. --
RECORDED-- substring will be replaced with path to the copied file.
--mobile-device
Mobile device ID. This parameter is the phone ID. Please find it from "ADB
devices" output. ID must be set, it is required value if QH has to listen
notifications from Qualtest GSM.
Copyright © Sevana Oü, 2019
Sevana Oü
Roosikrantsi tn 2
Tallinna linn, Harju maakond, 10119
Estonia
Phone: +3726170331
--call-timelimit
Call time can be limited. QH will finish the call after specified timeout.
Examples of timeout value: 10s, 5000ms, 6m, 1h.
--adb-path
Path to ADB executable. Default is 'adb' which will work only if it is included
in PATH environment settings. It is recommended for explicit values.
--daemon Run QH as daemon.
--autoaccept Accepts incoming calls. Can be set “on” or “off”. Default value is “on”.
--help Shows help.
--devices-config
Path to configuration file. File can include parameters for multiple
devices/endpoints.
--verbose Verbose output
--test-play
Forces playing of reference audio file. Duration of playing is limited by --call-
timelimit parameter value.
Here is an example of command to run auto answering machine (phone app is already configured to
automatically answer calls):
./qualtest-host --mobile-device $DEVICE_ID --play-device "$AUDIO_OUTPUT" --adb-path $ADB_PATH --
play-file jane_8k_with_silence.wav --call-timelimit 30s
Example of simple endpoint to run tests with reference audio:
./qualtest-host --mobile-device $DEVICE_ID --copy-recorded . --exec "./aqua_test.sh jane_8k.wav --
RECORDED--"
Example of multiple endpoints configuration file:
{
"items":
[
{
"comments": "It is Galaxy S5",
"mobile_device": "04baf426",
"play_device": "USB Audio Device",
"capture_device": "USB Audio Device",
"play_file": "jane_8k_with_silence.wav",
"record_file": "",
"auto_accept": true,
"time_limit": 30,
"exec": "echo Hello from Galaxy S5",
Copyright © Sevana Oü, 2019
Sevana Oü
Roosikrantsi tn 2
Tallinna linn, Harju maakond, 10119
Estonia
Phone: +3726170331
"copy_recorded": "copy_dir"
},
{
"comments": "It is Moto G5",
"mobile_device": "ZY3227ZTJZ",
"play_device": "USB Audio Device",
"capture_device": "",
"play_file": "jane_8k_with_silence.wav",
"record_file": "",
"auto_accept": true,
"time_limit": 30,
"exec": "echo Hello from Moto G5",
"copy_recorded": "copy_dir"
}
]
}
Run it with ./qualtest-host --devices-config devices.json --adp-path=<PATH TO ADB UTILITY>
A possible scheme of test system setup one can find below:
Copyright © Sevana Oü, 2019
Sevana Oü
Roosikrantsi tn 2
Tallinna linn, Harju maakond, 10119
Estonia
Phone: +3726170331

More Related Content

What's hot

Project Report - Lighting Control via Bluetooth using Android
Project Report - Lighting Control via Bluetooth using AndroidProject Report - Lighting Control via Bluetooth using Android
Project Report - Lighting Control via Bluetooth using Android
Vaibhav Gautam
 
Ccna voice study summary 460
Ccna voice study summary 460Ccna voice study summary 460
Ccna voice study summary 460
B Mach
 
The bryant advantage 150 commands
The bryant advantage 150 commandsThe bryant advantage 150 commands
The bryant advantage 150 commands
Areej Khasawneh
 

What's hot (20)

Processes
ProcessesProcesses
Processes
 
User manual-ip10 mp
User manual-ip10 mpUser manual-ip10 mp
User manual-ip10 mp
 
March 2014 CMUG Minutes
March 2014 CMUG MinutesMarch 2014 CMUG Minutes
March 2014 CMUG Minutes
 
Router commands
Router commandsRouter commands
Router commands
 
Project Report - Lighting Control via Bluetooth using Android
Project Report - Lighting Control via Bluetooth using AndroidProject Report - Lighting Control via Bluetooth using Android
Project Report - Lighting Control via Bluetooth using Android
 
Ccna voice study summary 460
Ccna voice study summary 460Ccna voice study summary 460
Ccna voice study summary 460
 
XPDDS18: EPT-Based Sub-page Write Protection On Xenc - Yi Zhang, Intel
XPDDS18: EPT-Based Sub-page Write Protection On Xenc - Yi Zhang, IntelXPDDS18: EPT-Based Sub-page Write Protection On Xenc - Yi Zhang, Intel
XPDDS18: EPT-Based Sub-page Write Protection On Xenc - Yi Zhang, Intel
 
Cisco router command configuration overview
Cisco router command configuration overviewCisco router command configuration overview
Cisco router command configuration overview
 
Configuring the Device as a PPPoE Client on Huawei AR1200
Configuring the Device as a PPPoE Client on Huawei AR1200Configuring the Device as a PPPoE Client on Huawei AR1200
Configuring the Device as a PPPoE Client on Huawei AR1200
 
Linux DMA Engine
Linux DMA EngineLinux DMA Engine
Linux DMA Engine
 
Dvb Pc Tv Stars Pci Usb Faq
Dvb Pc Tv Stars Pci Usb FaqDvb Pc Tv Stars Pci Usb Faq
Dvb Pc Tv Stars Pci Usb Faq
 
What is Bootloader???
What is Bootloader???What is Bootloader???
What is Bootloader???
 
IPTABLES
IPTABLESIPTABLES
IPTABLES
 
Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)Cisco commands List for Beginners (CCNA, CCNP)
Cisco commands List for Beginners (CCNA, CCNP)
 
The bryant advantage 150 commands
The bryant advantage 150 commandsThe bryant advantage 150 commands
The bryant advantage 150 commands
 
Embedded Applications
Embedded ApplicationsEmbedded Applications
Embedded Applications
 
Simple virtual office PBX with TekSIP
Simple virtual office PBX with TekSIPSimple virtual office PBX with TekSIP
Simple virtual office PBX with TekSIP
 
Cisco CCENT Cram Notes
Cisco CCENT Cram NotesCisco CCENT Cram Notes
Cisco CCENT Cram Notes
 
Memcache as udp traffic reflector
Memcache as udp traffic reflectorMemcache as udp traffic reflector
Memcache as udp traffic reflector
 
Introduction to firewalls through Iptables
Introduction to firewalls through IptablesIntroduction to firewalls through Iptables
Introduction to firewalls through Iptables
 

Similar to QualTest Host User Guide

User manual of n280
User manual of n280User manual of n280
User manual of n280
yogesh010
 
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docxINFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
carliotwaycave
 
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
Device Abstraction in OSGi Based Embedded Systems - Dimitar ValtchevDevice Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
mfrancis
 

Similar to QualTest Host User Guide (20)

QualTest GSM User Guide
QualTest GSM User GuideQualTest GSM User Guide
QualTest GSM User Guide
 
QualTest SIP User guide
QualTest SIP User guideQualTest SIP User guide
QualTest SIP User guide
 
Huawei GGSN 9811 software management
Huawei GGSN 9811 software managementHuawei GGSN 9811 software management
Huawei GGSN 9811 software management
 
Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8Configuration Firewalld On CentOS 8
Configuration Firewalld On CentOS 8
 
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security AssessmentPositive Hack Days. Pavlov. Network Infrastructure Security Assessment
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
 
Sevana VQM Administration Manual
Sevana VQM Administration ManualSevana VQM Administration Manual
Sevana VQM Administration Manual
 
User manual of n280
User manual of n280User manual of n280
User manual of n280
 
Embedded Android
Embedded AndroidEmbedded Android
Embedded Android
 
Centralized Fog Server with OpenLDAP
Centralized Fog Server with OpenLDAP Centralized Fog Server with OpenLDAP
Centralized Fog Server with OpenLDAP
 
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docxINFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
 
Node-H Femtocell Management
Node-H Femtocell ManagementNode-H Femtocell Management
Node-H Femtocell Management
 
ESM High Availability Module User's Guide
ESM High Availability Module User's GuideESM High Availability Module User's Guide
ESM High Availability Module User's Guide
 
AIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge ShareAIX Advanced Administration Knowledge Share
AIX Advanced Administration Knowledge Share
 
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
Device Abstraction in OSGi Based Embedded Systems - Dimitar ValtchevDevice Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
 
Backtrack Manual Part4
Backtrack Manual Part4Backtrack Manual Part4
Backtrack Manual Part4
 
Tuned
TunedTuned
Tuned
 
Tuned
TunedTuned
Tuned
 
SIPob Manual
SIPob ManualSIPob Manual
SIPob Manual
 
Linux Desktop Automation
Linux Desktop AutomationLinux Desktop Automation
Linux Desktop Automation
 
Embedded Android : System Development - Part IV
Embedded Android : System Development - Part IVEmbedded Android : System Development - Part IV
Embedded Android : System Development - Part IV
 

More from Sevana Oü

Real-time-RTP-analysis
Real-time-RTP-analysisReal-time-RTP-analysis
Real-time-RTP-analysis
Sevana Oü
 
Drive-Testing-AQuA-PVQA
Drive-Testing-AQuA-PVQADrive-Testing-AQuA-PVQA
Drive-Testing-AQuA-PVQA
Sevana Oü
 

More from Sevana Oü (20)

AQuA Manual 8.x
AQuA Manual 8.xAQuA Manual 8.x
AQuA Manual 8.x
 
QualTest mobile test probe for VoIP and mobile call testing and monitoring
QualTest mobile test probe for VoIP and mobile call testing and monitoringQualTest mobile test probe for VoIP and mobile call testing and monitoring
QualTest mobile test probe for VoIP and mobile call testing and monitoring
 
Sevana 5G Ready
Sevana 5G ReadySevana 5G Ready
Sevana 5G Ready
 
PVQA PCAP Analyzer
PVQA PCAP AnalyzerPVQA PCAP Analyzer
PVQA PCAP Analyzer
 
Messenger-to-messenger testing. Skype call quality test.
Messenger-to-messenger testing. Skype call quality test.Messenger-to-messenger testing. Skype call quality test.
Messenger-to-messenger testing. Skype call quality test.
 
Sevana QualTest
Sevana QualTestSevana QualTest
Sevana QualTest
 
Sevana real-time rtp analysis for mobile operators
Sevana real-time rtp analysis for mobile operatorsSevana real-time rtp analysis for mobile operators
Sevana real-time rtp analysis for mobile operators
 
Sevana AQuA. End-to-end drive testing technology
Sevana AQuA. End-to-end drive testing technologySevana AQuA. End-to-end drive testing technology
Sevana AQuA. End-to-end drive testing technology
 
Real time call quality analysis for mobile operators
Real time call quality analysis for mobile operatorsReal time call quality analysis for mobile operators
Real time call quality analysis for mobile operators
 
Sevana QualTest
Sevana QualTestSevana QualTest
Sevana QualTest
 
Sevana PVQA
Sevana PVQASevana PVQA
Sevana PVQA
 
Sevana PVQA Server
Sevana PVQA ServerSevana PVQA Server
Sevana PVQA Server
 
Sevana AQuA (Audio Quality Analyzer)
Sevana AQuA (Audio Quality Analyzer)Sevana AQuA (Audio Quality Analyzer)
Sevana AQuA (Audio Quality Analyzer)
 
Real-time-RTP-analysis
Real-time-RTP-analysisReal-time-RTP-analysis
Real-time-RTP-analysis
 
AQuA 7.x manual
AQuA 7.x manualAQuA 7.x manual
AQuA 7.x manual
 
Drive Testing. AQuA. PVQA.
Drive Testing. AQuA. PVQA.Drive Testing. AQuA. PVQA.
Drive Testing. AQuA. PVQA.
 
Drive-Testing-AQuA-PVQA
Drive-Testing-AQuA-PVQADrive-Testing-AQuA-PVQA
Drive-Testing-AQuA-PVQA
 
AQuA - End-to-End Drive Testing Technology (VoLTE, VoWiFi, RCS)
AQuA - End-to-End Drive Testing Technology (VoLTE, VoWiFi, RCS)AQuA - End-to-End Drive Testing Technology (VoLTE, VoWiFi, RCS)
AQuA - End-to-End Drive Testing Technology (VoLTE, VoWiFi, RCS)
 
AQuA - альтернатива PESQ (p.862) и POLQA (P.863)
AQuA - альтернатива PESQ (p.862) и POLQA (P.863)AQuA - альтернатива PESQ (p.862) и POLQA (P.863)
AQuA - альтернатива PESQ (p.862) и POLQA (P.863)
 
Sevana Audio Quality Analyzer Brochure
Sevana Audio Quality Analyzer BrochureSevana Audio Quality Analyzer Brochure
Sevana Audio Quality Analyzer Brochure
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

QualTest Host User Guide

  • 1. Copyright © Sevana Oü, 2019 Sevana Oü Roosikrantsi tn 2 Tallinna linn, Harju maakond, 10119 Estonia Phone: +3726170331 QualTest Host Document objectives. This document describes application purpose, requirements, software architecture and user operations for QualTest Host utility from Sevana Ou. Application purpose. Application purpose is to provide means to integrate QualTest GSM (QG) with desktop or Raspberry Pi (RPi). Application receives notification from QG about call events, copies recorded calls to desktop, limits time of call, runs pvqa and aqua utilities to estimate voice quality. Hardware requirements. Hardware is a typical desktop or RPi or another ARM based single board computer and a USB audio card, which won’t be necessary if you want to setup auto answering machine only. Mobile device has to be Android (KitKat at least) phone. Software requirements. Software requires desktop/ RPi side with Linux / OS X / Windows operating system. Installation is simple, one just runs provided installation and configuration scripts. Utility does not require database connection and does not use any database software itself (but can be extended with this functionality upon request). System requires ADB package from Google, which one can find at https://developer.android.com/studio/releases/platform-tools. Requirements for the mobile side: - QualTest GSM - developer mode turned on (to allow ADB) - rooted phone is optional to install QualTest GSM
  • 2. Copyright © Sevana Oü, 2019 Sevana Oü Roosikrantsi tn 2 Tallinna linn, Harju maakond, 10119 Estonia Phone: +3726170331 Operation model. QualTest Host (QH) is a utility that connects to Android phone(s) via ADB and monitors QualTest GSM events, such as incoming call, call started, call finished. For finished call the recorded file (if QualTest GSM runs as system app on rooted phone) can be copied to desktop by invoking a shell script. In other words QH is a “glue” between calls, QualTest GSM, captured audio and desktop. Using QH one can make a fully automated test system. This system will make regular test calls (e.g. every 5 minutes) to different locations, report quality and alert if something is wrong. Another use case is mobile autoresponder - QH can play audio files right to phone's headset input when receiving incoming call. Parameters list. Configuration of the utility is made from command line. Available parameters one can find in the table below: Parameter name Parameter description --output-device Output audio device name. QH will play file to this output. --input-device Input audio device name. QH will capture audio from this input. --show-devices Shows all available audio inputs and outputs. --play-file File to play. --record-file File to record from audio input. It is NOT about recordings from QualTest GSM. Usually you do not need this option. Used for special test cases only. --copy-recorded Path to directory where recorded files (from QualTest GSM) will be stored. --exec Command to execute after recorded file copied from mobile phone. -- RECORDED-- substring will be replaced with path to the copied file. --mobile-device Mobile device ID. This parameter is the phone ID. Please find it from "ADB devices" output. ID must be set, it is required value if QH has to listen notifications from Qualtest GSM.
  • 3. Copyright © Sevana Oü, 2019 Sevana Oü Roosikrantsi tn 2 Tallinna linn, Harju maakond, 10119 Estonia Phone: +3726170331 --call-timelimit Call time can be limited. QH will finish the call after specified timeout. Examples of timeout value: 10s, 5000ms, 6m, 1h. --adb-path Path to ADB executable. Default is 'adb' which will work only if it is included in PATH environment settings. It is recommended for explicit values. --daemon Run QH as daemon. --autoaccept Accepts incoming calls. Can be set “on” or “off”. Default value is “on”. --help Shows help. --devices-config Path to configuration file. File can include parameters for multiple devices/endpoints. --verbose Verbose output --test-play Forces playing of reference audio file. Duration of playing is limited by --call- timelimit parameter value. Here is an example of command to run auto answering machine (phone app is already configured to automatically answer calls): ./qualtest-host --mobile-device $DEVICE_ID --play-device "$AUDIO_OUTPUT" --adb-path $ADB_PATH -- play-file jane_8k_with_silence.wav --call-timelimit 30s Example of simple endpoint to run tests with reference audio: ./qualtest-host --mobile-device $DEVICE_ID --copy-recorded . --exec "./aqua_test.sh jane_8k.wav -- RECORDED--" Example of multiple endpoints configuration file: { "items": [ { "comments": "It is Galaxy S5", "mobile_device": "04baf426", "play_device": "USB Audio Device", "capture_device": "USB Audio Device", "play_file": "jane_8k_with_silence.wav", "record_file": "", "auto_accept": true, "time_limit": 30, "exec": "echo Hello from Galaxy S5",
  • 4. Copyright © Sevana Oü, 2019 Sevana Oü Roosikrantsi tn 2 Tallinna linn, Harju maakond, 10119 Estonia Phone: +3726170331 "copy_recorded": "copy_dir" }, { "comments": "It is Moto G5", "mobile_device": "ZY3227ZTJZ", "play_device": "USB Audio Device", "capture_device": "", "play_file": "jane_8k_with_silence.wav", "record_file": "", "auto_accept": true, "time_limit": 30, "exec": "echo Hello from Moto G5", "copy_recorded": "copy_dir" } ] } Run it with ./qualtest-host --devices-config devices.json --adp-path=<PATH TO ADB UTILITY> A possible scheme of test system setup one can find below:
  • 5. Copyright © Sevana Oü, 2019 Sevana Oü Roosikrantsi tn 2 Tallinna linn, Harju maakond, 10119 Estonia Phone: +3726170331