~noskcaj/ubuntu/saucy/sflphone/merge-1.2.3-2

« back to all changes in this revision

Viewing changes to tools/sippxml/accountcalluas.xml

  • Committer: Package Import Robot
  • Author(s): Francois Marier
  • Date: 2012-02-18 21:47:09 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120218214709-6362d71gqdsdkrj5
Tags: 1.0.2-1
* New upstream release
  - remove logging patch (applied upstream)
  - update s390 patch since it was partially applied upstream
* Include the Evolution plugin as a separate binary package

* Fix compilation issues on SH4 (closes: #658987)
* Merge Ubuntu's binutils-gold linking fix

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
<scenario name="branch_server">
 
21
  <recv request="REGISTER">
 
22
  </recv>
 
23
 
 
24
  <send>
 
25
    <![CDATA[
 
26
 
 
27
      SIP/2.0 200 OK
 
28
      [last_Via:]
 
29
      [last_From:]
 
30
      [last_To:];tag=[call_number]
 
31
      [last_Call-ID:]
 
32
      [last_CSeq:]
 
33
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
34
      Content-Length: 0
 
35
      Expires: 300
 
36
 
 
37
    ]]>
 
38
  </send>
 
39
 
 
40
  <!-- Set variable 3 if the ua is of the form ua2... -->
 
41
  <recv request="INVITE" crlf="true">
 
42
    <action>
 
43
      <ereg regexp="ua2"
 
44
            search_in="hdr"
 
45
            header="From: "
 
46
            assign_to="3"/>
 
47
    </action>
 
48
  </recv>
 
49
 
 
50
  <!-- send 180 then trying if variable 3 is set -->
 
51
  <send next="1" test="3">
 
52
    <![CDATA[
 
53
 
 
54
      SIP/2.0 180 Ringing
 
55
      [last_Via:]
 
56
      [last_From:]
 
57
      [last_To:];tag=[call_number]
 
58
      [last_Call-ID:]
 
59
      [last_CSeq:]
 
60
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
61
      Content-Length: 0
 
62
 
 
63
    ]]>
 
64
  </send>
 
65
 
 
66
  <!-- if not, send a 403 error then skip to wait for a BYE -->
 
67
  <send next="2">
 
68
    <![CDATA[
 
69
 
 
70
      SIP/2.0 403 Error
 
71
      [last_Via:]
 
72
      [last_From:]
 
73
      [last_To:];tag=[call_number]
 
74
      [last_Call-ID:]
 
75
      [last_CSeq:]
 
76
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
77
      Content-Length: 0
 
78
 
 
79
    ]]>
 
80
  </send>
 
81
 
 
82
  <label id="1"/>
 
83
 
 
84
  <send>
 
85
    <![CDATA[
 
86
 
 
87
      SIP/2.0 100 Trying
 
88
      [last_Via:]
 
89
      [last_From:]
 
90
      [last_To:];tag=[call_number]
 
91
      [last_Call-ID:]
 
92
      [last_CSeq:]
 
93
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
94
      Content-Length: 0
 
95
 
 
96
    ]]>
 
97
  </send>
 
98
 
 
99
  <send retrans="500">
 
100
    <![CDATA[
 
101
 
 
102
      SIP/2.0 200 OK
 
103
      [last_Via:]
 
104
      [last_From:]
 
105
      [last_To:];tag=[call_number]
 
106
      [last_Call-ID:]
 
107
      [last_CSeq:]
 
108
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
109
      Content-Type: application/sdp
 
110
      Content-Length: 136
 
111
 
 
112
      v=0
 
113
      o=user1 53655765 2353687637 IN IP4 127.0.0.1
 
114
      s=-
 
115
      t=0 0
 
116
      c=IN IP4 [media_ip]
 
117
      m=audio [media_port] RTP/AVP 0
 
118
      a=rtpmap:0 PCMU/8000
 
119
 
 
120
    ]]>
 
121
  </send>
 
122
 
 
123
  <recv request="ACK"
 
124
        optional="true"
 
125
        rtd="true"
 
126
        crlf="true">
 
127
  </recv>
 
128
 
 
129
  <label id="2"/>
 
130
 
 
131
  <recv request="BYE">
 
132
  </recv>
 
133
 
 
134
  <send>
 
135
    <![CDATA[
 
136
 
 
137
      SIP/2.0 200 OK
 
138
      [last_Via:]
 
139
      [last_From:]
 
140
      [last_To:];tag=[call_number]
 
141
      [last_Call-ID:]
 
142
      [last_CSeq:]
 
143
      Contact: <sip:[local_ip]:[local_port];transport=[transport]>
 
144
      Content-Length: 0
 
145
 
 
146
    ]]>
 
147
  </send>
 
148
 
 
149
  <!-- Keep the call open for a while in case the 200 is lost to be     -->
 
150
  <!-- able to retransmit it if we receive the BYE again.               -->
 
151
  <pause milliseconds="4000"/>
 
152
 
 
153
  <!-- Definition of the response time repartition table (unit is ms)   -->
 
154
  <ResponseTimeRepartition value="10, 20, 30, 40, 50, 100, 150, 200"/>
 
155
 
 
156
  <!-- Definition of the call length repartition table (unit is ms)     -->
 
157
  <CallLengthRepartition value="10, 50, 100, 500, 1000, 5000, 10000"/>
 
158
 
 
159
</scenario>