Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 302098 Details for
Bug 442011
Asterisk crashed when using realtime LDAP backend
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
sip.conf, extconfig.conf, res_ldap.conf and LDAP data
config (text/plain), 8.93 KB, created by
W. Michael Petullo
on 2008-04-11 09:00:37 UTC
(
hide
)
Description:
sip.conf, extconfig.conf, res_ldap.conf and LDAP data
Filename:
MIME Type:
Creator:
W. Michael Petullo
Created:
2008-04-11 09:00:37 UTC
Size:
8.93 KB
patch
obsolete
>/etc/asterisk/sip.conf ======================================================== >[general] >context=default >srvlookup=yes >videosupport=yes >allow=all >bindaddr=0.0.0.0 >/etc/asterisk/extconfig.conf ================================================== >; >; Static and realtime external configuration >; engine configuration >; >; Please read doc/extconfig.txt for basic table >; formatting information. >; >[settings] >; >; Static configuration files: >; >; file.conf => driver,database[,table] >; >; maps a particular configuration file to the given >; database driver, database and table (or uses the >; name of the file as the table if not specified) >; >;uncomment to load queues.conf via the odbc engine. >; >;queues.conf => odbc,asterisk,ast_config >;extensions.conf => sqlite,asterisk,ast_config >; >; The following files CANNOT be loaded from Realtime storage: >; asterisk.conf >; extconfig.conf (this file) >; logger.conf >; >; Additionally, the following files cannot be loaded from >; Realtime storage unless the storage driver is loaded >; early using 'preload' statements in modules.conf: >; manager.conf >; cdr.conf >; rtp.conf >; >; >; Realtime configuration engine >; >; maps a particular family of realtime >; configuration to a given database driver, >; database and table (or uses the name of >; the family if the table is not specified >; >;example => odbc,asterisk,alttable >;example2 => ldap,"dc=oxymium,dc=net",example2 >; >; "odbc" is shown in the examples below, but is not the only valid realtime >; engine. There is: >; odbc ... res_config_odbc >; sqlite ... res_config_sqlite >; pgsql ... res_config_pgsql >; >;iaxusers => odbc,asterisk >;iaxpeers => odbc,asterisk >sipusers => ldap,"dc=flyn,dc=org",sip >;sippeers => odbc,asterisk >;sipregs => odbc,asterisk >;voicemail => odbc,asterisk >extensions => ldap,"dc=flyn,dc=org",extensions >;queues => odbc,asterisk >;queue_members => odbc,asterisk >;musiconhold => mysql,asterisk >;queue_log => mysql,aasterisk >/etc/asterisk/res_ldap.conf =================================================== >[_general] >url=ldaps://imp.flyn.org:636 >protocol=3 >basedn="dc=flyn,dc=org" >pass=XXX >user=cn=Directory Manager > >; Configuration Table >[config] >; addtional filter - This specifies an additional set of criteria to be used >; when querying the LDAP server. >additionalFilter=(objectClass=AstConfig) >; Attributes mapping (asterisk variable name = ldap attribute name) >; When Asterisk requests the variable by the name of the value on the left, >; this module will look up the attribute listed on the right. >filename = AstConfigFilename >category = AstConfigCategory >variable_name = AstConfigVariableName >variable_value = AstConfigVariableValue >cat_metric = AstConfigCategoryMetric >commented = AstConfigCommented > >; Extensions Table >[extensions] >context = AstContext >exten = AstExtension >priority = AstPriority >app = AstApplication >appdata = AstApplicationData >additionalFilter=(objectClass=AsteriskExtension) > >; Sip Users Table >[sip] >name = cn >amaflags = AstAccountAMAFlags >callgroup = AstAccountCallGroup >callerid = AstAccountCallerID >canreinvite = AstAccountCanReinvite >context = AstAccountContext >dtmfmode = AstAccountDTMFMode >fromuser = AstAccountFromUser >fromdomain = AstAccountFromDomain >fullcontact = AstAccountFullContact >host = AstAccountHost >ipaddr = AstAccountIpaddr >insecure = AstAccountInsecure >mailbox = AstAccountMailbox >md5secret = AstAccountRealmedPassword >nat = AstAccountNAT >deny = AstAccountDeny >permit = AstAccountPermit >pickupgroup = AstAccountPickupGroup >port = AstAccountPort >qualify = AstAccountQualify >restrictcid = AstAccountRestrictCID >rtptimeout = AstAccountRTPTimeout >rtpholdtimeout = AstAccountRTPHoldTimeout >type = AstAccountType >disallow = AstAccountDisallowedCodec >allow = AstAccountAllowedCodec >MusicOnHold = AstAccountMusicOnHold >regseconds = AstAccountExpirationTimestamp >regcontext = AstAccountRegistrationContext >regexten = AstAccountRegistrationExten >CanCallForward = AstAccountCanCallForward >additionalFilter = (objectClass=AsteriskSIPUser) > >; IAX Users Table >[iax] >amaflags = AstAccountAMAFlags >callerid = AstAccountCallerID >context = AstAccountContext >fullcontact = AstAccountFullContact >fullcontact = gecos >host = AstAccountHost >mailbox = AstAccountMailbox >md5secret = realmedPassword >deny = AstAccountDeny >permit = AstAccountPermit >port = AstAccountPort >qualify = AstAccountQualify >type = AstAccountType >disallow = AstAccountDisallowedCodec >allow = AstAccountAllowedCodec >regseconds = AstAccountExpirationTimestamp >regcontext = AstAccountRegistrationContext >regexten = AstAccountRegistrationExten >notransfer = AstAccountNoTransfer >additionalFilter=(objectClass=AstAccountIAX) > >; A Test Family >[testfamily] >MyUSERID = uid >additionalFilter=(objectClass=*) > >[accounts] >amaflags = AstAccountAMAFlags >callgroup = AstAccountCallGroup >callerid = AstAccountCallerID >canreinvite = AstAccountCanReinvite >context = AstAccountContext >dtmfmode = AstAccountDTMFMode >fromuser = AstAccountFromUser >fromdomain = AstAccountFromDomain >fullcontact = AstAccountFullContact >fullcontact = gecos >host = AstAccountHost >insecure = AstAccountInsecure >mailbox = AstAccountMailbox >md5secret = realmedPassword >nat = AstAccountNAT >deny = AstAccountDeny >permit = AstAccountPermit >pickupgroup = AstAccountPickupGroup >port = AstAccountPort >qualify = AstAccountQualify >restrictcid = AstAccountRestrictCID >rtptimeout = AstAccountRTPTimeout >rtpholdtimeout = AstAccountRTPHoldTimeout >type = AstAccountType >disallow = AstAccountDisallowedCodec >allow = AstAccountAllowedCodec >MusicOnHold = AstAccountMusicOnHold >regseconds = AstAccountExpirationTimestamp >regcontext = AstAccountRegistrationContext >regexten = AstAccountRegistrationExten >CanCallForward = AstAccountCanCallForward >additionalFilter=(objectClass=AstAccount) > >[voicemail] >context = AstVMContext >mailbox = AstVMMailbox >password = AstVMPassword >fullname = AstVMFullname >email = AstVMEmail >pager = AstVMPager >tz = AstVMTz >attach = AstVMAttach >saycid = AstVMSaycid >dialout = AstVMDialout >callback = AstVMCallback >review = AstVMReview >operator = AstVMOperator >envelope = AstVMEnvelope >sayduration = AstVMSayduration >saydurationm = AstVMSaydurationm >sendvoicemail = AstVMSendvoicemail >delete = AstVMDelete >nextaftercmd = AstVMNextastercmd >forcename = AstVMForcename >forcegreetings = AstVMForcegreetings >hidefromdir = AstVMHidefromdir >stamp = AstVMStamp >additionalFilter = (objectClass=AsteriskVoicemail) > >[queue] >name=AstQueueName >musiconhold=AstQueueMoh >announce=AstQueueAnnounce >context=AstQueueContext >timeout=AstQueueTimeout >monitor_join=AstQueueMonjoin >monitor_format=AstQueueMonformat >queue_youarenext=AstQueueYouarenext >queue_thereare=AstQueueThereare >queue_callswaiting=AstQueueCallswaiting >queue_holdtime=AstQueueHoldtime >queue_minutes=AstQueueMinutes >queue_seconds=AstQueueSeconds >queue_lessthan=AstQueueLessthan >queue_thankyou=AstQueueThankyou >queue_reporthold=AstQueueReporthold >announce_frequency=AstQueueFrequency >announce_round_seconds=AstQueueRoundseconds >announce_holdtime=AstQueueAnnounceholdtime >retry=AstQueueRetry >wrapuptime=AstQueueWrapuptime >maxlen=AstQueueMaxlen >servicelevel=AstQueueServicelevel >strategy=AstQueueStrategy >joinempty=AstQueueJoinempty >leavewhenempty=AstQueueLeavewhenempty >eventmemberstatus=AstQueueEventmemberstatus >eventwhencalled=AstQueueEventwhencalled >reportholdtime=AstQueueReportholdtime >memberdelay=AstQueueMemberdelay >weight=AstQueueWeight >timeoutrestart=AstQueueTimeoutrestart >periodic_announce=AstQueuePeriodicannounce >periodic_announce_frequency=AstQueuePeriodicannouncefrequency >additionalFilter=(objectClass=AsteriskQueue) > >[queue_member] >membername=AstQueueMembername >queue_name=AstQueueMemberof >interface=AstQueueInterface >penalty=AstQueuePenality >paused=AstQueuePaused >additionalFilter=(objectClass=AsteriskQueueMember) > >[meetme] >confno=AstMeetmeConfno >username=AstMeetmeUsername >domain=AstMeetmeDomain >pin=AstMeetmePin >adminpin=AstMeetmeAdminpin >members=AstMeetmeMembers >additionalFilter=(objectClass=AsteriskMeetme) >LDAP Data ===================================================================== ># Base SIP Phones Entry >dn: cn=phone-base,dc=flyn,dc=org >cn: phone-base >objectClass: top >objectClass: AsteriskSIPUser >AstAccountHost: dynamic >AstAccountAMAFlags: billing >AstAccountContext: ldaptest > ># A Phone. realmedPassword md5 hash should be the result of ># echo -n "UID:SIPRealm:Password" | md5sum >dn: cn=phone-test,dc=flyn,dc=org >objectClass: top >objectClass: AsteriskSIPUser >cn: phone-test >AstAccountFullContact: Noone <1234> >AstAccountCallerID: 1234 >AstAccountRealmedPassword: {MD5}b85e24480ec3f72a10fc02917f8cfe61 > ># extensions, >dn: ou=extensions,dc=flyn,dc=org >ou: extensions >objectClass: top >objectClass: organizationalUnit > ># Extension 100 Priority 1 in context ldaptest >dn: cn=100-1,ou=extensions,dc=flyn,dc=org >AstApplication: NoOp >AstApplicationData: TEST LDAP >objectClass: top >objectClass: AsteriskExtension >AstExtension: 100 >AstContext: ldaptest >cn: 100-1 >AstPriority: 1 > ># Extension 100 Priority 1 in context ldaptest >dn: cn=100-2,ou=extensions,dc=flyn,dc=org >objectClass: top >objectClass: AsteriskExtension >AstExtension: 100 >AstContext: ldaptest >cn: 100-2 >AstPriority: 2 >AstExtension: hangup
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 442011
: 302098 |
312094