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 -->
21
<!-- Session timer where UAS incidates support for UPDATE. -->
22
<!-- In this case, UAC will first use empty UPDATE, which we -->
23
<!-- will reply with 400. UAC MUST retry sending UPDATE with SDP. -->
25
<scenario name="Basic UAS responder">
26
<recv request="INVITE" crlf="true">
35
[last_To:];tag=[call_number]
38
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
41
Session-Expires: 90;refresher=uac
42
Content-Type: application/sdp
46
o=Some-UserAgent 68 210 IN IP4 [local_ip]
50
m=audio 17294 RTP/AVP 0 101
52
a=rtpmap:101 telephone-event/8000
63
<recv request="UPDATE" crlf="true">
69
SIP/2.0 400 Want SDP Body
72
[last_To:];tag=[call_number]
75
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
78
Session-Expires: 90;refresher=uac
83
<recv request="UPDATE" crlf="true">
92
[last_To:];tag=[call_number]
95
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
98
Session-Expires: 90;refresher=uac
99
Content-Type: application/sdp
100
Content-Length: [len]
103
o=Some-UserAgent 68 210 IN IP4 [local_ip]
107
m=audio 17294 RTP/AVP 0 101
109
a=rtpmap:101 telephone-event/8000
115
<!-- Keep the call open for a while in case the 200 is lost to be -->
116
<!-- able to retransmit it if we receive the BYE again. -->
117
<pause milliseconds="4000"/>
119
<!-- definition of the response time repartition table (unit is ms) -->
120
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
122
<!-- definition of the call length repartition table (unit is ms) -->
123
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>