I found it's very hard to debug agi scripts... I studied programming them from examples and most of them just print debug messages to STDERR. But where do they go to? I do not get them in the asterisk console. (asterisk -r) though I set the highest level of verbosity and debug (I used agi debug command too) but still nothing from the scripts! The other scripts use $AGI->verbose($msg, $level) but from my scripts it errors as if I send unexistant commands to the asterisk. Please suggest the best practices or point what I do wrong.
--- code.select
