Bug 1476502 - Asterisk CLI not working - issue with libedit.so
Asterisk CLI not working - issue with libedit.so
Status: NEW
Product: Fedora
Classification: Fedora
Component: asterisk (Show other bugs)
26
Unspecified Linux
unspecified Severity high
: ---
: ---
Assigned To: Jared Smith
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-29 13:12 EDT by Joachim Jaeckel
Modified: 2017-07-29 22:02 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joachim Jaeckel 2017-07-29 13:12:12 EDT
Description of problem:
Asterisk CLI not working. Console echos gibberish when you try to enter a command


Version-Release number of selected component (if applicable):
fedora-release-26-1.noarch
asterisk-13.9.1-1.fc25.1.x86_64
libedit-3.1-17.20160618cvs.fc26.x86_64


How reproducible:
always


Steps to Reproduce:
1. connect with putty to fedora system
2. asterisk -rv
3. Enter a line, eg. help


Actual results:
localhost*CLI> \U+AE68\U+AE65\U+AE6C\U+AE70


Expected results:
localhost*CLI> help
!                              -- Execute a shell command
... (help text)


Additional info:
Issue with libedit

Workaround:
1. mkdir /usr/local/lib64/asterisk
2. get older version of libedit.so (eg. from CentOS Linux release 7)
3. copy older version of libedit.so to /usr/local/lib64/asterisk (eg /usr/lib64/libedit.so.0.0.42)
4. make an alias
   alias asterisk='LD_PRELOAD=/usr/local/lib64/asterisk/libedit.so.0.0.42 asterisk'
5. asterisk -r will work as expected
Comment 1 Joachim Jaeckel 2017-07-29 13:14:33 EDT
maybe duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1376200
but this bug is for Fedora 26

Note You need to log in before you can comment on or make changes to this bug.