Debian Codegraph @

contrib/scripts/asterisk.ldap-schema

raw
1 #
2 # Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
3 #
4 # Version: 3.2.2
5 #
6 # Changes:
7
8 # - Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox objectClasses
9 # to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
10 # - Added new Fields
11 # * AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
12 # * AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
13 # * AstAccountVideoSupport, AstAccountIgnoreSDPVersion
14 # Removed redundant IPaddr (there's already IPAddress)
15 # - Fixed typo - 13/08/2009
16 # - https://issues.asterisk.org/view.php?id=13725 - 12/08/2009
17 # - Added AsteriskVoiceMail Object class and AstAccountCallLimit attribute - 28/05/2009
18 # https://issues.asterisk.org/view.php?id=15155
19 # - Added AstAccountLastQualifyMilliseconds - 28/05/2009
20 # https://issues.asterisk.org/view.php?id=15156
21 # - https://issues.asterisk.org/view.php?id=12860 - 04/07/2008
22 # - Fixed wrong DESC - 07/05/2008
23 #
24 # Author: Gavin Henry - <[email protected]>
25 # Michael Kromer - <[email protected]>
26 #
27 # Asterisk LDAP Schema
28 #
29 # Digium root OID (http://www.iana.org/assignments/enterprise-numbers)
30 #
31 # 1.3.6.1.4.1.22736
32 # 1.3.6.1.4.1.22736.5 LDAP elements
33 # 1.3.6.1.4.1.22736.5.4 Attribute Types
34 # 1.3.6.1.4.1.22736.5.5 Object Classes
35 #
36 objectIdentifier AsteriskRoot 1.3.6.1.4.1.22736
37 objectIdentifier AsteriskLDAP AsteriskRoot:5
38
39 #############################################################################
40 # Attribute group OIDs. e.g.: objectIdentifier AstAttrType AsteriskLDAP:4
41 #############################################################################
42 objectIdentifier AstAttrType AsteriskLDAP:4
43
44 #############################################################################
45 # Attribute OIDs e.g.: objectIdentifier AstContext AstAttrType:1
46 #############################################################################
47 objectIdentifier AstContext AstAttrType:1
48 objectIdentifier AstExtension AstAttrType:2
49 objectIdentifier AstPriority AstAttrType:3
50 objectIdentifier AstApplication AstAttrType:4
51 objectIdentifier AstApplicationData AstAttrType:5
52 objectIdentifier AstAccountAMAFlags AstAttrType:6
53 objectIdentifier AstAccountCallerID AstAttrType:7
54 objectIdentifier AstAccountContext AstAttrType:8
55 objectIdentifier AstAccountMailbox AstAttrType:9
56 objectIdentifier AstMD5secret AstAttrType:10
57 objectIdentifier AstAccountDeny AstAttrType:11
58 objectIdentifier AstAccountPermit AstAttrType:12
59 objectIdentifier AstAccountQualify AstAttrType:13
60 objectIdentifier AstAccountType AstAttrType:14
61 objectIdentifier AstAccountDisallowedCodec AstAttrType:15
62 objectIdentifier AstAccountExpirationTimestamp AstAttrType:16
63 objectIdentifier AstAccountRegistrationContext AstAttrType:17
64 objectIdentifier AstAccountRegistrationExten AstAttrType:18
65 objectIdentifier AstAccountNoTransfer AstAttrType:19
66 objectIdentifier AstAccountCallGroup AstAttrType:20
67 objectIdentifier AstAccountCanReinvite AstAttrType:21
68 objectIdentifier AstAccountDTMFMode AstAttrType:22
69 objectIdentifier AstAccountFromUser AstAttrType:23
70 objectIdentifier AstAccountFromDomain AstAttrType:24
71 objectIdentifier AstAccountFullContact AstAttrType:25
72 objectIdentifier AstAccountHost AstAttrType:26
73 objectIdentifier AstAccountInsecure AstAttrType:27
74 objectIdentifier AstAccountNAT AstAttrType:28
75 objectIdentifier AstAccountPickupGroup AstAttrType:29
76 objectIdentifier AstAccountPort AstAttrType:30
77 objectIdentifier AstAccountRestrictCID AstAttrType:31
78 objectIdentifier AstAccountRTPTimeout AstAttrType:32
79 objectIdentifier AstAccountRTPHoldTimeout AstAttrType:33
80 objectIdentifier AstAccountRealmedPassword AstAttrType:34
81 objectIdentifier AstAccountAllowedCodec AstAttrType:35
82 objectIdentifier AstAccountMusicOnHold AstAttrType:36
83 objectIdentifier AstAccountCanCallForward AstAttrType:37
84 objectIdentifier AstAccountSecret AstAttrType:38
85 objectIdentifier AstAccountName AstAttrType:39
86 objectIdentifier AstConfigFilename AstAttrType:40
87 objectIdentifier AstConfigCategory AstAttrType:41
88 objectIdentifier AstConfigCategoryMetric AstAttrType:42
89 objectIdentifier AstConfigVariableName AstAttrType:43
90 objectIdentifier AstConfigVariableValue AstAttrType:44
91 objectIdentifier AstConfigCommented AstAttrType:45
92 objectIdentifier AstAccountIPAddress AstAttrType:46
93 objectIdentifier AstAccountDefaultUser AstAttrType:47
94 objectIdentifier AstAccountRegistrationServer AstAttrType:48
95 objectIdentifier AstAccountLastQualifyMilliseconds AstAttrType:49
96 objectIdentifier AstAccountCallLimit AstAttrType:50
97 objectIdentifier AstVoicemailMailbox AstAttrType:51
98 objectIdentifier AstVoicemailPassword AstAttrType:52
99 objectIdentifier AstVoicemailFullname AstAttrType:53
100 objectIdentifier AstVoicemailEmail AstAttrType:54
101 objectIdentifier AstVoicemailPager AstAttrType:55
102 objectIdentifier AstVoicemailOptions AstAttrType:56
103 objectIdentifier AstVoicemailTimestamp AstAttrType:57
104 objectIdentifier AstVoicemailContext AstAttrType:58
105 objectIdentifier AstAccountSubscribeContext AstAttrType:59
106 objectIdentifier AstAccountUserAgent AstAttrType:61
107 objectIdentifier AstAccountLanguage AstAttrType:62
108 objectIdentifier AstAccountTransport AstAttrType:63
109 objectIdentifier AstAccountPromiscRedir AstAttrType:64
110 objectIdentifier AstAccountAccountCode AstAttrType:65
111 objectIdentifier AstAccountSetVar AstAttrType:66
112 objectIdentifier AstAccountAllowOverlap AstAttrType:67
113 objectIdentifier AstAccountVideoSupport AstAttrType:68
114 objectIdentifier AstAccountIgnoreSDPVersion AstAttrType:69
115 objectIdentifier AstAccountPathSupport AstAttrType:70
116
117 #############################################################################
118 # Object Class OIDs
119 #############################################################################
120 objectIdentifier AstObjectClass AsteriskLDAP:2
121 objectIdentifier AsteriskExtension AstObjectClass:1
122 objectIdentifier AsteriskIAXUser AstObjectClass:2
123 objectIdentifier AsteriskSIPUser AstObjectClass:3
124 objectIdentifier AsteriskConfig AstObjectClass:4
125 objectIdentifier AsteriskVoiceMail AstObjectClass:5
126 objectIdentifier AsteriskDialplan AstObjectClass:6
127 objectIdentifier AsteriskAccount AstObjectClass:7
128 objectIdentifier AsteriskMailbox AstObjectClass:8
129
130
131 #############################################################################
132 # attribute definitions
133 #
134 # OID (the first arg) comes from the objectIdentifier defined above
135 #
136 # NAME should be the same as objectIdentifier
137 #
138 # DESC should be the description of the attribute
139 #
140 # EQUALITY is the rule to use when doing a search/compare for an
141 # attribute value.
142 #
143 # SUBSTR is the rule to use when doing a substring search (*foo*)
144 #
145 # SYNTAX is the syntax (i.e., type) of the attribute. We should
146 # probably stick to syntaxes:
147 #
148 # 1.3.6.1.4.1.1466.115.121.1.15 -> directoryString (UTF-8 string)
149 # 1.3.6.1.4.1.1466.115.121.1.26 -> IA5String (ASCII String)
150 # 1.3.6.1.4.1.1466.115.121.1.27 -> integer (Integer value)
151 #
152 # SINGLE-VALUE should be present if only one instance of this
153 # attribute is allowed within an entry.
154 #
155 # {32} is the allowed length
156 #
157 # e.g.:
158 #
159 # attributetype ( AstExample
160 # NAME ( 'AstExample' )
161 # DESC 'Asterisk Example Attribute'
162 # EQUALITY caseIgnoreMatch
163 # SUBSTR caseIgnoreSubstringsMatch
164 # SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32}
165 # SINGLE-VALUE )
166 #
167 #############################################################################
168
169 attributetype ( AstContext
170 NAME 'AstContext'
171 DESC 'Asterisk Context'
172 EQUALITY caseIgnoreMatch
173 SUBSTR caseIgnoreSubstringsMatch
174 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
175
176 attributetype ( AstExtension
177 NAME 'AstExtension'
178 DESC 'Asterisk Extension'
179 EQUALITY caseIgnoreMatch
180 SUBSTR caseIgnoreSubstringsMatch
181 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
182
183 attributetype ( AstPriority
184 NAME 'AstPriority'
185 DESC 'Asterisk Priority'
186 EQUALITY caseIgnoreMatch
187 SUBSTR caseIgnoreSubstringsMatch
188 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
189
190 attributetype ( AstApplication
191 NAME 'AstApplication'
192 DESC 'Asterisk Application'
193 EQUALITY caseIgnoreMatch
194 SUBSTR caseIgnoreSubstringsMatch
195 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
196
197 attributetype ( AstApplicationData
198 NAME 'AstApplicationData'
199 DESC 'Asterisk Application Data'
200 EQUALITY caseIgnoreMatch
201 SUBSTR caseIgnoreSubstringsMatch
202 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
203
204 attributetype ( AstAccountAMAFlags
205 NAME 'AstAccountAMAFlags'
206 DESC 'Asterisk Account AMA Flags'
207 EQUALITY caseIgnoreMatch
208 SUBSTR caseIgnoreSubstringsMatch
209 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
210
211 attributetype ( AstAccountCallerID
212 NAME 'AstAccountCallerID'
213 DESC 'Asterisk Account CallerID'
214 EQUALITY caseIgnoreMatch
215 SUBSTR caseIgnoreSubstringsMatch
216 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
217
218 attributetype ( AstAccountContext
219 NAME 'AstAccountContext'
220 DESC 'Asterisk Account Context'
221 EQUALITY caseIgnoreMatch
222 SUBSTR caseIgnoreSubstringsMatch
223 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
224
225 attributetype ( AstAccountMailbox
226 NAME 'AstAccountMailbox'
227 DESC 'Asterisk Account Mailbox'
228 EQUALITY caseIgnoreMatch
229 SUBSTR caseIgnoreSubstringsMatch
230 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
231
232 attributetype ( AstMD5secret
233 NAME 'AstMD5secret'
234 DESC 'Asterisk Account MD5 Secret'
235 EQUALITY caseIgnoreMatch
236 SUBSTR caseIgnoreSubstringsMatch
237 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
238
239 attributetype ( AstAccountDeny
240 NAME 'AstAccountDeny'
241 DESC 'Asterisk Account Deny'
242 EQUALITY caseIgnoreMatch
243 SUBSTR caseIgnoreSubstringsMatch
244 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
245
246 attributetype ( AstAccountPermit
247 NAME 'AstAccountPermit'
248 DESC 'Asterisk Account Permit'
249 EQUALITY caseIgnoreMatch
250 SUBSTR caseIgnoreSubstringsMatch
251 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
252
253 attributetype ( AstAccountQualify
254 NAME 'AstAccountQualify'
255 DESC 'Asterisk Account Qualify'
256 EQUALITY caseIgnoreMatch
257 SUBSTR caseIgnoreSubstringsMatch
258 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
259
260 attributetype ( AstAccountType
261 NAME 'AstAccountType'
262 DESC 'Asterisk Account Type'
263 EQUALITY caseIgnoreMatch
264 SUBSTR caseIgnoreSubstringsMatch
265 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
266
267 attributetype ( AstAccountDisallowedCodec
268 NAME 'AstAccountDisallowedCodec'
269 DESC 'Asterisk Account Disallowed Codec'
270 EQUALITY caseIgnoreMatch
271 SUBSTR caseIgnoreSubstringsMatch
272 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
273
274 attributetype ( AstAccountExpirationTimestamp
275 NAME 'AstAccountExpirationTimestamp'
276 DESC 'Asterisk Account Expiration Timestamp'
277 EQUALITY caseIgnoreMatch
278 SUBSTR caseIgnoreSubstringsMatch
279 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
280
281 attributetype ( AstAccountRegistrationContext
282 NAME 'AstAccountRegistrationContext'
283 DESC 'Asterisk Account Registration Context'
284 EQUALITY caseIgnoreMatch
285 SUBSTR caseIgnoreSubstringsMatch
286 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
287
288 attributetype ( AstAccountRegistrationExten
289 NAME 'AstAccountRegistrationExten'
290 DESC 'Asterisk Account Registration Extension'
291 EQUALITY caseIgnoreMatch
292 SUBSTR caseIgnoreSubstringsMatch
293 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
294
295 attributetype ( AstAccountNoTransfer
296 NAME 'AstAccountNoTransfer'
297 DESC 'Asterisk Account No Transfer'
298 EQUALITY caseIgnoreMatch
299 SUBSTR caseIgnoreSubstringsMatch
300 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
301
302 attributetype ( AstAccountCallGroup
303 NAME 'AstAccountCallGroup'
304 DESC 'Asterisk Account Call Group'
305 EQUALITY caseIgnoreMatch
306 SUBSTR caseIgnoreSubstringsMatch
307 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
308
309 attributetype ( AstAccountCanReinvite
310 NAME 'AstAccountCanReinvite'
311 DESC 'Asterisk Account Can Reinvite'
312 EQUALITY caseIgnoreMatch
313 SUBSTR caseIgnoreSubstringsMatch
314 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
315
316 attributetype ( AstAccountDTMFMode
317 NAME 'AstAccountDTMFMode'
318 DESC 'Asterisk Account DTMF Flags'
319 EQUALITY caseIgnoreMatch
320 SUBSTR caseIgnoreSubstringsMatch
321 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
322
323 attributetype ( AstAccountFromUser
324 NAME 'AstAccountFromUser'
325 DESC 'Asterisk Account From User'
326 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
327
328 attributetype ( AstAccountFromDomain
329 NAME 'AstAccountFromDomain'
330 DESC 'Asterisk Account From Domain'
331 EQUALITY caseIgnoreMatch
332 SUBSTR caseIgnoreSubstringsMatch
333 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
334
335 attributetype ( AstAccountFullContact
336 NAME 'AstAccountFullContact'
337 DESC 'Asterisk Account Full Contact'
338 EQUALITY caseIgnoreMatch
339 SUBSTR caseIgnoreSubstringsMatch
340 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
341
342 attributetype ( AstAccountHost
343 NAME 'AstAccountHost'
344 DESC 'Asterisk Account Host'
345 EQUALITY caseIgnoreMatch
346 SUBSTR caseIgnoreSubstringsMatch
347 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
348
349 attributetype ( AstAccountInsecure
350 NAME 'AstAccountInsecure'
351 DESC 'Asterisk Account Insecure'
352 EQUALITY caseIgnoreMatch
353 SUBSTR caseIgnoreSubstringsMatch
354 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
355
356 attributetype ( AstAccountNAT
357 NAME 'AstAccountNAT'
358 DESC 'Asterisk Account NAT'
359 EQUALITY caseIgnoreMatch
360 SUBSTR caseIgnoreSubstringsMatch
361 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
362
363 attributetype ( AstAccountPickupGroup
364 NAME 'AstAccountPickupGroup'
365 DESC 'Asterisk Account PickupGroup'
366 EQUALITY caseIgnoreMatch
367 SUBSTR caseIgnoreSubstringsMatch
368 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
369
370 attributetype ( AstAccountPort
371 NAME 'AstAccountPort'
372 DESC 'Asterisk Account Port'
373 EQUALITY caseIgnoreMatch
374 SUBSTR caseIgnoreSubstringsMatch
375 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
376
377 attributetype ( AstAccountRestrictCID
378 NAME 'AstAccountRestrictCID'
379 DESC 'Asterisk Account Restrict CallerID'
380 EQUALITY caseIgnoreMatch
381 SUBSTR caseIgnoreSubstringsMatch
382 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
383
384 attributetype ( AstAccountRTPTimeout
385 NAME 'AstAccountRTPTimeout'
386 DESC 'Asterisk Account RTP Timeout'
387 EQUALITY caseIgnoreMatch
388 SUBSTR caseIgnoreSubstringsMatch
389 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
390
391 attributetype ( AstAccountRTPHoldTimeout
392 NAME 'AstAccountRTPHoldTimeout'
393 DESC 'Asterisk Account RTP Hold Timeout'
394 EQUALITY caseIgnoreMatch
395 SUBSTR caseIgnoreSubstringsMatch
396 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
397
398 attributetype ( AstAccountRealmedPassword
399 NAME 'AstAccountRealmedPassword'
400 DESC 'Asterisk Account Realmed Password'
401 EQUALITY caseIgnoreMatch
402 SUBSTR caseIgnoreSubstringsMatch
403 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
404
405 attributetype ( AstAccountAllowedCodec
406 NAME 'AstAccountAllowedCodec'
407 DESC 'Asterisk Account Allowed Codec'
408 EQUALITY caseIgnoreMatch
409 SUBSTR caseIgnoreSubstringsMatch
410 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
411
412 attributetype ( AstAccountMusicOnHold
413 NAME 'AstAccountMusicOnHold'
414 DESC 'Asterisk Account Music On Hold'
415 EQUALITY caseIgnoreMatch
416 SUBSTR caseIgnoreSubstringsMatch
417 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
418
419 attributetype ( AstAccountCanCallForward
420 NAME 'AstAccountCanCallForward'
421 DESC 'Asterisk Account Can Call Forward'
422 EQUALITY caseIgnoreMatch
423 SUBSTR caseIgnoreSubstringsMatch
424 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
425
426 attributetype ( AstAccountSecret
427 NAME 'AstAccountSecret'
428 DESC 'Asterisk Account Secret'
429 EQUALITY caseIgnoreMatch
430 SUBSTR caseIgnoreSubstringsMatch
431 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
432
433 attributetype ( AstAccountName
434 NAME 'AstAccountName'
435 DESC 'Asterisk Account Username'
436 EQUALITY caseIgnoreMatch
437 SUBSTR caseIgnoreSubstringsMatch
438 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
439
440 attributetype ( AstConfigFilename
441 NAME 'AstConfigFilename'
442 DESC 'Asterisk LDAP Configuration Filename'
443 EQUALITY caseIgnoreMatch
444 SUBSTR caseIgnoreSubstringsMatch
445 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
446
447 attributetype ( AstConfigCategory
448 NAME 'AstConfigCategory'
449 DESC 'Asterisk LDAP Configuration Category'
450 EQUALITY caseIgnoreMatch
451 SUBSTR caseIgnoreSubstringsMatch
452 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
453
454 attributetype ( AstConfigCategoryMetric
455 NAME 'AstConfigCategoryMetric'
456 DESC 'Asterisk LDAP Configuration Category Metric'
457 EQUALITY caseIgnoreMatch
458 SUBSTR caseIgnoreSubstringsMatch
459 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
460
461 attributetype ( AstConfigVariableName
462 NAME 'AstConfigVariableName'
463 DESC 'Asterisk LDAP Configuration Variable Name'
464 EQUALITY caseIgnoreMatch
465 SUBSTR caseIgnoreSubstringsMatch
466 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
467
468 attributetype ( AstConfigVariableValue
469 NAME 'AstConfigVariableValue'
470 DESC 'Asterisk LDAP Configuration Variable Value'
471 EQUALITY caseIgnoreMatch
472 SUBSTR caseIgnoreSubstringsMatch
473 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
474
475 attributetype ( AstConfigCommented
476 NAME 'AstConfigCommented'
477 DESC 'Asterisk LDAP Configuration Commented'
478 EQUALITY caseIgnoreMatch
479 SUBSTR caseIgnoreSubstringsMatch
480 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
481
482 attributetype ( AstAccountIPAddress
483 NAME 'AstAccountIPAddress'
484 DESC 'Asterisk Account IP Address'
485 EQUALITY caseIgnoreMatch
486 SUBSTR caseIgnoreSubstringsMatch
487 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
488
489 attributetype ( AstAccountDefaultUser
490 NAME 'AstAccountDefaultUser'
491 DESC 'Asterisk Account Default User'
492 EQUALITY caseIgnoreMatch
493 SUBSTR caseIgnoreSubstringsMatch
494 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
495
496 attributetype ( AstAccountRegistrationServer
497 NAME 'AstAccountRegistrationServer'
498 DESC 'Asterisk Account Registration Server'
499 EQUALITY caseIgnoreMatch
500 SUBSTR caseIgnoreSubstringsMatch
501 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
502
503 attributetype ( AstAccountLastQualifyMilliseconds
504 NAME 'AstAccountLastQualifyMilliseconds'
505 DESC 'Asterisk Account Last Qualify Milliseconds'
506 EQUALITY caseIgnoreMatch
507 SUBSTR caseIgnoreSubstringsMatch
508 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
509
510 attributetype ( AstAccountCallLimit
511 NAME 'AstAccountCallLimit'
512 DESC 'Asterisk Account Call Limit'
513 EQUALITY caseIgnoreMatch
514 SUBSTR caseIgnoreSubstringsMatch
515 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
516
517 attributetype ( AstVoicemailMailbox
518 NAME 'AstVoicemailMailbox'
519 DESC 'Asterisk voicemail mailbox'
520 EQUALITY caseIgnoreMatch
521 SUBSTR caseIgnoreSubstringsMatch
522 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
523
524 attributetype ( AstVoicemailPassword
525 NAME 'AstVoicemailPassword'
526 DESC 'Asterisk voicemail password'
527 EQUALITY caseIgnoreMatch
528 SUBSTR caseIgnoreSubstringsMatch
529 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
530
531 attributetype ( AstVoicemailFullname
532 NAME 'AstVoicemailFullname'
533 DESC 'Asterisk voicemail fullname'
534 EQUALITY caseIgnoreMatch
535 SUBSTR caseIgnoreSubstringsMatch
536 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
537
538 attributetype ( AstVoicemailEmail
539 NAME 'AstVoicemailEmail'
540 DESC 'Asterisk voicemail email'
541 EQUALITY caseIgnoreMatch
542 SUBSTR caseIgnoreSubstringsMatch
543 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
544
545 attributetype ( AstVoicemailPager
546 NAME 'AstVoicemailPager'
547 DESC 'Asterisk voicemail pager'
548 EQUALITY caseIgnoreMatch
549 SUBSTR caseIgnoreSubstringsMatch
550 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
551
552 attributetype ( AstVoicemailOptions
553 NAME 'AstVoicemailOptions'
554 DESC 'Asterisk voicemail options'
555 EQUALITY caseIgnoreMatch
556 SUBSTR caseIgnoreSubstringsMatch
557 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
558
559 attributetype ( AstVoicemailTimestamp
560 NAME 'AstVoicemailTimestamp'
561 DESC 'Asterisk voicemail timestamp'
562 EQUALITY caseIgnoreMatch
563 SUBSTR caseIgnoreSubstringsMatch
564 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
565
566 attributetype ( AstVoicemailContext
567 NAME 'AstVoicemailContext'
568 DESC 'Asterisk voicemail context'
569 EQUALITY caseIgnoreMatch
570 SUBSTR caseIgnoreSubstringsMatch
571 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
572
573 attributetype ( AstAccountSubscribeContext
574 NAME 'AstAccountSubscribeContext'
575 DESC 'Asterisk subscribe context'
576 EQUALITY caseIgnoreMatch
577 SUBSTR caseIgnoreSubstringsMatch
578 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
579
580 attributetype ( AstAccountUserAgent
581 NAME 'AstAccountUserAgent'
582 DESC 'Asterisk account user context'
583 EQUALITY caseIgnoreMatch
584 SUBSTR caseIgnoreSubstringsMatch
585 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
586
587 attributetype ( AstAccountLanguage
588 NAME 'AstAccountLanguage'
589 DESC 'Asterisk account user language'
590 EQUALITY caseIgnoreMatch
591 SUBSTR caseIgnoreSubstringsMatch
592 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
593
594 attributetype ( AstAccountTransport
595 NAME 'AstAccountTransport'
596 DESC 'Asterisk account transport type'
597 EQUALITY caseIgnoreMatch
598 SUBSTR caseIgnoreSubstringsMatch
599 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
600
601 attributetype ( AstAccountPromiscRedir
602 NAME 'AstAccountPromiscRedir'
603 DESC 'Asterisk account promiscuous redirects'
604 EQUALITY caseIgnoreMatch
605 SUBSTR caseIgnoreSubstringsMatch
606 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
607
608 attributetype ( AstAccountAccountCode
609 NAME 'AstAccountAccountCode'
610 DESC 'Asterisk account billing code'
611 EQUALITY caseIgnoreMatch
612 SUBSTR caseIgnoreSubstringsMatch
613 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
614
615 attributetype ( AstAccountSetVar
616 NAME 'AstAccountSetVar'
617 DESC 'Asterisk account setvar'
618 EQUALITY caseIgnoreMatch
619 SUBSTR caseIgnoreSubstringsMatch
620 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
621
622 attributetype ( AstAccountAllowOverlap
623 NAME 'AstAccountAllowOverlap'
624 DESC 'Asterisk account allow overlap dialing'
625 EQUALITY caseIgnoreMatch
626 SUBSTR caseIgnoreSubstringsMatch
627 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
628
629 attributetype ( AstAccountVideoSupport
630 NAME 'AstAccountVideoSupport'
631 DESC 'Asterisk account video support'
632 EQUALITY caseIgnoreMatch
633 SUBSTR caseIgnoreSubstringsMatch
634 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
635
636 attributetype ( AstAccountIgnoreSDPVersion
637 NAME 'AstAccountIgnoreSDPVersion'
638 DESC 'Asterisk account ignore SDP version'
639 EQUALITY caseIgnoreMatch
640 SUBSTR caseIgnoreSubstringsMatch
641 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
642
643 attributetype ( AstAccountPathSupport
644 NAME 'AstAccountPathSupport'
645 DESC 'Asterisk account support Path RFC 3327'
646 EQUALITY caseIgnoreMatch
647 SUBSTR caseIgnoreSubstringsMatch
648 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
649
650 #############################################################################
651 # Object Class definitions
652 #
653 # This is where to define the object classes. Object classes are used
654 # to define which attribute MAY (optional) or MUST (required) belong
655 # to an entry.
656 #
657 # Classes can be AUXILIARY or STRUCTURAL. An entry in the directory
658 # must have one and only one structural class, but can have many
659 # AUXILIARY classes.
660 #
661 #############################################################################
662
663 objectclass ( AsteriskExtension
664 NAME 'AsteriskExtension'
665 DESC 'PBX Extension Information for Asterisk'
666 SUP top AUXILIARY
667 MUST cn
668 MAY (
669 AstContext $
670 AstExtension $
671 AstPriority $
672 AstApplication $
673 AstApplicationData
674 )
675 )
676
677 #############################################################################
678 #
679 # AsteriskIAXUser and AsteriskSIPUser extend AsteriskExtension. These
680 # represent real accounts in Asterisk.
681 #
682 # NOTE: They are defined as AUXILIARY in case they need to be mixed with an
683 # existing directory deployment.
684 #
685 #############################################################################
686
687 objectclass ( AsteriskIAXUser
688 NAME 'AsteriskIAXUser'
689 DESC 'IAX2 User information for Asterisk'
690 SUP AsteriskExtension AUXILIARY
691 MUST cn
692 MAY (
693 AstAccountAMAFlags $
694 AstAccountCallerID $
695 AstAccountContext $
696 AstAccountFullContact $
697 AstAccountHost $
698 AstAccountMailbox $
699 AstMD5secret $
700 AstAccountDeny $
701 AstAccountPermit $
702 AstAccountPort $
703 AstAccountQualify $
704 AstAccountType $
705 AstAccountLanguage $
706 AstAccountDisallowedCodec $
707 AstAccountExpirationTimestamp $
708 AstAccountRegistrationContext $
709 AstAccountRegistrationExten $
710 AstAccountNoTransfer $
711 AstAccountName $
712 AstAccountLastQualifyMilliseconds $
713 AstAccountCallLimit $
714 AstAccountSubscribeContext $
715 AstAccountIPAddress $
716 AstAccountUserAgent
717 )
718 )
719
720 objectclass ( AsteriskSIPUser
721 NAME 'AsteriskSIPUser'
722 DESC 'SIP User information for Asterisk'
723 SUP AsteriskExtension AUXILIARY
724 MUST cn
725 MAY (
726 AstAccountAccountCode $
727 AstAccountAllowOverlap $
728 AstAccountAllowedCodec $
729 AstAccountAMAFlags $
730 AstAccountCallGroup $
731 AstAccountCallLimit $
732 AstAccountCallerID $
733 AstAccountCanCallForward $
734 AstAccountCanReinvite $
735 AstAccountContext $
736 AstAccountDTMFMode $
737 AstAccountDefaultUser $
738 AstAccountDeny $
739 AstAccountDisallowedCodec $
740 AstAccountExpirationTimestamp $
741 AstAccountFromDomain $
742 AstAccountFromUser $
743 AstAccountFullContact $
744 AstAccountHost $
745 AstAccountIgnoreSDPVersion $
746 AstAccountInsecure $
747 AstAccountIPAddress $
748 AstAccountLanguage $
749 AstAccountLastQualifyMilliseconds $
750 AstAccountMailbox $
751 AstAccountMusicOnHold $
752 AstAccountNAT $
753 AstAccountName $
754 AstAccountPermit $
755 AstAccountPickupGroup $
756 AstAccountPort $
757 AstAccountPromiscRedir $
758 AstAccountQualify $
759 AstAccountRTPHoldTimeout $
760 AstAccountRTPTimeout $
761 AstAccountRealmedPassword $
762 AstAccountRegistrationContext $
763 AstAccountRegistrationExten $
764 AstAccountRegistrationServer $
765 AstAccountRestrictCID $
766 AstAccountSecret $
767 AstAccountSetVar $
768 AstAccountSubscribeContext $
769 AstAccountTransport $
770 AstAccountType $
771 AstAccountUserAgent $
772 AstAccountVideoSupport $
773 AstAccountPathSupport
774 )
775 )
776
777 #############################################################################
778 #
779 # AsteriskConfig and AsteriskVoiceMail extend AsteriskExtension. These
780 # represent real accounts in Asterisk.
781 #
782 # NOTE: They are defined as AUXILIARY in case they need to be mixed with an
783 # existing directory deployment.
784 #
785 #############################################################################
786
787 objectclass ( AsteriskConfig
788 NAME 'AsteriskConfig'
789 DESC 'Asterisk configuration Information'
790 SUP top AUXILIARY
791 MUST cn
792 MAY (
793 AstConfigFilename $
794 AstConfigCategory $
795 AstConfigCategoryMetric $
796 AstConfigVariableName $
797 AstConfigVariableValue $
798 AstConfigCommented
799 )
800 )
801
802 objectclass ( AsteriskVoiceMail
803 NAME 'AsteriskVoiceMail'
804 DESC 'Asterisk voicemail information'
805 SUP top AUXILIARY
806 MUST (
807 cn $
808 AstContext $
809 AstVoicemailMailbox $
810 AstVoicemailPassword
811 )
812 MAY (
813 AstVoicemailFullname $
814 AstVoicemailEmail $
815 AstVoicemailPager $
816 AstVoicemailOptions $
817 AstVoicemailTimestamp $
818 AstVoicemailContext
819 )
820 )
821
822 objectClass (
823 AsteriskDialplan
824 NAME 'AsteriskDialplan'
825 DESC 'Asterisk Dialplan Information'
826 SUP top STRUCTURAL
827 MUST ( AstExtension ) )
828
829 objectClass (
830 AsteriskAccount
831 NAME 'AsteriskAccount'
832 DESC 'Asterisk Account Information'
833 SUP top STRUCTURAL
834 MUST ( AstAccountName ) )
835
836 objectClass (
837 AsteriskMailbox
838 NAME 'AsteriskMailbox'
839 DESC 'Asterisk Mailbox Information'
840 SUP top STRUCTURAL
841 MUST ( AstVoicemailMailbox ) )