[asterisk-bugs] [JIRA] (ASTERISK-19941) Crash in res_config_ldap when used with realtime extensions

Chris Ridd (JIRA) noreply at issues.asterisk.org
Thu Aug 7 05:46:29 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=221375#comment-221375 ] 

Chris Ridd commented on ASTERISK-19941:
---------------------------------------

Looking at the trunk it would appear that the code was changed in r386731 to avoid this buggy behaviour:

{quote}
r386731 | file | 2013-04-27 13:01:29 +0100 (Sat, 27 Apr 2013) | 11 lines

Add support for a realtime sorcery module.

This change does the following:

1. Adds the sorcery realtime module
2. Adds unit tests for the sorcery realtime module
3. Changes the realtime core to use an ast_variable list instead of variadic arguments
4. Changes all realtime drivers to accept an ast_variable list

Review: https://reviewboard.asterisk.org/r/2424/
{quote}

That change is in the version 12 branch but not the version 11 branch.

> Crash in res_config_ldap when used with realtime extensions
> -----------------------------------------------------------
>
>                 Key: ASTERISK-19941
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19941
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_config_ldap
>    Affects Versions: 1.8.11.1, 11.5.1
>         Environment: Asterisk Now 2.2 GUI and LDAP Imap voicemail registration 
>            Reporter: Slava Bendersky
>            Severity: Critical
>              Labels: realtime
>         Attachments: backtrace.txt
>
>
> Asterisk trying to modify entries in LDAP server DS 389.
> Also when I got sip user registered and I trying place call it just silence, I don't see any attempts to dial in logs. 
> [2012-05-28 00:07:18] ERROR[25975]: res_config_ldap.c:1328 update_ldap: Couldn't modify 'name'='sbendersky', dn:uid=,ou=People,dc=,dc= because No such attribute
>     -- Registered SIP 'sbendersky' at 10.16.130.45:32899
> [2012-05-28 00:07:20] ERROR[26001]: res_config_ldap.c:1328 update_ldap: Couldn't modify 'name'='sbendersky', dn:uid=sbendersky,ou=People,dc=networklab,dc=ca because Object class violation
>     -- Unregistered SIP 'sbendersky'
> [2012-05-28 00:07:26] ERROR[26001]: res_config_ldap.c:1328 update_ldap: Couldn't modify 'name'='sbendersky', dn:uid=sbendersky,ou=People,dc=networklab,dc=ca because No such attribute
> Extension conf
> [users]
> switch => Realtime/@
> [voicemail]
> switch => Realtime/@
> [realtime-ldap]
> include => users
> include => voicemail
> Extconfig conf
> [settings]
> sipusers => ldap,"ou=People,dc=networklab,dc=ca",sip
> sippeers => ldap,"ou=People,dc=networklab,dc=ca",sip
> extensions => ldap,"ou=NetLabExtensions,dc=networklab,dc=ca",extensions
> voicemail => ldap,"ou=NetLabVoicemail,dc=networklab,dc=ca",voicemail



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



More information about the asterisk-bugs mailing list