On Fri, 16 Nov 2007, David Ruggles wrote: > I did some simple AGI programming several months ago. I have a need to use > one of those old programs and I'm having a stupid problem. > > I can't get output to display on the console. I'm sending it to stderr and > I've got verbosity set to 10. I know I had it working before so I'm guessing > I just forgot some piece of key information. > > Any suggestions?
Jumping up on my syslog soapbox... Check out "man syslog." If it fits your needs, logging to syslog is trivial. For example: syslog(LOG_ERR, "The value of foo is %s", bar); If not, how about: ) Did you read all of the AGI environment from stdin? ) Why not use the agi command verbose? Thanks in advance, ------------------------------------------------------------------------ Steve Edwards [EMAIL PROTECTED] Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-300 _______________________________________________ --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