From 4f6e3282805a7ddb564c8a101a1a6b73e9018eef Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 9 Jul 2015 12:49:47 +0000 Subject: Re #1866: Added a test scenario of sending re-invite after a failed SDP negotiation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5130 74dad513-b988-da41-8d7b-12977e46ad98 --- .../uac-ticket-1866-reinv-after-failed-nego.py | 7 + .../uac-ticket-1866-reinv-after-failed-nego.xml | 218 +++++++++++++++++++++ 2 files changed, 225 insertions(+) create mode 100644 tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.py create mode 100644 tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.xml (limited to 'tests/pjsua') diff --git a/tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.py b/tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.py new file mode 100644 index 00000000..892499aa --- /dev/null +++ b/tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.py @@ -0,0 +1,7 @@ +# $Id$ +# +import inc_const as const + +PJSUA = ["--null-audio --max-calls=1 --dis-codec=pcma --auto-answer=200"] + +PJSUA_EXPECTS = [] diff --git a/tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.xml b/tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.xml new file mode 100644 index 00000000..57e20215 --- /dev/null +++ b/tests/pjsua/scripts-sipp/uac-ticket-1866-reinv-after-failed-nego.xml @@ -0,0 +1,218 @@ + + + + + + + + + + + + + + + + + + + + + + + + ;tag=[call_number] + To: sut + Call-ID: [call_id] + CSeq: 1 INVITE + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + v=0 + o=3cxPS 518818627584 526334820353 IN IP4 172.20.73.100 + s=3cxPS Audio call + c=IN IP4 172.20.73.100 + t=0 0 + m=audio 7016 RTP/AVP 0 + c=IN IP4 172.20.73.100 + + ]]> + + + + + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 1 ACK + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + ]]> + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 2 INVITE + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + +v=0 +o=3cxPS 518818627584 526334820353 IN IP4 172.20.73.100 +s=3cxPS Audio call +c=IN IP4 172.20.73.100 +t=0 0 +m=audio 7016 RTP/AVP 8 +c=IN IP4 172.20.73.100 + + ]]> + + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 2 ACK + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + ]]> + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 3 INVITE + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + +v=0 +o=3cxPS 518818627584 526334820353 IN IP4 172.20.73.100 +s=3cxPS Audio call +c=IN IP4 172.20.73.100 +t=0 0 +m=audio 7016 RTP/AVP 0 +c=IN IP4 172.20.73.100 + + ]]> + + + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 3 ACK + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + ]]> + + + + + + + + ;tag=[call_number] + To: sut [peer_tag_param] + Call-ID: [call_id] + CSeq: 4 BYE + Contact: + Max-Forwards: 70 + Subject: Performance Test + Content-Type: application/sdp + Content-Length: [len] + + ]]> + + + + + + + + + + + + + -- cgit v1.2.3