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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/tests/pjsua/scripts-sipp/uas-prack_fork.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="Forked INVITE, one of them require PRACK">
23
 
  <recv request="INVITE" crlf="true">
24
 
   <action>
25
 
    <ereg regexp="branch=([^;]*)"
26
 
          search_in="hdr"
27
 
          header="Via"
28
 
          assign_to="3"/>
29
 
    <ereg regexp="CSeq: ([0-9a-zA-Z ]*)"
30
 
          search_in="msg"
31
 
          assign_to="4"/>
32
 
   </action>
33
 
  </recv>
34
 
 
35
 
  <send>
36
 
    <![CDATA[
37
 
      SIP/2.0 100 Trying
38
 
      [last_Via:]
39
 
      [last_From:]
40
 
      [last_To:];tag=[call_number]
41
 
      [last_Call-ID:]
42
 
      [last_CSeq:]
43
 
    ]]>
44
 
  </send>
45
 
 
46
 
  <!-- Call leg 1: 180/Ringing -->
47
 
  <send>
48
 
    <![CDATA[
49
 
      SIP/2.0 180 Ringing
50
 
      [last_Via:]
51
 
      [last_From:]
52
 
      [last_To:];tag=1
53
 
      [last_Call-ID:]
54
 
      [last_CSeq:]
55
 
      Contact: <sip:WRONG_UA@192.168.0.1>
56
 
    ]]>
57
 
  </send>
58
 
 
59
 
  <!-- Call leg 2: 180/Ringing with 100rel -->
60
 
  <send retrans="1000">
61
 
    <![CDATA[
62
 
      SIP/2.0 180 Ringing
63
 
      [last_Via:]
64
 
      [last_From:]
65
 
      [last_To:];tag=2
66
 
      [last_Call-ID:]
67
 
      [last_CSeq:]
68
 
      Require: 100rel
69
 
      RSeq: 1
70
 
      Contact: <sip:RIGHT_UA@[local_ip]:[local_port]>
71
 
    ]]>
72
 
  </send>
73
 
 
74
 
  <!-- Expect PRACK -->
75
 
  <recv request="PRACK"
76
 
        optional="false"
77
 
        rtd="true"
78
 
        crlf="true">
79
 
  </recv>
80
 
 
81
 
  <!-- Send 200/OK to PRACK -->
82
 
  <send>
83
 
    <![CDATA[
84
 
      SIP/2.0 200 OK
85
 
      [last_Via:]
86
 
      [last_From:]
87
 
      [last_To:]
88
 
      [last_Call-ID:]
89
 
      [last_CSeq:]
90
 
    ]]>
91
 
  </send>
92
 
 
93
 
  <!-- Send 200/OK to INVITE -->
94
 
  <send retrans="500">
95
 
    <![CDATA[
96
 
      SIP/2.0 200 OK
97
 
      Via: SIP/2.0/UDP 127.0.0.1:5080;received=127.0.0.1;rport=5080;[$3]
98
 
      [last_From:]
99
 
      [last_To:];tag=2
100
 
      [last_Call-ID:]
101
 
      [$4]
102
 
      Contact: <sip:RIGHT_UA@[local_ip]:[local_port]>
103
 
      Content-Type: application/sdp
104
 
 
105
 
      v=0
106
 
      o=- 3442013205 3442013205 IN IP4 192.168.0.13
107
 
      s=pjsip
108
 
      c=IN IP4 192.168.0.13
109
 
      t=0 0
110
 
      m=audio 4002 RTP/AVP 0
111
 
      a=rtpmap:0 PCMU/8000
112
 
    ]]>
113
 
  </send>
114
 
 
115
 
  <!-- Receive ACK -->
116
 
  <recv request="ACK"
117
 
        optional="false"
118
 
        rtd="true"
119
 
        crlf="true">
120
 
  </recv>
121
 
 
122
 
 
123
 
  <!-- definition of the response time repartition table (unit is ms)   -->
124
 
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
125
 
 
126
 
  <!-- definition of the call length repartition table (unit is ms)     -->
127
 
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
128
 
 
129
 
</scenario>