~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.1.0/tests/pjsua/scripts-sipp/uac-bad-ack.xml

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
 
<!DOCTYPE scenario SYSTEM "sipp.dtd">
3
 
 
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.                    -->
8
 
<!--                                                                    -->
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.                       -->
13
 
<!--                                                                    -->
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             -->
18
 
<!--                                                                    -->
19
 
<!--                                                                    -->
20
 
 
21
 
<scenario name="UAC with bad ACK">
22
 
  <!-- UAC with bad ACK causes assertion with pjsip 1.4                 -->
23
 
  <send retrans="500">
24
 
    <![CDATA[
25
 
 
26
 
      INVITE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
27
 
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
28
 
      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
29
 
      To: sut <sip:[service]@[remote_ip]:[remote_port]>
30
 
      Call-ID: [call_id]
31
 
      CSeq: 1 INVITE
32
 
      Contact: sip:sipp@[local_ip]:[local_port]
33
 
      Max-Forwards: 70
34
 
      Subject: Performance Test
35
 
      Content-Type: application/sdp
36
 
      Content-Length: [len]
37
 
 
38
 
      v=0
39
 
      o=user1 53655765 2353687637 IN IP[local_ip_type] [local_ip]
40
 
      s=-
41
 
      c=IN IP[media_ip_type] [media_ip]
42
 
      t=0 0
43
 
      m=audio [media_port] RTP/AVP 0
44
 
      a=rtpmap:0 PCMU/8000
45
 
 
46
 
    ]]>
47
 
  </send>
48
 
 
49
 
  <recv response="100"
50
 
        optional="true">
51
 
  </recv>
52
 
 
53
 
  <recv response="180" optional="true">
54
 
  </recv>
55
 
 
56
 
  <!-- By adding rrs="true" (Record Route Sets), the route sets         -->
57
 
  <!-- are saved and used for following messages sent. Useful to test   -->
58
 
  <!-- against stateful SIP proxies/B2BUAs.                             -->
59
 
  <recv response="200" rtd="true">
60
 
  </recv>
61
 
 
62
 
  <!-- Packet lost can be simulated in any send/recv message by         -->
63
 
  <!-- by adding the 'lost = "10"'. Value can be [1-100] percent.       -->
64
 
  <send>
65
 
    <![CDATA[
66
 
 
67
 
      ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
68
 
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
69
 
      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
70
 
      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
71
 
      Call-ID: [call_id]
72
 
      CSeq: 1 ACK
73
 
      Contact: sip:sipp@[local_ip]:[local_port]
74
 
      Max-Forwards: 70
75
 
      Subject: Performance Test
76
 
      Content-Length: 0
77
 
 
78
 
    ]]>
79
 
  </send>
80
 
 
81
 
  <!-- This delay can be customized by the -d command-line option       -->
82
 
  <!-- or by adding a 'milliseconds = "value"' option here.             -->
83
 
  <pause/>
84
 
 
85
 
  <!-- The 'crlf' option inserts a blank line in the statistics report. -->
86
 
  <send retrans="500">
87
 
    <![CDATA[
88
 
 
89
 
      BYE sip:[service]@[remote_ip]:[remote_port] SIP/2.0
90
 
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-1
91
 
      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
92
 
      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
93
 
      Call-ID: [call_id]
94
 
      CSeq: 2 BYE
95
 
      Contact: sip:sipp@[local_ip]:[local_port]
96
 
      Max-Forwards: 70
97
 
      Subject: Performance Test
98
 
      Content-Length: 0
99
 
 
100
 
    ]]>
101
 
  </send>
102
 
 
103
 
  <recv response="200" crlf="true">
104
 
  </recv>
105
 
 
106
 
  <pause milliseconds="2000"/>
107
 
 
108
 
  <send>
109
 
    <![CDATA[
110
 
 
111
 
      ACK sip:[service]@[remote_ip]:[remote_port] SIP/2.0
112
 
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=z9hG4bK-1
113
 
      From: sipp <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
114
 
      To: sut <sip:[service]@[remote_ip]:[remote_port]>[peer_tag_param]
115
 
      Call-ID: [call_id]
116
 
      CSeq: 2 BYE
117
 
      Contact: sip:sipp@[local_ip]:[local_port]
118
 
      Max-Forwards: 70
119
 
      Subject: Performance Test
120
 
      Content-Length: 0
121
 
 
122
 
    ]]>
123
 
  </send>
124
 
 
125
 
  <!-- definition of the response time repartition table (unit is ms)   -->
126
 
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
127
 
 
128
 
  <!-- definition of the call length repartition table (unit is ms)     -->
129
 
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
130
 
 
131
 
</scenario>
132