[asterisk-bugs] [JIRA] (ASTERISK-23826) chan_dahdi.so loads even if dahdi doesn't

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Jun 6 08:33:58 CDT 2014


Rusty Newton created ASTERISK-23826:
---------------------------------------

             Summary: chan_dahdi.so loads even if dahdi doesn't 
                 Key: ASTERISK-23826
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23826
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_dahdi
    Affects Versions: 11.9.0
         Environment: FreePBX Distro (latest)
            Reporter: James Finstrom
            Severity: Minor


chan_dahdi.so loads without checking if dahdi is loaded.

With dahdi unloaded 
{code}
localhost*CLI> dahdi show channels
   Chan Extension       Context         Language   MOH Interpret        Blocked    State      Description                     
 pseudo                 default                    default                         In Service   
{code}
{code}
localhost*CLI> dahdi show status
No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory
Command 'dahdi show status' failed.
{code}

If there is no /dev/dahdi/ctl the module should bomb out just as if there were a bad config.




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



More information about the asterisk-bugs mailing list