~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/tests/pjsua/scripts-sipp/uas-reinv-and-ack-without-sdp.xml

  • Committer: Jackson Doak
  • Date: 2013-07-10 21:04:46 UTC
  • mfrom: (20.1.3 sid)
  • Revision ID: noskcaj@ubuntu.com-20130710210446-y8f587vza807icr9
Properly merged from 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
<!--                 Sipp default 'uas' scenario.                       -->
 
20
<!--                                                                    -->
 
21
 
 
22
<scenario name="Sending re-INVITE and ACK without SDP (#1045)">
 
23
  <!-- By adding rrs="true" (Record Route Sets), the route sets         -->
 
24
  <!-- are saved and used for following messages sent. Useful to test   -->
 
25
  <!-- against stateful SIP proxies/B2BUAs.                             -->
 
26
 
 
27
  <recv request="INVITE" crlf="true">
 
28
    <action>
 
29
        <ereg regexp=".*" search_in="hdr" header="From" assign_to="3"/>
 
30
        <ereg regexp="sip:(.*)>" search_in="hdr" header="Contact" assign_to="4,5"/>
 
31
        <assign assign_to="4" variable="5" />
 
32
    </action>
 
33
  </recv>
 
34
 
 
35
  <send retrans="500">
 
36
    <![CDATA[
 
37
 
 
38
      SIP/2.0 200 OK
 
39
      [last_Via:]
 
40
      [last_From:]
 
41
      [last_To:]
 
42
      [last_Call-ID:]
 
43
      [last_CSeq:]
 
44
      Contact: sip:sipp@[local_ip]:[local_port]
 
45
      Content-Type: application/sdp
 
46
      Content-Length: [len]
 
47
 
 
48
      v=0
 
49
      o=- 3441953879 3441953879 IN IP4 192.168.0.15
 
50
      s=pjmedia
 
51
      c=IN IP4 192.168.0.15
 
52
      t=0 0
 
53
      m=audio 4004 RTP/AVP 0
 
54
 
 
55
    ]]>
 
56
  </send>
 
57
 
 
58
  <recv request="ACK" crlf="true">
 
59
  </recv>
 
60
 
 
61
  <pause milliseconds="2000"/>
 
62
 
 
63
  <send retrans="500">
 
64
    <![CDATA[
 
65
 
 
66
      INVITE sip:[$5] SIP/2.0
 
67
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
 
68
      From: sipp  <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
69
      To[$3]
 
70
      Call-ID: [call_id]
 
71
      Cseq: 1 INVITE
 
72
      Contact: sip:sipp@[local_ip]:[local_port]
 
73
      Max-Forwards: 70
 
74
      Content-Length: 0
 
75
 
 
76
    ]]>
 
77
  </send>
 
78
 
 
79
  <recv response="100"
 
80
        optional="true">
 
81
  </recv>
 
82
 
 
83
  <recv response="180" optional="true">
 
84
  </recv>
 
85
 
 
86
  <recv response="200" rtd="true">
 
87
  </recv>
 
88
 
 
89
  <send>
 
90
    <![CDATA[
 
91
 
 
92
      ACK sip:[$5] SIP/2.0
 
93
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
 
94
      From: sipp  <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
95
      To[$3]
 
96
      Call-ID: [call_id]
 
97
      Cseq: 1 ACK
 
98
      Contact: sip:sipp@[local_ip]:[local_port]
 
99
      Max-Forwards: 70
 
100
      Content-Length: 0
 
101
 
 
102
    ]]>
 
103
  </send>
 
104
 
 
105
 
 
106
  <!-- Keep the call open for a while in case the 200 is lost to be     -->
 
107
  <!-- able to retransmit it if we receive the BYE again.               -->
 
108
  <pause milliseconds="4000"/>
 
109
 
 
110
 
 
111
  <!-- definition of the response time repartition table (unit is ms)   -->
 
112
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
113
 
 
114
  <!-- definition of the call length repartition table (unit is ms)     -->
 
115
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
 
116
 
 
117
</scenario>