~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/uas-reinv-no-media.xml

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* 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="Offer answer glare (#1166)">
 
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:];tag=[call_number]
 
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=- 1 1 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
  <send retrans="500">
 
62
    <![CDATA[
 
63
 
 
64
      INVITE sip:[$5] SIP/2.0
 
65
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
 
66
      From: sipp  <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
67
      To[$3]
 
68
      Call-ID: [call_id]
 
69
      Cseq: 1 INVITE
 
70
      Contact: sip:sipp@[local_ip]:[local_port]
 
71
      Max-Forwards: 70
 
72
      Content-Type: application/sdp
 
73
      Content-Length: [len]
 
74
 
 
75
      v=0
 
76
      o=- 2 2 IN IP4 192.168.0.15
 
77
      s=pjmedia
 
78
      c=IN IP4 192.168.0.15
 
79
      t=0 0
 
80
      m=audio 0 RTP/AVP 0
 
81
 
 
82
    ]]>
 
83
  </send>
 
84
 
 
85
  <recv response="488" rtd="true">
 
86
  </recv>
 
87
  
 
88
  <send>
 
89
    <![CDATA[
 
90
 
 
91
      ACK sip:[$5] SIP/2.0
 
92
      Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
 
93
      From: sipp  <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
94
      To[$3]
 
95
      Call-ID: [call_id]
 
96
      Cseq: 1 INVITE
 
97
      Contact: sip:sipp@[local_ip]:[local_port]
 
98
      Max-Forwards: 70
 
99
      Content-Length: 0
 
100
 
 
101
    ]]>
 
102
  </send>
 
103
 
 
104
  <!-- Keep the call open for a while in case the 200 is lost to be     -->
 
105
  <!-- able to retransmit it if we receive the BYE again.               -->
 
106
  <pause milliseconds="4000"/>
 
107
 
 
108
 
 
109
  <!-- definition of the response time repartition table (unit is ms)   -->
 
110
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
111
 
 
112
  <!-- definition of the call length repartition table (unit is ms)     -->
 
113
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
 
114
 
 
115
</scenario>
 
116