[asterisk-bugs] [JIRA] (ASTERISK-24030) testsuite: Write a test that verifies the StopMixMonitor/MuteMixMonitor AMI action
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Fri Jul 11 12:46:59 CDT 2014
Matt Jordan created ASTERISK-24030:
--------------------------------------
Summary: testsuite: Write a test that verifies the StopMixMonitor/MuteMixMonitor AMI action
Key: ASTERISK-24030
URL: https://issues.asterisk.org/jira/browse/ASTERISK-24030
Project: Asterisk
Issue Type: Improvement
Security Level: None
Components: Tests/testsuite
Reporter: Matt Jordan
Write tests for the following:
h3. Test One - AMI MixMonitor
* Spawns a Local channel. Answer the Local channel and begin playback of a sufficiently long file (tt-monkeys, or something similar)
* Upon the Local channel being answered, use an AMIEventInstance callback to call into python. Use the AMI [MixMonitor|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_MixMonitor] action to start recording the channel.
* When the Local channel finishes recording, use the new sound file recording pluggable module to verify that a sound file was recorded (has energy), and that it is of an approximate size that we would expect.
h3. Test Two - AMI MixMonitor + StopMixMonitor
* Do the same thing as the MixMonitor test, *except*:
* After 4 seconds, use the [StopMixMonitor|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_StopMixMonitor] AMI action to stop the recording
* Verify that a sound file is left, has energy, and is of the correct approximate size
h3. Test Three - AMI MixMonitor + MixMonitorMute
* Do the same thing as the MixMonitor test, *except*:
* Immediately use the [MixMonitorMute|https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_MixMonitorMute] AMI action to kill all audio going to the mix monitor
* Verify that a file exists, but has no energy in it
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list