[asterisk-users] ZapRAS priviledge error
Will Payne
will at teambadger.co.uk
Mon Jan 4 10:16:31 CST 2010
On 4 Jan 2010, at 13:48, Kevin P. Fleming wrote:
>
> ZapRAS forks off to pppd to handle the PPP session, it does not
> implement PPP itself. You will have to be running Asterisk as root for
> this to work, or provide a wrapper for pppd that ZapRAS can execute with
> the suid bit set so that pppd runs with root privileges.
OK.. I'd tried to setuid pppd so had wondered if it was just permissions.
Now have pppd apparently starting correctly but am now getting:
Jan 4 16:07:15 asterisk pppd[29485]: Plugin zaptel.so loaded.
Jan 4 16:07:15 asterisk pppd[29485]: Zaptel Plugin Initialized
Jan 4 16:07:15 asterisk pppd[29485]: Using zaptel device 'stdin'
Jan 4 16:07:15 asterisk pppd[29485]: pppd 2.4.4 started by root, uid 0
Jan 4 16:07:15 asterisk pppd[29485]: Zaptel device is 'stdin'
Jan 4 16:07:15 asterisk pppd[29485]: Device 'stdin' does not appear to be a zaptel device
Jan 4 16:07:15 asterisk pppd[29485]: Exit.
..which is probably just because I'm doing something stupid (I've never touched PPP on linux and am still figuring asterisk out..)
I'd tried initiating a call using:
originate ZAP/g0d/0xxxxxx application ZapRas xx|xx|xx...
Will this work?
I'm looking to periodically nudge Asterisk into making an ISDN connection, setting up PPP and then (possibly by then starting an AGI script) grabbing a file by FTP over the PPP link.
If I'm overcomplicating it or going about it completely the wrong way, a point in the right direction would be nice :)
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100104/7b971d89/attachment.htm
More information about the asterisk-users
mailing list