~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-answer-200-multiple-fmts.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="UAS answer multiple formats">
 
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 200 OK
 
44
      [last_Via:]
 
45
      [last_From:]
 
46
      [last_To:];tag=[call_number]
 
47
      [last_Call-ID:]
 
48
      [last_CSeq:]
 
49
      Contact: sip:sipp@[local_ip]:[local_port]
 
50
      Content-Type: application/sdp
 
51
      Content-Length: [len]
 
52
 
 
53
      v=0
 
54
      o=- 3441953879 3441953879 IN IP4 192.168.0.15
 
55
      s=pjmedia
 
56
      c=IN IP4 192.168.0.15
 
57
      t=0 0
 
58
      m=audio 4004 RTP/AVP 0 8 3 111
 
59
      a=rtpmap:0 PCMU/8000
 
60
      a=rtpmap:8 PCMA/8000
 
61
      a=rtpmap:3 GSM/8000
 
62
      a=rtpmap:111 telephone-event/8000
 
63
      a=fmtp:111 0-15
 
64
 
 
65
    ]]>
 
66
  </send>
 
67
 
 
68
  <recv request="ACK" crlf="true">
 
69
  </recv>
 
70
 
 
71
 
 
72
 
 
73
  <recv request="INVITE" crlf="true">
 
74
    <action>
 
75
        <ereg regexp=".*" search_in="hdr" header="From" assign_to="3"/>
 
76
        <ereg regexp="sip:(.*)>" search_in="hdr" header="Contact" assign_to="4,5"/>
 
77
        <assign assign_to="4" variable="5" />
 
78
    </action>
 
79
  </recv>
 
80
 
 
81
  <send retrans="500">
 
82
    <![CDATA[
 
83
 
 
84
      SIP/2.0 200 OK
 
85
      [last_Via:]
 
86
      [last_From:]
 
87
      [last_To:];tag=[call_number]
 
88
      [last_Call-ID:]
 
89
      [last_CSeq:]
 
90
      Contact: sip:sipp@[local_ip]:[local_port]
 
91
      Content-Type: application/sdp
 
92
      Content-Length: [len]
 
93
 
 
94
      v=0
 
95
      o=- 3441953879 3441953879 IN IP4 192.168.0.15
 
96
      s=pjmedia
 
97
      c=IN IP4 192.168.0.15
 
98
      t=0 0
 
99
      m=audio 4004 RTP/AVP 0 111
 
100
      a=rtpmap:0 PCMU/8000
 
101
      a=rtpmap:111 telephone-event/8000
 
102
      a=fmtp:111 0-15
 
103
 
 
104
    ]]>
 
105
  </send>
 
106
 
 
107
  <recv request="ACK" crlf="true">
 
108
  </recv>
 
109
 
 
110
  <pause milliseconds="2000"/>
 
111
 
 
112
  <send retrans="500">
 
113
    <![CDATA[
 
114
 
 
115
      BYE sip:[$5] SIP/2.0
 
116
      Via: SIP/2.0/[transport] [local_ip]:[local_port]
 
117
      From: sipp  <sip:sipp@[local_ip]:[local_port]>;tag=[call_number]
 
118
      To[$3]
 
119
      Call-ID: [call_id]
 
120
      Cseq: 1 BYE
 
121
      Contact: sip:sipp@[local_ip]:[local_port]
 
122
      Max-Forwards: 70
 
123
      Content-Length: 0
 
124
 
 
125
    ]]>
 
126
  </send>
 
127
 
 
128
  <recv response="200">
 
129
  </recv>
 
130
 
 
131
  <!-- definition of the response time repartition table (unit is ms)   -->
 
132
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
133
 
 
134
  <!-- definition of the call length repartition table (unit is ms)     -->
 
135
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
 
136
 
 
137
</scenario>
 
138