📄 asterisk.ldif
字号:
## 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 ldif## 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#dn: cn=asterisk,cn=schema,cn=configobjectClass: olcSchemaConfigcn: asterisk#olcObjectIdentifier: AsteriskRoot 1.3.6.1.4.1.22736olcObjectIdentifier: AsteriskLDAP AsteriskRoot:5############################################################################### Attribute group OIDs. e.g.: olcObjectIdentifier: AstAttrType AsteriskLDAP:4#############################################################################olcObjectIdentifier: AstAttrType AsteriskLDAP:4################################################################################ Attribute OIDs e.g.: olcObjectIdentifier: AstContext AstAttrType:1#############################################################################olcObjectIdentifier: AstContext AstAttrType:1olcObjectIdentifier: AstExtension AstAttrType:2olcObjectIdentifier: AstPriority AstAttrType:3olcObjectIdentifier: AstApplication AstAttrType:4olcObjectIdentifier: AstApplicationData AstAttrType:5olcObjectIdentifier: AstAccountAMAFlags AstAttrType:6olcObjectIdentifier: AstAccountCallerID AstAttrType:7olcObjectIdentifier: AstAccountContext AstAttrType:8olcObjectIdentifier: AstAccountMailbox AstAttrType:9olcObjectIdentifier: AstMD5secret AstAttrType:10olcObjectIdentifier: AstAccountDeny AstAttrType:11olcObjectIdentifier: AstAccountPermit AstAttrType:12olcObjectIdentifier: AstAccountQualify AstAttrType:13olcObjectIdentifier: AstAccountType AstAttrType:14olcObjectIdentifier: AstAccountDisallowedCodec AstAttrType:15olcObjectIdentifier: AstAccountExpirationTimestamp AstAttrType:16olcObjectIdentifier: AstAccountRegistrationContext AstAttrType:17olcObjectIdentifier: AstAccountRegistrationExten AstAttrType:18olcObjectIdentifier: AstAccountNoTransfer AstAttrType:19olcObjectIdentifier: AstAccountCallGroup AstAttrType:20olcObjectIdentifier: AstAccountCanReinvite AstAttrType:21olcObjectIdentifier: AstAccountDTMFMode AstAttrType:22olcObjectIdentifier: AstAccountFromUser AstAttrType:23olcObjectIdentifier: AstAccountFromDomain AstAttrType:24olcObjectIdentifier: AstAccountFullContact AstAttrType:25olcObjectIdentifier: AstAccountHost AstAttrType:26olcObjectIdentifier: AstAccountInsecure AstAttrType:27olcObjectIdentifier: AstAccountNAT AstAttrType:28olcObjectIdentifier: AstAccountPickupGroup AstAttrType:29olcObjectIdentifier: AstAccountPort AstAttrType:30olcObjectIdentifier: AstAccountRestrictCID AstAttrType:31olcObjectIdentifier: AstAccountRTPTimeout AstAttrType:32olcObjectIdentifier: AstAccountRTPHoldTimeout AstAttrType:33olcObjectIdentifier: AstAccountRealmedPassword AstAttrType:34olcObjectIdentifier: AstAccountAllowedCodec AstAttrType:35olcObjectIdentifier: AstAccountMusicOnHold AstAttrType:36olcObjectIdentifier: AstAccountCanCallForward AstAttrType:37olcObjectIdentifier: AstAccountSecret AstAttrType:38olcObjectIdentifier: AstAccountName AstAttrType:39olcObjectIdentifier: AstConfigFilename AstAttrType:40olcObjectIdentifier: AstConfigCategory AstAttrType:41olcObjectIdentifier: AstConfigCategoryMetric AstAttrType:42olcObjectIdentifier: AstConfigVariableName AstAttrType:43olcObjectIdentifier: AstConfigVariableValue AstAttrType:44olcObjectIdentifier: AstConfigCommented AstAttrType:45olcObjectIdentifier: AstAccountIPAddress AstAttrType:46olcObjectIdentifier: AstAccountDefaultUser AstAttrType:47olcObjectIdentifier: AstAccountRegistrationServer AstAttrType:48################################################################################ Object Class OIDs#############################################################################olcObjectIdentifier: AstObjectClass AsteriskLDAP:2olcObjectIdentifier: AsteriskExtension AstObjectClass:1olcObjectIdentifier: AsteriskIAXUser AstObjectClass:2olcObjectIdentifier: AsteriskSIPUser AstObjectClass:3olcObjectIdentifier: AsteriskConfig AstObjectClass:4################################################################################ attribute definitions## OID (the first arg) comes from the olcObjectIdentifier: defined above## NAME should be the same as olcObjectIdentifier:## 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.:# # olcAttributeTypes: ( 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 )###############################################################################olcAttributeTypes: ( AstContext NAME 'AstContext' DESC 'Asterisk Context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstExtension NAME 'AstExtension' DESC 'Asterisk Extension' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstPriority NAME 'AstPriority' DESC 'Asterisk Priority' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstApplication NAME 'AstApplication' DESC 'Asterisk Application' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstApplicationData NAME 'AstApplicationData' DESC 'Asterisk Application Data' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstAccountAMAFlags NAME 'AstAccountAMAFlags' DESC 'Asterisk Account AMA Flags' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountCallerID NAME 'AstAccountCallerID' DESC 'Asterisk Account CallerID' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountContext NAME 'AstAccountContext' DESC 'Asterisk Account Context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstAccountMailbox NAME 'AstAccountMailbox' DESC 'Asterisk Account Mailbox' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstMD5secret NAME 'AstMD5secret' DESC 'Asterisk Account MD5 Secret' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountDeny NAME 'AstAccountDeny' DESC 'Asterisk Account Deny' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountPermit NAME 'AstAccountPermit' DESC 'Asterisk Account Permit' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstAccountQualify NAME 'AstAccountQualify' DESC 'Asterisk Account Qualify' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountType NAME 'AstAccountType' DESC 'Asterisk Account Type' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountDisallowedCodec NAME 'AstAccountDisallowedCodec' DESC 'Asterisk Account Disallowed Codec' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountExpirationTimestamp NAME 'AstAccountExpirationTimestamp' DESC 'Asterisk Account Expiration Timestamp' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountRegistrationContext NAME 'AstAccountRegistrationContext' DESC 'Asterisk Account Registration Context' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountRegistrationExten NAME 'AstAccountRegistrationExten' DESC 'Asterisk Account Registration Extension' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountNoTransfer NAME 'AstAccountNoTransfer' DESC 'Asterisk Account No Transfer' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstAccountCallGroup NAME 'AstAccountCallGroup' DESC 'Asterisk Account Call Group' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)#olcAttributeTypes: ( AstAccountCanReinvite NAME 'AstAccountCanReinvite' DESC 'Asterisk Account Can Reinvite' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstAccountDTMFMode NAME 'AstAccountDTMFMode' DESC 'Asterisk Account DTMF Flags' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)# olcAttributeTypes: ( AstAccountFromUser NAME 'AstAccountFromUser' DESC 'Asterisk Account From User'
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -