[svn-commits] mjordan: testsuite/asterisk/trunk r4361 - in /asterisk/trunk/tests/apps/voice...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Nov 23 10:06:53 CST 2013


Author: mjordan
Date: Sat Nov 23 10:06:51 2013
New Revision: 4361

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4361
Log:
check_voicemail_forward: Look for vm-msgforwarded

In r403106, app_voicemail was modified to play vm-msgforwarded instead of
vm-msgsaved. The tests now check for the correct sound file.

(issue ASTERISK-21413)

Modified:
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
    asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test?view=diff&rev=4361&r1=4360&r2=4361
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward/run-test Sat Nov 23 10:06:51 2013
@@ -195,7 +195,7 @@
             elif message == 'vm-forwardoptions':
                 """ Press 2 to not prepend anything """
                 self.voiceMailTest.sendDTMF("2")
-            elif message == 'vm-msgsaved':
+            elif message == 'vm-msgforwarded':
                 self.voiceMailTest.setTestCondition("msgForwarded", True)
             elif message == 'pbx-invalid':
                 """ If this occurs, our extension didn't match - fail the test """

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test?view=diff&rev=4361&r1=4360&r2=4361
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_hangup/run-test Sat Nov 23 10:06:51 2013
@@ -197,7 +197,7 @@
             elif message == 'beep':
                 """ Do not record anything - Hangup! """
                 self.voiceMailTest.hangup()
-            elif message == 'vm-msgsaved':
+            elif message == 'vm-msgforwarded':
                 self.voiceMailTest.setTestCondition("msgForwarded", True)
             elif message == 'pbx-invalid':
                 """ If this occurs, our extension didn't match - fail the test """

Modified: asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test?view=diff&rev=4361&r1=4360&r2=4361
==============================================================================
--- asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test (original)
+++ asterisk/trunk/tests/apps/voicemail/check_voicemail_forward_with_prepend/run-test Sat Nov 23 10:06:51 2013
@@ -206,7 +206,7 @@
                 audioFile = os.path.join(os.getcwd(), "%s/sounds/talking" % (self.voiceMailTest.testParentDir))
                 df = self.voiceMailTest.astSender.cli_exec("dialplan set global TALK_AUDIO " + audioFile)
                 df.addCallback(__send_redirect)
-            elif message == 'vm-msgsaved':
+            elif message == 'vm-msgforwarded':
                 self.voiceMailTest.setTestCondition("msgForwarded", True)
             elif message == 'pbx-invalid':
                 """ If this occurs, our extension didn't match - fail the test """




More information about the svn-commits mailing list