[asterisk-bugs] [Asterisk 0017991]: DAHDIRAS fails to properly initiate pppd unless asterisk is running as root

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 14 10:41:15 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17991 
====================================================================== 
Reported By:                jkroon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17991
Category:                   Applications/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.11 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-14 10:41 CDT
Last Modified:              2010-09-14 10:41 CDT
====================================================================== 
Summary:                    DAHDIRAS fails to properly initiate pppd unless
asterisk is running as root
Description: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-14 10:41 jkroon         New Issue                                    
2010-09-14 10:41 jkroon         Asterisk Version          => 1.6.2.11        
2010-09-14 10:41 jkroon         Regression                => No              
2010-09-14 10:41 jkroon         SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list