[asterisk-commits] mmichelson: testsuite/asterisk/trunk r3577 - in /asterisk/trunk/configs/bridg...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 14 14:41:47 CST 2012


Author: mmichelson
Date: Fri Dec 14 14:41:43 2012
New Revision: 3577

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3577
Log:
Add provisions to allow additional extensions.conf logic for bridge tests that require it.

The extensions.conf files for "Alice" and "Bob" in bridge tests now include a file
called "extensions-extra.conf". A blank version of this file is included in the central
configuration location. If a specific test requires additional global variables, extensions,
or contexts, then an extensions-extra.conf file can be added into the specific test in
order to fulfill specific needs.

This will be useful for tests such as connected line update tests, where Alice and Bob
will need to alert the test that they received connected line updates. This could also
be useful for transfer tests. You never know.


Added:
    asterisk/trunk/configs/bridge/ast2/extensions-extra.conf   (with props)
    asterisk/trunk/configs/bridge/ast3/extensions-extra.conf   (with props)
Modified:
    asterisk/trunk/configs/bridge/ast2/extensions.conf
    asterisk/trunk/configs/bridge/ast3/extensions.conf

Added: asterisk/trunk/configs/bridge/ast2/extensions-extra.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/configs/bridge/ast2/extensions-extra.conf?view=auto&rev=3577
==============================================================================
--- asterisk/trunk/configs/bridge/ast2/extensions-extra.conf (added)
+++ asterisk/trunk/configs/bridge/ast2/extensions-extra.conf Fri Dec 14 14:41:43 2012
@@ -1,0 +1,3 @@
+; This file is intentionally blank. If a specific bridge test needs to add
+; extra global variables, extensions, or contexts for a specific test, then
+; an extensions-extra.conf file can be added into test_dir/configs/ast2/

Propchange: asterisk/trunk/configs/bridge/ast2/extensions-extra.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/configs/bridge/ast2/extensions-extra.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/configs/bridge/ast2/extensions-extra.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: asterisk/trunk/configs/bridge/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/configs/bridge/ast2/extensions.conf?view=diff&rev=3577&r1=3576&r2=3577
==============================================================================
--- asterisk/trunk/configs/bridge/ast2/extensions.conf (original)
+++ asterisk/trunk/configs/bridge/ast2/extensions.conf Fri Dec 14 14:41:43 2012
@@ -1,7 +1,6 @@
 ;Alice's dialplan
 
-[global]
-CURRENT_RECORDED_FILE=none
+#include extensions-extra.conf
 
 [default]
 ; Originated call is linked to this extension

Added: asterisk/trunk/configs/bridge/ast3/extensions-extra.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/configs/bridge/ast3/extensions-extra.conf?view=auto&rev=3577
==============================================================================
--- asterisk/trunk/configs/bridge/ast3/extensions-extra.conf (added)
+++ asterisk/trunk/configs/bridge/ast3/extensions-extra.conf Fri Dec 14 14:41:43 2012
@@ -1,0 +1,3 @@
+; This file is intentionally blank. If a specific bridge test needs to add
+; extra global variables, extensions, or contexts for a specific test, then
+; an extensions-extra.conf file can be added into test_dir/configs/ast3/

Propchange: asterisk/trunk/configs/bridge/ast3/extensions-extra.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/configs/bridge/ast3/extensions-extra.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/configs/bridge/ast3/extensions-extra.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: asterisk/trunk/configs/bridge/ast3/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/configs/bridge/ast3/extensions.conf?view=diff&rev=3577&r1=3576&r2=3577
==============================================================================
--- asterisk/trunk/configs/bridge/ast3/extensions.conf (original)
+++ asterisk/trunk/configs/bridge/ast3/extensions.conf Fri Dec 14 14:41:43 2012
@@ -1,5 +1,5 @@
 ;Bob's dialplan
-
+#include extensions-extra.conf
 
 ; Incoming call comes here
 [default]




More information about the asterisk-commits mailing list