[asterisk-users] Dumb AGI question
Steve Edwards
asterisk.org at sedwards.com
Fri Nov 16 13:07:12 CST 2007
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 sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-300
More information about the asterisk-users
mailing list