asterisk.ldif 29 KB

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