[asterisk-bugs] [JIRA] (ASTERISK-28158) Some conditions prevent running of el_end, break the terminal.

Corey Farrell (JIRA) noreply at issues.asterisk.org
Sun Nov 11 07:36:47 CST 2018


Corey Farrell created ASTERISK-28158:
----------------------------------------

             Summary: Some conditions prevent running of el_end, break the terminal.
                 Key: ASTERISK-28158
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28158
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Configuration, Core/General
    Affects Versions: 16.0.0, 13.23.1, GIT
            Reporter: Corey Farrell
            Severity: Minor


{{el_end}} is not always run when exiting Asterisk processes.  This can cause the terminal to be broken.  I've found two situations where this occurs:
* {{console=yes}} set in {{asterisk.conf}}, {{rasterisk -x}} piped to another utility breaks the terminal which ran rasterisk.  I could only reproduce this in CentOS 7, it doesn't seem to happen in Fedora 28.
* Asterisk daemon started at command-line with console enabled via config or command-line, {{rasterisk -x 'core stop now'}}.  This leaves the terminal which started the daemon in a broken state.

As a partial work-around you can run {{reset}} from the broken terminal to fix it.

Original report at https://community.asterisk.org/t/asterisk-16-piped-rx-breaks-shell/77061/



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



More information about the asterisk-bugs mailing list