In article <[EMAIL PROTECTED]>,
Frederic Jean <[EMAIL PROTECTED]> wrote:
> 
> mmmm, never tried it with asterisk but you could redirect STDERR to STDOUT
> and see how you can capture this guy afterward...
> 
> open STDERR, ">&STDOUT";
> 
> just a thought....

I think you will find that's no good, because AGI uses stdout to talk to
Asterisk.

However, to reply to Doug, if you want to log the stderr with timestamps
via syslog you could do it by piping through "logger" (man logger):

open STDERR, "| /usr/bin/logger -p local0.notice -t AGI";

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to