1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
<!DOCTYPE scenario SYSTEM "sipp.dtd">
4
<!-- This program is free software; you can redistribute it and/or -->
5
<!-- modify it under the terms of the GNU General Public License as -->
6
<!-- published by the Free Software Foundation; either version 2 of the -->
7
<!-- License, or (at your option) any later version. -->
9
<!-- This program is distributed in the hope that it will be useful, -->
10
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
11
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -->
12
<!-- GNU General Public License for more details. -->
14
<!-- You should have received a copy of the GNU General Public License -->
15
<!-- along with this program; if not, write to the -->
16
<!-- Free Software Foundation, Inc., -->
17
<!-- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -->
20
<scenario name="MWI server with immediate final notify">
21
<recv request="SUBSCRIBE" crlf="true">
23
<ereg regexp=".*" search_in="hdr" header="From" assign_to="3"/>
24
<ereg regexp="sip:(.*)>" search_in="hdr" header="Contact" assign_to="4,5"/>
25
<assign assign_to="4" variable="5" />
36
[last_To:];tag=[call_number]
39
Contact: <sip:sipp@[local_ip]:[local_port]>
45
<!-- initial notify is final notify -->
48
NOTIFY sip:[$5] SIP/2.0
49
Via: SIP/2.0/[transport] [local_ip]:[local_port];rport;branch=[branch]
50
From: sipp <sip:sipp@[local_ip]>;tag=[call_number]
54
Contact: sip:sipp@[local_ip]:[local_port]
56
Event: message-summary
57
Subscription-State: terminated;reason=goinghome
58
Content-Type: application/simple-message-summary
62
Voice-Message: 4/8 (1/2)
70
<pause milliseconds="5000"/>
72
<!-- definition of the response time repartition table (unit is ms) -->
73
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
75
<!-- definition of the call length repartition table (unit is ms) -->
76
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>