aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/qsig/QSIG-AOC.asn
blob: 15cca38ad158bd4f7b88d345c4e41884bd460c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
-- QSIG-AOC.asn
--
-- Taken from Ecma International
-- Standard ECMA-212, 3rd edition (December 2001)
-- http://www.ecma-international.org/publications/standards/Ecma-212.htm
--

SS-AOC-Operations-asn1-97 
{iso (1) standard (0)  pss1-advice-of-charge (15050) advice-of-charge-operations-asn1-97 (1)} 
 
DEFINITIONS EXPLICIT TAGS ::= 
 
BEGIN 
 
IMPORTS  OPERATION, ERROR FROM Remote-Operations-Information-Objects 
    {joint-iso-itu-t (2) remote-operations (4) informationObjects(5) version1(0)} 
  EXTENSION, Extension{} FROM Manufacturer-specific-service-extension-class-asn1-97 
    {iso (1) standard (0) pss1-generic-procedures (11582) msi-class-asn1-97 (11)} 
 notAvailable, supplementaryServiceInteractionNotAllowed 
 FROM General-Error-List 
    {ccitt recommendation q 950 general-error-list (1)} 
  PartyNumber FROM Addressing-Data-Elements-asn1-97 
    { iso (1) standard (0) pss1-generic-procedures (11582)  
    addressing-data-elements-asn1-97 (20) }  ; 
 
AOC-Operations OPERATION ::=   { chargeRequest | getFinalCharge | aocFinal | aocInterim | aocRate | 
        aocComplete | aocDivChargeReq } 
 
aocRate    OPERATION ::= { 
   ARGUMENT       AocRateArg 
   RETURN RESULT     FALSE 
   ALWAYS RESPONDS  FALSE 
   CODE        local:  63} 
 
AocRateArg ::=  SEQUENCE { 
     aocRate  CHOICE { 
        chargeNotAvailable  NULL, 
        aocSCurrencyInfoList AOCSCurrencyInfoList  
              }, 
     rateArgExtension  CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
        multipleExtension  [2] IMPLICIT SEQUENCE OF  
            Extension{{AOCExtSet}} } OPTIONAL 
      } 

aocInterim    OPERATION ::= { 
   ARGUMENT AocInterimArg 
   RETURN RESULT     FALSE 
   ALWAYS RESPONDS  FALSE 
   CODE        local:  62} 
      
AocInterimArg ::=  SEQUENCE { 
     interimCharge  CHOICE { 
      chargeNotAvailable [0] IMPLICIT  NULL, 
      freeOfCharge    [1] IMPLICIT  NULL, 
      specificCurrency    SEQUENCE { 
        recordedCurrency [1] IMPLICIT RecordedCurrency, 
          interimBillingId[2] IMPLICIT InterimBillingId OPTIONAL } 
               }, 
     interimArgExtension  CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
        multipleExtension  [2] IMPLICIT SEQUENCE OF  
                  Extension{{AOCExtSet}} } OPTIONAL 
      } 
 
aocFinal    OPERATION ::= { 
   ARGUMENT AocFinalArg 
   RETURN RESULT     FALSE 
   ALWAYS RESPONDS  FALSE 
   CODE        local:  61} 
 
AocFinalArg ::=  SEQUENCE { 
     finalCharge  CHOICE { 
        chargeNotAvailable [0] IMPLICIT NULL, 
        freeOfCharge [1] IMPLICIT NULL, 
      specificCurrency  SEQUENCE { 
        recordedCurrency [1] IMPLICIT RecordedCurrency, 
            finalBillingId[2]  IMPLICIT FinalBillingId OPTIONAL } 
                    }, 
     chargingAssociation  ChargingAssociation OPTIONAL, 
     finalArgExtension  CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
        multipleExtension  [2] IMPLICIT SEQUENCE OF  
                  Extension{{AOCExtSet}} } OPTIONAL 
      } 
 
AOCSCurrencyInfoList ::= SEQUENCE SIZE(1..10) OF AOCSCurrencyInfo 

