[asterisk-commits] ghenry: trunk r197406 - in /trunk: configs/ contrib/scripts/ doc/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 28 05:44:00 CDT 2009


Author: ghenry
Date: Thu May 28 05:43:51 2009
New Revision: 197406

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=197406
Log:
closes issue #15156

Modified:
    trunk/configs/res_ldap.conf.sample
    trunk/contrib/scripts/asterisk.ldap-schema
    trunk/contrib/scripts/asterisk.ldif
    trunk/doc/ldap.txt

Modified: trunk/configs/res_ldap.conf.sample
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/configs/res_ldap.conf.sample?view=diff&rev=197406&r1=197405&r2=197406
==============================================================================
--- trunk/configs/res_ldap.conf.sample (original)
+++ trunk/configs/res_ldap.conf.sample Thu May 28 05:43:51 2009
@@ -91,6 +91,7 @@
 ipaddr = AstAccountIPAddress
 defaultuser = AstAccountDefaultUser
 regserver = AstAccountRegistrationServer
+lastms = AstAccountLastQualifyMilliseconds
 additionalFilter=(objectClass=AsteriskSIPUser)
 
 ;
@@ -116,6 +117,7 @@
 regcontext = AstAccountRegistrationContext
 regexten = AstAccountRegistrationExten
 notransfer = AstAccountNoTransfer
+lastms = AstAccountLastQualifyMilliseconds
 additionalFilter=(objectClass=AstAccountIAX)
 
 ;

Modified: trunk/contrib/scripts/asterisk.ldap-schema
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/contrib/scripts/asterisk.ldap-schema?view=diff&rev=197406&r1=197405&r2=197406
==============================================================================
--- trunk/contrib/scripts/asterisk.ldap-schema (original)
+++ trunk/contrib/scripts/asterisk.ldap-schema Thu May 28 05:43:51 2009
@@ -1,9 +1,11 @@
 #
-# Copyright (c) 2007-2008 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
-#
-# Version: 3.1.6
+# Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
+#
+# Version: 3.1.7
 #
 # 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
 # - Fixed wrong DESC - 07/05/2008
 #
@@ -78,7 +80,7 @@
 objectIdentifier AstAccountIPAddress AstAttrType:46
 objectIdentifier AstAccountDefaultUser AstAttrType:47
 objectIdentifier AstAccountRegistrationServer AstAttrType:48
-
+objectIdentifier AstAccountLastQualifyMilliseconds AstAttrType:49
 
 #############################################################################
 # Object Class OIDs
@@ -461,6 +463,13 @@
         EQUALITY caseIgnoreMatch
         SUBSTR caseIgnoreSubstringsMatch
         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
@@ -522,7 +531,8 @@
         AstAccountRegistrationContext$
         AstAccountRegistrationExten $ 
         AstAccountNoTransfer $ 
-        AstAccountName 
+        AstAccountName $
+	AstAccountLastQualifyMilliseconds 
     )
     )
        
@@ -566,7 +576,8 @@
         AstAccountRegistrationServer $
         AstAccountCanCallForward $ 
         AstAccountSecret $ 
-        AstAccountName 
+        AstAccountName $
+	AstAccountLastQualifyMilliseconds 
     )
     )
 

Modified: trunk/contrib/scripts/asterisk.ldif
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/contrib/scripts/asterisk.ldif?view=diff&rev=197406&r1=197405&r2=197406
==============================================================================
--- trunk/contrib/scripts/asterisk.ldif (original)
+++ trunk/contrib/scripts/asterisk.ldif Thu May 28 05:43:51 2009
@@ -1,9 +1,12 @@
 #
-# Copyright (c) 2007-2008 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
-#
-# Version: 3.1.6
+# Copyright (c) 2007-2009 Suretec Systems Ltd. - <http://www.suretecsystems.com/>
+#
+# Version: 3.1.7
 #
 # 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
 # - Fixed wrong DESC - 07/05/2008
 #
@@ -82,6 +85,7 @@
 olcObjectIdentifier: AstAccountIPAddress AstAttrType:46
 olcObjectIdentifier: AstAccountDefaultUser AstAttrType:47
 olcObjectIdentifier: AstAccountRegistrationServer AstAttrType:48
+olcObjectIdentifier: AstAccountLastQualifyMilliseconds AstAttrType:49
 #
 #
 #############################################################################
@@ -444,6 +448,34 @@
         EQUALITY caseIgnoreMatch
         SUBSTR caseIgnoreSubstringsMatch
         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
@@ -505,7 +537,8 @@
         AstAccountRegistrationContext$
         AstAccountRegistrationExten $ 
         AstAccountNoTransfer $ 
-        AstAccountName 
+        AstAccountName $
+	AstAccountLastQualifyMilliseconds 
     )
     )
 #       
@@ -549,7 +582,8 @@
         AstAccountRegistrationServer $
         AstAccountCanCallForward $ 
         AstAccountSecret $ 
-        AstAccountName 
+        AstAccountName $
+	AstAccountLastQualifyMilliseconds 
     )
     )
 #

Modified: trunk/doc/ldap.txt
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/doc/ldap.txt?view=diff&rev=197406&r1=197405&r2=197406
==============================================================================
--- trunk/doc/ldap.txt (original)
+++ trunk/doc/ldap.txt Thu May 28 05:43:51 2009
@@ -1,13 +1,13 @@
 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.
 
 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
 dn: uid=phone-base,dc=myDomain,dc=myDomainExt




More information about the asterisk-commits mailing list