Allow separate stacks registration through services operation
[anna.git] / source / diameter / stack / setups / avps_tid.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "dictionary.dtd">
3
4 <dictionary name="TID AVP DEFINITIONS">
5
6 <!--=========-->
7 <!-- FORMATS -->
8 <!--=========-->
9 <!-- Application-specific format type names are defined here -->
10    <format name="Unsigned16" parent-type="OctetString"/> <!-- from TME, included to avoid tme avp dictionary dependences -->
11    <format name="Date" parent-type="OctetString"/> <!-- indirect parent-type: UTF8String -->
12
13 <!--=========-->
14 <!-- VENDORS -->
15 <!--=========-->
16    <vendor name="TID" code="5189"/>
17
18 <!--======-->
19 <!-- AVPS -->
20 <!--======-->
21    <!-- TELEFONICA I+D VENDOR SPECIFIC CODES -->
22    <avp name="OCS-Additional-Cost-Information" code="200" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
23       <grouped>
24          <avprule id="OCS-Uncharged-Credit" type="Optional"/>
25          <avprule id="OCS-Wallet-Cost-Information" type="Optional" qual="*"/>
26          <avprule id="OCS-Package-Cost-Information" type="Optional" qual="*"/>
27          <avprule id="AVP" type="Optional" qual="*"/>
28       </grouped>
29    </avp>
30    <avp name="OCS-Additional-Remaining-Balance-Info" code="201" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
31       <grouped>
32          <avprule id="OCS-Remaining-Wallet-Balance" type="Optional" qual="*"/>
33          <avprule id="OCS-Remaining-Package-Balance" type="Optional" qual="*"/>
34          <avprule id="AVP" type="Optional" qual="*"/>
35       </grouped>
36    </avp>
37    <avp name="OCS-Application-Reference" code="202" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
38    <avp name="OCS-Wallet-Cost-Information" code="203" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
39       <grouped>
40          <avprule id="OCS-Wallet-Id" type="Mandatory"/>
41          <avprule id="Unit-Value" type="Mandatory"/>
42          <avprule id="Currency-Code" type="Optional"/>
43          <avprule id="Cost-Unit" type="Optional"/>
44          <avprule id="AVP" type="Optional" qual="*"/>
45       </grouped>
46    </avp>
47    <avp name="OCS-Wallet-Id" code="204" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
48    <avp name="OCS-Charging-Rule" code="205" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
49       <grouped>
50          <avprule id="OCS-Charging-Rule-Name" type="Optional"/>
51          <avprule id="OCS-Purchase-Code" type="Optional"/>
52          <avprule id="OCS-Package-Id" type="Optional" qual="*"/>
53          <avprule id="OCS-New-Purchase-Indicator" type="Optional"/>
54          <avprule id="OCS-Debit-Units-Indicator" type="Optional"/>
55          <avprule id="OCS-Authorization-Condition" type="Optional"/>
56          <avprule id="AVP" type="Optional" qual="*"/>
57       </grouped>
58    </avp>
59    <avp name="OCS-Charging-Rule-Name" code="206" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
60    <avp name="OCS-Debit-Units-Indicator" code="207" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
61       <single format-name="Enumerated" enum="0-1">
62          <label data="0" alias="FALSE"/>
63          <label data="1" alias="TRUE"/>
64       </single>
65    </avp>
66    <avp name="OCS-Event-Trigger" code="208" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
67       <single format-name="Unsigned16">
68          <label data="0" alias="UNSPECIFIED"/>
69          <label data="1" alias="CREDIT_LIMIT_REACHED"/>
70       </single>
71    </avp>
72    <avp name="OCS-Granted-Service-Unit-Description" code="209" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
73    <avp name="OCS-Minimum-Charge" code="210" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
74       <grouped>
75          <avprule id="Unit-Value" type="Mandatory"/>
76          <avprule id="Currency-Code" type="Optional"/>
77          <avprule id="AVP" type="Optional" qual="*"/>
78       </grouped>
79    </avp>
80    <avp name="OCS-Minimum-Service-Specific-Units" code="211" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned64"/></avp>
81    <avp name="OCS-New-Purchase-Indicator" code="212" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
82       <single format-name="Enumerated" enum="0-2">
83          <label data="0" alias="NEW_PURCHASE_NOT_ALLOWED"/>
84          <label data="1" alias="NEW_PURCHASE_IF_NEEDED"/>
85          <label data="2" alias="NEW_PURCHASE_REQUIRED"/>
86       </single>
87    </avp>
88    <avp name="OCS-Package-Cost-Information" code="213" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
89       <grouped>
90          <avprule id="OCS-Package-Id" type="Mandatory"/>
91          <avprule id="Unit-Value" type="Mandatory"/>
92          <avprule id="Currency-Code" type="Optional"/>
93          <avprule id="Cost-Unit" type="Optional"/>
94          <avprule id="AVP" type="Optional" qual="*"/>
95       </grouped>
96    </avp>
97    <avp name="OCS-Package-Id" code="214" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
98    <avp name="OCS-Package-Subperiod-End-Date" code="215" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Date"/></avp>
99    <avp name="OCS-Partial-Charging-Indicator" code="216" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
100       <grouped>
101          <avprule id="OCS-Minimum-Charge" type="Optional"/>
102          <avprule id="OCS-Minimum-Service-Specific-Units" type="Optional"/>
103          <avprule id="OCS-Rounding-Method" type="Optional"/>
104          <avprule id="AVP" type="Optional" qual="*"/>
105       </grouped>
106    </avp>
107    <avp name="OCS-Payee-Subscription-Id" code="217" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
108       <grouped>
109          <avprule id="Subscription-Id-Type" type="Mandatory"/>
110          <avprule id="Subscription-Id-Data" type="Mandatory"/>
111       </grouped>
112    </avp>
113    <avp name="OCS-Purchase-Code" code="218" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
114    <avp name="OCS-Remaining-Wallet-Balance" code="219" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
115       <grouped>
116          <avprule id="OCS-Wallet-Id" type="Mandatory"/>
117          <avprule id="Unit-Value" type="Mandatory"/>
118          <avprule id="Currency-Code" type="Optional"/>
119          <avprule id="OCS-Wallet-End-Date" type="Optional"/>
120          <avprule id="AVP" type="Optional" qual="*"/>
121       </grouped>
122    </avp>
123    <avp name="OCS-Remaining-Package-Balance" code="220" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
124       <grouped>
125          <avprule id="OCS-Package-Id" type="Mandatory"/>
126          <avprule id="OCS-Package-End-Date" type="Optional"/>
127          <avprule id="OCS-Package-Subperiod-End-Date" type="Optional"/>
128          <avprule id="Unit-Value" type="Mandatory"/>
129          <avprule id="Currency-Code" type="Optional"/>
130          <avprule id="AVP" type="Optional" qual="*"/>
131       </grouped>
132    </avp>
133    <avp name="OCS-Requested-Service-Unit-Description" code="221" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
134    <avp name="OCS-Rounding-Method" code="222" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
135       <single format-name="Enumerated" enum="0-2">
136          <label data="0" alias="MAXIMUM"/> <!-- Grant all requested units regardless available credit -->
137          <label data="1" alias="FLOOR"/> <!-- Grant units up to the credit limit -->
138          <label data="2" alias="CEILING"/> <!-- Grant units up to the credit limit plus one -->
139       </single>
140    </avp>
141    <avp name="OCS-Service-Description" code="223" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
142    <avp name="OCS-Service-Provider-Id" code="224" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Unsigned32"/></avp>
143    <avp name="OCS-Authorization-Condition" code="225" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
144    <avp name="OCS-Subscription-Info" code="226" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
145       <grouped>
146          <avprule id="OCS-Subscription-Operator-Id" type="Mandatory"/>
147          <avprule id="OCS-Subscription-Timezone" type="Optional"/>
148          <avprule id="AVP" type="Optional" qual="*"/>
149       </grouped>
150    </avp>
151    <avp name="OCS-Subscription-Operator-Id" code="227" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp>
152    <avp name="OCS-Subscription-Timezone" code="228" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="OctetString"/></avp>
153    <avp name="OCS-Uncharged-Credit" code="229" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
154       <grouped>
155          <avprule id="Unit-Value" type="Mandatory"/>
156          <avprule id="Currency-Code" type="Optional"/>
157          <avprule id="Cost-Unit" type="Optional"/>
158       </grouped>
159    </avp>
160    <avp name="OCS-Package-End-Date" code="230" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Date"/></avp>
161    <avp name="OCS-Wallet-End-Date" code="231" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="Date"/></avp>
162    <avp name="OCS-Service-Information" code="300" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may">
163       <grouped>
164          <avprule id="OCS-SMS-Content" type="Optional"/>
165       </grouped>
166    </avp>
167    <avp name="OCS-SMS-Content" code="301" vendor-name="TID" may-encrypt="no" v-bit="must" m-bit="must" p-bit="may"><single format-name="UTF8String"/></avp> <!-- OctetString? -->
168
169
170 <!--
171 OCS-Account                            400   Grouped     V,M   P     -           -           N
172 OCS-Acquirer-Id                        401   UTF8String  V,M   P     -           -           N
173 OCS-Financial-Transaction              402   Grouped     V,M   P     -           -           N
174 OCS-IBAN                               403   UTF8String  V,M   P     -           -           N
175 OCS-Merchant-Name                      404   UTF8String  V,M   P     -           -           N
176 OCS-Primary-Account-Number             405   Grouped     V,M   P     -           -           N
177 OCS-POS-Id                             406   UTF8String  V,M   P     -           -           N
178 OCS-Settlement-Conversion-Rate         407   Grouped     V,M   P     -           -           N
179 OCS-Transaction-Anchor-Point           408   Enumerated  V,M   P     -           -           N
180 OCS-Transaction-Amount                 409   Grouped     V,M   P     -           -           N
181 OCS-Transaction-Approval-Id            410   UTF8String  V,M   P     -           -           N
182 OCS-Transaction-Code                   411   Integer32   V,M   P     -           -           N
183 OCS-Transaction-Details                412   UTF8String  V,M   P     -           -           N
184 OCS-Transaction-Fee                    413   Grouped     V,M   P     -           -           N
185 OCS-Transaction-Id                     414   UTF8String  V,M   P     -           -           N
186 OCS-Transaction-Reversal               415   Grouped     V,M   P     -           -           N
187 OCS-Transaction-Settlement-Amount      416   Grouped     V,M   P     -           -           N
188 OCS-Transaction-Settlement-Fee         417   Grouped     V,M   P     -           -           N
189 -->
190
191 </dictionary>
192