asterisk.ldap-schema 29 KB

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