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 -->
19
<!-- Sipp default 'uas' scenario. -->
22
<scenario name="UAS responder put on hold then hungup">
24
<!-- This scenario implies a second call made by the uac which implies -->
25
<!-- This call to be put on hold automatically -->
27
<recv request="INVITE" crlf="true">
36
[last_To:];tag=[pid]SIPpTag01[call_number]
39
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
51
[last_To:];tag=[pid]SIPpTag01[call_number]
54
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
55
Content-Type: application/sdp
59
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
61
c=IN IP[media_ip_type] [media_ip]
63
m=audio [media_port] RTP/AVP 0
76
<!-- Here process a second invite with updated sdp, this call is placed on HOLD -->
77
<!-- TODO: parse in sdp: Media Attribute (a): sendonly -->
78
<recv request="INVITE" crlf="true">
87
[last_To:];tag=[pid]SIPpTag01[call_number]
90
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
102
[last_To:];tag=[pid]SIPpTag01[call_number]
105
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
106
Content-Type: application/sdp
107
Content-Length: [len]
110
o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
112
c=IN IP[media_ip_type] [media_ip]
114
m=audio [media_port] RTP/AVP 0
126
<!-- expect to be hung up immediately -->
139
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
145
<!-- Keep the call open for a while in case the 200 is lost to be -->
146
<!-- able to retransmit it if we receive the BYE again. -->
147
<timewait milliseconds="4000"/>
150
<!-- definition of the response time repartition table (unit is ms) -->
151
<ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
153
<!-- definition of the call length repartition table (unit is ms) -->
154
<CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>