install_prereq: Download latest Jansson.
[asterisk/asterisk.git] / contrib / scripts / asterisk.ldap-schema
index f785ce8..85f9103 100644 (file)
@@ -1,17 +1,28 @@
 #
 # Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
 #
-# Version: 3.1.8
+# Version: 3.2.2
 #
 # Changes:
+
+# - Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox objectClasses
+#   to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
+# - Added new Fields
+#   * AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir, 
+#   * AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
+#   * AstAccountVideoSupport, AstAccountIgnoreSDPVersion    
+#   Removed redundant IPaddr (there's already IPAddress)
+# - Fixed typo - 13/08/2009
+# - https://issues.asterisk.org/view.php?id=13725 - 12/08/2009
 # - Added AsteriskVoiceMail Object class and AstAccountCallLimit attribute - 28/05/2009
 #   https://issues.asterisk.org/view.php?id=15155
 # - Added AstAccountLastQualifyMilliseconds - 28/05/2009
 #   https://issues.asterisk.org/view.php?id=15156
-# - http://bugs.digium.com/view.php?id=12860 - 04/07/2008
+# - https://issues.asterisk.org/view.php?id=12860 - 04/07/2008
 # - Fixed wrong DESC - 07/05/2008
 #
 # Author: Gavin Henry - <ghenry@suretecsystems.com>
+#         Michael Kromer - <medozas@medozas.de>
 #
 # Asterisk LDAP Schema
 #
@@ -30,7 +41,6 @@ objectIdentifier AsteriskLDAP AsteriskRoot:5
 #############################################################################
 objectIdentifier AstAttrType AsteriskLDAP:4
 
-
 #############################################################################
 # Attribute OIDs e.g.: objectIdentifier AstContext AstAttrType:1
 #############################################################################
@@ -91,7 +101,18 @@ objectIdentifier AstVoicemailEmail AstAttrType:54
 objectIdentifier AstVoicemailPager AstAttrType:55
 objectIdentifier AstVoicemailOptions AstAttrType:56
 objectIdentifier AstVoicemailTimestamp AstAttrType:57
-
+objectIdentifier AstVoicemailContext AstAttrType:58
+objectIdentifier AstAccountSubscribeContext AstAttrType:59
+objectIdentifier AstAccountUserAgent AstAttrType:61
+objectIdentifier AstAccountLanguage AstAttrType:62
+objectIdentifier AstAccountTransport AstAttrType:63
+objectIdentifier AstAccountPromiscRedir AstAttrType:64
+objectIdentifier AstAccountAccountCode AstAttrType:65
+objectIdentifier AstAccountSetVar AstAttrType:66
+objectIdentifier AstAccountAllowOverlap AstAttrType:67
+objectIdentifier AstAccountVideoSupport AstAttrType:68
+objectIdentifier AstAccountIgnoreSDPVersion AstAttrType:69
+objectIdentifier AstAccountPathSupport AstAttrType:70
 
 #############################################################################
 # Object Class OIDs
@@ -102,6 +123,9 @@ objectIdentifier AsteriskIAXUser AstObjectClass:2
 objectIdentifier AsteriskSIPUser AstObjectClass:3
 objectIdentifier AsteriskConfig AstObjectClass:4
 objectIdentifier AsteriskVoiceMail AstObjectClass:5
+objectIdentifier AsteriskDialplan AstObjectClass:6
+objectIdentifier AsteriskAccount AstObjectClass:7
+objectIdentifier AsteriskMailbox AstObjectClass:8
 
 
 #############################################################################
