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="branch_server">
21
<recv request="REGISTER">
30
[last_To:];tag=[call_number]
33
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
40
<!-- Set variable 3 if the ua is of the form ua2... -->
41
<recv request="INVITE" crlf="true">
50
<!-- send 180 then trying if variable 3 is set -->
51
<send next="1" test="3">
57
[last_To:];tag=[call_number]
60
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
66
<!-- if not, send a 403 error then skip to wait for a BYE -->
73
[last_To:];tag=[call_number]
76
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
90
[last_To:];tag=[call_number]
93
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
105
[last_To:];tag=[call_number]
108
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
109
Content-Type: application/sdp
113
o=user1 53655765 2353687637 IN IP4 127.0.0.1
117
m=audio [media_port] RTP/AVP 0
140
[last_To:];tag=[call_number]
143
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
149
<!-- Keep the call open for a while in case the 200 is lost to be -->
150
<!-- able to retransmit it if we receive the BYE again. -->
151
<pause milliseconds="4000"/>
153
<!-- Definition of the response time repartition table (unit is ms) -->
154
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
156
<!-- Definition of the call length repartition table (unit is ms) -->
157
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>