mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 14:44:28 +00:00
Schema file additions
* 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) - Gives more configuration Flags for SIP-Users available (tested) - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses without extensibleObject (which really should be the last resort); gives also additional possibilities for LDAP-filter (closes issue #15874) Reported by: Medozas Patches: asterisk.ldap-schema.patch uploaded by Medozas (license 41) Tested by: Medozas, suretec git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@229050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1,9 +1,17 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
|
# Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
|
||||||
#
|
#
|
||||||
# Version: 3.2.0
|
# Version: 3.2.2
|
||||||
#
|
#
|
||||||
# Changes:
|
# 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
|
# - Fixed typo - 13/08/2009
|
||||||
# - https://issues.asterisk.org/view.php?id=13725 - 12/08/2009
|
# - https://issues.asterisk.org/view.php?id=13725 - 12/08/2009
|
||||||
# - Added AsteriskVoiceMail Object class and AstAccountCallLimit attribute - 28/05/2009
|
# - Added AsteriskVoiceMail Object class and AstAccountCallLimit attribute - 28/05/2009
|
||||||
@@ -14,6 +22,7 @@
|
|||||||
# - Fixed wrong DESC - 07/05/2008
|
# - Fixed wrong DESC - 07/05/2008
|
||||||
#
|
#
|
||||||
# Author: Gavin Henry - <ghenry@suretecsystems.com>
|
# Author: Gavin Henry - <ghenry@suretecsystems.com>
|
||||||
|
# Michael Kromer - <medozas@medozas.de>
|
||||||
#
|
#
|
||||||
# Asterisk LDAP Schema
|
# Asterisk LDAP Schema
|
||||||
#
|
#
|
||||||
@@ -32,7 +41,6 @@ objectIdentifier AsteriskLDAP AsteriskRoot:5
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
objectIdentifier AstAttrType AsteriskLDAP:4
|
objectIdentifier AstAttrType AsteriskLDAP:4
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Attribute OIDs e.g.: objectIdentifier AstContext AstAttrType:1
|
# Attribute OIDs e.g.: objectIdentifier AstContext AstAttrType:1
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@@ -95,8 +103,15 @@ objectIdentifier AstVoicemailOptions AstAttrType:56
|
|||||||
objectIdentifier AstVoicemailTimestamp AstAttrType:57
|
objectIdentifier AstVoicemailTimestamp AstAttrType:57
|
||||||
objectIdentifier AstVoicemailContext AstAttrType:58
|
objectIdentifier AstVoicemailContext AstAttrType:58
|
||||||
objectIdentifier AstAccountSubscribeContext AstAttrType:59
|
objectIdentifier AstAccountSubscribeContext AstAttrType:59
|
||||||
objectIdentifier AstAccountIpAddr AstAttrType:60
|
|
||||||
objectIdentifier AstAccountUserAgent AstAttrType:61
|
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
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@@ -108,6 +123,9 @@ objectIdentifier AsteriskIAXUser AstObjectClass:2
|
|||||||
objectIdentifier AsteriskSIPUser AstObjectClass:3
|
objectIdentifier AsteriskSIPUser AstObjectClass:3
|
||||||
objectIdentifier AsteriskConfig AstObjectClass:4
|
objectIdentifier AsteriskConfig AstObjectClass:4
|
||||||
objectIdentifier AsteriskVoiceMail AstObjectClass:5
|
objectIdentifier AsteriskVoiceMail AstObjectClass:5
|
||||||
|
objectIdentifier AsteriskDialplan AstObjectClass:6
|
||||||
|
objectIdentifier AsteriskAccount AstObjectClass:7
|
||||||
|
objectIdentifier AsteriskMailbox AstObjectClass:8
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@@ -559,16 +577,65 @@ attributetype ( AstAccountSubscribeContext
|
|||||||
SUBSTR caseIgnoreSubstringsMatch
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
|
||||||
attributetype ( AstAccountIpAddr
|
attributetype ( AstAccountUserAgent
|
||||||
NAME 'AstAccountIpAddr'
|
NAME 'AstAccountUserAgent'
|
||||||
DESC 'Asterisk aaccount IP address'
|
DESC 'Asterisk account user context'
|
||||||
EQUALITY caseIgnoreMatch
|
EQUALITY caseIgnoreMatch
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
|
||||||
attributetype ( AstAccountUserAgent
|
attributetype ( AstAccountLanguage
|
||||||
NAME 'AstAccountUserAgent'
|
NAME 'AstAccountLanguage'
|
||||||
DESC 'Asterisk account user context'
|
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
|
EQUALITY caseIgnoreMatch
|
||||||
SUBSTR caseIgnoreSubstringsMatch
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
@@ -628,6 +695,7 @@ objectclass ( AsteriskIAXUser
|
|||||||
AstAccountPort $
|
AstAccountPort $
|
||||||
AstAccountQualify $
|
AstAccountQualify $
|
||||||
AstAccountType $
|
AstAccountType $
|
||||||
|
AstAccountLanguage $
|
||||||
AstAccountDisallowedCodec $
|
AstAccountDisallowedCodec $
|
||||||
AstAccountExpirationTimestamp $
|
AstAccountExpirationTimestamp $
|
||||||
AstAccountRegistrationContext $
|
AstAccountRegistrationContext $
|
||||||
@@ -636,9 +704,9 @@ objectclass ( AsteriskIAXUser
|
|||||||
AstAccountName $
|
AstAccountName $
|
||||||
AstAccountLastQualifyMilliseconds $
|
AstAccountLastQualifyMilliseconds $
|
||||||
AstAccountCallLimit $
|
AstAccountCallLimit $
|
||||||
AstAccountSubscribeContext $
|
AstAccountSubscribeContext $
|
||||||
AstAccountIpAddr $
|
AstAccountIPAddress $
|
||||||
AstAccountUserAgent
|
AstAccountUserAgent
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -648,46 +716,53 @@ objectclass ( AsteriskSIPUser
|
|||||||
SUP AsteriskExtension AUXILIARY
|
SUP AsteriskExtension AUXILIARY
|
||||||
MUST cn
|
MUST cn
|
||||||
MAY (
|
MAY (
|
||||||
|
AstAccountAccountCode $
|
||||||
|
AstAccountAllowOverlap $
|
||||||
|
AstAccountAllowedCodec $
|
||||||
AstAccountAMAFlags $
|
AstAccountAMAFlags $
|
||||||
AstAccountCallGroup $
|
AstAccountCallGroup $
|
||||||
|
AstAccountCallLimit $
|
||||||
AstAccountCallerID $
|
AstAccountCallerID $
|
||||||
|
AstAccountCanCallForward $
|
||||||
AstAccountCanReinvite $
|
AstAccountCanReinvite $
|
||||||
AstAccountContext $
|
AstAccountContext $
|
||||||
AstAccountDefaultUser $
|
|
||||||
AstAccountDTMFMode $
|
AstAccountDTMFMode $
|
||||||
AstAccountFromUser $
|
AstAccountDefaultUser $
|
||||||
|
AstAccountDeny $
|
||||||
|
AstAccountDisallowedCodec $
|
||||||
|
AstAccountExpirationTimestamp $
|
||||||
AstAccountFromDomain $
|
AstAccountFromDomain $
|
||||||
|
AstAccountFromUser $
|
||||||
AstAccountFullContact $
|
AstAccountFullContact $
|
||||||
AstAccountHost $
|
AstAccountHost $
|
||||||
|
AstAccountIgnoreSDPVersion $
|
||||||
AstAccountInsecure $
|
AstAccountInsecure $
|
||||||
AstAccountIPAddress $
|
AstAccountIPAddress $
|
||||||
|
AstAccountLanguage $
|
||||||
|
AstAccountLastQualifyMilliseconds $
|
||||||
AstAccountMailbox $
|
AstAccountMailbox $
|
||||||
AstAccountRealmedPassword $
|
AstAccountMusicOnHold $
|
||||||
AstAccountNAT $
|
AstAccountNAT $
|
||||||
AstAccountDeny $
|
AstAccountName $
|
||||||
AstAccountPermit $
|
AstAccountPermit $
|
||||||
AstAccountPickupGroup $
|
AstAccountPickupGroup $
|
||||||
AstAccountPort $
|
AstAccountPort $
|
||||||
|
AstAccountPromiscRedir $
|
||||||
AstAccountQualify $
|
AstAccountQualify $
|
||||||
AstAccountRestrictCID $
|
|
||||||
AstAccountRTPTimeout $
|
|
||||||
AstAccountRTPHoldTimeout $
|
AstAccountRTPHoldTimeout $
|
||||||
AstAccountType $
|
AstAccountRTPTimeout $
|
||||||
AstAccountDisallowedCodec $
|
AstAccountRealmedPassword $
|
||||||
AstAccountAllowedCodec $
|
|
||||||
AstAccountMusicOnHold $
|
|
||||||
AstAccountExpirationTimestamp $
|
|
||||||
AstAccountRegistrationContext $
|
AstAccountRegistrationContext $
|
||||||
AstAccountRegistrationExten $
|
AstAccountRegistrationExten $
|
||||||
AstAccountRegistrationServer $
|
AstAccountRegistrationServer $
|
||||||
AstAccountCanCallForward $
|
AstAccountRestrictCID $
|
||||||
AstAccountSecret $
|
AstAccountSecret $
|
||||||
AstAccountName $
|
AstAccountSetVar $
|
||||||
AstAccountLastQualifyMilliseconds $
|
AstAccountSubscribeContext $
|
||||||
AstAccountCallLimit $
|
AstAccountTransport $
|
||||||
AstAccountSubscribeContext $
|
AstAccountType $
|
||||||
AstAccountIpAddr $
|
AstAccountUserAgent $
|
||||||
AstAccountUserAgent
|
AstAccountVideoSupport
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -735,3 +810,24 @@ objectclass ( AsteriskVoiceMail
|
|||||||
AstVoicemailContext
|
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 ) )
|
||||||
|
Reference in New Issue
Block a user