[svn-commits] mjordan: testsuite/asterisk/trunk r4240 - /asterisk/trunk/tests/cdr/cdr_prope...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Oct 1 09:41:44 CDT 2013


Author: mjordan
Date: Tue Oct  1 09:41:41 2013
New Revision: 4240

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=4240
Log:
Update blind-transfer-accountcode tests to provide SDPs in 200 responses

In r399939 (of the 1.8 branch), chan_sip was updated to reject calls that do
not ever establish a media session via an SDP. A number of tests, including
blind-transfer-accountcode, weren't doing that (since they never actually
pass media). This patch updates the SIPp scenarios to provide an SDP.

(issue ASTERISK-22424)

Modified:
    asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml
    asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call.xml

Modified: asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml?view=diff&rev=4240&r1=4239&r2=4240
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml (original)
+++ asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call-do-hangup.xml Tue Oct  1 09:41:41 2013
@@ -35,7 +35,16 @@
         [last_Call-ID:]
         [last_CSeq:]
         Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
-        Content-Length: 0
+        Content-Type: application/sdp
+        Content-Length: [len]
+
+        v=0
+        o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+        s=-
+        c=IN IP[media_ip_type] [media_ip]
+        t=0 0
+        m=audio [media_port] RTP/AVP 0
+        a=rtpmap:0 PCMU/8000
 
         ]]>
     </send>

Modified: asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call.xml
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call.xml?view=diff&rev=4240&r1=4239&r2=4240
==============================================================================
--- asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call.xml (original)
+++ asterisk/trunk/tests/cdr/cdr_properties/blind-transfer-accountcode/sipp/wait-for-call.xml Tue Oct  1 09:41:41 2013
@@ -36,7 +36,16 @@
         [last_Call-ID:]
         [last_CSeq:]
         Contact: sip:[field0 line="[$line]"]@[local_ip]:[local_port]
-        Content-Length: 0
+        Content-Length: [len]
+        Content-Type: application/sdp
+
+        v=0
+        o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
+        s=-
+        c=IN IP[media_ip_type] [media_ip]
+        t=0 0
+        m=audio [media_port] RTP/AVP 0
+        a=rtpmap:0 PCMU/8000
 
         ]]>
     </send>




More information about the svn-commits mailing list