I inserted a new schema in my OpenLDAP (from here:
http://free.oxymium.net/Asterisk and attached) and I'd like to be able
to create the relevant objects with Luma (which pronptly recognized the
additions in the schema browser). Is it possible?
#SIP && IAX
# multi value: {MD5}, {SHA}...
attributetype (1.3.6.1.4.1.4980.1.2.81
NAME 'realmedPassword'
DESC 'RealmedPassword (Hashes of <user>:<realm>:<secret>) begining with
the hash tag like {MD5}'
EQUALITY octetStringMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{80} )
)
# ======== EXTENSIONS =============
attributetype (1.3.6.1.4.1.4980.10.2.1.1
NAME 'oxyPBXExtensionContext'
SUP name
SINGLE-VALUE
DESC 'PBX Extension: Context {20}'
)
attributetype (1.3.6.1.4.1.4980.10.2.1.2
NAME 'oxyPBXExtensionExten'
SUP name
SINGLE-VALUE
DESC 'PBX Extension: Exten {20}'
)
#Integer
attributetype (1.3.6.1.4.1.4980.10.2.1.3
NAME 'oxyPBXExtensionPriority'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
EQUALITY integerMatch
DESC 'PBX Extension: Priority'
)
attributetype (1.3.6.1.4.1.4980.10.2.1.4
NAME 'oxyPBXExtensionApplication'
SUP name
SINGLE-VALUE
DESC 'PBX Extension: Application {20}'
)
attributetype (1.3.6.1.4.1.4980.10.2.1.5
NAME 'oxyPBXExtensionApplicationData'
SUP name
SINGLE-VALUE
DESC 'PBX Extension: Application Data {128}'
)
# ======== Accounts =============
#SIP & IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.1
NAME 'oxyPBXAccountAccountingCode'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Accounting Code {20}'
)
#SIP & IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.2
NAME 'oxyPBXAccountAMAFlags'
SUP name
SINGLE-VALUE
DESC 'PBX Account: AMA Flags (default|omit|billing|documentation)'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.3
NAME 'oxyPBXAccountCallGroup'
SUP name
SINGLE-VALUE
DESC 'PBX Account: CallGroup {10}'
)
#SIP & IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.4
NAME 'oxyPBXAccountCallerID'
SUP name
SINGLE-VALUE
DESC 'PBX Account: CallerID {sip=80 or iax=100}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.5
NAME 'oxyPBXAccountCanReinvite'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
DESC 'PBX Account: CallReinvite (TRUE/FALSE)'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.6
NAME 'oxyPBXAccountContext'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Context {sip=80 or iax=100}'
)
#SIP && IAX (defaultip)
attributetype (1.3.6.1.4.1.4980.10.2.2.7
NAME 'oxyPBXAccountDefaultHost'
SUP name
SINGLE-VALUE
DESC 'PBX Account: DefaultHost (IP or Host name)'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.8
NAME 'oxyPBXAccountDTMFMode'
SUP name
SINGLE-VALUE
DESC 'PBX Account: DTMFMode (inband|rfc2833|info|auto)'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.9
NAME 'oxyPBXAccountFromUser'
SUP name
SINGLE-VALUE
DESC 'PBX Account: FromUser {80}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.10
NAME 'oxyPBXAccountFromDomain'
SUP name
SINGLE-VALUE
DESC 'PBX Account: FromDomain {80}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.11
NAME 'oxyPBXAccountFullContact'
SUP name
SINGLE-VALUE
DESC 'PBX Account: FullContact {80}'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.12
NAME 'oxyPBXAccountHost'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Host (or "dynamic") {31}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.13
NAME 'oxyPBXAccountInsecure'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Insecure {4}'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.14
NAME 'oxyPBXAccountUserName'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Username {80}'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.15
NAME 'oxyPBXAccountMailbox'
SUP name
DESC 'PBX Account: Mailbox {50}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.17
NAME 'oxyPBXAccountNAT'
SUP name
SINGLE-VALUE
DESC 'PBX Account: NAT (yes|no|never|route)'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.18
NAME 'oxyPBXAccountDeny'
SUP name
DESC 'PBX Account: Deny {95}'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.19
NAME 'oxyPBXAccountPermit'
SUP name
DESC 'PBX Account: Permit {95}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.20
NAME 'oxyPBXAccountPickupGroup'
SUP name
SINGLE-VALUE
DESC 'PBX Account: PickupGroup {10}'
)
#SIP && IAX
# Integer
attributetype (1.3.6.1.4.1.4980.10.2.2.21
NAME 'oxyPBXAccountPort'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
EQUALITY integerMatch
DESC 'PBX Account: Port'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.22
NAME 'oxyPBXAccountQualify'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Qualify (xxx|no|yes), xxx is the number of seconds'
)
#SIP
#Boolean
attributetype (1.3.6.1.4.1.4980.10.2.2.23
NAME 'oxyPBXAccountRestrictCID'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
DESC 'PBX Account: RestrictCID (TRUE/FALSE)'
)
#SIP
#Integer
attributetype (1.3.6.1.4.1.4980.10.2.2.24
NAME 'oxyPBXAccountRTPTimeout'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
EQUALITY integerMatch
DESC 'PBX Account: RTPTimeout (seconds)'
)
#SIP
#Integer
attributetype (1.3.6.1.4.1.4980.10.2.2.25
NAME 'oxyPBXAccountRTPHoldTimeout'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
EQUALITY integerMatch
DESC 'PBX Account: RTPHoldTimeout (seconds)'
)
#SIP && IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.26
NAME 'oxyPBXAccountType'
SUP name
SINGLE-VALUE
DESC 'PBX Account: Account type (peer|user|friend)'
)
#SIP && IAX (disallow)
attributetype (1.3.6.1.4.1.4980.10.2.2.27
NAME 'oxyPBXAccountDisallowedCodec'
SUP name
DESC 'PBX Account: DisallowedCodec {15}'
)
#SIP && IAX (allow)
attributetype (1.3.6.1.4.1.4980.10.2.2.28
NAME 'oxyPBXAccountAllowedCodec'
SUP name
DESC 'PBX Account: AllowedCodec {15}'
)
#SIP
attributetype (1.3.6.1.4.1.4980.10.2.2.29
NAME 'oxyPBXAccountMusicOnHold'
SUP name
SINGLE-VALUE
DESC 'PBX Account: MusicOnHold {100}'
)
#SIP && IAX (regseconds)
#Generalized Time
attributetype (1.3.6.1.4.1.4980.10.2.2.30
NAME 'oxyPBXAccountExpirationTimestamp'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
DESC 'PBX Account: ExpirationTimestamp'
)
#SIP && IAX regcontext
attributetype (1.3.6.1.4.1.4980.10.2.2.31
NAME 'oxyPBXAccountRegistrationContext'
SUP name
SINGLE-VALUE
DESC 'PBX Account: RegistrationContext {80}'
)
#SIP && IAX regexten
attributetype (1.3.6.1.4.1.4980.10.2.2.32
NAME 'oxyPBXAccountRegistrationExten'
SUP name
SINGLE-VALUE
DESC 'PBX Account: RegistrationExten {80}'
)
#SIP
#Boolean
attributetype (1.3.6.1.4.1.4980.10.2.2.33
NAME 'oxyPBXAccountCanCallForward'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
DESC 'PBX Account: CanCallForward (TRUE/FALSE)'
)
#IAX
#Boolean
attributetype (1.3.6.1.4.1.4980.10.2.2.34
NAME 'oxyPBXAccountNoTransfer'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
DESC 'PBX Account: NoTransfer (TRUE/FALSE)'
)
#SIP & IAX
attributetype (1.3.6.1.4.1.4980.10.2.2.35
NAME 'oxyPBXAccountBaseDN'
EQUALITY distinguishedNameMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
DESC 'PBX Account: Account base DN'
)
# ======== CONFIG =============
attributetype (1.3.6.1.4.1.4980.10.2.3.1
NAME 'oxyPBXConfigFilename'
SUP name
SINGLE-VALUE
DESC 'PBX Config: filename {80}'
)
attributetype (1.3.6.1.4.1.4980.10.2.3.2
NAME 'oxyPBXConfigCategory'
SUP name
SINGLE-VALUE
DESC 'PBX Config: Category {80}'
)
attributetype (1.3.6.1.4.1.4980.10.2.3.3
NAME 'oxyPBXConfigVariableName'
SUP name
SINGLE-VALUE
DESC 'PBX Config: Variable Name {80}'
)
attributetype (1.3.6.1.4.1.4980.10.2.3.4
NAME 'oxyPBXConfigVariableValue'
SUP name
SINGLE-VALUE
DESC 'PBX Config: VariableValue'
)
#Integer
attributetype (1.3.6.1.4.1.4980.10.2.3.5
NAME 'oxyPBXConfigCategoryMetric'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
EQUALITY integerMatch
DESC 'PBX Config: CategoryMetric'
)
attributetype (1.3.6.1.4.1.4980.10.2.3.6
NAME 'oxyPBXConfigCommented'
SINGLE-VALUE
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
EQUALITY booleanMatch
DESC 'PBX Config: Commented (TRUE/FALSE)'
)
objectclass ( 1.3.6.1.4.1.4980.10.3.1.1
NAME 'oxyPBXExtension'
SUP top STRUCTURAL
DESC 'Oxymium PBX Extension'
MUST ( oxyPBXExtensionContext $ oxyPBXExtensionExten $
oxyPBXExtensionPriority $ oxyPBXExtensionApplication )
MAY ( oxyPBXExtensionApplicationData )
)
objectclass ( 1.3.6.1.4.1.4980.10.3.2.1
NAME 'oxyPBXAccount'
SUP top STRUCTURAL
DESC 'Oxymium PBX Account'
MUST ( uid )
MAY ( realmedPassword $ oxyPBXAccountBaseDN $
oxyPBXAccountAccountingCode $ oxyPBXAccountAMAFlags $ oxyPBXAccountCallerID $
oxyPBXAccountContext $ oxyPBXAccountDefaultHost $ oxyPBXAccountHost $
preferredLanguage $ oxyPBXAccountMailbox $ realmedPassword $ oxyPBXAccountDeny
$ oxyPBXAccountPermit $ oxyPBXAccountPort $ oxyPBXAccountQualify $
oxyPBXAccountType $ oxyPBXAccountDisallowedCodec $ oxyPBXAccountAllowedCodec $
oxyPBXAccountExpirationTimestamp $ oxyPBXAccountRegistrationContext $
oxyPBXAccountRegistrationExten )
)
objectclass ( 1.3.6.1.4.1.4980.10.3.2.2
NAME 'oxyPBXAccountSIP'
SUP oxyPBXAccount STRUCTURAL
DESC 'Oxymium PBX Account'
MUST ( uid )
MAY ( oxyPBXAccountCallGroup $ oxyPBXAccountCanReinvite $
oxyPBXAccountDTMFMode $ oxyPBXAccountFromUser $ oxyPBXAccountFromDomain $
oxyPBXAccountFullContact $ oxyPBXAccountInsecure $ oxyPBXAccountNAT $
oxyPBXAccountPickupGroup $ oxyPBXAccountRestrictCID $ oxyPBXAccountRTPTimeout $
oxyPBXAccountRTPHoldTimeout $ oxyPBXAccountMusicOnHold $
oxyPBXAccountCanCallForward )
)
objectclass ( 1.3.6.1.4.1.4980.10.3.2.3
NAME 'oxyPBXAccountIAX'
SUP oxyPBXAccount STRUCTURAL
DESC 'Oxymium PBX Account'
MUST ( uid )
MAY ( oxyPBXAccountNoTransfer)
)
objectclass ( 1.3.6.1.4.1.4980.10.3.2.4
NAME 'oxyPBXConfig'
SUP top STRUCTURAL
DESC 'Oxymium PBX Config'
MUST ( oxyPBXConfigFilename $ oxyPBXConfigCommented $
oxyPBXConfigCategory $ oxyPBXConfigVariableName $ oxyPBXConfigVariableValue )
MAY ( oxyPBXConfigCategoryMetric)
)
|