[asterisk-bugs] [JIRA] (ASTERISK-25450) Multiple realtime entries for same (ldap)driver in sorcery.conf not working anymore.

Dries De Gendt (JIRA) noreply at issues.asterisk.org
Wed Oct 7 07:00:32 CDT 2015


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dries De Gendt updated ASTERISK-25450:
--------------------------------------

    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.

  was:
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.

sorcery.conf:
[res_pjsip]
endpoint=realtime,ps_endpoints
endpoint=realtime,ps_uz_endpoints
endpoint=config,pjsip.conf,criteria=type=endpoint

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.


> Multiple realtime entries for same (ldap)driver in sorcery.conf not working anymore.
> ------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25450
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25450
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Sorcery
>    Affects Versions: 13.5.0
>         Environment: RHEL7
>            Reporter: Dries De Gendt
>         Attachments: console
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list