2 ; Configuration file for res_config_ldap
5 ; Sample Asterisk config file for res_config_ldap
6 ; in extconfig.conf; you can use it like this:
7 ; sipusers = ldap,"dc=myDomain,dc=myDomainExt",sip
8 ; sippeers = ldap,"dc=myDomain,dc=myDomainExt",sip
9 ; extensions = ldap,"dc=myDomain,dc=myDomainExt",extensions
10 ; sip.conf = ldap,"dc=myDomain,dc=myDomainExt",config
15 ; Specify one of either host and port OR url. URL is preferred, as you can
17 ;host=192.168.1.1 ; LDAP host
19 ;url=ldap://ldap3.mydomain.com:3890
20 ;protocol=3 ; Version of the LDAP protocol to use; default is 3.
21 ;basedn=MyRootDN ; Base DN
23 ;pass=MyPassword ; Bind password
28 ; additionalFilter - This specifies an additional set of criteria to be used
29 ; when querying the LDAP server.
31 additionalFilter=(objectClass=AstConfig)
33 ; Attributes mapping (asterisk variable name = ldap attribute name)
34 ; When Asterisk requests the variable by the name of the value on the left,
35 ; this module will look up the attribute listed on the right.
37 filename = AstConfigFilename
38 category = AstConfigCategory
39 variable_name = AstConfigVariableName
40 variable_value = AstConfigVariableValue
41 cat_metric = AstConfigCategoryMetric
42 commented = AstConfigCommented
48 context = AstExtensionContext
49 exten = AstExtensionExten
50 priority = AstExtensionPriority
51 app = AstExtensionApplication
52 appdata = AstExtensionApplicationData
53 additionalFilter=(objectClass=AstExtension)
60 amaflags = AstAccountAMAFlags
61 callgroup = AstAccountCallGroup
62 callerid = AstAccountCallerID
63 canreinvite = AstAccountCanReinvite
64 context = AstAccountContext
65 dtmfmode = AstAccountDTMFMode
66 fromuser = AstAccountFromUser
67 fromdomain = AstAccountFromDomain
68 fullcontact = AstAccountFullContact
71 insecure = AstAccountInsecure
72 mailbox = AstAccountMailbox
73 md5secret = realmedPassword
76 permit = AstAccountPermit
77 pickupgroup = AstAccountPickupGroup
79 qualify = AstAccountQualify
80 restrictcid = AstAccountRestrictCID
81 rtptimeout = AstAccountRTPTimeout
82 rtpholdtimeout = AstAccountRTPHoldTimeout
84 disallow = AstAccountDisallowedCodec
85 allow = AstAccountAllowedCodec
86 MusicOnHold = AstAccountMusicOnHold
87 regseconds = AstAccountExpirationTimestamp
88 regcontext = AstAccountRegistrationContext
89 regexten = AstAccountRegistrationExten
90 CanCallForward = AstAccountCanCallForward
91 additionalFilter=(objectClass=AstAccountSIP)
97 amaflags = AstAccountAMAFlags
98 callerid = AstAccountCallerID
99 context = AstAccountContext
100 fullcontact = AstAccountFullContact
102 host = AstAccountHost
103 mailbox = AstAccountMailbox
104 md5secret = realmedPassword
105 deny = AstAccountDeny
106 permit = AstAccountPermit
107 port = AstAccountPort
108 qualify = AstAccountQualify
109 type = AstAccountType
110 disallow = AstAccountDisallowedCodec
111 allow = AstAccountAllowedCodec
112 regseconds = AstAccountExpirationTimestamp
113 regcontext = AstAccountRegistrationContext
114 regexten = AstAccountRegistrationExten
115 notransfer = AstAccountNoTransfer
116 additionalFilter=(objectClass=AstAccountIAX)
123 additionalFilter=(objectClass=*)
126 amaflags = AstAccountAMAFlags
127 callgroup = AstAccountCallGroup
128 callerid = AstAccountCallerID
129 canreinvite = AstAccountCanReinvite
130 context = AstAccountContext
131 dtmfmode = AstAccountDTMFMode
132 fromuser = AstAccountFromUser
133 fromdomain = AstAccountFromDomain
134 fullcontact = AstAccountFullContact
136 host = AstAccountHost
137 insecure = AstAccountInsecure
138 mailbox = AstAccountMailbox
139 md5secret = realmedPassword
141 deny = AstAccountDeny
142 permit = AstAccountPermit
143 pickupgroup = AstAccountPickupGroup
144 port = AstAccountPort
145 qualify = AstAccountQualify
146 restrictcid = AstAccountRestrictCID
147 rtptimeout = AstAccountRTPTimeout
148 rtpholdtimeout = AstAccountRTPHoldTimeout
149 type = AstAccountType
150 disallow = AstAccountDisallowedCodec
151 allow = AstAccountAllowedCodec
152 MusicOnHold = AstAccountMusicOnHold
153 regseconds = AstAccountExpirationTimestamp
154 regcontext = AstAccountRegistrationContext
155 regexten = AstAccountRegistrationExten
156 CanCallForward = AstAccountCanCallForward
157 additionalFilter=(objectClass=AstAccount)