From 2a3362d1b960f0533552b8cfba0c6a4fff4ba147 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 27 Apr 2009 12:50:16 +0000 Subject: Ticket #798: UAC disconnect call when receiving BYE in early state (thanks Gang Liu for the suggestion) - UAC now handles the BYE, and treat it as out-of-order disconnect request, meaning that it will disconnect the call - it will also activate timer to terminate the INVITE transaction, in case final response never arrives - added SIPp UAS scenario to test this - also added forked 200/OK response SIPp scenario, - and fixed the prack_fork.xml SIPp scenario git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98 --- tests/pjsua/scripts-sipp/prack_fork.xml | 2 +- tests/pjsua/scripts-sipp/uas-early-bye.xml | 68 +++++++++++++ tests/pjsua/scripts-sipp/uas-forked-200.xml | 143 ++++++++++++++++++++++++++++ 3 files changed, 212 insertions(+), 1 deletion(-) create mode 100644 tests/pjsua/scripts-sipp/uas-early-bye.xml create mode 100644 tests/pjsua/scripts-sipp/uas-forked-200.xml (limited to 'tests') diff --git a/tests/pjsua/scripts-sipp/prack_fork.xml b/tests/pjsua/scripts-sipp/prack_fork.xml index 71690533..6caf3220 100644 --- a/tests/pjsua/scripts-sipp/prack_fork.xml +++ b/tests/pjsua/scripts-sipp/prack_fork.xml @@ -93,7 +93,7 @@ + + + + + + + + + + + + + + + + + + + + + ;tag=[call_number] + To[$3] + Call-ID: [call_id] + Cseq: 1 BYE + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Content-Length: 0 + + ]]> + + + + + + + + + + + + + + diff --git a/tests/pjsua/scripts-sipp/uas-forked-200.xml b/tests/pjsua/scripts-sipp/uas-forked-200.xml new file mode 100644 index 00000000..229f7d89 --- /dev/null +++ b/tests/pjsua/scripts-sipp/uas-forked-200.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Content-Type: application/sdp + + v=0 + o=- 3442013205 3442013205 IN IP4 192.168.0.13 + s=pjsip + c=IN IP4 192.168.0.13 + t=0 0 + m=audio 4002 RTP/AVP 0 + a=rtpmap:0 PCMU/8000 + ]]> + + + + + + Content-Type: application/sdp + + v=0 + o=- 3442013205 3442013205 IN IP4 192.168.0.13 + s=pjsip + c=IN IP4 192.168.0.13 + t=0 0 + m=audio 4002 RTP/AVP 0 + a=rtpmap:0 PCMU/8000 + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3