[svn-commits] mjordan: testsuite/asterisk/trunk r5432 - /asterisk/trunk/tests/rest_api/reco...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 12 15:11:15 CDT 2014


Author: mjordan
Date: Tue Aug 12 15:11:05 2014
New Revision: 5432

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=5432
Log:
rest_api/recording: Check duration values during a live recording

This test verifies the various duration values returned during a recording
by ARI. It does this by originating a Local channel and recording audio
played back over the channel. One local channel half in ARI plays back 2
seconds worth of sound (tt-somethingwrong), plays two seconds worth of
silence (silence/2), and then plays the first sound again. The other local
channel half records these sounds as they are played. 

The total duration of the recorded sound file should be 6 seconds, the
talking duration should be 4 seconds, and the silence duration 2 seconds.
When this gets verified, the SoundChecker pluggable module gets called and
the sound file's size (should be around 96,000 bytes) gets verified, as well
as the sound file's energy levels using BackgroundDetect.

ASTERISK-24037
patches:
  duration.diff uploaded by cwolfe (License 6609)


Modified:
    asterisk/trunk/tests/rest_api/recording/tests.yaml

Modified: asterisk/trunk/tests/rest_api/recording/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/recording/tests.yaml?view=diff&rev=5432&r1=5431&r2=5432
==============================================================================
--- asterisk/trunk/tests/rest_api/recording/tests.yaml (original)
+++ asterisk/trunk/tests/rest_api/recording/tests.yaml Tue Aug 12 15:11:05 2014
@@ -3,4 +3,5 @@
     - test: 'file_conflicts'
     - test: 'format_unavailable'
     - test: 'nominal'
+    - test: 'duration'
     - dir: 'stored'




More information about the svn-commits mailing list