[asterisk-commits] mmichelson: branch mmichelson/bridge-tests r3410 - in /asterisk/team/mmichels...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 7 12:49:58 CDT 2012


Author: mmichelson
Date: Tue Aug  7 12:49:54 2012
New Revision: 3410

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3410
Log:
Add a blind transfer test to the bridge test suite.


Added:
    asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/
    asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/
    asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/
    asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf   (with props)
    asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml   (with props)

Added: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf?view=auto&rev=3410
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf (added)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf Tue Aug  7 12:49:54 2012
@@ -1,0 +1,11 @@
+[default]
+
+exten => alice_blindxfer,1,Dial(SIP/test_call at bob,,Th)
+same => n,Hangup()
+
+exten => alice_blindxfer2,1,Set(BRIDGE_FEATURES=T)
+same => n,Dial(SIP/test_call at bob,,h)
+same => n,Hangup()
+
+exten => bob_blindxfer,1,Dial(SIP/test_call at bob,,tH)
+same => n,Hangup()

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml?view=auto&rev=3410
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml (added)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml Tue Aug  7 12:49:54 2012
@@ -1,0 +1,57 @@
+testinfo:
+    summary: 'Test the blind transfer feature'
+    description: |
+        'Set up a bridge between two endpoints and check that the DTMF blind transfer
+        feature is detected properly. This test does not actually attempt to complete the
+        transfer. It just checks feature detection'
+
+test-modules:
+    test-object:
+        config-section: bridge-config
+        typename: 'BridgeTestCase.BridgeTestCase'
+
+bridge-config:
+    -
+        originate_channel: 'SIP/alice_blindxfer at uut'
+        hangup: 'alice'
+        features:
+            -
+                who: 'bob'
+                what: 'blindxfer'
+                success: 'false'
+            -
+                who: 'alice'
+                what: 'blindxfer'
+                success: 'true'
+    -
+        originate_channel: 'SIP/alice_blindxfer2 at uut'
+        hangup: 'alice'
+        features:
+            -
+                who: 'bob'
+                what: 'blindxfer'
+                success: 'false'
+            -
+                who: 'alice'
+                what: 'blindxfer'
+                success: 'true'
+    -
+        originate_channel: 'SIP/bob_blindxfer at uut'
+        hangup: 'alice'
+        features:
+            -
+                who: 'alice'
+                what: 'blindxfer'
+                success: 'false'
+            -
+                who: 'bob'
+                what: 'blindxfer'
+                success: 'true'
+
+properties:
+    minversion: '11.0.0'
+    dependencies:
+        - python : 'twisted'
+        - python : 'starpy'
+    tags:
+        - bridge

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/blindxfer/test-config.yaml
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list