> -----Original Message-----
> From: Moises Silva [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 26, 2006 2:44 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] AGI script can not print out 
> error message
> toconsole
> 
> 
> what do you mean by "could not print out message to stderr"???
> 
> Try being more descriptive about your problem. Error messages, how
> have you tried etc.
> 
> On 6/26/06, Zichao Wu <[EMAIL PROTECTED]> wrote:
> >
> > Hi, guys, I used  /usr/src/asterisk/agi/eagi-test.c script 
> to test AGI API,
> > but that script could not print out message to stderr.
> >
> > any ideas?

He may be referring to the fact that when you run asterisk in non-console mode, 
stderr goes nowhere (not even /var/log/asterisk/messages). Considering that in 
a production environment, your going to want to run it like this, it means that 
if, say, an AGI script encounters a syntax error, you can't see what the 
problem was, unless you shut asterisk run, re-run it in console mode, debug, 
and restart it again. Not very convenient!

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

Reply via email to