[asterisk-commits] mmichelson: branch mmichelson/bridge-tests r3411 - in /asterisk/team/mmichels...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 7 13:23:50 CDT 2012
Author: mmichelson
Date: Tue Aug 7 13:23:46 2012
New Revision: 3411
URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3411
Log:
Add an automon test for the automon DTMF feature.
Added:
asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/
asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/
asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/
asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf (with props)
asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml (with props)
Added: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf?view=auto&rev=3411
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf (added)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf Tue Aug 7 13:23:46 2012
@@ -1,0 +1,11 @@
+[default]
+
+exten => alice_automon,1,Dial(SIP/test_call at bob,,Wh)
+same => n,Hangup()
+
+exten => alice_automon2,1,Set(BRIDGE_FEATURES=W)
+same => n,Dial(SIP/test_call at bob,,h)
+same => n,Hangup()
+
+exten => bob_automon,1,Dial(SIP/test_call at bob,,wH)
+same => n,Hangup()
Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/configs/ast1/extensions.conf
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml?view=auto&rev=3411
==============================================================================
--- asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml (added)
+++ asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml Tue Aug 7 13:23:46 2012
@@ -1,0 +1,57 @@
+testinfo:
+ summary: 'Test the auto monitor feature'
+ description: |
+ 'Set up a bridge between two endpoints and check that the DTMF auto monitor
+ feature is detected properly. This test does not actually attempt to check the
+ validity of the recorded files. It just checks feature detection'
+
+test-modules:
+ test-object:
+ config-section: bridge-config
+ typename: 'BridgeTestCase.BridgeTestCase'
+
+bridge-config:
+ -
+ originate_channel: 'SIP/alice_automon at uut'
+ hangup: 'alice'
+ features:
+ -
+ who: 'bob'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'true'
+ -
+ originate_channel: 'SIP/alice_automon2 at uut'
+ hangup: 'alice'
+ features:
+ -
+ who: 'bob'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'true'
+ -
+ originate_channel: 'SIP/bob_automon at uut'
+ hangup: 'alice'
+ features:
+ -
+ who: 'alice'
+ what: 'automon'
+ success: 'false'
+ -
+ who: 'bob'
+ what: 'automon'
+ success: 'true'
+
+properties:
+ minversion: '11.0.0'
+ dependencies:
+ - python : 'twisted'
+ - python : 'starpy'
+ tags:
+ -
Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: asterisk/team/mmichelson/bridge-tests/tests/bridge/automon/test-config.yaml
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the asterisk-commits
mailing list