Code

Updated gofon schema
[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)
142 attributetype ( 1.3.6.1.4.1.10098.1.1.13.23 NAME 'goFonMacro'
143     DESC 'Holds the macro parameter definitions'
144     EQUALITY caseExactMatch
145     SUBSTR caseExactSubstringsMatch
146     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)
148 attributetype ( 1.3.6.1.4.1.10098.1.1.13.24 NAME 'goFonTimeOut'
149     DESC 'Holds the queue goFonTimeOut definitions'
150     EQUALITY integerMatch
151     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
153 attributetype ( 1.3.6.1.4.1.10098.1.1.13.25 NAME 'goFonMaxLen'
154     DESC 'Holds the queue goFonMaxLen definitions'
155     EQUALITY integerMatch
156     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
158 attributetype ( 1.3.6.1.4.1.10098.1.1.13.26 NAME 'goFonAnnounceFrequency'
159     DESC 'Holds the queue goFonAnnounceFrequency definitions'
160     EQUALITY integerMatch
161     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
163 attributetype ( 1.3.6.1.4.1.10098.1.1.13.27 NAME 'goFonDialOption'
164     DESC 'Holds the queue goFonDialOption definitions'
165     EQUALITY caseExactMatch
166     SUBSTR caseExactSubstringsMatch
167     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE)
169 attributetype ( 1.3.6.1.4.1.10098.1.1.13.28 NAME 'goFonMusiconHold'
170     DESC 'Holds the queue goFonMusiconHold definitions'
171     EQUALITY caseExactIA5Match
172     SUBSTR caseExactIA5SubstringsMatch
173     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
175 attributetype ( 1.3.6.1.4.1.10098.1.1.13.29 NAME 'goFonWelcomeMusic'
176     DESC 'Holds the queue goFonWelcomeMusic definitions'
177     EQUALITY caseExactIA5Match
178     SUBSTR caseExactIA5SubstringsMatch
179     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
181 attributetype ( 1.3.6.1.4.1.10098.1.1.13.30 NAME 'goFonQueueReportHold'
182     DESC 'Holds the queue goFonQueueReportHold definitions'
183     EQUALITY caseExactIA5Match
184     SUBSTR caseExactIA5SubstringsMatch
185     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
187 attributetype ( 1.3.6.1.4.1.10098.1.1.13.31 NAME 'goFonQueueYouAreNext'
188     DESC 'Holds the queue goFonQueueYouAreNext definitions'
189     EQUALITY caseExactIA5Match
190     SUBSTR caseExactIA5SubstringsMatch
191     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
193 attributetype ( 1.3.6.1.4.1.10098.1.1.13.32 NAME 'goFonQueueThereAre'
194     DESC 'Holds the queue goFonQueueThereAre definitions'
195     EQUALITY caseExactIA5Match
196     SUBSTR caseExactIA5SubstringsMatch
197     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
199 attributetype ( 1.3.6.1.4.1.10098.1.1.13.33 NAME 'goFonQueueCallsWaiting'
200     DESC 'Holds the queue goFonQueueCallsWaiting definitions'
201     EQUALITY caseExactIA5Match
202     SUBSTR caseExactIA5SubstringsMatch
203     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
205 attributetype ( 1.3.6.1.4.1.10098.1.1.13.34 NAME 'goFonQueueThankYou'
206     DESC 'Holds the queue goFonQueueThankYou definitions'
207     EQUALITY caseExactIA5Match
208     SUBSTR caseExactIA5SubstringsMatch
209     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
211 attributetype ( 1.3.6.1.4.1.10098.1.1.13.35 NAME 'goFonQueueMinutes'
212     DESC 'Holds the queue goFonQueueMinutes definitions'
213     EQUALITY caseExactIA5Match
214     SUBSTR caseExactIA5SubstringsMatch
215     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
217 attributetype ( 1.3.6.1.4.1.10098.1.1.13.36 NAME 'goFonQueueSeconds'
218     DESC 'Holds the queue goFonQueueSeconds definitions'
219     EQUALITY caseExactIA5Match
220     SUBSTR caseExactIA5SubstringsMatch
221     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
223 attributetype ( 1.3.6.1.4.1.10098.1.1.13.37 NAME 'goFonQueueLanguage'
224     DESC 'Holds the queue goFonLanguage definitions'
225     EQUALITY caseExactIA5Match
226     SUBSTR caseExactIA5SubstringsMatch
227     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
229 attributetype ( 1.3.6.1.4.1.10098.1.1.13.38 NAME 'goFonQueueStrategy'
230     DESC 'Holds the queue goFonStrategy definitions'
231     EQUALITY caseExactIA5Match
232     SUBSTR caseExactIA5SubstringsMatch
233     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
235 attributetype ( 1.3.6.1.4.1.10098.1.1.13.39 NAME 'goFonQueueAnnounceHoldtime'
236     DESC 'Holds the queue goFonAnnounceHoldtime definitions'
237     EQUALITY caseExactMatch
238     SUBSTR caseExactSubstringsMatch
239     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4} SINGLE-VALUE)
241 attributetype ( 1.3.6.1.4.1.10098.1.1.13.40 NAME 'goFonQueueAnnounce'
242     DESC 'Holds the queue goFonAnnounce definitions'
243     EQUALITY caseExactIA5Match
244     SUBSTR caseExactIA5SubstringsMatch
245     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
247 attributetype ( 1.3.6.1.4.1.10098.1.1.13.41 NAME 'goFonQueueRetry'
248     DESC 'Holds the queue goFonRetry definitions'
249         EQUALITY integerMatch
250     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
252 attributetype ( 1.3.6.1.4.1.10098.1.1.13.42 NAME 'goFonQueueLessThan'
253     DESC 'Holds the queue goFonQueueLessThan definitions'
254     EQUALITY caseExactIA5Match
255     SUBSTR caseExactIA5SubstringsMatch
256     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
258 attributetype ( 1.3.6.1.4.1.10098.1.1.13.43 NAME 'goFonConferenceOption'
259     DESC 'Holds the queue goFonConferenceOptions definitions'
260     EQUALITY caseExactMatch
261     SUBSTR caseExactSubstringsMatch
262     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE)
264 attributetype ( 1.3.6.1.4.1.10098.1.1.13.44 NAME 'goFonConferenceTimeOut'
265     DESC 'Holds the queue goFonConferenceTimeOut definitions'
266     EQUALITY integerMatch
267     SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
269 attributetype ( 1.3.6.1.4.1.10098.1.1.13.45 NAME 'goFonConferenceOwner'
270     DESC 'Holds the queue goFonConferenceOwner definitions'
271         EQUALITY caseIgnoreMatch
272         SUBSTR caseIgnoreSubstringsMatch
273     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE)
275 attributetype ( 1.3.6.1.4.1.10098.1.1.13.46 NAME 'goFonVoicemailPIN'
276         DESC 'defines voicemail delivery format'
277         EQUALITY caseExactIA5Match
278         SUBSTR caseExactIA5SubstringsMatch
279         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
281 attributetype ( 1.3.6.1.4.1.10098.1.1.13.47 NAME 'goFonHomeServer'
282         DESC 'defines voicemail delivery format'
283         EQUALITY caseExactIA5Match
284         SUBSTR caseExactIA5SubstringsMatch
285         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
287 # objectclass 
288 objectclass (1.3.6.1.4.1.10098.1.2.3.11 NAME 'goFonAccount' SUP top AUXILIARY
289         DESC 'GOFon Account objectclass (v1.0)'
290         MUST ( goFonDeliveryMode $ telephoneNumber $ uid )
291         MAY ( goFonFormat $ goFonForwarding $ goFonHardware $ goFonPIN $ goFonVoicemailPIN $ goFonMacro $ goFonHomeServer ))
293 objectclass (1.3.6.1.4.1.10098.1.2.3.12 NAME 'goFonHardware' SUP top STRUCTURAL
294         DESC 'defines a telephone (v1.0)'
295         MUST ( cn $ macAddress $ ipHostNumber )
296         MAY (description $ goFonType $ goFonDmtfMode $ goFonHost $ goFonDefaultIP $
297                  goFonQualify $ goFonAuth $ goFonSecret $ goFonInkeys $ goFonOutkey $
298                  goFonTrunk $ goFonAccountCode $ goFonMSN $ goFonPermit $ goFonDeny ) )
300 objectclass (1.3.6.1.4.1.10098.1.2.3.13 NAME 'goFonPickupGroup' SUP top AUXILIARY
301         DESC 'Additive for posixGroups (v1.0)'
302         MUST ( cn $ gidNumber ) )
304 objectclass (1.3.6.1.4.1.10098.1.2.3.14 NAME 'goFonMacro' SUP top STRUCTURAL
305         DESC 'Macro definitions for asterisk machines (v1.0)'
306         MUST ( cn ) 
307         MAY ( goFonMacroVisible $ displayName $ goFonMacroContent $ description $
308                   goFonMacroParameter ))
310 objectclass (1.3.6.1.4.1.10098.1.2.3.15 NAME 'goFonQueue' SUP top AUXILIARY
311         DESC 'Queue definitions for asterisk machines (v1.0)'
312         MUST ( cn ) 
313         MAY ( goFonTimeOut $ goFonMaxLen $ goFonAnnounceFrequency $ goFonDialOption $
314                   goFonMusiconHold $ goFonWelcomeMusic $ goFonQueueReportHold $
315                   goFonQueueYouAreNext $ goFonQueueThereAre $ goFonQueueCallsWaiting $
316                   goFonQueueThankYou $ goFonQueueMinutes $ goFonQueueSeconds $ telephoneNumber $
317                   goFonQueueLanguage $ goFonQueueStrategy $ goFonQueueAnnounceHoldtime $ goFonQueueAnnounce $
318                   goFonQueueRetry $ goFonQueueLessThan ))
320 objectclass (1.3.6.1.4.1.10098.1.2.3.16 NAME 'goFonConference' SUP top STRUCTURAL
321         DESC 'Conference definitions for asterisk machines (v1.0)'
322         MUST ( cn ) 
323         MAY ( description $ goFonConferenceOption $ goFonConferenceTimeout $ goFonPIN $
324                   goFonConferenceOwner $ telephoneNumber ))