~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-timer-update.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
 
 
20
 
<!--                                                                    -->
21
 
<!--   Session timer where UAS incidates support for UPDATE.            -->
22
 
<!--   In this case, UAC will first use empty UPDATE, which we          -->
23
 
<!--   will reply with 400. UAC MUST retry sending UPDATE with SDP.     -->
24
 
 
25
 
<scenario name="Basic UAS responder">
26
 
  <recv request="INVITE" crlf="true">
27
 
  </recv>
28
 
 
29
 
  <send retrans="500">
30
 
    <![CDATA[
31
 
 
32
 
      SIP/2.0 200 OK
33
 
      [last_Via:]
34
 
      [last_From:]
35
 
      [last_To:];tag=[call_number]
36
 
      [last_Call-ID:]
37
 
      [last_CSeq:]
38
 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
39
 
      Allow: UPDATE, INVITE
40
 
      Require: timer
41
 
      Session-Expires: 90;refresher=uac
42
 
      Content-Type: application/sdp
43
 
      Content-Length: [len]
44
 
 
45
 
      v=0
46
 
      o=Some-UserAgent 68 210 IN IP4 [local_ip]
47
 
      s=SIP Call
48
 
      c=IN IP4 [local_ip]
49
 
      t=0 0
50
 
      m=audio 17294 RTP/AVP 0 101
51
 
      c=IN IP4 [local_ip]
52
 
      a=rtpmap:101 telephone-event/8000
53
 
      a=fmtp:101 0-16
54
 
    ]]>
55
 
  </send>
56
 
 
57
 
  <recv request="ACK"
58
 
        optional="true"
59
 
        rtd="true"
60
 
        crlf="true">
61
 
  </recv>
62
 
 
63
 
  <recv request="UPDATE" crlf="true">
64
 
  </recv>
65
 
 
66
 
  <send>
67
 
    <![CDATA[
68
 
 
69
 
      SIP/2.0 400 Want SDP Body
70
 
      [last_Via:]
71
 
      [last_From:]
72
 
      [last_To:];tag=[call_number]
73
 
      [last_Call-ID:]
74
 
      [last_CSeq:]
75
 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
76
 
      Allow: INVITE
77
 
      Require: timer
78
 
      Session-Expires: 90;refresher=uac
79
 
      Content-Length: 0
80
 
    ]]>
81
 
  </send>
82
 
 
83
 
  <recv request="UPDATE" crlf="true">
84
 
  </recv>
85
 
 
86
 
  <send>
87
 
    <![CDATA[
88
 
 
89
 
      SIP/2.0 200 OK
90
 
      [last_Via:]
91
 
      [last_From:]
92
 
      [last_To:];tag=[call_number]
93
 
      [last_Call-ID:]
94
 
      [last_CSeq:]
95
 
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
96
 
      Allow: INVITE
97
 
      Require: timer
98
 
      Session-Expires: 90;refresher=uac
99
 
      Content-Type: application/sdp
100
 
      Content-Length: [len]
101
 
 
102
 
      v=0
103
 
      o=Some-UserAgent 68 210 IN IP4 [local_ip]
104
 
      s=SIP Call
105
 
      c=IN IP4 [local_ip]
106
 
      t=0 0
107
 
      m=audio 17294 RTP/AVP 0 101
108
 
      c=IN IP4 [local_ip]
109
 
      a=rtpmap:101 telephone-event/8000
110
 
      a=fmtp:101 0-16
111
 
    ]]>
112
 
  </send>
113
 
 
114
 
 
115
 
  <!-- Keep the call open for a while in case the 200 is lost to be     -->
116
 
  <!-- able to retransmit it if we receive the BYE again.               -->
117
 
  <pause milliseconds="4000"/>
118
 
 
119
 
  <!-- definition of the response time repartition table (unit is ms)   -->
120
 
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
121
 
 
122
 
  <!-- definition of the call length repartition table (unit is ms)     -->
123
 
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
124
 
 
125
 
</scenario>