Harald Welte | 7a23af3 | 2011-02-07 21:24:26 +0100 | [diff] [blame] | 1 | -- Generated by Asnp, the pretty-printer of France Telecom R&D (http://asn1.elibel.tm.fr/asnp/) |
| 2 | TCAP-Examples {itu-t recommendation q 775 modules(2) examples(2) version1(1)} |
| 3 | DEFINITIONS ::= |
| 4 | BEGIN |
| 5 | |
| 6 | IMPORTS |
| 7 | OPERATION, ERROR |
| 8 | FROM Remote-Operations-Information-Objects {joint-iso-itu-t |
| 9 | remote-operations(4) informationObjects(5) version1(0)}; |
| 10 | |
| 11 | provideRoutingInformation OPERATION ::= { |
| 12 | ARGUMENT RequestArgument |
| 13 | RESULT RoutingInformation |
| 14 | ERRORS |
| 15 | {invalidCalledNumber | subscriberNotReachable | calledBarred | |
| 16 | processingFailure} |
| 17 | LINKED {getCallingPartyAddress} |
| 18 | } |
| 19 | |
| 20 | -- timer T-pi = 10 s |
| 21 | getCallingPartyAddress OPERATION ::= { |
| 22 | RESULT CallingPartyAddress |
| 23 | ERRORS {callingPartyAddressNotAvailable | processingFailure} |
| 24 | } |
| 25 | |
| 26 | -- timer T-gp = 5 s |
| 27 | invalidCalledNumber ERROR ::= {CODE local:1 |
| 28 | } |
| 29 | |
| 30 | subscriberNotReachable ERROR ::= {CODE local:2 |
| 31 | } |
| 32 | |
| 33 | calledBarred ERROR ::= {CODE local:3 |
| 34 | } |
| 35 | |
| 36 | callingPartyAddressNotAvailable ERROR ::= {CODE local:4 |
| 37 | } |
| 38 | |
| 39 | processingFailure ERROR ::= {CODE local:5 |
| 40 | } |
| 41 | |
| 42 | -- data types |
| 43 | RequestArgument ::= SEQUENCE { |
| 44 | calledNumber IsdnNumber, |
| 45 | basicService BasicServiceIndicator OPTIONAL |
| 46 | } |
| 47 | |
| 48 | RoutingInformation ::= CHOICE { |
| 49 | reroutingNumber [0] IMPLICIT IsdnNumber, |
| 50 | forwardedToNumber [1] IMPLICIT IsdnNumber |
| 51 | } |
| 52 | |
| 53 | BasicServiceIndicator ::= ENUMERATED {speech(0), unrestrictedDigital(1)} |
| 54 | |
| 55 | CallingPartyAddress ::= IsdnNumber |
| 56 | |
| 57 | IsdnNumber ::= SEQUENCE { |
| 58 | typeOfAddress TypeOfAddress, |
| 59 | digits TelephonyString |
| 60 | } |
| 61 | |
| 62 | TypeOfAddress ::= ENUMERATED {national(0), international(1), private(2)} |
| 63 | |
| 64 | TelephonyString ::= |
| 65 | IA5String |
| 66 | (FROM ("0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "*" | |
| 67 | "#"))(SIZE (1..15)) |
| 68 | |
| 69 | END |
| 70 | |
| 71 | -- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D |
| 72 | |