Re: [asterisk-users] Dumb AGI question
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
Re: [asterisk-users] Dumb AGI question
Thank you sir! Am using verbose command now which works and I will take a look at the syslog. Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network EngineerSafe Data, Inc. (910) 285-7200 [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Edwards Sent: Friday, November 16, 2007 2:07 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Dumb AGI question 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 ___ --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
[asterisk-users] Dumb AGI question
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? Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network EngineerSafe Data, Inc. (910) 285-7200 [EMAIL PROTECTED] ___ --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