[svn-commits] file: testsuite/asterisk/trunk r4828 - in /asterisk/trunk/tests/channels/pjsi...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Mar 10 07:58:46 CDT 2014


Author: file
Date: Mon Mar 10 07:58:39 2014
New Revision: 4828

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4828
Log:
Add test for outgoing qualify from res_pjsip.

Added:
    asterisk/trunk/tests/channels/pjsip/qualify/
    asterisk/trunk/tests/channels/pjsip/qualify/configs/
    asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/
    asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf   (with props)
    asterisk/trunk/tests/channels/pjsip/qualify/sipp/
    asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml   (with props)
    asterisk/trunk/tests/channels/pjsip/qualify/test-config.yaml   (with props)
Modified:
    asterisk/trunk/tests/channels/pjsip/tests.yaml

Added: asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf?view=auto&rev=4828
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf (added)
+++ asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf Mon Mar 10 07:58:39 2014
@@ -1,0 +1,13 @@
+[mytransport]
+type=transport
+protocol=udp
+bind=127.0.0.1:5060
+
+[sipp]
+type=endpoint
+aors=sipp
+
+[sipp]
+type=aor
+contact=sip:127.0.0.1:5061
+qualify_frequency=1

Propchange: asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/pjsip/qualify/configs/ast1/pjsip.conf
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml?view=auto&rev=4828
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml (added)
+++ asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml Mon Mar 10 07:58:39 2014
@@ -1,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE scenario SYSTEM "sipp.dtd">
+
+<scenario name="UAS OPTIONS">
+    <recv request="OPTIONS"/>
+
+  <send>
+    <![CDATA[
+
+      SIP/2.0 401 Unauthorized
+      [last_Via:]
+      [last_From:]
+      [last_To:]
+      [last_Call-ID:]
+      [last_CSeq:]
+      Contact: <sip:bob@[local_ip]:[local_port];transport=[transport]>
+      Content-Length: 0
+    ]]>
+  </send>
+
+</scenario>

Propchange: asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: asterisk/trunk/tests/channels/pjsip/qualify/sipp/options.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: asterisk/trunk/tests/channels/pjsip/qualify/test-config.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/qualify/test-config.yaml?view=auto&rev=4828
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/qualify/test-config.yaml (added)
+++ asterisk/trunk/tests/channels/pjsip/qualify/test-config.yaml Mon Mar 10 07:58:39 2014
@@ -1,0 +1,25 @@
+testinfo:
+    summary:     'Test outbound qualify handling'
+    description: |
+        'Send OPTIONS to a SIPp instance and confirm no crash occurs when challenged
+         for authentication'
+
+test-modules:
+    test-object:
+        config-section: test-object-config
+        typename: 'sipp.SIPpTestCase'
+
+test-object-config:
+    test-iterations:
+        -
+            scenarios:
+                - { 'key-args': {'scenario': 'options.xml', '-i': '127.0.0.1', '-p': '5061'} }
+
+properties:
+    minversion: '12.0.0'
+    dependencies:
+        - sipp :
+            version : 'v3.0'
+        - asterisk : 'res_pjsip'
+    tags:
+        - pjsip

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

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

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

Modified: asterisk/trunk/tests/channels/pjsip/tests.yaml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/channels/pjsip/tests.yaml?view=diff&rev=4828&r1=4827&r2=4828
==============================================================================
--- asterisk/trunk/tests/channels/pjsip/tests.yaml (original)
+++ asterisk/trunk/tests/channels/pjsip/tests.yaml Mon Mar 10 07:58:39 2014
@@ -21,3 +21,5 @@
     - test: 'mwi'
     - test: 'mwi_aggregate'
     - test: 'refer_send_to_vm'
+    - test: 'qualify'
+




More information about the svn-commits mailing list