Hi Douglas,

Try this:

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


Fred


----- Original Message ----- From: "Douglas Garstang" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]>
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




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