2 * Copyright (c) 1997, 2002 Hellmuth Michaelis. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 /*---------------------------------------------------------------------------
28 * i4b_q932fac.h - Q932 facility handling header file
29 * --------------------------------------------------
33 * last edit-date: [Sat Mar 9 19:37:46 2002]
35 *---------------------------------------------------------------------------
37 * - Q.932 (03/93) Generic Procedures for the Control of
38 * ISDN Supplementaty Services
39 * - Q.950 (03/93) Supplementary Services Protocols, Structure and
41 * - ETS 300 179 (10/92) Advice Of Charge: charging information during
42 * the call (AOC-D) supplementary service Service description
43 * - ETS 300 180 (10/92) Advice Of Charge: charging information at the
44 * end of call (AOC-E) supplementary service Service description
45 * - ETS 300 181 (04/93) Advice Of Charge (AOC) supplementary service
46 * Functional capabilities and information flows
47 * - ETS 300 182 (04/93) Advice Of Charge (AOC) supplementary service
48 * Digital Subscriber Signalling System No. one (DSS1) protocol
49 * - X.208 Specification of Abstract Syntax Notation One (ASN.1)
50 * - X.209 Specification of Basic Encoding Rules for
51 * Abstract Syntax Notation One (ASN.1)
52 * - "ASN.1 Abstract Syntax Notation One", Walter Gora, DATACOM-Verlag
53 * 1992, 3rd Edition (ISBN 3-89238-062-7) (german !)
55 *---------------------------------------------------------------------------*/
58 #define FAC_PROTO_ROP 0x11
59 #define FAC_PROTO_CMIP 0x12
60 #define FAC_PROTO_ACSE 0x13
63 #define FAC_TAGCLASS_UNI 0x00
64 #define FAC_TAGCLASS_APW 0x01
65 #define FAC_TAGCLASS_COS 0x02
66 #define FAC_TAGCLASS_PRU 0x03
69 #define FAC_TAGFORM_PRI 0x00
70 #define FAC_TAGFORM_CON 0x01
72 /* class UNIVERSAL values */
73 #define FAC_CODEUNI_BOOL 1
74 #define FAC_CODEUNI_INT 2
75 #define FAC_CODEUNI_BITS 3
76 #define FAC_CODEUNI_OCTS 4
77 #define FAC_CODEUNI_NULL 5
78 #define FAC_CODEUNI_OBJI 6
79 #define FAC_CODEUNI_OBJD 7
80 #define FAC_CODEUNI_EXT 8
81 #define FAC_CODEUNI_REAL 9
82 #define FAC_CODEUNI_ENUM 10
83 #define FAC_CODEUNI_R11 11
84 #define FAC_CODEUNI_R12 12
85 #define FAC_CODEUNI_R13 13
86 #define FAC_CODEUNI_R14 14
87 #define FAC_CODEUNI_R15 15
88 #define FAC_CODEUNI_SEQ 16
89 #define FAC_CODEUNI_SET 17
90 #define FAC_CODEUNI_NSTR 18
91 #define FAC_CODEUNI_PSTR 19
92 #define FAC_CODEUNI_TSTR 20
93 #define FAC_CODEUNI_VSTR 21
94 #define FAC_CODEUNI_ISTR 22
95 #define FAC_CODEUNI_UTIME 23
96 #define FAC_CODEUNI_GTIME 24
97 #define FAC_CODEUNI_GSTR 25
98 #define FAC_CODEUNI_VISTR 26
99 #define FAC_CODEUNI_GNSTR 27
101 /* operation values */
102 #define FAC_OPVAL_UUS 1
103 #define FAC_OPVAL_CUG 2
104 #define FAC_OPVAL_MCID 3
105 #define FAC_OPVAL_BTPY 4
106 #define FAC_OPVAL_ETPY 5
107 #define FAC_OPVAL_ECT 6
109 #define FAC_OPVAL_DIV_ACT 7
110 #define FAC_OPVAL_DIV_DEACT 8
111 #define FAC_OPVAL_DIV_ACTSN 9
112 #define FAC_OPVAL_DIV_DEACTSN 10
113 #define FAC_OPVAL_DIV_INTER 11
114 #define FAC_OPVAL_DIV_INFO 12
115 #define FAC_OPVAL_DIV_CALLDEF 13
116 #define FAC_OPVAL_DIV_CALLRER 14
117 #define FAC_OPVAL_DIV_LINF2 15
118 #define FAC_OPVAL_DIV_INVS 16
119 #define FAC_OPVAL_DIV_INTER1 17
120 #define FAC_OPVAL_DIV_LINF1 18
121 #define FAC_OPVAL_DIV_LINF3 19
123 #define FAC_OPVAL_ER_CRCO 20
124 #define FAC_OPVAL_ER_MGMT 21
125 #define FAC_OPVAL_ER_CANC 22
127 #define FAC_OPVAL_MLPP_QUERY 24
128 #define FAC_OPVAL_MLPP_CALLR 25
129 #define FAC_OPVAL_MLPP_CALLP 26
131 #define FAC_OPVAL_AOC_REQ 30
132 #define FAC_OPVAL_AOC_S_CUR 31
133 #define FAC_OPVAL_AOC_S_SPC 32
134 #define FAC_OPVAL_AOC_D_CUR 33
135 #define FAC_OPVAL_AOC_D_UNIT 34
136 #define FAC_OPVAL_AOC_E_CUR 35
137 #define FAC_OPVAL_AOC_E_UNIT 36
138 #define FAC_OPVAL_AOC_IDOFCRG 37
140 #define FAC_OPVAL_CONF_BEG 40
141 #define FAC_OPVAL_CONF_ADD 41
142 #define FAC_OPVAL_CONF_SPLIT 42
143 #define FAC_OPVAL_CONF_DROP 43
144 #define FAC_OPVAL_CONF_ISOLATE 44
145 #define FAC_OPVAL_CONF_REATT 45
146 #define FAC_OPVAL_CONF_PDISC 46
147 #define FAC_OPVAL_CONF_FCONF 47
148 #define FAC_OPVAL_CONF_END 48
149 #define FAC_OPVAL_CONF_IDCFE 49
151 #define FAC_OPVAL_REVC_REQ 60