On 07:50, Mon 28 Mar 05, Richard Reina wrote:
>
> Please pardon my ignorance, but how did you get
> asterisk to pass that into to your log file. That is
> in essence the part I'm haveing the most difficulty
> with.
>
Richard,
I did this (as root)
touch /var/log/asterisk/my_agi.log && chmod 777
/var/log/asterisk/my_agi.log
that way the logfile is there.
now you can use this file to log from inside your agi
script:
if ($debug) fputs($stdlog, "read: $input\n");
All set and ready to go :)
--
Michiel van Baak
http://lunteren.vanbaak.info
[EMAIL PROTECTED]
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D
"Two of the most famous products of Berkeley are LSD and BSD. I don't think
that this is a coincidence."
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users