simplify allusions to boost which could be replaced for unit testing
[anna.git] / source / diameter / stack / setups / avps_tme.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "dictionary.dtd">
3
4 <dictionary name="TME AVP DEFINITIONS">
5
6 <!--=========-->
7 <!-- FORMATS -->
8 <!--=========-->
9 <!-- Application-specific format type names are defined here -->
10    <format name="Unsigned16" parent-type="OctetString"/>
11    <format name="ISDNNumber" parent-type="OctetString"/>
12    <format name="ISDNAddress" parent-type="OctetString"/>
13    
14 <!--=========-->
15 <!-- VENDORS -->
16 <!--=========-->
17    <vendor name="TME" code="27640"/>
18    <vendor name="3GPP" code="10415"/>
19
20 <!--======-->
21 <!-- AVPS -->
22 <!--======-->
23    <!-- TME VENDOR SPECIFIC CODES -->
24    <avp name="CS-Additional-Calling-Party-Number" code="1" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNNumber"/></avp>
25    <avp name="CS-Announcement" code="2" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
26       <grouped>
27          <avprule id="CS-Announcement-Type" type="Mandatory"/>
28          <avprule id="CS-Announcement-Logic" type="Mandatory"/>
29          <avprule id="CS-Announcement-Code" type="Mandatory"/>
30          <avprule id="CS-Announcement-Data" type="Optional" qual="*"/>
31          <avprule id="CS-Warning-Period" type="Optional"/>
32       </grouped>
33    </avp>
34    <avp name="CS-Announcement-Code" code="3" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
35    <avp name="CS-Announcement-Data" code="4" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
36       <grouped>
37          <avprule id="CS-Announcement-Data-Type" type="Optional"/>
38          <avprule id="CS-Announcement-Data-Value" type="Optional"/>
39       </grouped>
40    </avp>
41    <avp name="CS-Announcement-Data-Type" code="5" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
42       <single format-name="Enumerated" enum="1-3">
43          <label data="1" alias="Integer32"/>
44          <label data="2" alias="ISDNNumber"/>
45          <label data="3" alias="Time"/>
46       </single>
47    </avp>
48    <avp name="CS-Announcement-Data-Value" code="6" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
49    <avp name="CS-Bearer-Capability" code="7" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
50    <avp name="CS-Call-Reference-Number" code="8" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
51    <avp name="CS-Called-Party-Number" code="9" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNNumber"/></avp>
52    <avp name="CS-Calling-Partys-Category" code="10" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
53    <avp name="CS-Calling-Party-Number" code="11" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNNumber"/></avp>
54    <avp name="CS-Event-Type-BCSM" code="12" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
55       <single format-name="Enumerated" enum="2-7,9-10,12-15,17-18">
56          <label data="2" alias="collectedInfo"/>
57          <label data="3" alias="analyzedInformation"/>
58          <label data="4" alias="routeSelectFailure"/>
59          <label data="5" alias="oCalledPartyBusy"/>
60          <label data="6" alias="oNoAnswer"/>
61          <label data="7" alias="oAnswer"/>
62          <label data="9" alias="oDisconnect"/>
63          <label data="10" alias="oAbandon"/>
64          <label data="12" alias="termAttemptAuthorized"/>
65          <label data="13" alias="tBusy"/>
66          <label data="14" alias="tNoAnswer"/>
67          <label data="15" alias="tAnswer"/>
68          <label data="17" alias="tDisconnect"/>
69          <label data="18" alias="tAbandon"/>
70       </single>
71    </avp>
72    <avp name="CS-First-Call-Indication" code="13" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
73       <single format-name="Enumerated" enum="0-1">
74          <label data="0" alias="FIRST_CALL_FALSE"/>
75          <label data="1" alias="FIRST_CALL_TRUE"/>
76       </single>
77    </avp>
78    <avp name="CS-Free-Format-Data" code="14" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
79    <avp name="CS-Furnish-Charging-Information" code="15" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
80       <grouped>
81          <avprule id="CS-Free-Format-Data" type="Mandatory"/>
82          <avprule id="CS-Party-To-Charge" type="Optional"/>
83       </grouped>
84    </avp>
85    <avp name="CS-High-Layer-Compatibility" code="16" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
86    <avp name="CS-Information" code="17" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
87       <grouped>
88          <avprule id="CS-Traffic-Case" type="Optional"/>
89          <avprule id="CS-Service-Key" type="Optional"/>
90          <avprule id="CS-Service-Id" type="Optional"/>
91          <avprule id="CS-Event-Type-BCSM" type="Optional"/>
92          <avprule id="CS-Calling-Party-Number" type="Optional"/>
93          <avprule id="CS-Calling-Partys-Category" type="Optional"/>
94          <avprule id="CS-Additional-Calling-Party-Number" type="Optional"/>
95          <avprule id="CS-Called-Party-Number" type="Optional"/>
96          <avprule id="CS-Called-Party-BCD-Number" type="Optional"/>
97          <avprule id="CS-Location-Information" type="Optional"/>
98          <avprule id="CS-High-Layer-Compatibility" type="Optional"/>
99          <avprule id="CS-Bearer-Capability" type="Optional"/>
100          <avprule id="CS-Teleservice-Code" type="Optional"/>
101          <avprule id="CS-Original-Called-Party-ID" type="Optional"/>
102          <avprule id="CS-Redirecting-Party-Number" type="Optional"/>
103          <avprule id="CS-Redirection-Information" type="Optional"/>
104          <avprule id="CS-Call-Reference-Number" type="Optional"/>
105          <avprule id="CS-MSC-Address" type="Optional"/>
106          <avprule id="CS-Start-Of-Charging" type="Optional"/>
107          <avprule id="CS-Call-SetUp-Result-Code" type="Optional"/>
108          <avprule id="CS-ISUP-Release-Cause-Code" type="Optional"/>
109          <avprule id="CS-Network-Type" type="Optional"/>
110          <avprule id="CS-MultiParty-Call-Indication" type="Optional"/>
111          <avprule id="CS-Release-Cause-Code" type="Optional"/>
112          <avprule id="CS-Rerouting-Number" type="Optional"/>
113          <avprule id="CS-First-Call-Indication" type="Optional"/>
114          <avprule id="CS-Furnish-Charging-Information" type="Optional"/>
115          <avprule id="CS-Announcement" type="Optional" qual="*"/>
116          <avprule id="CS-Customer-Data" type="Optional"/>
117          <avprule id="CS-Balance-TopUp-Data" type="Optional"/>
118          <avprule id="CS-AoC-Info" type="Optional" qual="0*2"/>
119          <avprule id="AVP" type="Optional" qual="*"/>
120       </grouped>
121    </avp>
122    <avp name="CS-Location-Information" code="18" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
123       <grouped>
124          <avprule id="CS-Terminating-VLR-Number" type="Optional"/>
125          <avprule id="CS-Originating-Location-Number" type="Optional"/>
126          <avprule id="3GPP-User-Location-Info" type="Optional"/>
127       </grouped>
128    </avp>
129    <avp name="CS-MSC-Address" code="19" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
130    <avp name="CS-Original-Called-Party-ID" code="20" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
131    <avp name="CS-Originating-Location-Number" code="21" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
132    <avp name="CS-Party-To-Charge" code="22" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
133    <avp name="CS-Redirecting-Party-Number" code="23" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNNumber"/></avp>
134    <avp name="CS-Redirection-Information" code="24" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
135    <avp name="CS-Release-Cause-Code" code="25" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Integer32"/></avp>
136    <avp name="CS-Rerouting-Number" code="26" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNNumber"/></avp>
137    <avp name="CS-Service-Key" code="27" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Integer32"/></avp>
138    <avp name="CS-Terminating-VLR-Number" code="28" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
139    <avp name="CS-Warning-Period" code="29" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
140    <avp name="CS-Accumulated-Time" code="30" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
141    <avp name="CS-Announcement-Logic" code="31" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
142       <single format-name="Enumerated" enum="0-3">
143          <label data="0" alias="NOT_TO_BE_PLAYED"/>
144          <label data="1" alias="PLAYED_TO_CALLING_PARTY"/>
145          <label data="2" alias="PLAYED_TO_CALLED_PARTY"/>
146          <label data="3" alias="PLAYED_TO_BOTH_PARTIES"/>
147       </single>
148    </avp>
149    <avp name="CS-Announcement-Type" code="32" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
150       <single format-name="Enumerated" enum="0-2">
151          <label data="0" alias="IMMEDIATE_ANNOUNCEMENT"/>
152          <label data="1" alias="MIDCALL_ANNOUNCEMENT"/>
153          <label data="2" alias="ENDCALL_ANNOUNCEMENT"/>
154       </single>
155    </avp>
156    <avp name="CS-Balance-TopUp-Data" code="33" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
157    <avp name="CS-Call-SetUp-Result-Code" code="34" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
158    <avp name="CS-Customer-Data" code="35" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
159    <avp name="CS-Dialogue-Handling" code="36" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
160       <single format-name="Enumerated" enum="0-1">
161          <label data="0" alias="NORMAL"/>
162          <label data="1" alias="OPTIMIZED"/>
163       </single>
164    </avp>
165    <avp name="CS-ISUP-Release-Cause-Code" code="37" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
166    <avp name="CS-Max-Call-Duration" code="38" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
167    <avp name="CS-Result-Code" code="39" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
168    <avp name="CS-Start-Of-Charging" code="40" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Time"/></avp>
169    <avp name="CS-Teleservice-Code" code="41" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
170    <avp name="CS-Traffic-Case" code="42" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
171    <avp name="CS-AoC-Info" code="43" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
172       <grouped>
173          <avprule id="Tariff-Time-Change" type="Optional"/>
174          <avprule id="CS-AoC-Info-e1" type="Mandatory"/>
175          <avprule id="CS-AoC-Info-e2" type="Mandatory"/>
176          <avprule id="CS-AoC-Info-e3" type="Mandatory"/>
177          <avprule id="CS-AoC-Info-e4" type="Mandatory"/>
178          <avprule id="CS-AoC-Info-e5" type="Optional"/>
179          <avprule id="CS-AoC-Info-e6" type="Optional"/>
180          <avprule id="CS-AoC-Info-e7" type="Optional"/>
181       </grouped>
182    </avp>
183    <avp name="CS-AoC-Info-e1" code="44" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
184    <avp name="CS-AoC-Info-e2" code="45" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
185    <avp name="CS-AoC-Info-e3" code="46" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
186    <avp name="CS-AoC-Info-e4" code="47" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
187    <avp name="CS-AoC-Info-e5" code="48" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
188    <avp name="CS-AoC-Info-e6" code="49" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
189    <avp name="CS-AoC-Info-e7" code="50" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
190    <avp name="CS-Called-Party-BCD-Number" code="51" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
191    <avp name="CS-Conference-Id" code="52" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
192    <avp name="CS-MultiParty-Call-Indication" code="53" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
193       <grouped>
194          <avprule id="CS-Conference-Id" type="Mandatory"/>
195          <avprule id="Number-Of-Participants" type="Optional"/>
196       </grouped>
197    </avp>
198    <avp name="CS-Network-Type" code="54" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned16"/></avp>
199    <avp name="CS-Service-Id" code="55" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
200    <avp name="OCS-Account-Management-Op" code="56" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
201
202    <!-- *** TME VENDOR SERVICE SPECIFIC EXTENSIONS: VPN & VCC *** -->
203    
204    <!-- VIRTUAL PRIVATE NETWORK (VPN) SERVICE -->
205    <avp name="VPN-Access-Type" code="100" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
206       <single format-name="Unsigned32">
207          <label data="0" alias="Normal"/>
208          <label data="1" alias="Registered"/>
209          <label data="2" alias="Remote"/>
210       </single>
211    </avp>
212    <avp name="VPN-Identifier" code="101" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
213    <avp name="VPN-Information" code="102" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
214       <grouped>
215          <avprule id="VPN-Identifier" type="Optional"/>
216          <avprule id="VPN-Access-Type" type="Optional"/>
217          <avprule id="VPN-Office-Zone-Indicator" type="Optional"/>
218          <avprule id="VPN-On-Net-Indicator" type="Optional"/>
219          <avprule id="VPN-Public-Calling-Party-Number" type="Optional"/>
220          <avprule id="VPN-Public-Redirecting-Party-Number" type="Optional"/>
221          <avprule id="VPN-Soft-Hard-Treatment" type="Optional"/>
222          <avprule id="AVP" type="Optional" qual="*"/>
223       </grouped>
224    </avp>
225    <avp name="VPN-Office-Zone-Indicator" code="103" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
226       <single format-name="Unsigned32">
227          <label data="0" alias="Office-zone call"/>
228          <label data="1" alias="Non Office-zone call"/>
229       </single>
230    </avp>
231    <avp name="VPN-On-Net-Indicator" code="104" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
232       <single format-name="Unsigned32">
233          <label data="0" alias="On net call, Intragroup Mobile destination"/>
234          <label data="1" alias="On net call, Intergroup Mobile destination"/>
235          <label data="2" alias="On net call, Intragroup Fixed destination"/>
236          <label data="3" alias="On net call, Intergroup Fixed destination"/>
237          <label data="4" alias="Off net call"/>
238       </single>
239    </avp>
240    <avp name="VPN-Public-Calling-Party-Number" code="105" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
241    <avp name="VPN-Public-Redirecting-Party-Number" code="106" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNAddress"/></avp>
242    <avp name="VPN-Soft-Hard-Treatment" code="107" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
243       <single format-name="Unsigned32">
244          <label data="0" alias="Soft global and partial online cost controls"/>
245          <label data="1" alias="Hard global online cost control"/>
246          <label data="2" alias="Hard voice online cost control"/>
247          <label data="3" alias="Hard global and voice online cost control"/>
248          <label data="5" alias="Hard global online cost control without cut off"/>
249          <label data="6" alias="Hard voice online cost control without cut off"/>
250          <label data="7" alias="Hard global and voice online cost control without cut off"/>
251       </single>
252    </avp>
253    <avp name="VPN-List-Identifier" code="108" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
254    <avp name="VPN-List-Information" code="109" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
255       <grouped>
256          <avprule id="VPN-List-Type" type="Mandatory"/>
257          <avprule id="VPN-List-Identifier" type="Mandatory"/>
258       </grouped>
259    </avp>
260    <avp name="VPN-List-Type" code="110" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
261    <avp name="VPN-Public-Called-Party-Number" code="111" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="ISDNNumber"/></avp>
262    <avp name="VPN-Personal-Call-Indicator" code="112" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
263    <avp name="VPN-Usage-Profile-Authorizations" code="113" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
264   
265    <!-- VIRTUAL CALLING CARD (VCC) SERVICE -->
266    <avp name="VCC-Information" code="151" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
267       <grouped>
268          <avprule id="VCC-Number" type="Optional"/>
269          <avprule id="AVP" type="Optional" qual="*"/>
270       </grouped>
271    </avp>   
272    <avp name="VCC-Number" code="152" vendor-name="TME" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
273
274 </dictionary>