[asterisk-bugs] [JIRA] (ASTERISK-16676) DAHDIRAS fails to properly initiate pppd unless asterisk is running as root

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Mar 25 17:26:25 CDT 2020


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

Friendly Automation commented on ASTERISK-16676:
------------------------------------------------

Change 13997 merged by Kevin Harwell:
dahdiras: Only set plugin dahdi.so to pppd if we're running as root.

[https://gerrit.asterisk.org/c/asterisk/+/13997|https://gerrit.asterisk.org/c/asterisk/+/13997]

> DAHDIRAS fails to properly initiate pppd unless asterisk is running as root
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-16676
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-16676
>             Project: Asterisk
>          Issue Type: Bug
>          Components: Applications/General
>            Reporter: Jaco Kroon
>            Severity: Minor
>
> Unless asterisk is running as root (and invoking pppd as such) pppd will fail with:
> I work around this by commenting out lines 122 + 123 in apps/app_dahdiras.c from asterisk-1.6.2.11, specifically, these two lines:
>     argv[argc++] = "plugin";
>     argv[argc++] = "dahdi.so";
> And then passing DAHDIRAS(call,ras) where /etc/ppp/peers/ras contains:
> plugin dahdi.so
> along with my other pppd options.



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



More information about the asterisk-bugs mailing list