[svn-commits] jrose: branch group/cdr_test_log_congestion r1972 - in /asterisk/team/group/c...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Aug 26 14:41:25 CDT 2011


Author: jrose
Date: Fri Aug 26 14:41:21 2011
New Revision: 1972

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=1972
Log:
propsettings and mime-types blarg


Added:
    asterisk/team/group/cdr_test_log_congestion/   (props changed)
      - copied from r1822, asterisk/trunk/
    asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test   (with props)
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml   (with props)
Modified:
    asterisk/team/group/cdr_test_log_congestion/tests/cdr/tests.yaml

Propchange: asterisk/team/group/cdr_test_log_congestion/
------------------------------------------------------------------------------
    reviewboard:url = https://reviewboard.asterisk.org

Propchange: asterisk/team/group/cdr_test_log_congestion/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Aug 26 14:41:21 2011
@@ -1,0 +1,2 @@
+asterisk-test-suite-report.xml
+*.pyc

Propchange: asterisk/team/group/cdr_test_log_congestion/
------------------------------------------------------------------------------
    svn:mergeinfo = /asterisk/trunk:1112

Added: asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py (added)
+++ asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py Fri Aug 26 14:41:21 2011
@@ -1,0 +1,124 @@
+#!/usr/bin/env python
+"""
+Copyright (C) 2011, Digium Inc.
+Jonathan Rose <jrose at digium.com>
+
+This program is free software, distributed under the terms of
+the GNU General Public License Version 2.
+"""
+
+import sys
+from twisted.internet import reactor
+
+sys.path.append("lib/python")
+from asterisk import Asterisk
+from TestCase import TestCase
+from cdr import AsteriskCSVCDR, AsteriskCSVCDRLine
+
+class CDRTestCase(TestCase):
+    """
+    CDRTestCase is a subclass of the Asterisk TestCase intended to make tests involving CDR files easier.
+
+    This test is used like the regular TestCase class, but includes additional functions for loading an
+    expectation list by asterisk index and AsteriskCSVCDRLine as well as for matching against all
+    CDRLineExpectations currently held by the class.
+
+    This class has a function, end(self) which can be overriden and used for any end of test evaluation.
+    Most commonly this will probably be used to analyze the CDR file and check for pass and failure
+    conditions.
+    """
+
+    #2D array for storing CDR Expectations:
+    #index - ast to check against
+    #col 1 - Asterisk instance index (starting with 0)
+    #col 2 - AsteriskCSVCDRLine that goes with ast
+    CDRLineExpectations = []
+
+
+    def add_expectation(self, cdrline, astIndex):
+        """Add an expectation to the expectation list
+
+        Keyword Arguments:
+        cdrline -- AsteriskCSVCDRLine for an expected element of the cdr
+        astIndex -- int value for the asterisk instance that cdrline should be bound to
+
+        Example Usage:
+        self.add_expectation(AsteriskCSVCDRLine(accountcode="",
+            source="", destination="s", dcontext="default", callerid="",
+            channel="SIP/test-00000000", disposition="CONGESTION",
+            amaflags="DOCUMENTATION"), 0)
+        """
+        self.CDRLineExpectations.append([astIndex, cdrline])
+        pass
+
+
+    def match_cdrs(self):
+        """Test for Asterisk instances having CDR records that match their expectations
+
+        Returns:
+        boolean indicating match or mismatch
+
+        Example Usage:
+        does_match = self.match_cdrs()
+        """
+
+        print "Attempting to match cdrs, note that this function is expected to produce file and type errors."
+        all_pass = True
+        for astnum, astTest in enumerate(self.ast):
+            #We'll store the cdrlines for an individual instance of Asterisk in here
+            records = []
+
+            #Build records with just the cdrlines that belong to this instance of Asterisk
+            for count, cdrline in enumerate(self.CDRLineExpectations):
+                if cdrline[0] == astnum:
+                    records.append(cdrline[1])
+
+            #Now make a cdr from records and load the cdr from the ast instance
+            cdr_expect = AsteriskCSVCDR(records=records)
+            cdr_file = AsteriskCSVCDR(fn="%s/%s/cdr-csv/Master.csv" % (astTest.base, astTest.directories['astlogdir']))
+
+            print "length of cdr expected - %d" % len(cdr_expect)
+            print "length of cdr produced - %d" % len(cdr_file)
+
+            #Now match test the match:
+            if cdr_expect.match(cdr_file):
+                print "match on %s" % astTest.base
+            else:
+                print "mismatch on %s" % astTest.base
+                all_pass = False
+
+        return all_pass
+
+
+    def stop_reactor(self):
+        """Overrides TestCase stop_reactor in order to add end(self) function
+        This works as the normal stop_reactor function, but will run end(self) when finished.
+
+        Example Usage:
+        self.stop_reactor()
+        """
+        if (reactor.running):
+            print "Stopping Reactor ... :<"
+            reactor.stop()
+            self.end()
+        self.stop_asterisk()
+        pass
+
+
+    def end(self):
+        """End of test function
+        By default, this test will set the success or failure of a CDRTestCase strictly by
+        whether or not the CDRs match the expectations.
+
+        This function can be overridden in specific CDRTestCases in order to avoid this
+        simplistic pass/fail evaluation
+
+        This function probably shouldn't be deliberately invoked within a specific test.
+        """
+        print "End Test"
+        self.passed = self.match_cdrs()
+
+        if self.passed:
+            print "All CDRs matched as expected."
+        else:
+            print "There were CDR mismatches."

