asterisk.schema 28 KB

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