[asterisk-commits] kmoore: testsuite/asterisk/trunk r3219 - in /asterisk/trunk/tests/channels/SI...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 14 14:50:47 CDT 2012


Author: kmoore
Date: Mon May 14 14:50:35 2012
New Revision: 3219

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3219
Log:
Add tests for SIP_CAUSE and HANGUPCAUSE

Both tests check the non-hash HANGUPCAUSE variable to ensure that no namespace
collision occurs and include tests for single channel dials, branched dials,
and local channel indirected branched dials.

Review: https://reviewboard.asterisk.org/r/1832/

Added:
    asterisk/trunk/tests/channels/SIP/hangupcause/
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf   (with props)
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf   (with props)
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf   (with props)
    asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf   (with props)
    asterisk/trunk/tests/channels/SIP/hangupcause/run-test   (with props)
    asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml   (with props)
    asterisk/trunk/tests/channels/SIP/sip_cause/
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf   (with props)
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf   (with props)
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf   (with props)
    asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf   (with props)
    asterisk/trunk/tests/channels/SIP/sip_cause/run-test   (with props)
    asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml   (with props)
Modified:
    asterisk/trunk/tests/channels/SIP/tests.yaml

Added: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf (added)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,17 @@
+[alice-incoming]
+exten => s,1,NoOp()
+exten => s,n,Congestion()
+
+[dpwait]
+exten => 1234,1,Noop()
+exten => 1234,n,Answer()
+exten => 1234,n,Echo()
+
+[bob-incoming]
+exten => s,1,NoOp()
+exten => s,n,Wait(1)
+exten => s,n,Busy()
+
+[dial-alice]
+exten => _X.,1,Answer()
+exten => _X.,n,Dial(sip/alice/${EXTEN})

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf (added)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,19 @@
+[general]
+udpbindaddr = 127.0.0.1
+
+[alice]
+type = friend
+fromuser = alice
+host = 127.0.0.2
+context=alice-incoming
+qualify = no
+insecure = invite
+
+[bob]
+type = friend
+fromuser = bob
+context = bob-incoming
+host = 127.0.0.2
+qualify = no
+insecure = invite
+

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf (added)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,19 @@
+[to-bob]
+exten => 1111,1,Set(TEST=single)
+exten => 1111,2,Dial(sip/alice)
+
+exten => 2222,1,Set(TEST=double)
+exten => 2222,2,Dial(sip/bob&sip/alice)
+
+exten => 3333,1,Set(TEST=local)
+exten => 3333,2,Dial(local/3333 at isolated)
+
+exten => h,1,Set(ARRAY(C1,C2)=${HASHKEYS(HANGUPCAUSE)})
+exten => h,2,UserEvent(HUCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(HANGUPCAUSE,${C1})},res2: ${HASH(HANGUPCAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
+
+[isolated]
+exten => 3333,1,Dial(sip/bob&sip/alice)
+
+[dpwait]
+exten => 1234,1,Answer()
+exten => 1234,n,Echo()

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf (added)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,19 @@
+[general]
+limitonpeers=yes
+udpbindaddr = 127.0.0.2
+
+[alice]
+type = friend
+context = to-bob
+host = 127.0.0.1
+qualify = no
+insecure = invite
+
+[bob]
+type = friend
+fromuser = bob
+context = bob-in
+host = 127.0.0.1
+qualify = no
+insecure = invite
+

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/hangupcause/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/run-test?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/run-test (added)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/run-test Mon May 14 14:50:35 2012
@@ -1,0 +1,93 @@
+#!/usr/bin/env python
+'''
+Copyright (C) 2012, Digium, Inc.
+Kinsey Moore <kmoore at digium.com>
+
+This program is free software, distributed under the terms of
+the GNU General Public License Version 2.
+'''
+
+import sys
+import logging
+
+from twisted.internet import reactor
+
+sys.path.append("lib/python")
+from asterisk.asterisk import Asterisk
+from asterisk.TestCase import TestCase
+
+logger = logging.getLogger(__name__)
+
+class HUCTest(TestCase):
+    def __init__(self):
+        TestCase.__init__(self)
+        self.create_asterisk(2)
+        self.event_count = 0
+        self.success_count = 0
+
+    def ami_connect(self, ami):
+        if ami.id == 0:
+            logger.info("Initiating three test calls for single, branched, and local with branched")
+            self.ami[0].originate("local/1111 at dial-alice", "dpwait", "1234", 1).addErrback(self.handleOriginateFailure)
+            self.ami[0].originate("local/2222 at dial-alice", "dpwait", "1234", 1).addErrback(self.handleOriginateFailure)
+            self.ami[0].originate("local/3333 at dial-alice", "dpwait", "1234", 1).addErrback(self.handleOriginateFailure)
+        else:
+            self.ami[1].registerEvent('UserEvent', self.huc_callback)
+
+    def huc_callback(self, ami, event):
+        if event['userevent'] != 'HUCStatus':
+            return
+
+        self.event_count += 1
+        error = 0
+
+        def res_good(chan, res):
+            if event['chan1'].find("alice") != -1:
+                if event['res1'].find('SIP 503') == -1:
+                    return False
+            else:
+                if event['res1'].find('SIP 486') == -1:
+                    return False
+            return True
+
+        if res_good(event['chan1'], event['res1']):
+            if event['status'] == "single":
+                logger.info("got result for single channel call")
+                if event['hangupcause'] == '34':
+                    self.success_count += 1
+            elif event ['status'] == "double":
+                logger.info("got result for branched call")
+                if event['hangupcause'] == '17' and\
+                        res_good(event['chan2'], event['res2']):
+                    self.success_count += 1
+            elif event ['status'] == "local":
+                logger.info("got result for local-indirected branched call")
+                if event['hangupcause'] == '0' and\
+                        res_good(event['chan2'], event['res2']):
+                    self.success_count += 1
+
+        self.are_we_there_yet()
+
+    def are_we_there_yet(self):
+        if self.event_count >= 3:
+            if self.success_count == 3:
+                self.passed = True
+            self.stop_reactor()
+
+    def run(self):
+        TestCase.run(self)
+        self.create_ami_factory(2)
+
+
+def main():
+    test = HUCTest()
+    reactor.run()
+
+    if not test.passed:
+        return 1
+
+    return 0
+
+if __name__ == "__main__":
+    sys.exit(main() or 0)
+

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/run-test
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/run-test
------------------------------------------------------------------------------
    svn:executable = *

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/run-test
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/run-test
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml (added)
+++ asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml Mon May 14 14:50:35 2012
@@ -1,0 +1,12 @@
+testinfo:
+    summary: 'Test SIP support for HANGUPCAUSE.'
+    description: 'Test generation of informational frames for usage by the HANGUPCAUSE hash feature.'
+
+properties:
+    minversion: '11'
+    dependencies:
+        - python : 'twisted'
+        - python : 'starpy'
+    tags:
+        - sip
+        - hangupcause

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/hangupcause/test-config.yaml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf (added)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,17 @@
+[alice-incoming]
+exten => s,1,NoOp()
+exten => s,n,Congestion()
+
+[dpwait]
+exten => 1234,1,NoOp()
+exten => 1234,n,Answer()
+exten => 1234,n,Echo()
+
+[bob-incoming]
+exten => s,1,NoOp()
+exten => s,n,Wait(1)
+exten => s,n,Busy()
+
+[dial-alice]
+exten => _X.,1,Answer()
+exten => _X.,n,Dial(sip/alice/${EXTEN})

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf (added)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,19 @@
+[general]
+udpbindaddr = 127.0.0.1
+
+[alice]
+type = friend
+fromuser = alice
+host = 127.0.0.2
+context=alice-incoming
+qualify = no
+insecure = invite
+
+[bob]
+type = friend
+fromuser = bob
+context = bob-incoming
+host = 127.0.0.2
+qualify = no
+insecure = invite
+

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast1/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf (added)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,19 @@
+[to-bob]
+exten => 1111,1,Set(TEST=single)
+exten => 1111,2,Dial(sip/alice)
+
+exten => 2222,1,Set(TEST=double)
+exten => 2222,2,Dial(sip/bob&sip/alice)
+
+exten => 3333,1,Set(TEST=local)
+exten => 3333,2,Dial(local/3333 at isolated)
+
+exten => h,1,Set(ARRAY(C1,C2)=${HASHKEYS(SIP_CAUSE)})
+exten => h,2,UserEvent(SCStatus,status: ${TEST},chan1: ${C1},chan2: ${C2},res1: ${HASH(SIP_CAUSE,${C1})},res2: ${HASH(SIP_CAUSE,${C2})},hangupcause: ${HANGUPCAUSE})
+
+[isolated]
+exten => 3333,1,Dial(sip/bob&sip/alice)
+
+[dpwait]
+exten => 1234,1,Answer()
+exten => 1234,n,Echo()

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/extensions.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf (added)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf Mon May 14 14:50:35 2012
@@ -1,0 +1,19 @@
+[general]
+limitonpeers=yes
+udpbindaddr = 127.0.0.2
+storesipcause=yes
+
+[alice]
+type = friend
+context = to-bob
+host = 127.0.0.1
+qualify = no
+insecure = invite
+
+[bob]
+type = friend
+fromuser = bob
+context = bob-in
+host = 127.0.0.1
+qualify = no
+insecure = invite

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/configs/ast2/sip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/sip_cause/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/run-test?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/run-test (added)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/run-test Mon May 14 14:50:35 2012
@@ -1,0 +1,93 @@
+#!/usr/bin/env python
+'''
+Copyright (C) 2012, Digium, Inc.
+Kinsey Moore <kmoore at digium.com>
+
+This program is free software, distributed under the terms of
+the GNU General Public License Version 2.
+'''
+
+import sys
+import logging
+
+from twisted.internet import reactor
+
+sys.path.append("lib/python")
+from asterisk.asterisk import Asterisk
+from asterisk.TestCase import TestCase
+
+logger = logging.getLogger(__name__)
+
+class SCTest(TestCase):
+    def __init__(self):
+        TestCase.__init__(self)
+        self.create_asterisk(2)
+        self.event_count = 0
+        self.success_count = 0
+
+    def ami_connect(self, ami):
+        if ami.id == 0:
+            logger.info("Initiating three test calls for single, branched, and local with branched")
+            self.ami[0].originate("local/1111 at dial-alice", "dpwait", "1234", 1).addErrback(self.handleOriginateFailure)
+            self.ami[0].originate("local/2222 at dial-alice", "dpwait", "1234", 1).addErrback(self.handleOriginateFailure)
+            self.ami[0].originate("local/3333 at dial-alice", "dpwait", "1234", 1).addErrback(self.handleOriginateFailure)
+        else:
+            self.ami[1].registerEvent('UserEvent', self.sc_callback)
+
+    def sc_callback(self, ami, event):
+        if event['userevent'] != 'SCStatus':
+            return
+
+        self.event_count += 1
+        error = 0
+
+        def res_good(chan, res):
+            if event['chan1'].find("alice") != -1:
+                if event['res1'].find('SIP 503') == -1:
+                    return False
+            else:
+                if event['res1'].find('SIP 486') == -1:
+                    return False
+            return True
+
+        if res_good(event['chan1'], event['res1']):
+            if event['status'] == "single":
+                logger.info("got result for single channel call")
+                if event['hangupcause'] == '34':
+                    self.success_count += 1
+            elif event ['status'] == "double":
+                logger.info("got result for branched call")
+                if event['hangupcause'] == '17' and\
+                        res_good(event['chan2'], event['res2']):
+                    self.success_count += 1
+            elif event ['status'] == "local":
+                logger.info("got result for local-indirected branched call")
+                if event['hangupcause'] == '0' and\
+                        res_good(event['chan2'], event['res2']):
+                    self.success_count += 1
+
+        self.are_we_there_yet()
+
+    def are_we_there_yet(self):
+        if self.event_count >= 3:
+            if self.success_count == 3:
+                self.passed = True
+            self.stop_reactor()
+
+    def run(self):
+        TestCase.run(self)
+        self.create_ami_factory(2)
+
+
+def main():
+    test = SCTest()
+    reactor.run()
+
+    if not test.passed:
+        return 1
+
+    return 0
+
+if __name__ == "__main__":
+    sys.exit(main() or 0)
+

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/run-test
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/run-test
------------------------------------------------------------------------------
    svn:executable = *

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/run-test
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/run-test
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml?view=auto&rev=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml (added)
+++ asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml Mon May 14 14:50:35 2012
@@ -1,0 +1,12 @@
+testinfo:
+    summary: 'Test SIP support for SIP_CAUSE.'
+    description: 'Test generation of data for usage by the SIP_CAUSE hash feature.'
+
+properties:
+    minversion: '1.8'
+    dependencies:
+        - python : 'twisted'
+        - python : 'starpy'
+    tags:
+        - sip
+        - sip_cause

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/SIP/sip_cause/test-config.yaml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: asterisk/trunk/tests/channels/SIP/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/SIP/tests.yaml?view=diff&rev=3219&r1=3218&r2=3219
==============================================================================
--- asterisk/trunk/tests/channels/SIP/tests.yaml (original)
+++ asterisk/trunk/tests/channels/SIP/tests.yaml Mon May 14 14:50:35 2012
@@ -40,3 +40,5 @@
     - test: 'header_parsing'
     - test: 'use_contact_from_200'
     - test: 'generic_ccss'
+    - test: 'hangupcause'
+    - test: 'sip_cause'




More information about the asterisk-commits mailing list