[asterisk-commits] file: testsuite/asterisk/trunk r4520 - in /asterisk/trunk/tests/rest_api/chan...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Dec 24 07:37:20 CST 2013


Author: file
Date: Tue Dec 24 07:37:11 2013
New Revision: 4520

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4520
Log:
Keep the channels up for a few seconds in the ARI originate test.

This ensures that the testsuite is given time to track the originated
channels.

(issue ASTERISK-22997)
Reported by: Matt Jordan

Modified:
    asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py
    asterisk/trunk/tests/rest_api/channels/originate/configs/ast1/extensions.conf

Modified: asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py?view=diff&rev=4520&r1=4519&r2=4520
==============================================================================
--- asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py (original)
+++ asterisk/trunk/tests/rest_api/channels/originate/channel_originate.py Tue Dec 24 07:37:11 2013
@@ -19,5 +19,4 @@
 
 def on_blast_start(ari, event, test_object):
     LOGGER.debug("on_blast_start(%r)" % event)
-    ari.delete('channels', event['channel']['id'])
     return True

Modified: asterisk/trunk/tests/rest_api/channels/originate/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/rest_api/channels/originate/configs/ast1/extensions.conf?view=diff&rev=4520&r1=4519&r2=4520
==============================================================================
--- asterisk/trunk/tests/rest_api/channels/originate/configs/ast1/extensions.conf (original)
+++ asterisk/trunk/tests/rest_api/channels/originate/configs/ast1/extensions.conf Tue Dec 24 07:37:11 2013
@@ -6,4 +6,5 @@
 	same => n,Hangup()
 
 exten => 1000,1,Answer
-	same => n,Wait(360)
+	same => n,Wait(5)
+	same => n,Hangup




More information about the asterisk-commits mailing list