<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 4 Jan 2010, at 13:48, Kevin P. Fleming wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font>ZapRAS forks off to pppd to handle the PPP session, it does not<br>implement PPP itself. You will have to be running Asterisk as root for<br>this to work, or provide a wrapper for pppd that ZapRAS can execute with<br>the suid bit set so that pppd runs with root privileges.<br></div></blockquote></div><br><div>OK.. I'd tried to setuid pppd so had wondered if it was just permissions.&nbsp;</div><div><br></div><div>Now have pppd apparently starting correctly but am now getting:</div><div><br></div><div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: Plugin zaptel.so loaded.</div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: Zaptel Plugin Initialized</div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: Using zaptel device 'stdin'&nbsp;</div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: pppd 2.4.4 started by root, uid 0</div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: Zaptel device is 'stdin'&nbsp;</div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: Device 'stdin' does not appear to be a zaptel device&nbsp;</div><div>Jan &nbsp;4 16:07:15 asterisk pppd[29485]: Exit.</div><div><br></div><div><br></div><div>..which is probably just because I'm doing something stupid (I've never touched PPP on linux and am still figuring asterisk out..)</div></div><div><br></div><div>I'd tried initiating a call using:</div><div>originate ZAP/g0d/0xxxxxx application ZapRas xx|xx|xx...</div><div><br></div><div>Will this work?</div><div><br></div><div>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.</div><div><br></div><div>If I'm overcomplicating it or going about it completely the wrong way, a point in the right direction would be nice :)</div><div><br></div><div>Will</div></body></html>