From 7e2a92f69ec23e30e9c7714cb397e28c0c5d31ba Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 30 Jun 2009 13:47:44 +0000 Subject: Ticket #911: Crash when receiving NOTIFY after subscription is terminated (thanks Johan Lantz for the report) - fixed the bug by not processing the NOTIFY if the subscription is already terminated - also added SIPp scenario to reproduce the bug git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2822 74dad513-b988-da41-8d7b-12977e46ad98 --- .../scripts-sipp/uas-subscribe-late-notify.xml | 152 +++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml (limited to 'tests/pjsua') diff --git a/tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml b/tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml new file mode 100644 index 00000000..918a382d --- /dev/null +++ b/tests/pjsua/scripts-sipp/uas-subscribe-late-notify.xml @@ -0,0 +1,152 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Content-Length: 0 + Expires: 60 + ]]> + + + + ;tag=[call_number] + To[$3] + Call-ID: [call_id] + Cseq: 1 NOTIFY + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Event: presence + Subscription-State: active;expires=50 + Content-Type: application/pidf+xml + + + + + + open + + + closed + + active + + org.openmobilealliance:PoC-session + 1.0 + + + + ]]> + + + + + + + + + + + + Content-Length: 0 + Expires: 60 + ]]> + + + + + + + + ;tag=[call_number] + To[$3] + Call-ID: [call_id] + Cseq: 2 NOTIFY + Contact: sip:sipp@[local_ip]:[local_port] + Max-Forwards: 70 + Event: presence + Subscription-State: terminated;reason=timeout + Content-Length: 0 + ]]> + + + + + + + + + + + + + + -- cgit v1.2.3