Re: [asterisk-users] ZapRAS priviledge error

2010-01-05 Thread Will Payne
Another day, another error.. Am now getting: Plugin zaptel.so loaded. Zaptel Plugin Initialized Using zaptel device 'stdin' Zaptel device is 'stdin' Unable to put device 'stdin' into HDLC mode Should ZapRAS see the channel as stdin and not /dev/zap/x? Will On 4 Jan 2010, at 16:46, Will

[asterisk-users] ZapRAS priviledge error

2010-01-04 Thread Will Payne
Hi, I'm trying to get ZapRAS working but not getting very far.. Asterisk CLI shows: WARNING[3355]: app_zapras.c:173 run_ras: wait4 returned -1: No child processes and /var/log/messages shows: using the plugin option requires root privilege Can anyone shed any light on this and any fix?

Re: [asterisk-users] ZapRAS priviledge error

2010-01-04 Thread Kevin P. Fleming
Will Payne wrote: I'm trying to get ZapRAS working but not getting very far.. Asterisk CLI shows: WARNING[3355]: app_zapras.c:173 run_ras: wait4 returned -1: No child processes and /var/log/messages shows: using the plugin option requires root privilege Can anyone shed any light on

Re: [asterisk-users] ZapRAS priviledge error

2010-01-04 Thread Will Payne
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

Re: [asterisk-users] ZapRAS priviledge error

2010-01-04 Thread Kevin P. Fleming
Will Payne wrote: 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

Re: [asterisk-users] ZapRAS priviledge error

2010-01-04 Thread Will Payne
On 4 Jan 2010, at 16:28, Kevin P. Fleming wrote: Will Payne wrote: 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