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):
Steps to Reproduce:
1. Configure Asterisk to use the realtime LDAP backend (see attachments).
2. Execute command as noted above.
Asterisk crashes with a segmentation fault.
The user's information should be printed out.
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:
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
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.