AOCSCurrencyInfo ::=  SEQUENCE { 
    chargedItem  ChargedItem, 
      rateType  CHOICE { 
      durationCurrency       [1] IMPLICIT DurationCurrency, 
      flatRateCurrency         [2] IMPLICIT FlatRateCurrency, 
     volumeRateCurrency      [3] IMPLICIT VolumeRateCurrency, 
     specialChargingCode   SpecialChargingCode, 
      freeOfCharge       [4] IMPLICIT NULL, 
      currencyInfoNotAvailable   [5] IMPLICIT NULL, 
      freeOfChargefromBeginning [6] IMPLICIT NULL 
        }  } 
ChargedItem  ::=   ENUMERATED { 
      basicCommunication      (0), 
      callAttempt          (1), 
      callSetup          (2), 
      userToUserInfo       (3), 
     operationOfSupplementaryServ (4) } 
 
DurationCurrency ::=  SEQUENCE { 
     dCurrency    [1] IMPLICIT     Currency, 
     dAmount    [2] IMPLICIT     Amount, 
     dChargingType [3] IMPLICIT     ChargingType, 
     dTime    [4] IMPLICIT     Time, 
      dGranularity   [5] IMPLICIT     Time OPTIONAL } 
 
FlatRateCurrency ::=  SEQUENCE { 
     fRCurrency  [1] IMPLICIT Currency, 
      fRAmount  [2] IMPLICIT Amount  } 
 
VolumeRateCurrency ::=  SEQUENCE { 
     vRCurrency   [1] IMPLICIT Currency, 
     vRAmount    [2] IMPLICIT Amount, 
     vRVolumeUnit  [3] IMPLICIT VolumeUnit 
       } 
 
SpecialChargingCode ::=  INTEGER (1..10) 
 
RecordedCurrency ::=  SEQUENCE { 
     rCurrency  [1] IMPLICIT Currency, 
      rAmount  [2] IMPLICIT Amount } 
 
InterimBillingId ::=  ENUMERATED { 
     normalCharging    (0), 
     creditCardCharging  (2) } 

FinalBillingId ::=  ENUMERATED { 
      normalCharging      (0), 
     creditCardCharging      (2), 
     callForwardingUnconditional (3), 
     callForwardingBusy      (4), 
     callForwardingNoReply    (5), 
      callDeflection       (6), 
      callTransfer        (7) } 
 
Currency  ::=  IA5String (SIZE (0..10)) 
    -- SIZE(0) shall indicate the default currency of the PISN 
    -- The representation of other currencies is outside the scope of this standard 
 
Amount ::=  SEQUENCE { 
     currencyAmount  [1] IMPLICIT CurrencyAmount, 
     multiplier      [2] IMPLICIT Multiplier  } 
 
CurrencyAmount ::=  INTEGER (0..16777215) 
Multiplier ::=  ENUMERATED { 
     oneThousandth (0), 
     oneHundredth  (1), 
     oneTenth    (2), 
     one     (3), 
     ten     (4), 
     hundred    (5), 
     thousand    (6) } 
 
Time ::=  SEQUENCE { 
     lengthOfTimeUnit  [1] IMPLICIT LengthOfTimeUnit, 
     scale      [2] IMPLICIT Scale } 
 
LengthOfTimeUnit ::=  INTEGER (0..16777215) 
 
Scale ::=  ENUMERATED { 
     oneHundredthSecond (0), 
     oneTenthSecond    (1), 
      oneSecond      (2), 
      tenSeconds     (3), 
      oneMinute      (4), 
      oneHour      (5), 
     twentyFourHours    (6) } 
 
VolumeUnit ::=  ENUMERATED { 
     octet   (0), 
     segment  (1), 
     message  (2) } 

ChargingType ::=  ENUMERATED { 
     continuousCharging  (0), 
      stepFunction    (1) } 
 
ChargingAssociation ::=  CHOICE { 
     chargeNumber [0]   PartyNumber, 
     chargeIdentifier ChargeIdentifier } 
 
ChargeIdentifier ::=  INTEGER (-32768..32767) 
 
chargeRequest    OPERATION ::= { 
   ARGUMENT   ChargeRequestArg 
   RESULT    ChargeRequestRes 
   ERRORS    { 
          freeOfCharge | 
          supplementaryServiceInteractionNotAllowed | 
            notAvailable | unspecified } 
   CODE    local: 59} 
 
