SlideShare a Scribd company logo
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

PPT
01c. Starting A Router
PDF
Tems investigation 16.0 user's manual
PPT
Chapter 07
PDF
Hp0 y39 question answers
PPT
Ciso 4 ospf
TXT
Ak13 upgrade
PDF
2003 Command Line
PPTX
VeaMea Configurations
01c. Starting A Router
Tems investigation 16.0 user's manual
Chapter 07
Hp0 y39 question answers
Ciso 4 ospf
Ak13 upgrade
2003 Command Line
VeaMea Configurations

What's hot (20)

PDF
PDF
User manual-ip10 mp
PDF
March 2014 CMUG Minutes
DOC
Router commands
DOCX
Project Report - Lighting Control via Bluetooth using Android
PDF
Ccna voice study summary 460
PDF
XPDDS18: EPT-Based Sub-page Write Protection On Xenc - Yi Zhang, Intel
DOC
Cisco router command configuration overview
DOC
Configuring the Device as a PPPoE Client on Huawei AR1200
PDF
Dvb Pc Tv Stars Pci Usb Faq
PPTX
What is Bootloader???
PPT
IPTABLES
PDF
Cisco commands List for Beginners (CCNA, CCNP)
PDF
The bryant advantage 150 commands
PDF
Embedded Applications
PDF
Simple virtual office PBX with TekSIP
PDF
Cisco CCENT Cram Notes
PDF
Memcache as udp traffic reflector
PDF
Introduction to firewalls through Iptables
User manual-ip10 mp
March 2014 CMUG Minutes
Router commands
Project Report - Lighting Control via Bluetooth using Android
Ccna voice study summary 460
XPDDS18: EPT-Based Sub-page Write Protection On Xenc - Yi Zhang, Intel
Cisco router command configuration overview
Configuring the Device as a PPPoE Client on Huawei AR1200
Dvb Pc Tv Stars Pci Usb Faq
What is Bootloader???
IPTABLES
Cisco commands List for Beginners (CCNA, CCNP)
The bryant advantage 150 commands
Embedded Applications
Simple virtual office PBX with TekSIP
Cisco CCENT Cram Notes
Memcache as udp traffic reflector
Introduction to firewalls through Iptables
Ad

Similar to QualTest Host User Guide (20)

PDF
QualTest GSM User Guide
PDF
QualTest SIP User guide
PDF
Huawei GGSN 9811 software management
PDF
Configuration Firewalld On CentOS 8
PPT
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
PDF
Sevana VQM Administration Manual
PDF
User manual of n280
PDF
Embedded Android
PDF
Centralized Fog Server with OpenLDAP
DOCX
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
PPTX
Node-H Femtocell Management
PDF
ESM High Availability Module User's Guide
PDF
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
PDF
Oracle (Sun) Server hardware Open Boot PROM quick reference
DOCX
Backtrack Manual Part4
PDF
PDF
PDF
SIPob Manual
PDF
Linux Desktop Automation
PDF
Embedded Android : System Development - Part IV
QualTest GSM User Guide
QualTest SIP User guide
Huawei GGSN 9811 software management
Configuration Firewalld On CentOS 8
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
Sevana VQM Administration Manual
User manual of n280
Embedded Android
Centralized Fog Server with OpenLDAP
INFA 620Laboratory 4 Configuring a FirewallIn this exercise.docx
Node-H Femtocell Management
ESM High Availability Module User's Guide
Device Abstraction in OSGi Based Embedded Systems - Dimitar Valtchev
Oracle (Sun) Server hardware Open Boot PROM quick reference
Backtrack Manual Part4
SIPob Manual
Linux Desktop Automation
Embedded Android : System Development - Part IV
Ad

More from Sevana Oü (20)

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

Recently uploaded (20)

PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
cuic standard and advanced reporting.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Spectroscopy.pptx food analysis technology
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
sap open course for s4hana steps from ECC to s4
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Review of recent advances in non-invasive hemoglobin estimation
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Unlocking AI with Model Context Protocol (MCP)
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
cuic standard and advanced reporting.pdf
The AUB Centre for AI in Media Proposal.docx
Spectroscopy.pptx food analysis technology
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

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