Code

Added location
[gosa.git] / contrib / openldap / gofon.schema
index 4ecd3be42dab85333846d0ea92fffa8faefb5501..508af22dd2c723f73d227a22c16c86dc9f98acfb 100644 (file)
@@ -1,9 +1,7 @@
 ## 
 ## Gonicus Attribute and Objectclass Definitions for GOfon
 ##
-## Version: 20041022
-##
-##     Maintained by:  Lars Scheiter (scheiter@GONICUS.de)
+##     Maintained by:  Cajus Pollmeier <pollmeier@gonicus.de>
 ##
 
 # Attributes 
@@ -11,8 +9,7 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.13.1 NAME 'goFonDeliveryMode'
        DESC 'GOFon delivery mode is defined here'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.2 NAME 'goFonForwarding'
        DESC 'defines which phone numbers get the next call'
@@ -31,99 +28,85 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.13.4 NAME 'goFonHardware'
        DESC 'defines voicemail delivery format'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.5 NAME 'goFonPIN'
        DESC 'defines voicemail delivery format'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.6 NAME 'goFonType'
        DESC 'sets the sip.conf type parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.7 NAME 'goFonDmtfMode'
        DESC 'sets the sip.conf dmtfmode parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.8 NAME 'goFonHost'
        DESC 'sets the sip.conf host parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.9 NAME 'goFonDefaultIP'
        DESC 'sets the sip.conf defaultip parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.10 NAME 'goFonQualify'
        DESC 'sets the sip.conf qualify parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.11 NAME 'goFonAuth'
        DESC 'sets the sip.conf auth parameter'
-       EQUALITY caseExactIA5Match
-       SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       EQUALITY caseExactMatch
+       SUBSTR caseExactSubstringsMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32} SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.12 NAME 'goFonSecret'
        DESC 'sets the sip.conf secret parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.13 NAME 'goFonInkeys'
        DESC 'sets the sip.conf inkeys parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.14 NAME 'goFonOutkey'
        DESC 'sets the sip.conf outkey parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.15 NAME 'goFonTrunk'
        DESC 'sets the sip.conf trunk parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.16 NAME 'goFonAccountCode'
        DESC 'sets the sip.conf accountcode parameter'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.17 NAME 'goFonMSN'
        DESC 'sets the sip.conf msn parameter'
-       EQUALITY caseExactIA5Match
-       SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE )
+       EQUALITY telephoneNumberMatch
+       SUBSTR telephoneNumberSubstringsMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.50{32} SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.18 NAME 'goFonPermit'
        DESC 'sets the sip.conf permit parameter'
@@ -141,15 +124,13 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.13.20 NAME 'goFonMacroVisible'
        DESC 'Triggers if the macro is visible for users'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE)
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.21 NAME 'goFonMacroContent'
        DESC 'Holds the macro'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
-       SINGLE-VALUE)
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.22 NAME 'goFonMacroParameter'
        DESC 'Holds the macro parameter definitions'
@@ -161,127 +142,146 @@ attributetype ( 1.3.6.1.4.1.10098.1.1.13.23 NAME 'goFonMacro'
        DESC 'Holds the macro parameter definitions'
        EQUALITY caseExactIA5Match
        SUBSTR caseExactIA5SubstringsMatch
-       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.24 NAME 'goFonTimeOut'
     DESC 'Holds the queue goFonTimeOut definitions'
-    EQUALITY caseExactIA5Match
-    SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    EQUALITY integerMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.25 NAME 'goFonMaxLen'
     DESC 'Holds the queue goFonMaxLen definitions'
-    EQUALITY caseExactIA5Match
-    SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    EQUALITY integerMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.26 NAME 'goFonAnnounceFrequency'
     DESC 'Holds the queue goFonAnnounceFrequency definitions'
-    EQUALITY caseExactIA5Match
-    SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    EQUALITY integerMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.27 NAME 'goFonDialOption'
     DESC 'Holds the queue goFonDialOption definitions'
-    EQUALITY caseExactIA5Match
-    SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    EQUALITY caseExactMatch
+    SUBSTR caseExactSubstringsMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.28 NAME 'goFonMusiconHold'
     DESC 'Holds the queue goFonMusiconHold definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.29 NAME 'goFonWelcomeMusic'
     DESC 'Holds the queue goFonWelcomeMusic definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.30 NAME 'goFonQueueReportHold'
     DESC 'Holds the queue goFonQueueReportHold definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.31 NAME 'goFonQueueYouAreNext'
     DESC 'Holds the queue goFonQueueYouAreNext definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.32 NAME 'goFonQueueThereAre'
     DESC 'Holds the queue goFonQueueThereAre definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.33 NAME 'goFonQueueCallsWaiting'
     DESC 'Holds the queue goFonQueueCallsWaiting definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.34 NAME 'goFonQueueThankYou'
     DESC 'Holds the queue goFonQueueThankYou definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.35 NAME 'goFonQueueMinutes'
     DESC 'Holds the queue goFonQueueMinutes definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.36 NAME 'goFonQueueSeconds'
     DESC 'Holds the queue goFonQueueSeconds definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.37 NAME 'goFonQueueLanguage'
     DESC 'Holds the queue goFonLanguage definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.38 NAME 'goFonQueueStrategy'
     DESC 'Holds the queue goFonStrategy definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.39 NAME 'goFonQueueAnnounceHoldtime'
     DESC 'Holds the queue goFonAnnounceHoldtime definitions'
-    EQUALITY caseExactIA5Match
-    SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    EQUALITY caseExactMatch
+    SUBSTR caseExactSubstringsMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4} SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.40 NAME 'goFonQueueAnnounce'
     DESC 'Holds the queue goFonAnnounce definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.41 NAME 'goFonQueueRetry'
     DESC 'Holds the queue goFonRetry definitions'
