Description of problem: I have configured asterisk to use its realtime LDAP backend. The system crashes when I execute: # asterisk -rvvv imp*CLI> sip show user phone-test load Version-Release number of selected component (if applicable): asterisk-1.6.0-0.12.beta7.1.fc9.ppc How reproducible: Every time Steps to Reproduce: 1. Configure Asterisk to use the realtime LDAP backend (see attachments). 2. Execute command as noted above. Actual results: Asterisk crashes with a segmentation fault. Expected results: The user's information should be printed out. Additional info: See also: http://bugs.digium.com/view.php?id=12163
Created attachment 302098 [details] sip.conf, extconfig.conf, res_ldap.conf and LDAP data
I'll keep track of the upstream bug and when there's a patch or a new beta version I'll update the package.
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Created attachment 312094 [details] Patch to fix crash in asterisk's LDAP backend Jeffrey, would you be willing to build Asterisk beta 9 with this patch? The Asterisk developers have stated that beta 10 is waiting on the completion of the DAHDI migration. This may take some time. Meanwhile, I am trying share an article about configuring Asterisk using LDAP in Red Hat Magazine. The bottom line is that this patch fixes the crash and is simply SVN code backported to beta 9. The only exception is the single line printf that fixes [1]. [1] http://bugs.digium.com/view.php?id=12995
asterisk-1.6.0-0.19.beta9.fc9 has been submitted as an update for Fedora 9
The new asterisk-1.6.0-0.19.beta9.fc9 fixes this issue for me.
asterisk-1.6.0-0.19.beta9.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.