~ubuntu-branches/ubuntu/trusty/sflphone/trusty

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/tests/pjsua/scripts-sipp/uas-422-then-200-bad-se.xml

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (4.3.4 sid)
  • Revision ID: package-import@ubuntu.com-20140128182336-jrsv0k9u6cawc068
Tags: 1.3.0-1
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

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="Basic UAS responder">
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
 
  <recv request="INVITE" crlf="true">
27
 
  </recv>
28
 
 
29
 
  <!-- The '[last_*]' keyword is replaced automatically by the          -->
30
 
  <!-- specified header if it was present in the last message received  -->
31
 
  <!-- (except if it was a retransmission). If the header was not       -->
32
 
  <!-- present or if no message has been received, the '[last_*]'       -->
33
 
  <!-- keyword is discarded, and all bytes until the end of the line    -->
34
 
  <!-- are also discarded.                                              -->
35
 
  <!--                                                                  -->
36
 
  <!-- If the specified header was present several times in the         -->
37
 
  <!-- message, all occurences are concatenated (CRLF seperated)        -->
38
 
  <!-- to be used in place of the '[last_*]' keyword.                   -->
39
 
 
40
 
  <send retrans="500">
41
 
    <![CDATA[
42
 
 
43
 
      SIP/2.0 422 Session Timer too small
44
 
      [last_Via:]
45
 
      [last_From:]
46
 
      [last_To:];tag=[call_number]
47
 
      [last_Call-ID:]
48
 
      [last_CSeq:]
49
 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
50
 
      Min-SE:  5400
51
 
      Content-Length: 0
52
 
 
53
 
        ]]>
54
 
  </send>
55
 
 
56
 
  <recv request="ACK"
57
 
        optional="true"
58
 
        rtd="true"
59
 
        crlf="true">
60
 
  </recv>
61
 
 
62
 
 
63
 
  <recv request="INVITE" crlf="true">
64
 
  </recv>
65
 
 
66
 
  <send retrans="500">
67
 
    <![CDATA[
68
 
 
69
 
      SIP/2.0 200 OK
70
 
      [last_Via:]
71
 
      [last_From:]
72
 
      [last_To:];tag=[call_number]
73
 
      [last_Call-ID:]
74
 
      [last_CSeq:]
75
 
      Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
76
 
      Allow-Events: telephone-event
77
 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
78
 
      Supported: replaces
79
 
      Session-Expires:  3600;refresher=uas
80
 
      Require: timer
81
 
      Content-Type: application/sdp
82
 
      Content-Disposition: session;handling=required
83
 
      Content-Length: [len]
84
 
 
85
 
      v=0
86
 
      o=Some-UserAgent 68 210 IN IP4 [local_ip]
87
 
      s=SIP Call
88
 
      c=IN IP4 [local_ip]
89
 
      t=0 0
90
 
      m=audio 17294 RTP/AVP 0 101
91
 
      c=IN IP4 [local_ip]
92
 
      a=rtpmap:0 PCMU/8000
93
 
      a=rtpmap:101 telephone-event/8000
94
 
      a=fmtp:101 0-16
95
 
      a=ptime:20
96
 
 
97
 
    ]]>
98
 
  </send>
99
 
 
100
 
  <recv request="ACK"
101
 
        rtd="true"
102
 
        crlf="true">
103
 
  </recv>
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>