-    EQUALITY caseExactIA5Match
-    SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+       EQUALITY integerMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
 
 attributetype ( 1.3.6.1.4.1.10098.1.1.13.42 NAME 'goFonQueueLessThan'
     DESC 'Holds the queue goFonQueueLessThan definitions'
     EQUALITY caseExactIA5Match
     SUBSTR caseExactIA5SubstringsMatch
-    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
+
+attributetype ( 1.3.6.1.4.1.10098.1.1.13.43 NAME 'goFonConferenceOption'
+    DESC 'Holds the queue goFonConferenceOptions definitions'
+    EQUALITY caseExactMatch
+    SUBSTR caseExactSubstringsMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{16} SINGLE-VALUE)
+
+attributetype ( 1.3.6.1.4.1.10098.1.1.13.44 NAME 'goFonConferenceTimeOut'
+    DESC 'Holds the queue goFonConferenceTimeOut definitions'
+    EQUALITY integerMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE)
+
+attributetype ( 1.3.6.1.4.1.10098.1.1.13.45 NAME 'goFonConferenceOwner'
+    DESC 'Holds the queue goFonConferenceOwner definitions'
+       EQUALITY caseIgnoreMatch
+       SUBSTR caseIgnoreSubstringsMatch
+    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} SINGLE-VALUE)
+
+attributetype ( 1.3.6.1.4.1.10098.1.1.13.46 NAME 'goFonVoicemailPIN'
+       DESC 'defines voicemail delivery format'
+       EQUALITY caseExactIA5Match
+       SUBSTR caseExactIA5SubstringsMatch
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE)
 
 # objectclass 
 objectclass (1.3.6.1.4.1.10098.1.2.3.11 NAME 'goFonAccount' SUP top AUXILIARY
        DESC 'GOFon Account objectclass (v1.0)'
        MUST ( goFonDeliveryMode $ telephoneNumber $ uid )
-       MAY ( goFonFormat $ goFonForwarding $ goFonHardware $ goFonPIN $ goFonMacro ))
+       MAY ( goFonFormat $ goFonForwarding $ goFonHardware $ goFonPIN $ goFonVoicemailPIN $ goFonMacro ))
 
 objectclass (1.3.6.1.4.1.10098.1.2.3.12 NAME 'goFonHardware' SUP top STRUCTURAL
        DESC 'defines a telephone (v1.0)'
@@ -297,7 +297,7 @@ objectclass (1.3.6.1.4.1.10098.1.2.3.13 NAME 'goFonPickupGroup' SUP top AUXILIAR
 objectclass (1.3.6.1.4.1.10098.1.2.3.14 NAME 'goFonMacro' SUP top STRUCTURAL
        DESC 'Macro definitions for asterisk machines (v1.0)'
        MUST ( cn ) 
-       MAY ( goFonMacroVisible $ displayName $ goFonMacroContent $description $
+       MAY ( goFonMacroVisible $ displayName $ goFonMacroContent $ description $
                  goFonMacroParameter ))
 
 objectclass (1.3.6.1.4.1.10098.1.2.3.15 NAME 'goFonQueue' SUP top AUXILIARY
@@ -310,3 +310,9 @@ objectclass (1.3.6.1.4.1.10098.1.2.3.15 NAME 'goFonQueue' SUP top AUXILIARY
                  goFonQueueLanguage $ goFonQueueStrategy $ goFonQueueAnnounceHoldtime $ goFonQueueAnnounce $
                  goFonQueueRetry $ goFonQueueLessThan ))
 
+objectclass (1.3.6.1.4.1.10098.1.2.3.16 NAME 'goFonConference' SUP top STRUCTURAL
+       DESC 'Conference definitions for asterisk machines (v1.0)'
+       MUST ( cn ) 
+       MAY ( description $ goFonConferenceOption $ goFonConferenceTimeout $ goFonPIN $
+                 goFonConferenceOwner $ telephoneNumber ))
+