Code

6749d11bfb5372f72b93f733e6680450196e15fa
[gosa.git] / contrib / openldap / gofon.schema
1 ## 
2 ## Gonicus Attribute and Objectclass Definitions for GOfon
3 ##
4 ##      Maintained by:  Cajus Pollmeier <pollmeier@gonicus.de>
5 ##
7 # Attributes 
8 attributetype ( 1.3.6.1.4.1.10098.1.1.13.1 NAME 'goFonDeliveryMode'
9         DESC 'GOFon delivery mode is defined here'
10         EQUALITY caseExactIA5Match
11         SUBSTR caseExactIA5SubstringsMatch
12         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
14 attributetype ( 1.3.6.1.4.1.10098.1.1.13.2 NAME 'goFonForwarding'
15         DESC 'defines which phone numbers get the next call'
16         EQUALITY caseExactIA5Match
17         SUBSTR caseExactIA5SubstringsMatch
18         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
20 attributetype ( 1.3.6.1.4.1.10098.1.1.13.3 NAME 'goFonFormat'
21         DESC 'defines voicemail delivery format'
22         EQUALITY caseExactIA5Match
23         SUBSTR caseExactIA5SubstringsMatch
24         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
25         SINGLE-VALUE )
27 attributetype ( 1.3.6.1.4.1.10098.1.1.13.4 NAME 'goFonHardware'
28         DESC 'defines voicemail delivery format'
29         EQUALITY caseExactIA5Match
30         SUBSTR caseExactIA5SubstringsMatch
31         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
33 attributetype ( 1.3.6.1.4.1.10098.1.1.13.5 NAME 'goFonPIN'
34         DESC 'defines voicemail delivery format'
35         EQUALITY caseExactIA5Match
36         SUBSTR caseExactIA5SubstringsMatch
37         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
39 attributetype ( 1.3.6.1.4.1.10098.1.1.13.6 NAME 'goFonType'
40         DESC 'sets the sip.conf type parameter'
41         EQUALITY caseExactIA5Match
42         SUBSTR caseExactIA5SubstringsMatch
43         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
45 attributetype ( 1.3.6.1.4.1.10098.1.1.13.7 NAME 'goFonDmtfMode'
46         DESC 'sets the sip.conf dmtfmode parameter'
47         EQUALITY caseExactIA5Match
48         SUBSTR caseExactIA5SubstringsMatch
49         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
51 attributetype ( 1.3.6.1.4.1.10098.1.1.13.8 NAME 'goFonHost'
52         DESC 'sets the sip.conf host parameter'
53         EQUALITY caseExactIA5Match
54         SUBSTR caseExactIA5SubstringsMatch
55         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
57 attributetype ( 1.3.6.1.4.1.10098.1.1.13.9 NAME 'goFonDefaultIP'
58         DESC 'sets the sip.conf defaultip parameter'
59         EQUALITY caseExactIA5Match
60         SUBSTR caseExactIA5SubstringsMatch
61         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
63 attributetype ( 1.3.6.1.4.1.10098.1.1.13.10 NAME 'goFonQualify'
64         DESC 'sets the sip.conf qualify parameter'
65         EQUALITY caseExactIA5Match
66         SUBSTR caseExactIA5SubstringsMatch
67         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
69 attributetype ( 1.3.6.1.4.1.10098.1.1.13.11 NAME 'goFonAuth'
70         DESC 'sets the sip.conf auth parameter'
71         EQUALITY caseExactMatch
72         SUBSTR caseExactSubstringsMatch
73         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32} SINGLE-VALUE)
75 attributetype ( 1.3.6.1.4.1.10098.1.1.13.12 NAME 'goFonSecret'
76         DESC 'sets the sip.conf secret parameter'
77         EQUALITY caseExactIA5Match
78         SUBSTR caseExactIA5SubstringsMatch
79         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
81 attributetype ( 1.3.6.1.4.1.10098.1.1.13.13 NAME 'goFonInkeys'
82         DESC 'sets the sip.conf inkeys parameter'
83         EQUALITY caseExactIA5Match
84         SUBSTR caseExactIA5SubstringsMatch
85         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
87 attributetype ( 1.3.6.1.4.1.10098.1.1.13.14 NAME 'goFonOutkey'
88         DESC 'sets the sip.conf outkey parameter'
89         EQUALITY caseExactIA5Match
90         SUBSTR caseExactIA5SubstringsMatch
91         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
93 attributetype ( 1.3.6.1.4.1.10098.1.1.13.15 NAME 'goFonTrunk'
94         DESC 'sets the sip.conf trunk parameter'
95         EQUALITY caseExactIA5Match
96         SUBSTR caseExactIA5SubstringsMatch
97         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
99 attributetype ( 1.3.6.1.4.1.10098.1.1.13.16 NAME 'goFonAccountCode'
100         DESC 'sets the sip.conf accountcode parameter'
101         EQUALITY caseExactIA5Match
102         SUBSTR caseExactIA5SubstringsMatch
103         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
105 attributetype ( 1.3.6.1.4.1.10098.1.1.13.17 NAME 'goFonMSN'
106         DESC 'sets the sip.conf msn parameter'
107         EQUALITY telephoneNumberMatch
108         SUBSTR telephoneNumberSubstringsMatch
109         SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} SINGLE-VALUE)
111 attributetype ( 1.3.6.1.4.1.10098.1.1.13.18 NAME 'goFonPermit'
112         DESC 'sets the sip.conf permit parameter'
113         EQUALITY caseExactIA5Match
114         SUBSTR caseExactIA5SubstringsMatch
115         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
117 attributetype ( 1.3.6.1.4.1.10098.1.1.13.19 NAME 'goFonDeny'
118         DESC 'sets the sip.conf deny parameter'
119         EQUALITY caseExactIA5Match
120         SUBSTR caseExactIA5SubstringsMatch
121         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
123 attributetype ( 1.3.6.1.4.1.10098.1.1.13.20 NAME 'goFonMacroVisible'
124         DESC 'Triggers if the macro is visible for users'
125         EQUALITY caseExactIA5Match
126         SUBSTR caseExactIA5SubstringsMatch
127         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
129 attributetype ( 1.3.6.1.4.1.10098.1.1.13.21 NAME 'goFonMacroContent'
130         DESC 'Holds the macro'
131         EQUALITY caseExactIA5Match
132         SUBSTR caseExactIA5SubstringsMatch
133         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
135 attributetype ( 1.3.6.1.4.1.10098.1.1.13.22 NAME 'goFonMacroParameter'
136         DESC 'Holds the macro parameter definitions'
137         EQUALITY caseExactIA5Match
138         SUBSTR caseExactIA5SubstringsMatch
139         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
141 attributetype ( 1.3.6.1.4.1.10098.1.1.13.23 NAME 'goFonMacro'
142     DESC 'Holds the macro parameter definitions'
143     EQUALITY caseExactMatch
144     SUBSTR caseExactSubstringsMatch
145     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)
147 attributetype ( 1.3.6.1.4.1.10098.1.1.13.24 NAME 'goFonTimeOut'
148     DESC 'Holds the queue goFonTimeOut definitions'
149     EQUALITY integerMatch
150     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
152 attributetype ( 1.3.6.1.4.1.10098.1.1.13.25 NAME 'goFonMaxLen'
153     DESC 'Holds the queue goFonMaxLen definitions'
154     EQUALITY integerMatch
155     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
157 attributetype ( 1.3.6.1.4.1.10098.1.1.13.26 NAME 'goFonAnnounceFrequency'
158     DESC 'Holds the queue goFonAnnounceFrequency definitions'
159     EQUALITY integerMatch
160     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
162 attributetype ( 1.3.6.1.4.1.10098.1.1.13.27 NAME 'goFonDialOption'
163     DESC 'Holds the queue goFonDialOption definitions'
164     EQUALITY caseExactMatch
165     SUBSTR caseExactSubstringsMatch
166     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE)
168 attributetype ( 1.3.6.1.4.1.10098.1.1.13.28 NAME 'goFonMusiconHold'
169     DESC 'Holds the queue goFonMusiconHold definitions'
170     EQUALITY caseExactIA5Match
171     SUBSTR caseExactIA5SubstringsMatch
172     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
174 attributetype ( 1.3.6.1.4.1.10098.1.1.13.29 NAME 'goFonWelcomeMusic'
175     DESC 'Holds the queue goFonWelcomeMusic definitions'
176     EQUALITY caseExactIA5Match
177     SUBSTR caseExactIA5SubstringsMatch
178     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
180 attributetype ( 1.3.6.1.4.1.10098.1.1.13.30 NAME 'goFonQueueReportHold'
181     DESC 'Holds the queue goFonQueueReportHold definitions'
182     EQUALITY caseExactIA5Match
183     SUBSTR caseExactIA5SubstringsMatch
184     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
186 attributetype ( 1.3.6.1.4.1.10098.1.1.13.31 NAME 'goFonQueueYouAreNext'
187     DESC 'Holds the queue goFonQueueYouAreNext definitions'
188     EQUALITY caseExactIA5Match
189     SUBSTR caseExactIA5SubstringsMatch
190     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
192 attributetype ( 1.3.6.1.4.1.10098.1.1.13.32 NAME 'goFonQueueThereAre'
193     DESC 'Holds the queue goFonQueueThereAre definitions'
194     EQUALITY caseExactIA5Match
195     SUBSTR caseExactIA5SubstringsMatch
196     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
198 attributetype ( 1.3.6.1.4.1.10098.1.1.13.33 NAME 'goFonQueueCallsWaiting'
199     DESC 'Holds the queue goFonQueueCallsWaiting definitions'
200     EQUALITY caseExactIA5Match
201     SUBSTR caseExactIA5SubstringsMatch
202     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
204 attributetype ( 1.3.6.1.4.1.10098.1.1.13.34 NAME 'goFonQueueThankYou'
205     DESC 'Holds the queue goFonQueueThankYou definitions'
206     EQUALITY caseExactIA5Match
207     SUBSTR caseExactIA5SubstringsMatch
208     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
210 attributetype ( 1.3.6.1.4.1.10098.1.1.13.35 NAME 'goFonQueueMinutes'
211     DESC 'Holds the queue goFonQueueMinutes definitions'
212     EQUALITY caseExactIA5Match
213     SUBSTR caseExactIA5SubstringsMatch
214     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
216 attributetype ( 1.3.6.1.4.1.10098.1.1.13.36 NAME 'goFonQueueSeconds'
217     DESC 'Holds the queue goFonQueueSeconds definitions'
218     EQUALITY caseExactIA5Match
219     SUBSTR caseExactIA5SubstringsMatch
220     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
222 attributetype ( 1.3.6.1.4.1.10098.1.1.13.37 NAME 'goFonQueueLanguage'
223     DESC 'Holds the queue goFonLanguage definitions'
224     EQUALITY caseExactIA5Match
225     SUBSTR caseExactIA5SubstringsMatch
226     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
228 attributetype ( 1.3.6.1.4.1.10098.1.1.13.38 NAME 'goFonQueueStrategy'
229     DESC 'Holds the queue goFonStrategy definitions'
230     EQUALITY caseExactIA5Match
231     SUBSTR caseExactIA5SubstringsMatch
232     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
234 attributetype ( 1.3.6.1.4.1.10098.1.1.13.39 NAME 'goFonQueueAnnounceHoldtime'
235     DESC 'Holds the queue goFonAnnounceHoldtime definitions'
236     EQUALITY caseExactMatch
237     SUBSTR caseExactSubstringsMatch
238     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4} SINGLE-VALUE)
240 attributetype ( 1.3.6.1.4.1.10098.1.1.13.40 NAME 'goFonQueueAnnounce'
241     DESC 'Holds the queue goFonAnnounce definitions'
242     EQUALITY caseExactIA5Match
243     SUBSTR caseExactIA5SubstringsMatch
244     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
246 attributetype ( 1.3.6.1.4.1.10098.1.1.13.41 NAME 'goFonQueueRetry'
247     DESC 'Holds the queue goFonRetry definitions'
248         EQUALITY integerMatch
249     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
251 attributetype ( 1.3.6.1.4.1.10098.1.1.13.42 NAME 'goFonQueueLessThan'
252     DESC 'Holds the queue goFonQueueLessThan definitions'
253     EQUALITY caseExactIA5Match
254     SUBSTR caseExactIA5SubstringsMatch
255     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
257 attributetype ( 1.3.6.1.4.1.10098.1.1.13.43 NAME 'goFonConferenceOption'
258     DESC 'Holds the queue goFonConferenceOptions definitions'
259     EQUALITY caseExactMatch
260     SUBSTR caseExactSubstringsMatch
261     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE)
263 attributetype ( 1.3.6.1.4.1.10098.1.1.13.44 NAME 'goFonConferenceTimeOut'
264     DESC 'Holds the queue goFonConferenceTimeOut definitions'
265     EQUALITY integerMatch
266     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
268 attributetype ( 1.3.6.1.4.1.10098.1.1.13.45 NAME 'goFonConferenceOwner'
269     DESC 'Holds the queue goFonConferenceOwner definitions'
270         EQUALITY caseIgnoreMatch
271         SUBSTR caseIgnoreSubstringsMatch
272     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE)
274 attributetype ( 1.3.6.1.4.1.10098.1.1.13.46 NAME 'goFonVoicemailPIN'
275         DESC 'defines voicemail delivery format'
276         EQUALITY caseExactIA5Match
277         SUBSTR caseExactIA5SubstringsMatch
278         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
280 attributetype ( 1.3.6.1.4.1.10098.1.1.13.47 NAME 'goFonHomeServer'
281         DESC 'defines voicemail delivery format'
282         EQUALITY caseExactMatch
283         SUBSTR caseExactSubstringsMatch
284         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)
286 # objectclass 
287 objectclass (1.3.6.1.4.1.10098.1.2.3.11 NAME 'goFonAccount' SUP top AUXILIARY
288         DESC 'GOFon Account objectclass (v1.0)'
289         MUST ( goFonDeliveryMode $ telephoneNumber $ uid )
290         MAY ( goFonFormat $ goFonForwarding $ goFonHardware $ goFonPIN $ goFonVoicemailPIN $ goFonMacro $ goFonHomeServer ))
292 objectclass (1.3.6.1.4.1.10098.1.2.3.12 NAME 'goFonHardware' SUP top STRUCTURAL
293         DESC 'defines a telephone (v1.0)'
294         MUST ( cn $ macAddress $ ipHostNumber )
295         MAY (description $ goFonType $ goFonDmtfMode $ goFonHost $ goFonDefaultIP $
296                  goFonQualify $ goFonAuth $ goFonSecret $ goFonInkeys $ goFonOutkey $
297                  goFonTrunk $ goFonAccountCode $ goFonMSN $ goFonPermit $ goFonDeny ) )
299 objectclass (1.3.6.1.4.1.10098.1.2.3.13 NAME 'goFonPickupGroup' SUP top AUXILIARY
300         DESC 'Additive for posixGroups (v1.0)'
301         MUST ( cn $ gidNumber ) )
303 objectclass (1.3.6.1.4.1.10098.1.2.3.14 NAME 'goFonMacro' SUP top STRUCTURAL
304         DESC 'Macro definitions for asterisk machines (v1.0)'
305         MUST ( cn ) 
306         MAY ( goFonMacroVisible $ displayName $ goFonMacroContent $ description $
307                   goFonMacroParameter ))
309 objectclass (1.3.6.1.4.1.10098.1.2.3.15 NAME 'goFonQueue' SUP top AUXILIARY
310         DESC 'Queue definitions for asterisk machines (v1.0)'
311         MUST ( cn ) 
312         MAY ( goFonTimeOut $ goFonMaxLen $ goFonAnnounceFrequency $ goFonDialOption $
313                   goFonMusiconHold $ goFonWelcomeMusic $ goFonQueueReportHold $
314                   goFonQueueYouAreNext $ goFonQueueThereAre $ goFonQueueCallsWaiting $
315                   goFonQueueThankYou $ goFonQueueMinutes $ goFonQueueSeconds $ telephoneNumber $
316                   goFonQueueLanguage $ goFonQueueStrategy $ goFonQueueAnnounceHoldtime $ goFonQueueAnnounce $
317                   goFonQueueRetry $ goFonQueueLessThan ))
319 objectclass (1.3.6.1.4.1.10098.1.2.3.16 NAME 'goFonConference' SUP top STRUCTURAL
320         DESC 'Conference definitions for asterisk machines (v1.0)'
321         MUST ( cn ) 
322         MAY ( description $ goFonConferenceOption $ goFonConferenceTimeout $ goFonPIN $
323                   goFonConferenceOwner $ telephoneNumber ))