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

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Fri Jun 6 09:32:56 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=219133#comment-219133 ] 

Shaun Ruffell commented on ASTERISK-23771:
------------------------------------------

Ahh...I didn't notice the output from show channels when this issue was originally opened.  Yes...that doesn't seem right.

> chan_dahdi.so loads even if dahdi doesn't 
> ------------------------------------------
>
>                 Key: ASTERISK-23771
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23771
>             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