@@ -539,6 +563,90 @@ attributetype ( AstVoicemailTimestamp
         SUBSTR caseIgnoreSubstringsMatch
         SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
 
+attributetype ( AstVoicemailContext
+        NAME 'AstVoicemailContext'
+        DESC 'Asterisk voicemail context'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountSubscribeContext
+        NAME 'AstAccountSubscribeContext'
+        DESC 'Asterisk subscribe context'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountUserAgent
+        NAME 'AstAccountUserAgent'
+        DESC 'Asterisk account user context'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountLanguage
+        NAME 'AstAccountLanguage'
+        DESC 'Asterisk account user language'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountTransport
+        NAME 'AstAccountTransport'
+        DESC 'Asterisk account transport type'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountPromiscRedir
+        NAME 'AstAccountPromiscRedir'
+        DESC 'Asterisk account promiscous redirects'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountAccountCode
+        NAME 'AstAccountAccountCode'
+        DESC 'Asterisk account billing code'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountSetVar
+        NAME 'AstAccountSetVar'
+        DESC 'Asterisk account setvar'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountAllowOverlap
+        NAME 'AstAccountAllowOverlap'
+        DESC 'Asterisk account allow overlap dialing'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountVideoSupport
+        NAME 'AstAccountVideoSupport'
+        DESC 'Asterisk account video support'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountIgnoreSDPVersion
+        NAME 'AstAccountIgnoreSDPVersion'
+        DESC 'Asterisk account ignore SDP version'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( AstAccountPathSupport
+        NAME 'AstAccountPathSupport'
+        DESC 'Asterisk account support Path RFC 3327'
+        EQUALITY caseIgnoreMatch
+        SUBSTR caseIgnoreSubstringsMatch
+        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
 #############################################################################
 # Object Class definitions
 #
@@ -562,8 +670,7 @@ objectclass ( AsteriskExtension
         AstExtension $ 
         AstPriority $
         AstApplication $ 
-        AstApplicationData $
-               
+        AstApplicationData
     ) 
     )
 
@@ -595,14 +702,18 @@ objectclass ( AsteriskIAXUser
         AstAccountPort $ 
         AstAccountQualify $ 
         AstAccountType $
+        AstAccountLanguage $
         AstAccountDisallowedCodec $ 
         AstAccountExpirationTimestamp $ 
-        AstAccountRegistrationContext$
+        AstAccountRegistrationContext $
         AstAccountRegistrationExten $ 
         AstAccountNoTransfer $ 
         AstAccountName $
         AstAccountLastQualifyMilliseconds $
-        AstAccountCallLimit
+        AstAccountCallLimit $
+        AstAccountSubscribeContext $
+        AstAccountIPAddress $
+        AstAccountUserAgent            
     )
     )
        
@@ -612,43 +723,54 @@ objectclass ( AsteriskSIPUser
     SUP AsteriskExtension AUXILIARY
     MUST cn
     MAY (
+        AstAccountAccountCode $
+        AstAccountAllowOverlap $
+        AstAccountAllowedCodec $ 
         AstAccountAMAFlags $ 
         AstAccountCallGroup $ 
+        AstAccountCallLimit $
         AstAccountCallerID $ 
+        AstAccountCanCallForward $ 
         AstAccountCanReinvite $
         AstAccountContext $
-        AstAccountDefaultUser $
         AstAccountDTMFMode $ 
-        AstAccountFromUser $ 
+        AstAccountDefaultUser $
+        AstAccountDeny $ 
+        AstAccountDisallowedCodec $ 
+        AstAccountExpirationTimestamp $ 
         AstAccountFromDomain $     
+        AstAccountFromUser $ 
         AstAccountFullContact $ 
         AstAccountHost $ 
+        AstAccountIgnoreSDPVersion $  
         AstAccountInsecure $  
         AstAccountIPAddress $
+        AstAccountLanguage $
+        AstAccountLastQualifyMilliseconds $
         AstAccountMailbox $    
-        AstAccountRealmedPassword $ 
+        AstAccountMusicOnHold $
         AstAccountNAT $
-        AstAccountDeny $ 
+        AstAccountName $
         AstAccountPermit $ 
         AstAccountPickupGroup $ 
         AstAccountPort $
+        AstAccountPromiscRedir $
         AstAccountQualify $ 
-        AstAccountRestrictCID $ 
-        AstAccountRTPTimeout $ 
         AstAccountRTPHoldTimeout $
-        AstAccountType $ 
-        AstAccountDisallowedCodec $ 
-        AstAccountAllowedCodec $ 
-        AstAccountMusicOnHold $
-        AstAccountExpirationTimestamp $ 
+        AstAccountRTPTimeout $ 
+        AstAccountRealmedPassword $ 
         AstAccountRegistrationContext $ 
         AstAccountRegistrationExten $
         AstAccountRegistrationServer $
-        AstAccountCanCallForward $ 
+        AstAccountRestrictCID $ 
         AstAccountSecret $ 
-        AstAccountName $
-        AstAccountLastQualifyMilliseconds $
-        AstAccountCallLimit
+        AstAccountSetVar $
+        AstAccountSubscribeContext $
+        AstAccountTransport $
+        AstAccountType $ 
+        AstAccountUserAgent $  
+        AstAccountVideoSupport $
+        AstAccountPathSupport
     )
     )
 
@@ -692,6 +814,28 @@ objectclass ( AsteriskVoiceMail
     AstVoicemailEmail $
     AstVoicemailPager $
     AstVoicemailOptions $
-    AstVoicemailTimestamp   
+    AstVoicemailTimestamp $
+    AstVoicemailContext
     )
     )
+
+objectClass (
+       AsteriskDialplan
+       NAME 'AsteriskDialplan'
+       DESC 'Asterisk Dialplan Information'
+       SUP top STRUCTURAL
+       MUST ( AstExtension ) )
+
+objectClass (
+       AsteriskAccount
+       NAME 'AsteriskAccount'
+       DESC 'Asterisk Account Information'
+       SUP top STRUCTURAL
+       MUST ( AstAccountName ) )
+
+objectClass (
+       AsteriskMailbox
+       NAME 'AsteriskMailbox'
+       DESC 'Asterisk Mailbox Information'
+       SUP top STRUCTURAL
+       MUST ( AstVoicemailMailbox ) )