<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi all,</div><div>i have been trying to debug the PHP AGI scripts reciding in /var/lib/agi-bin/asterisk folder. I have been following these steps: <a href="http://www.joeldare.com/wiki/remote_debug_phpagi_scripts" style="font-size: 12pt; ">http://www.joeldare.com/wiki/remote_debug_phpagi_scripts</a> . While i am successfully able to remotely debug the php scripts from CLI , it does not seem to work if the AGI scripts are called from within the asterisk [ for example: DeadAgi("a2billing.php") doees not hit the breakpoint . but if i do "#php /var/lib/asterisk/agi-bin/a2billing.php " it hits the breakpoint on my IDE ] .</div><div><br></div><div>So how to do this ? is there any specific step that got left out in the steps i am following ? debugging from asterisk console or looking
at debug log in the filesystem is really not very helpful!</div><div><br></div><div><br></div><div>Khan</div></div></body></html>