Propchange: asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py
------------------------------------------------------------------------------
    svn:executable = *

Propchange: asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/lib/python/asterisk/CDRTestCase.py
------------------------------------------------------------------------------
    svn:mime-type = text/x-python

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf Fri Aug 26 14:41:21 2011
@@ -1,0 +1,10 @@
+[general]
+enable=yes
+unanswered=yes
+congestion=yes
+
+[csv]
+usegmtime=yes    ; log date/time in GMT.  Default is "no"
+loguniqueid=yes  ; log uniqueid.  Default is "no"
+loguserfield=yes ; log user field.  Default is "no"
+accountlogs=yes

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/cdr.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf Fri Aug 26 14:41:21 2011
@@ -1,0 +1,10 @@
+[general]
+writeprotect=no
+clearglobalvars=no
+
+[globals]
+
+[default]
+exten => 1,1,Answer()
+exten => 1,2,Background(tt-weasels)
+exten => 1,n,GoTo(2)

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc Fri Aug 26 14:41:21 2011
@@ -1,0 +1,3 @@
+enabled = yes
+port = 5038
+bindaddr = 127.0.0.1

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.general.conf.inc
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc Fri Aug 26 14:41:21 2011
@@ -1,0 +1,4 @@
+[user]
+secret = mysecret
+read = system,call,log,user,cdr
+write = system,call,user,command,originate

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/manager.users.conf.inc
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf Fri Aug 26 14:41:21 2011
@@ -1,0 +1,11 @@
+[general]
+context=default
+udpbindaddr=127.0.0.1:5065
+directmedia=no
+disallow=all
+allow=ulaw
+
+[test]
+type=peer
+host=127.0.0.2
+port=5070

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf Fri Aug 26 14:41:21 2011
@@ -1,0 +1,6 @@
+[general]
+enable=no
+unanswered = no
+congestion = no
+
+[csv]

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/cdr.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf Fri Aug 26 14:41:21 2011
@@ -1,0 +1,10 @@
+[general]
+writeprotect=no
+clearglobalvars=no
+
+[globals]
+
+[default]
+exten => 1,1,Congestion
+;exten => 1,1,Answer()
+exten => 1,n,Hangup

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf Fri Aug 26 14:41:21 2011
@@ -1,0 +1,3 @@
+[general]
+context=default
+udpbindaddr=127.0.0.2:5070

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test Fri Aug 26 14:41:21 2011
@@ -1,0 +1,60 @@
+#!/usr/bin/env python
+"""
+Copyright (C) 2011, Digium, Inc.
+Jonathan Rose <jrose at digium.com>
+
+This program is free software, distributed under the terms of
+the GNU General Public License Version 2.
+"""
+
+import sys
+sys.path.append("lib/python")
+from asterisk.CDRTestCase import CDRTestCase
+from asterisk.asterisk import Asterisk
+from asterisk.cdr import AsteriskCSVCDR, AsteriskCSVCDRLine
+from twisted.internet import reactor
+
+workingdir = "/tmp/asterisk-testsuite/cdr_originate_sip_congestion_log"
+testdir = "tests/cdr/cdr_originate_sip_congestion_log"
+
+class CDRCongestionLogTest(CDRTestCase):
+    def __init__(self, argv):
+        CDRTestCase.__init__(self, argv)
+
+        #This test doesn't need more than a few seconds to confirm proper running behavior
+        self.reactor_timeout = 20
+
+        self.create_asterisk(2)
+
+        #Add Expectation - ast[0] should have a single call record ending in congestion
+        self.add_expectation(AsteriskCSVCDRLine(accountcode="",
+            source="", destination="s", dcontext="default", callerid="",
+            channel="SIP/test-00000000", disposition="CONGESTION",
+            amaflags="DOCUMENTATION"), 0)
+
+        print "Expectations Set"
+
+    def run(self):
+        CDRTestCase.run(self)
+        self.create_ami_factory(1, "user", "mysecret")
+
+    def ami_connect(self, ami):
+        CDRTestCase.ami_connect(self, ami)
+        print "originating SIP call on peer 'test'.  This originate is expected to fail due to congestion."
+        ami.originate(channel = "SIP/test/1", context = "default", exten = "1", priority = "1")
+
+def main(argv=None):
+    if argv is None:
+        argv = sys.argv
+    test = CDRCongestionLogTest(argv)
+    test.start_asterisk()
+    reactor.run() #CDRTestCase will perform Asterisk_close on reactor.stop()
+
+    if (test.passed):
+        print "SUCCESS"
+        return 0
+    print "FAILURE"
+    return 1
+
+if __name__ == '__main__':
+    sys.exit(main())

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test
------------------------------------------------------------------------------
    svn:executable = *

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test
------------------------------------------------------------------------------
    svn:keywords = jrose 8/26

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/run-test
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml?view=auto&rev=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml (added)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml Fri Aug 26 14:41:21 2011
@@ -1,0 +1,12 @@
+testinfo:
+    summary: CLI exec console dial which dials via SIP which returns congestion
+    description: |
+        'One Asterisk instance with console dial calls another instance via SIP.
+        the other instance returns congestion and the CDRs are tested for expected
+        behavior.'
+
+properties:
+    minversion: '11.0'
+    dependencies:
+        - python : 'twisted'
+        - python : 'starpy'

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Rev URL"

Propchange: asterisk/team/group/cdr_test_log_congestion/tests/cdr/cdr_originate_sip_congestion_log/test-config.yaml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: asterisk/team/group/cdr_test_log_congestion/tests/cdr/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/group/cdr_test_log_congestion/tests/cdr/tests.yaml?view=diff&rev=1972&r1=1822&r2=1972
==============================================================================
--- asterisk/team/group/cdr_test_log_congestion/tests/cdr/tests.yaml (original)
+++ asterisk/team/group/cdr_test_log_congestion/tests/cdr/tests.yaml Fri Aug 26 14:41:21 2011
@@ -3,6 +3,7 @@
     - test: 'console_dial_sip_answer'
     - test: 'console_dial_sip_busy'
     - test: 'console_dial_sip_congestion'
+    - test: 'cdr_originate_sip_congestion_log'
     - test: 'console_dial_sip_transfer'
     - test: 'console_fork_after_busy_forward'
     - test: 'console_fork_before_dial'




More information about the svn-commits mailing list