[Asterisk-Users] AGI Stderr

Frederic Jean fjean at sunnetgroup.net
Mon Jun 12 07:37:27 MST 2006


Hi Douglas,

Try this:

open(STDERR, ">/etc/asterisk/agi-bin/errors.txt")


Fred


----- Original Message ----- 
From: "Douglas Garstang" <dgarstang at oneeighty.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Monday, June 12, 2006 11:32
Subject: [Asterisk-Users] AGI Stderr


Does anyone know how I can get stderr from AGI to be sent to somewhere other 
than the console? It seems that this is the only place it can go. Changing 
logger.conf has no effect.

If you want to see errors from AGI scripts, you have to run the Asterisk 
console, which isn't viable.

Doug.

_______________________________________________
--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







More information about the asterisk-users mailing list