1-- 2-- ETSI EN 300 207-1 V3.1.1 (2001-06) 3-- 4 5Diversion-Operations {etsi(0) xx(207) operations-and-errors(1)} 6 7DEFINITIONS EXPLICIT TAGS ::= 8 9BEGIN 10 11EXPORTS ActivationDiversion, 12 DeactivationDiversion, 13 ActivationStatusNotificationDiv, 14 DeactivationStatusNotificationDiv, 15 InterrogationDiversion, 16 InterrogateServedUserNumbers, 17 DiversionInformation, 18 CallDeflection, 19 CallRerouteing, 20 DivertingLegInformation1, 21 DivertingLegInformation2, 22 DivertingLegInformation3, 23 InvalidDivertedToNr, 24 SpecialServiceNr, 25 DiversionToServedUserNr, 26 IncomingCallAccepted, 27 NumberOfDiversionsExceeded, 28 NotActivated, 29 RequestAlreadyAccepted, 30 invalidDivertedToNr, 31 specialServiceNr, 32 diversionToServedUserNr, 33 incomingCallAccepted, 34 numberOfDiversionsExceeded, 35 notActivated, 36 requestAlreadyAccepted, 37ServedUserNr; 38 39IMPORTS OPERATION, ERROR FROM Remote-Operations-Information-Objects 40 {joint-iso-itu-t (2) remote-operations (4) informationObjects(5) version1(0)} 41 42 notSubscribed, 43 notAvailable, 44 invalidServedUserNr, 45 basicServiceNotProvided, 46 supplementaryServiceInteractionNotAllowed, 47 resourceUnavailable 48 FROM General-Errors 49 {itu-t(0) identified-organization(4) etsi(0) 196 general-errors(2)} 50 51 PresentedAddressScreened, 52 PresentedNumberUnscreened, 53 Address, 54 PartyNumber, 55 PartySubaddress, 56 PresentationAllowedIndicator 57 58 FROM Addressing-Data-Elements 59 {itu-t(0) identified-organization(4) etsi(0) 196 addressing-data-elements(6)} 60 61 BasicService 62 FROM Basic-Service-Elements 63 {itu-t(0) identified-organization(4) etsi(0) 196 basic-service-elements(8)} 64 65 Q931InformationElement 66 FROM Embedded-Q931-Types 67 {itu-t(0) identified-organization(4) etsi(0) 196 embedded-q931-types(7)}; 68 69 70 activationDiversion OPERATION ::= { 71 ARGUMENT ActivationDiversionArg 72 RETURN RESULT FALSE 73 ALWAYS RESPONDS FALSE 74 ERRORS { 75 notSubscribed, 76 notAvailable, 77 invalidServedUserNr, 78 supplementaryServiceInteractionNotAllowed, 79 basicServiceNotProvided, 80 resourceUnavailable, 81 invalidDivertedToNr, 82 specialServiceNr, 83 diversionToServedUserNr, 84 invalidNoReplyTimerValue} 85 CODE local: 7} 86 87 ActivationDiversionArg ::= SEQUENCE { 88 procedure Procedure, 89 basicService BasicService, 90 forwardedToAddress Address, 91 servedUserNr ServedUserNr, 92 noReplyTimer NoReplyTimer OPTIONAL 93 } 94 95 96 97 98-- End of ActivationDiversion operation definition 99 100 deactivationDiversion OPERATION ::= { 101 ARGUMENT DeactivationDiversionArg 102 RETURN RESULT FALSE 103 ALWAYS RESPONDS FALSE 104 ERRORS { 105 notSubscribed | 106 notAvailable | 107 invalidServedUserNr | 108 NotActivated} 109 CODE local: 8} 110 111 DeactivationDiversionArg ::= SEQUENCE { 112 procedure Procedure, 113 basicService BasicService, 114 servedUserNr ServedUserNr 115 } 116 117 118-- End of DeactivationDiversion operation definition 119 120 activationStatusNotificationDiv OPERATION ::= { 121 ARGUMENT ActivationStatusNotificationDivArg 122 RETURN RESULT FALSE 123 ALWAYS RESPONDS FALSE 124 CODE local: 9} 125 126 ActivationStatusNotificationDivArg ::= SEQUENCE { 127 procedure Procedure, 128 basicService BasicService, 129 forwardedToAddresss Address, 130 servedUserNr ServedUserNr} 131 132-- End of ActivationStatusNotificationDiv operation definition 133 134 deactivationStatusNotificationDiv OPERATION ::= { 135 ARGUMENT DeactivationStatusNotificationDivArg 136 RETURN RESULT FALSE 137 ALWAYS RESPONDS FALSE 138 CODE local: 10} 139 140 DeactivationStatusNotificationDivArg ::= SEQUENCE { 141 procedure Procedure, 142 basicService BasicService, 143 servedUserNr ServedUserNr} 144 145-- End of DeactivationStatusNotificationDiv operation definition 146 147 interrogationDiversion OPERATION ::= { 148 ARGUMENT InterrogationDiversionArg 149 RESULT InterrogationDiversionRes 150 ERRORS { 151 notSubscribed | 152 notAvailable | 153 invalidServedUserNr} 154 CODE local: 11} 155 156 InterrogationDiversionArg ::= SEQUENCE { 157 procedure Procedure, 158 basicService BasicService DEFAULT allServices, 159 servedUserNr ServedUserNr} 160 161 InterrogationDiversionRes ::= IntResultList 162 163 164-- End of InterrogationDiversion operation definition 165 166 interrogateServedUserNumbers OPERATION ::= { 167 RESULT InterrogateServedUserNumbersRes 168 ERRORS { 169 notSubscribed | 170 notAvailable} 171 CODE local: 17} 172 173 InterrogateServedUserNumbersRes ::= ServedUserNumberList 174 175-- End of InterrogateServedUserNumbers operation definition 176 177 diversionInformation OPERATION ::= { 178 ARGUMENT DiversionInformationArg 179 RETURN RESULT FALSE 180 ALWAYS RESPONDS FALSE 181 CODE local: 12} 182 183 DiversionInformationArg ::= SEQUENCE { 184 diversionReason DiversionReason, 185 basicService BasicService, 186 servedUserSubaddress PartySubaddress OPTIONAL, 187 callingAddress [0] PresentedAddressScreened OPTIONAL, 188 originalCalledNr [1] PresentedNumberUnscreened OPTIONAL, 189 lastDivertingNr [2] PresentedNumberUnscreened OPTIONAL, 190 lastDivertingReason [3] DiversionReason OPTIONAL, 191 userInfo Q931InformationElement OPTIONAL} 192 193-- The User-user information element, as specified in EN 300 286-1 [19] clause 7.3.3 , shall be 194--embedded in the userInfo parameter. 195 196-- End of DiversionInformation operation definition 197 198 callDeflection OPERATION ::= { 199 ARGUMENT CallDeflectionArg 200 RETURN RESULT FALSE 201 ERRORS { 202 notSubscribed | 203 notAvailable | 204 invalidDivertedToNr | 205 specialServiceNr | 206 diversionToServedUserNr | 207 incomingCallAccepted | 208 numberOfDiversionsExceeded | 209 supplementaryServiceInteractionNotAllowed | 210 requestAlreadyAccepted} 211 CODE local: 13} 212 213 CallDeflectionArg ::= SEQUENCE { 214 deflectionAddress Address, 215 presentationAllowedDivertedToUser PresentationAllowedIndicator 216 OPTIONAL} 217 218-- End of CallDeflection operation definition 219 220 callRerouteing OPERATION ::= { 221 ARGUMENT CallRerouteingArg 222 RETURN RESULT FALSE 223 ALWAYS RESPONDS FALSE 224 ERRORS { 225 notSubscribed | 226 notAvailable | 227 supplementaryServiceInteractionNotAllowed | 228 resourceUnavailable | 229 invalidDivertedToNr | 230 specialServiceNr | 231 diversionToServedUserNr | 232 numberOfDiversionsExceeded} 233 CODE local: 14} 234 235 CallRerouteingArg ::= SEQUENCE { 236 rerouteingReason DiversionReason, 237 calledAddress Address, 238 rerouteingCounter DiversionCounter, 239 q931InfoElement Q931InformationElement, 240 lastRerouteingNr [1] PresentedNumberUnscreened, 241 subscriptionOption [2] SubscriptionOption 242 DEFAULT noNotification, 243 callingPartySubaddress [3] PartySubaddress OPTIONAL} 244 245-- The User-user information element (optional), High layer compatibility information element 246-- (optional), Bearer capability information element and Low layer compatibility information 247-- element (optional) as specified in EN 300 403-1 [11] clause 4.5 shall be embedded in the 248-- q931InfoElement. 249 250 251-- End of CallRerouteing operation definition 252 253 divertingLegInformation1 OPERATION ::= { 254 ARGUMENT DivertingLegInformation1Arg 255 RETURN RESULT FALSE 256 ALWAYS RESPONDS FALSE 257 CODE local: 18} 258 259 DivertingLegInformation1Arg ::= SEQUENCE { 260 diversionReason DiversionReason, 261 subscriptionOption SubscriptionOption, 262 divertedToNumber PresentedNumberUnscreened OPTIONAL} 263 264-- End of DivertingLegInformation1 operation definition 265 266 267 divertingLegInformation2 OPERATION ::= { 268 ARGUMENT DivertingLegInformation2Arg 269 RETURN RESULT FALSE 270 ALWAYS RESPONDS FALSE 271 CODE local: 15} 272 273 DivertingLegInformation2Arg ::= SEQUENCE { 274 diversionCounter DiversionCounter, 275 diversionReason DiversionReason, 276 divertingNr [1] PresentedNumberUnscreened OPTIONAL, 277 originalCalledNr [2] PresentedNumberUnscreened OPTIONAL} 278 279-- End of DivertingLegInformation2 operation definition 280 divertingLegInformation3 OPERATION ::= { 281 ARGUMENT DivertingLegInformation3Arg 282 RETURN RESULT FALSE 283 ALWAYS RESPONDS FALSE 284 CODE local: 19} 285 286 DivertingLegInformation3Arg ::= PresentationAllowedIndicator 287 288-- End of DivertingLegInformation3 operation definition 289 290IntResultList ::= SET SIZE (0..29) OF IntResult 291 292IntResult ::= SEQUENCE {servedUserNr ServedUserNr, 293 basicService BasicService, 294 procedure Procedure, 295 forwardedToAddress Address} 296 297ServedUserNr ::= CHOICE {individualNumber PartyNumber, 298 allNumbers NULL} 299 300DiversionCounter ::= INTEGER (1..5) 301 302SubscriptionOption ::= ENUMERATED {noNotification (0), 303 notificationWithoutDivertedToNr (1), 304 notificationWithDivertedToNr (2)} 305 306Procedure ::= ENUMERATED {cfu (0), 307 cfb (1), 308 cfnr (2)} 309 310ServedUserNumberList ::= SET SIZE (0..99) OF PartyNumber 311 312DiversionReason ::= ENUMERATED {unknown (0), 313 cfu (1), 314 cfb (2), 315 cfnr (3), 316 cdAlerting (4), 317 cdImmediate (5)} 318 319NoReplyTimer ::= INTEGER (1..180) 320 321InvalidDivertedToNr ::= ERROR 322invalidDivertedToNr ERROR ::= { CODE local: 12} 323 324SpecialServiceNr ::= ERROR 325specialServiceNr ERROR ::= { CODE local: 14} 326 327DiversionToServedUserNr ::= ERROR 328diversionToServedUserNr ERROR ::= { CODE local: 15} 329 330IncomingCallAccepted ::= ERROR 331incomingCallAccepted ERROR ::= { CODE local: 23} 332 333NumberOfDiversionsExceeded ::= ERROR 334numberOfDiversionsExceeded ERROR ::= { CODE local: 24} 335 336NotActivated ::= ERROR 337notActivated ERROR ::= { CODE local: 46} 338 339RequestAlreadyAccepted ::= ERROR 340requestAlreadyAccepted ERROR ::= { CODE local: 48} 341 342InvalidNoReplyTimerValue ::= ERROR 343--invalidNoReplyTimerValue ERROR ::= { CODE local: xx} 344 345--deactivationDiversion DeactivationDiversion ::= localValue 8 346--activationStatusNotificationDiv ActivationStatusNotificationDiv ::= localValue 9 347--deactivationStatusNotificationDiv DeactivationStatusNotificationDiv ::= localValue 10 348--interrogationDiversion InterrogationDiversion ::= localValue 11 349--interrogateServedUserNumbers InterrogateServedUserNumbers ::= localValue 17 350--diversionInformation DiversionInformation ::= localValue 12 351--callDeflection CallDeflection ::= localValue 13 352--callRerouteing CallRerouteing ::= localValue 14 353--divertingLegInformation1 DivertingLegInformation1 ::= localValue 18 354--divertingLegInformation3 DivertingLegInformation3 ::= localValue 19 355--divertingLegInformation2 DivertingLegInformation2 ::= localValue 15 356--invalidDivertedToNr InvalidDivertedToNr ::= localValue 12 357--specialServiceNr SpecialServiceNr ::= localValue 14 358--diversionToServedUserNr DiversionToServedUserNr ::= localValue 15 359--incomingCallAccepted IncomingCallAccepted ::= localValue 23 360--numberOfDiversionsExceeded NumberOfDiversionsExceeded ::= localValue 24 361--notActivated NotActivated ::= localValue 46 362--requestAlreadyAccepted RequestAlreadyAccepted ::= localValue 48 363 364END -- of Diversion-Operations 365 366