From 1523d8e3556c4c82d76914337892ab140d4e5045 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 6 Oct 2009 13:33:21 +0000 Subject: Ticket #964: Assertion when receiving SDP media with port 0 and without rtpmap attribute for the dynamic payload type formats (thanks Andrey Kovalenko for the report) - added SIPp scenario to test it with re-INVITE - minor: SDP parsing allow the last line without newline (required for SIPp) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2927 74dad513-b988-da41-8d7b-12977e46ad98 --- .../scripts-sipp/uac-reinvite-port-0-bad-sdp.xml | 207 +++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml (limited to 'tests') diff --git a/tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml b/tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml new file mode 100644 index 00000000..d1cc04f3 --- /dev/null +++ b/tests/pjsua/scripts-sipp/uac-reinvite-port-0-bad-sdp.xml @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + ;tag=[call_number] + To: sut + Call-ID: [call_id] + CSeq: 1 INVITE + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + v=0 + o=Tester 234 123 IN IP4 89.208.145.194 + s=Tester + c=IN IP4 89.208.145.194 + t=0 0 + m=audio 17424 RTP/AVP 111 0 18 101 + a=rtpmap:111 SPEEX/16000 + a=rtpmap:0 PCMU/8000 + a=rtpmap:18 G729/8000 + a=rtpmap:101 telephone-event/8000 + a=sendrecv + a=rtcp:17425 + m=video 11128 RTP/AVP 34 103 104 + a=rtpmap:34 H263/90000 + a=rtpmap:103 H263-1998/90000 + a=rtpmap:104 H264/90000 + a=sendrecv + a=rtcp:11129 + + ]]> + + + + + + + + + + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 1 ACK + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Subject: Performance Test + Content-Length: 0 + + ]]> + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 2 INVITE + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + v=0 + o=Tester 234 124 IN IP4 89.208.145.194 + s=Tester + c=IN IP4 89.208.145.194 + t=0 0 + m=audio 17424 RTP/AVP 111 0 18 101 + a=rtpmap:111 SPEEX/16000 + a=rtpmap:0 PCMU/8000 + a=rtpmap:18 G729/8000 + a=rtpmap:101 telephone-event/8000 + a=sendrecv + a=rtcp:17425 + m=video 0 RTP/AVP 34 103 104 + a=sendrecv + + + ]]> + + + + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 2 ACK + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Subject: Performance Test + Content-Length: 0 + + ]]> + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 3 BYE + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Subject: Performance Test + Content-Length: 0 + + ]]> + + + + + + + + + + + + + + -- cgit v1.2.3