getFinalCharge    OPERATION ::= { 
   ARGUMENT  DummyArg 
   RETURN RESULT     FALSE 
   ALWAYS RESPONDS  FALSE 
   CODE        local:  60} 
 
ChargeRequestArg ::=  SEQUENCE { 
  adviceModeCombinations  SEQUENCE SIZE(0..7) OF 
        AdviceModeCombination, 
 chargeReqArgExtension CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
        multipleExtension  [2] IMPLICIT SEQUENCE OF  
                 Extension{{AOCExtSet}} } OPTIONAL 
      } 
 
ChargeRequestRes ::=  SEQUENCE { 
   adviceModeCombination  AdviceModeCombination, 
    chargeReqResExtension   CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
      multipleExtension  [2] IMPLICIT SEQUENCE OF  
              Extension{{AOCExtSet}} } OPTIONAL 
      } 

AdviceModeCombination ::=  ENUMERATED {    -- advice mode combination 
      rate          (0),  -- charge rate provision 
      rateInterim        (1),  -- charge rate and interim charge provision 
      rateFinal        (2),  -- charge rate and final charge provision 
      interim        (3),  -- interim charge provision 
      final          (4),  -- final charge provision 
      interimFinal       (5),  -- interim charge and final charge provision 
      rateInterimFinal      (6)}  -- charge rate, interim charge and final  
                 -- charge provision 
 
DummyArg ::=  CHOICE{ 
     none       NULL, 
     extension      [1] IMPLICIT Extension{{AOCExtSet}}, 
     multipleExtension  [2] IMPLICIT SEQUENCE OF Extension{{AOCExtSet}} 
     } 
 
 
-- The following OPERATION applies for the interaction with Call Transfer 
 
aocComplete    OPERATION ::= { 
   ARGUMENT AocCompleteArg   
   RESULT  AocCompleteRes 
   ERRORS  {supplementaryServiceInteractionNotAllowed} 
   CODE  local: 64} 
 
AocCompleteArg ::=  SEQUENCE { 
      chargedUser     PartyNumber, 
     chargingAssociation  ChargingAssociation OPTIONAL, 
      completeArgExtension   CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
        multipleExtension  [2] IMPLICIT SEQUENCE OF  
                 Extension{{AOCExtSet}} } OPTIONAL 
      } 
 
AocCompleteRes::= SEQUENCE { 
   chargingOption ChargingOption, 
    completeResExtension   CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
     multipleExtension  [2] IMPLICIT SEQUENCE OF Extension{{AOCExtSet}} 
                 } OPTIONAL 
     } 
 
ChargingOption ::=  ENUMERATED{ 
     aocFreeOfCharge   (0), 
     aocContinueCharging (1), 
     aocStopCharging    (2) 
      } 

-- The following OPERATION applies for the interaction with Call Diversion 
 
aocDivChargeReq   OPERATION::= { 
   ARGUMENT AocDivChargeReqArg 
   RETURN RESULT     FALSE 
   ALWAYS RESPONDS  FALSE 
   CODE        local:  65} 
 
 
AocDivChargeReqArg  ::= SEQUENCE { 
   divertingUser    PartyNumber, 
   chargingAssociation  ChargingAssociation OPTIONAL, 
   diversionType    DiversionType, 
    aocDivChargeReqArgExt   CHOICE { 
      extension [1]  IMPLICIT Extension{{AOCExtSet}}, 
     multipleExtension  [2] IMPLICIT SEQUENCE OF Extension{{AOCExtSet}} 
                 } OPTIONAL 
     } 
 
 
DiversionType  ::= ENUMERATED { 
     callForwardingUnconditional (0), 
     callForwardingBusy      (1), 
     callForwardingNoReply    (2), 
      callDeflection       (3) } 
 
AOCExtSet EXTENSION ::= {...} 
 
unspecified  ERROR ::= { 
 PARAMETER     Extension{{AOCExtSet}} 
  CODE       local: 1008} 
 
freeOfCharge  ERROR ::= { CODE  local: 1016} 
 
END  -- of SS-AOC-Operations-asn1-97