[Home]

Summary:ASTERISK-25450: Multiple realtime entries for same (ldap)driver in sorcery.conf not working anymore.
Reporter:Dries De Gendt (dr1esken)Labels:
Date Opened:2015-10-07 06:10:15Date Closed:
Priority:MajorRegression?
Status:Open/NewComponents:Core/Sorcery
Versions:13.5.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:RHEL7Attachments:( 0) console.txt
Description:In my previous setup of Asterisk "certified-asterisk-13.1-cert2", it was possible to combine multiple realtime entries (for the same driver) so it could search for endpoints in 2 LDAP's.

Part of sorcery.conf:
{panel}
[res_pjsip]
endpoint=realtime,ps_endpoints
endpoint=realtime,ps_uz_endpoints
endpoint=config,pjsip.conf,criteria=type=endpoint
{panel}

Part of extconfig.conf:
{panel}
[settings]
ps_endpoints => ldap,"ou=ps_endpoints,ou=asterisk,dc=internal,dc=private,dc=be",ps_endpoints
ps_uz_endpoints => ldap,"ou=persoon,dc=internal,dc=private,dc=be",ps_uz_endpoints
{panel}

However, in Asterisk 13.5.0, only the first entry is loaded (ps_endpoints) so it can't search in both of them. If I comment the first realtime-entry, the second one is loaded correctly (ps_uz_endpoints).

Is this some kind of known bug? Configuration is exactly the same. When I reverse to the 13.1-cert2 version, it works again.
Comments:By: Asterisk Team (asteriskteam) 2015-10-07 06:10:17.803-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].