mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
closes issue #15156
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@197406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -91,6 +91,7 @@ CanCallForward = AstAccountCanCallForward
|
|||||||
ipaddr = AstAccountIPAddress
|
ipaddr = AstAccountIPAddress
|
||||||
defaultuser = AstAccountDefaultUser
|
defaultuser = AstAccountDefaultUser
|
||||||
regserver = AstAccountRegistrationServer
|
regserver = AstAccountRegistrationServer
|
||||||
|
lastms = AstAccountLastQualifyMilliseconds
|
||||||
additionalFilter=(objectClass=AsteriskSIPUser)
|
additionalFilter=(objectClass=AsteriskSIPUser)
|
||||||
|
|
||||||
;
|
;
|
||||||
@@ -116,6 +117,7 @@ regseconds = AstAccountExpirationTimestamp
|
|||||||
regcontext = AstAccountRegistrationContext
|
regcontext = AstAccountRegistrationContext
|
||||||
regexten = AstAccountRegistrationExten
|
regexten = AstAccountRegistrationExten
|
||||||
notransfer = AstAccountNoTransfer
|
notransfer = AstAccountNoTransfer
|
||||||
|
lastms = AstAccountLastQualifyMilliseconds
|
||||||
additionalFilter=(objectClass=AstAccountIAX)
|
additionalFilter=(objectClass=AstAccountIAX)
|
||||||
|
|
||||||
;
|
;
|
||||||
|
@@ -1,9 +1,11 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2007-2008 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
|
# Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
|
||||||
#
|
#
|
||||||
# Version: 3.1.6
|
# Version: 3.1.7
|
||||||
#
|
#
|
||||||
# Changes:
|
# Changes:
|
||||||
|
# - Added AstAccountLastQualifyMilliseconds - 28/05/2009
|
||||||
|
# https://issues.asterisk.org/view.php?id=15156
|
||||||
# - http://bugs.digium.com/view.php?id=12860 - 04/07/2008
|
# - http://bugs.digium.com/view.php?id=12860 - 04/07/2008
|
||||||
# - Fixed wrong DESC - 07/05/2008
|
# - Fixed wrong DESC - 07/05/2008
|
||||||
#
|
#
|
||||||
@@ -78,7 +80,7 @@ objectIdentifier AstConfigCommented AstAttrType:45
|
|||||||
objectIdentifier AstAccountIPAddress AstAttrType:46
|
objectIdentifier AstAccountIPAddress AstAttrType:46
|
||||||
objectIdentifier AstAccountDefaultUser AstAttrType:47
|
objectIdentifier AstAccountDefaultUser AstAttrType:47
|
||||||
objectIdentifier AstAccountRegistrationServer AstAttrType:48
|
objectIdentifier AstAccountRegistrationServer AstAttrType:48
|
||||||
|
objectIdentifier AstAccountLastQualifyMilliseconds AstAttrType:49
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Object Class OIDs
|
# Object Class OIDs
|
||||||
@@ -462,6 +464,13 @@ attributetype ( AstAccountRegistrationServer
|
|||||||
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 ( AstAccountLastQualifyMilliseconds
|
||||||
|
NAME 'AstAccountLastQualifyMilliseconds'
|
||||||
|
DESC 'Asterisk Account Last Qualify Milliseconds'
|
||||||
|
EQUALITY caseIgnoreMatch
|
||||||
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Object Class definitions
|
# Object Class definitions
|
||||||
#
|
#
|
||||||
@@ -522,7 +531,8 @@ objectclass ( AsteriskIAXUser
|
|||||||
AstAccountRegistrationContext$
|
AstAccountRegistrationContext$
|
||||||
AstAccountRegistrationExten $
|
AstAccountRegistrationExten $
|
||||||
AstAccountNoTransfer $
|
AstAccountNoTransfer $
|
||||||
AstAccountName
|
AstAccountName $
|
||||||
|
AstAccountLastQualifyMilliseconds
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -566,7 +576,8 @@ objectclass ( AsteriskSIPUser
|
|||||||
AstAccountRegistrationServer $
|
AstAccountRegistrationServer $
|
||||||
AstAccountCanCallForward $
|
AstAccountCanCallForward $
|
||||||
AstAccountSecret $
|
AstAccountSecret $
|
||||||
AstAccountName
|
AstAccountName $
|
||||||
|
AstAccountLastQualifyMilliseconds
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -1,9 +1,12 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2007-2008 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
|
# Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
|
||||||
#
|
#
|
||||||
# Version: 3.1.6
|
# Version: 3.1.7
|
||||||
#
|
#
|
||||||
# Changes:
|
# Changes:
|
||||||
|
# - Added AstAccountLastQualifyMilliseconds - 28/05/2009
|
||||||
|
# https://issues.asterisk.org/view.php?id=15156
|
||||||
|
# Also brought asterisk.ldif fully in synch with asterisk.ldap-schema
|
||||||
# - http://bugs.digium.com/view.php?id=12860 - 04/07/2008
|
# - http://bugs.digium.com/view.php?id=12860 - 04/07/2008
|
||||||
# - Fixed wrong DESC - 07/05/2008
|
# - Fixed wrong DESC - 07/05/2008
|
||||||
#
|
#
|
||||||
@@ -82,6 +85,7 @@ olcObjectIdentifier: AstConfigCommented AstAttrType:45
|
|||||||
olcObjectIdentifier: AstAccountIPAddress AstAttrType:46
|
olcObjectIdentifier: AstAccountIPAddress AstAttrType:46
|
||||||
olcObjectIdentifier: AstAccountDefaultUser AstAttrType:47
|
olcObjectIdentifier: AstAccountDefaultUser AstAttrType:47
|
||||||
olcObjectIdentifier: AstAccountRegistrationServer AstAttrType:48
|
olcObjectIdentifier: AstAccountRegistrationServer AstAttrType:48
|
||||||
|
olcObjectIdentifier: AstAccountLastQualifyMilliseconds AstAttrType:49
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
#############################################################################
|
#############################################################################
|
||||||
@@ -445,6 +449,34 @@ olcAttributeTypes: ( AstConfigCommented
|
|||||||
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)
|
||||||
#
|
#
|
||||||
|
olcAttributeTypes: ( AstAccountIPAddress
|
||||||
|
NAME 'AstAccountIPAddress'
|
||||||
|
DESC 'Asterisk Account IP Address'
|
||||||
|
EQUALITY caseIgnoreMatch
|
||||||
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
#
|
||||||
|
olcAttributeTypes: ( AstAccountDefaultUser
|
||||||
|
NAME 'AstAccountDefaultUser'
|
||||||
|
DESC 'Asterisk Account Default User'
|
||||||
|
EQUALITY caseIgnoreMatch
|
||||||
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
#
|
||||||
|
olcAttributeTypes: ( AstAccountRegistrationServer
|
||||||
|
NAME 'AstAccountRegistrationServer'
|
||||||
|
DESC 'Asterisk Account Registration Server'
|
||||||
|
EQUALITY caseIgnoreMatch
|
||||||
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
#
|
||||||
|
olcAttributeTypes: ( AstAccountLastQualifyMilliseconds
|
||||||
|
NAME 'AstAccountLastQualifyMilliseconds'
|
||||||
|
DESC 'Asterisk Account Last Qualify Milliseconds'
|
||||||
|
EQUALITY caseIgnoreMatch
|
||||||
|
SUBSTR caseIgnoreSubstringsMatch
|
||||||
|
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
|
||||||
|
#
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# Object Class definitions
|
# Object Class definitions
|
||||||
#
|
#
|
||||||
@@ -505,7 +537,8 @@ olcObjectClasses: ( AsteriskIAXUser
|
|||||||
AstAccountRegistrationContext$
|
AstAccountRegistrationContext$
|
||||||
AstAccountRegistrationExten $
|
AstAccountRegistrationExten $
|
||||||
AstAccountNoTransfer $
|
AstAccountNoTransfer $
|
||||||
AstAccountName
|
AstAccountName $
|
||||||
|
AstAccountLastQualifyMilliseconds
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
#
|
#
|
||||||
@@ -549,7 +582,8 @@ olcObjectClasses: ( AsteriskSIPUser
|
|||||||
AstAccountRegistrationServer $
|
AstAccountRegistrationServer $
|
||||||
AstAccountCanCallForward $
|
AstAccountCanCallForward $
|
||||||
AstAccountSecret $
|
AstAccountSecret $
|
||||||
AstAccountName
|
AstAccountName $
|
||||||
|
AstAccountLastQualifyMilliseconds
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
#
|
#
|
||||||
|
@@ -1,13 +1,13 @@
|
|||||||
Asterisk Realtime LDAP Driver
|
Asterisk Realtime LDAP Driver
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
With this driver Asterisk can retrieve information from a LDAP drectory, including
|
With this driver Asterisk can retrieve information from an LDAP drectory, including
|
||||||
sip/iax users, extensions and configuration.
|
sip/iax users, extensions and configuration.
|
||||||
|
|
||||||
See configs/res_ldap.conf.sample for a configuration file sample
|
See configs/res_ldap.conf.sample for a configuration file sample
|
||||||
|
|
||||||
|
|
||||||
Here is a LDAP dif sample:
|
Here is a LDAP diff sample:
|
||||||
|
|
||||||
# Base SIP Phones Entry
|
# Base SIP Phones Entry
|
||||||
dn: uid=phone-base,dc=myDomain,dc=myDomainExt
|
dn: uid=phone-base,dc=myDomain,dc=myDomainExt
|
||||||
|
Reference in New Issue
Block a user