Skip to content
/ .. / .. /
Speech Channel Monitoring...





Speech Channel Monitoring (with Audio Boxes)

These Step Details check that a connection has been established between two phones and that they can hear each other. Additionally, frequencies emitted by each Speech Channel Module can be specified. To use these Step Details, the Speech Channel Module must be configured.

When using these Step Details, the phone's speaker volume should be adjusted to a high enough level so that sound emitted by a Speech Channel Module can be recognized.

Monitor the Speech Channels Without Frequency Settings

Monitors the speech channels without specifying a frequency setting.

Important! When using speech channel modules Step Details, two phones must be addressed and both must have speech channel modules.

Syntax/Example

1
  * monitor the speech channels with legacy modules

Monitor the Speech Channels Using Frequency Settings

Monitors the speech channels with a specified frequency setting.

Syntax

1
  * monitor the speech channels with legacy modules using frequency setting <frequencySetting Number>

Parameter

  • frequencySetting - The frequency setting that specifies the pitch emitted from each phone's Speech Channel Module
    • This number must be set between 0 to 5

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Feature: Speech Channel Monitoring
  Scenario Outline: monitor speech channels between A and B

    Given a phone as A:
    * of type Android
    * with a SpeechChannelModule

    And a phone as B:
    * of type Android
    * with a SpeechChannelModule

    Then A starts a call to B as MYCALL:
    * monitor the speech channels using frequency setting 3
    * detect incoming call within 30 seconds
    * caller connects within 2 seconds
    * callee connects within 5 seconds
    * call duration is 20 seconds

    Then expect the call MYCALL to connect
    Then after 5 seconds, A mutes its microphone
    Then after 5 seconds, A unmutes its microphone
    Then expect the call MYCALL to disconnect
    And wait for 3 seconds

    Then verify MYCALL.speechChannel("A", "B").getNumberOfInterruptions() == 1
    Then verify MYCALL.speechChannel("B", "A").getNumberOfInterruptions() == 0

Frequency Settings

Each phone is capable of using one of four different frequencies ranging from f0 to f3. The higher the number, the higher the pitch. Two of the same frequencies cannot be used at the same time. Therefore, a frequency setting invokes a configuration ID that holds one of the 6 available pitch combinations.

Frequency Setting ID Frequency on SpeechChannelModule of phone A Frequency on SpeechChannelModule of phone B
0 f0 f1
1 f0 f2
2 f0 f3
3 f1 f2
4 f1 f3
5 f2 f3