[asterisk-users] ZapRAS priviledge error
Will Payne
will at teambadger.co.uk
Tue Jan 5 04:52:54 CST 2010
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 Payne wrote:
>
> 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 about it completely the wrong way, a
>>> point in the right direction would be nice :)
>>
>> It is doubtful you'll be able to accomplish that, certainly not without
>> some seriously ugly hacking. First off, I don't think that PPPD will
>> even be invoked with the proper arguments for it to be the 'client' end
>> of the connection, but even if it is, the Asterisk dialplan will halt
>> execution until PPPD returns, so there's no way you are going to be able
>> to execute an AGI or System() or anything to take actions over the PPP link.
>
> Unfortunately, an ugly hack might have to do..
>
> Params - should be able to work around this, even if I have to use a wrapper.
>
> PPPD halting the dialplan - I'll fork off a different process to watch for a connection and make the transfer. I can just tell pppd to connect for a minimum of 'x' seconds and then let Asterisk hang up.
>
> .. which still leaves me in the same position of wondering why I'm getting this "Device 'stdin' does not appear to be a zaptel device" error...
>
> Will
>
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list