## 
## Gonicus Attribute and Objectclass Definitions for GOfon
##
##	Maintained by:	Cajus Pollmeier <pollmeier@gonicus.de>
##

# Attributes 
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)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.2 NAME 'goFonForwarding'
	DESC 'defines which phone numbers get the next call'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.10098.1.1.13.3 NAME 'goFonFormat'
	DESC 'defines voicemail delivery format'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch
	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.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)

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)

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)

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)

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)

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)

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)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.11 NAME 'goFonAuth'
	DESC 'sets the sip.conf auth parameter'
	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)

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)

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)

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)

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)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.17 NAME 'goFonMSN'
	DESC 'sets the sip.conf msn parameter'
	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'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.19 NAME 'goFonDeny'
	DESC 'sets the sip.conf deny parameter'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

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)

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)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.22 NAME 'goFonMacroParameter'
	DESC 'Holds the macro parameter definitions'
	EQUALITY caseExactIA5Match
	SUBSTR caseExactIA5SubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.23 NAME 'goFonMacro'
    DESC 'Holds the macro parameter definitions'
    EQUALITY caseExactMatch
    SUBSTR caseExactSubstringsMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.24 NAME 'goFonTimeOut'
    DESC 'Holds the queue goFonTimeOut 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.25 NAME 'goFonMaxLen'
    DESC 'Holds the queue goFonMaxLen 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.26 NAME 'goFonAnnounceFrequency'
    DESC 'Holds the queue goFonAnnounceFrequency 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.27 NAME 'goFonDialOption'
    DESC 'Holds the queue goFonDialOption 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.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 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 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 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 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 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 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 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 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 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 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 SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.39 NAME 'goFonQueueAnnounceHoldtime'
    DESC 'Holds the queue goFonAnnounceHoldtime definitions'
    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 SINGLE-VALUE)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.41 NAME 'goFonQueueRetry'
    DESC 'Holds the queue goFonRetry 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.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 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)

attributetype ( 1.3.6.1.4.1.10098.1.1.13.47 NAME 'goFonHomeServer'
	DESC 'defines voicemail delivery format'
	EQUALITY caseExactMatch
	SUBSTR caseExactSubstringsMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 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 $ goFonVoicemailPIN $ goFonMacro $ goFonHomeServer ))

objectclass (1.3.6.1.4.1.10098.1.2.3.12 NAME 'goFonHardware' SUP top STRUCTURAL
	DESC 'defines a telephone (v1.0)'
	MUST ( cn $ macAddress $ ipHostNumber )
	MAY (description $ goFonType $ goFonDmtfMode $ goFonHost $ goFonDefaultIP $
		 goFonQualify $ goFonAuth $ goFonSecret $ goFonInkeys $ goFonOutkey $
		 goFonTrunk $ goFonAccountCode $ goFonMSN $ goFonPermit $ goFonDeny ) )

objectclass (1.3.6.1.4.1.10098.1.2.3.13 NAME 'goFonPickupGroup' SUP top AUXILIARY
	DESC 'Additive for posixGroups (v1.0)'
	MUST ( cn $ gidNumber ) )

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 $
		  goFonMacroParameter ))

objectclass (1.3.6.1.4.1.10098.1.2.3.15 NAME 'goFonQueue' SUP top AUXILIARY
	DESC 'Queue definitions for asterisk machines (v1.0)'
	MUST ( cn ) 
	MAY ( goFonTimeOut $ goFonMaxLen $ goFonAnnounceFrequency $ goFonDialOption $
		  goFonMusiconHold $ goFonWelcomeMusic $ goFonQueueReportHold $
		  goFonQueueYouAreNext $ goFonQueueThereAre $ goFonQueueCallsWaiting $
		  goFonQueueThankYou $ goFonQueueMinutes $ goFonQueueSeconds $ telephoneNumber $
		  goFonQueueLanguage $ goFonQueueStrategy $ goFonQueueAnnounceHoldtime $ goFonQueueAnnounce $
		  goFonQueueRetry $ goFonQueueLessThan $ goFonHomeServer ))

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 $ goFonHomeServer))

