📄 asterisk.ldap-schema
字号:
## Copyright (c) 2007-2008 Suretec Systems Ltd. - <http://www.suretecsystems.com/>## Version: 3.1.6## Changes:# - http://bugs.digium.com/view.php?id=12860 - 04/07/2008# - Fixed wrong DESC - 07/05/2008## Author: Gavin Henry - <ghenry@suretecsystems.com>## Asterisk LDAP Schema## Digium root OID (http://www.iana.org/assignments/enterprise-numbers)## 1.3.6.1.4.1.22736# 1.3.6.1.4.1.22736.5 LDAP elements# 1.3.6.1.4.1.22736.5.4 Attribute Types# 1.3.6.1.4.1.22736.5.5 Object Classes#objectIdentifier AsteriskRoot 1.3.6.1.4.1.22736objectIdentifier AsteriskLDAP AsteriskRoot:5############################################################################## Attribute group OIDs. e.g.: objectIdentifier AstAttrType AsteriskLDAP:4#############################################################################objectIdentifier AstAttrType AsteriskLDAP:4############################################################################## Attribute OIDs e.g.: objectIdentifier AstContext AstAttrType:1#############################################################################objectIdentifier AstContext AstAttrType:1objectIdentifier AstExtension AstAttrType:2objectIdentifier AstPriority AstAttrType:3objectIdentifier AstApplication AstAttrType:4objectIdentifier AstApplicationData AstAttrType:5objectIdentifier AstAccountAMAFlags AstAttrType:6objectIdentifier AstAccountCallerID AstAttrType:7objectIdentifier AstAccountContext AstAttrType:8objectIdentifier AstAccountMailbox AstAttrType:9objectIdentifier AstMD5secret AstAttrType:10objectIdentifier AstAccountDeny AstAttrType:11objectIdentifier AstAccountPermit AstAttrType:12objectIdentifier AstAccountQualify AstAttrType:13objectIdentifier AstAccountType AstAttrType:14objectIdentifier AstAccountDisallowedCodec AstAttrType:15objectIdentifier AstAccountExpirationTimestamp AstAttrType:16objectIdentifier AstAccountRegistrationContext AstAttrType:17objectIdentifier AstAccountRegistrationExten AstAttrType:18objectIdentifier AstAccountNoTransfer AstAttrType:19objectIdentifier AstAccountCallGroup AstAttrType:20objectIdentifier AstAccountCanReinvite AstAttrType:21objectIdentifier AstAccountDTMFMode AstAttrType:22objectIdentifier AstAccountFromUser AstAttrType:23objectIdentifier AstAccountFromDomain AstAttrType:24objectIdentifier AstAccountFullContact AstAttrType:25objectIdentifier AstAccountHost AstAttrType:26objectIdentifier AstAccountInsecure AstAttrType:27objectIdentifier AstAccountNAT AstAttrType:28objectIdentifier AstAccountPickupGroup AstAttrType:29objectIdentifier AstAccountPort AstAttrType:30objectIdentifier AstAccountRestrictCID AstAttrType:31objectIdentifier AstAccountRTPTimeout AstAttrType:32objectIdentifier AstAccountRTPHoldTimeout AstAttrType:33objectIdentifier AstAccountRealmedPassword AstAttrType:34objectIdentifier AstAccountAllowedCodec AstAttrType:35objectIdentifier AstAccountMusicOnHold AstAttrType:36objectIdentifier AstAccountCanCallForward AstAttrType:37objectIdentifier AstAccountSecret AstAttrType:38objectIdentifier AstAccountName AstAttrType:39objectIdentifier AstConfigFilename AstAttrType:40objectIdentifier AstConfigCategory AstAttrType:41objectIdentifier AstConfigCategoryMetric AstAttrType:42objectIdentifier AstConfigVariableName AstAttrType:43objectIdentifier AstConfigVariableValue AstAttrType:44objectIdentifier AstConfigCommented AstAttrType:45objectIdentifier AstAccountIPAddress AstAttrType:46objectIdentifier AstAccountDefaultUser AstAttrType:47objectIdentifier AstAccountRegistrationServer AstAttrType:48############################################################################## Object Class OIDs#############################################################################objectIdentifier AstObjectClass AsteriskLDAP:2objectIdentifier AsteriskExtension AstObjectClass:1objectIdentifier AsteriskIAXUser AstObjectClass:2objectIdentifier AsteriskSIPUser AstObjectClass:3objectIdentifier AsteriskConfig AstObjectClass:4############################################################################## attribute definitions## OID (the first arg) comes from the objectIdentifier defined above## NAME should be the same as objectIdentifier## DESC should be the description of the attribute## EQUALITY is the rule to use when doing a search/compare for an# attribute value.## SUBSTR is the rule to use when doing a substring search (*foo*)## SYNTAX is the syntax (i.e., type) of the attribute. We should# probably stick to syntaxes:## 1.3.6.1.4.1.1466.115.121.1.15 -> directoryString (UTF-8 string)# 1.3.6.1.4.1.1466.115.121.1.26 -> IA5String (ASCII String)# 1.3.6.1.4.1.1466.115.121.1.27 -> integer (Integer value)## SINGLE-VALUE should be present if only one instance of this# attribute is allowed within an entry.## {32} is the allowed length## e.g.:# # attributetype ( AstExample# NAME ( 'AstExample' )# DESC 'Asterisk Example Attribute'# EQUALITY caseIgnoreMatch# SUBSTR caseIgnoreSubstringsMatch# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32} # SINGLE-VALUE )##############################################################################attributetype ( AstContext NAME 'AstContext' DESC 'Asterisk Context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstExtension NAME 'AstExtension' DESC 'Asterisk Extension' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstPriority NAME 'AstPriority' DESC 'Asterisk Priority' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstApplication NAME 'AstApplication' DESC 'Asterisk Application' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstApplicationData NAME 'AstApplicationData' DESC 'Asterisk Application Data' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountAMAFlags NAME 'AstAccountAMAFlags' DESC 'Asterisk Account AMA Flags' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountCallerID NAME 'AstAccountCallerID' DESC 'Asterisk Account CallerID' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountContext NAME 'AstAccountContext' DESC 'Asterisk Account Context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountMailbox NAME 'AstAccountMailbox' DESC 'Asterisk Account Mailbox' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstMD5secret NAME 'AstMD5secret' DESC 'Asterisk Account MD5 Secret' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountDeny NAME 'AstAccountDeny' DESC 'Asterisk Account Deny' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountPermit NAME 'AstAccountPermit' DESC 'Asterisk Account Permit' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountQualify NAME 'AstAccountQualify' DESC 'Asterisk Account Qualify' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountType NAME 'AstAccountType' DESC 'Asterisk Account Type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountDisallowedCodec NAME 'AstAccountDisallowedCodec' DESC 'Asterisk Account Disallowed Codec' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountExpirationTimestamp NAME 'AstAccountExpirationTimestamp' DESC 'Asterisk Account Expiration Timestamp' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountRegistrationContext NAME 'AstAccountRegistrationContext' DESC 'Asterisk Account Registration Context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountRegistrationExten NAME 'AstAccountRegistrationExten' DESC 'Asterisk Account Registration Extension' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountNoTransfer NAME 'AstAccountNoTransfer' DESC 'Asterisk Account No Transfer' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountCallGroup NAME 'AstAccountCallGroup' DESC 'Asterisk Account Call Group' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)attributetype ( AstAccountCanReinvite NAME 'AstAccountCanReinvite' DESC 'Asterisk Account Can Reinvite' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountDTMFMode NAME 'AstAccountDTMFMode' DESC 'Asterisk Account DTMF Flags' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountFromUser NAME 'AstAccountFromUser' DESC 'Asterisk Account From User' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountFromDomain NAME 'AstAccountFromDomain' DESC 'Asterisk Account From Domain' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15) attributetype ( AstAccountFullContact NAME 'AstAccountFullContact' DESC 'Asterisk Account Full Contact'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -