targetsmart has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, I have an AGI script running under asterisk, now I want to debug the code using perl debugger, if that AGI script is not run by asterisk, -d will do the job, but since it is running under asterisk it not possible for me to debug the program. Is there any better ways exists to debug an AGI program which runs under asterisk?.

Replies are listed 'Best First'.
Re: debugging AGI script
by dHarry (Abbot) on Nov 04, 2008 at 13:54 UTC
      The 'AGI debug' is not saying variables details, its just saying about the command that is being executed(more verbose output). The shell script looks interesting, I will try it and tell you.